ApifyClient.API.Webhooks.Dispatches (apify_client v1.0.0)

Copy Markdown View Source

Provides API endpoint related to api/webhooks/dispatches

Summary

Functions

Get list of webhook's dispatches

Functions

list(webhook_id, opts \\ [])

@spec list(webhook_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.ListOfWebhookDispatches.t()}
  | {:error, ApifyClient.Error.t()}

Get list of webhook's dispatches

Gets a given webhook's list of dispatches.

Options

  • offset: Number of items that should be skipped at the start. The default value is 0.

  • limit: Maximum number of items to return. The default value as well as the maximum is 1000.

  • desc: If true or 1 then the objects are sorted by the createdAt field in descending order. By default, they are sorted in ascending order.