Provides API endpoints related to api/runs/key value store
Summary
Functions
Delete the default key-value store of an Actor run
Get the default key-value store of an Actor run
Update the default key-value store of an Actor run
Functions
@spec delete(run_id :: String.t(), opts :: keyword()) :: :ok | {:error, ApifyClient.Error.t()}
Delete the default key-value store of an Actor run
Delete the default key-value store.
This endpoint is a shortcut for getting the run's defaultKeyValueStoreId and then using the
Delete key-value store endpoint.
@spec get(run_id :: String.t(), opts :: keyword()) :: {:ok, ApifyClient.Schemas.KeyValueStoreResource.t()} | {:error, ApifyClient.Error.t()}
Get the default key-value store of an Actor run
Gets an object that contains all the details about the default key-value store.
This endpoint is a shortcut for getting the run's defaultKeyValueStoreId and then using the
Get key-value store endpoint.
@spec update( run_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 run
Updates the default 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.
Request Body
Content Types: application/json