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

Copy Markdown View Source

Provides API endpoints related to api/runs/request queue

Summary

Functions

Delete the default request queue of an Actor run

Get the default request queue of an Actor run

Update the default request queue of an Actor run

Functions

delete(run_id, opts \\ [])

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

Delete the default request queue of an Actor run

Deletes the default request queue associated with an Actor run.

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

get(run_id, opts \\ [])

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

Get the default request queue of an Actor run

Returns the default request queue associated with an Actor run.

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

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

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

Update the default request queue of an Actor run

Updates the default request queue associated with an Actor run.

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

Request Body

Content Types: application/json