Provides API endpoints related to api/webhook dispatches
Summary
Functions
@spec get(dispatch_id :: String.t(), opts :: keyword()) :: {:ok, ApifyClient.Schemas.WebhookDispatch.t()} | {:error, ApifyClient.Error.t()}
Get webhook dispatch
Gets webhook dispatch object with all details.
@spec list(opts :: keyword()) :: {:ok, ApifyClient.Schemas.ListOfWebhookDispatches.t()} | {:error, ApifyClient.Error.t()}
Get list of webhook dispatches
Gets the list of webhook dispatches that the user have.
The endpoint supports pagination using the limit and offset parameters
and it will not return more than 1000 records.
By default, the records are sorted by the createdAt field in ascending
order. To sort the records in descending order, use the desc=1
parameter.
Options
offset: Number of items that should be skipped at the start. The default value is0.limit: Maximum number of items to return. The default value as well as the maximum is1000.desc: Iftrueor1then the objects are sorted by thecreatedAtfield in descending order. By default, they are sorted in ascending order.