Provides API endpoints related to api/actors/runs/last/key value store
Summary
Functions
Delete the default key-value store of an Actor's last run
Get the default key-value store of an Actor's last run
Update the default key-value store of an Actor's last run
Functions
@spec delete(actor_id :: String.t(), opts :: keyword()) :: :ok | {:error, ApifyClient.Error.t()}
Delete the default key-value store of an Actor's last run
Deletes the last Actor run key-value store.
This endpoint is a shortcut for getting the run's defaultKeyValueStoreId and then using the
Delete key-value store endpoint.
Options
status: Filter for the run status.origin: Filter for the run origin, i.e. the means by which the run was started.
@spec get(actor_id :: String.t(), opts :: keyword()) :: {:ok, ApifyClient.Schemas.KeyValueStoreResource.t()} | {:error, ApifyClient.Error.t()}
Get the default key-value store of an Actor's last run
Gets an object that contains all the details about the default key-value store associated with the last Actor run.
This endpoint is a shortcut for getting the run's defaultKeyValueStoreId and then using the
Get key-value store endpoint.
Options
status: Filter for the run status.origin: Filter for the run origin, i.e. the means by which the run was started.
@spec update( actor_id :: String.t(), body :: map() | ApifyClient.Schemas.UpdateKeyValueStoreRequest.t(), opts :: keyword() ) :: {:ok, ApifyClient.Schemas.KeyValueStoreResource.t()} | {:error, ApifyClient.Error.t()}
Update the default key-value store of an Actor's last run
Updates the last Actor run key-value store's name and general resource access level using a value specified by a JSON object passed in the PUT payload.
This endpoint is a shortcut for getting the run's defaultKeyValueStoreId and then using the
Update key-value store 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