ApifyClient.API.Actors.Runs.Last.RequestQueue (apify_client v1.0.0)

Copy Markdown View Source

Provides API endpoints related to api/actors/runs/last/request queue

Summary

Functions

Delete the default request queue of an Actor's last run

Get the default request queue of an Actor's last run

Update the default request queue of an Actor's last run

Functions

delete(actor_id, opts \\ [])

@spec delete(actor_id :: String.t(), opts :: keyword()) ::
  :ok | {:error, ApifyClient.Error.t()}

Delete the default request queue of an Actor's last run

Deletes the default request queue associated with the last Actor run.

This endpoint is a shortcut for getting the last run's defaultRequestQueueId and then using the Delete request queue endpoint.

Options

  • status: Filter for the run status.
  • origin: Filter for the run origin, i.e. the means by which the run was started.

get(actor_id, opts \\ [])

@spec get(actor_id :: String.t(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.RequestQueueResource.t()}
  | {:error, ApifyClient.Error.t()}

Get the default request queue of an Actor's last run

Returns the default request queue associated with the last Actor run.

This endpoint is a shortcut for getting the last run's defaultRequestQueueId and then using the Get request queue endpoint.

Options

  • status: Filter for the run status.
  • origin: Filter for the run origin, i.e. the means by which the run was started.

update(actor_id, body, opts \\ [])

@spec update(actor_id :: String.t(), body :: map(), opts :: keyword()) ::
  {:ok, ApifyClient.Schemas.RequestQueueResource.t()}
  | {:error, ApifyClient.Error.t()}

Update the default request queue of an Actor's last run

Updates the default request queue associated with the last Actor run.

This endpoint is a shortcut for getting the last run's defaultRequestQueueId and then using the Update request queue endpoint.

Options

  • status: Filter for the run status.
  • origin: Filter for the run origin, i.e. the means by which the run was started.

Request Body

Content Types: application/json