ExDoppler.ActivityLogs (ExDoppler v1.0.0)
View SourceModule for interacting with ExDoppler.ActivityLog
๐ Resources
- ๐ Doppler docs
- ๐ Doppler API docs
- ๐ฌ Contact the maintainer (he's happy to help!)
Summary
Functions
Retrieves an ExDoppler.ActivityLog
Same as get_activity_log/1
but won't wrap a successful response in {:ok, response}
Lists ExDoppler.ActivityLog
using pagination.
Same as list_activity_logs/1
but won't wrap a successful response in {:ok, response}
Functions
Retrieves an ExDoppler.ActivityLog
๐ท๏ธ Params
- id: Unique identifier for the log object. (e.g
"dmwk7ra70oem3xa"
)
โคต๏ธ Returns
โ On Success
{:ok, %ExDoppler.ActivityLog{...}}
โ On Failure
{:err, err}
๐ป Examples
iex> alias ExDoppler.ActivityLogs
iex> alias ExDoppler.ActivityLog
iex> [%ActivityLog{id: id} | _ ] = ActivityLogs.list_activity_logs!(page: 1, per_page: 20)
iex> {:ok, _log = %ActivityLog{}} = ActivityLogs.get_activity_log(id)
๐ Resources
- ๐ Doppler API docs
- ๐ฌ Contact the maintainer (he's happy to help!)
Same as get_activity_log/1
but won't wrap a successful response in {:ok, response}
Lists ExDoppler.ActivityLog
using pagination.
๐ท๏ธ Params
- opts: Optional modifications to the list call
- page - which page to list (starts at 1) (e.g
page: 2
). Default:1
- per_page - the number of
ExDoppler.ActivityLog
to return for this page (e.gper_page: 50
). Default:20
- page - which page to list (starts at 1) (e.g
โคต๏ธ Returns
โ On Success
{:ok, [%ExDoppler.ActivityLog{...} ...]}
โ On Failure
{:err, err}
๐ป Examples
iex> alias ExDoppler.ActivityLogs
iex> {:ok, _logs} = ActivityLogs.list_activity_logs(page: 1, per_page: 20)
๐ Resources
- ๐ Doppler API docs
- ๐ฌ Contact the maintainer (he's happy to help!)
Same as list_activity_logs/1
but won't wrap a successful response in {:ok, response}