Provides API endpoints related to api/runs/dataset
Summary
Functions
Delete the default dataset of an Actor run
Get the default dataset of an Actor run
Get the default dataset statistics for an Actor run
Update the default dataset of an Actor run
Functions
@spec delete(run_id :: String.t(), opts :: keyword()) :: :ok | {:error, ApifyClient.Error.t()}
Delete the default dataset of an Actor run
Deletes default dataset associated with an Actor run.
This endpoint is a shortcut for getting the last run's defaultDatasetId and then using the
Delete dataset endpoint.
@spec get(run_id :: String.t(), opts :: keyword()) :: {:ok, ApifyClient.Schemas.DatasetResource.t()} | {:error, ApifyClient.Error.t()}
Get the default dataset of an Actor run
Returns the default dataset associated with an Actor run.
This endpoint is a shortcut for getting the run's defaultDatasetId and then using the
Get dataset endpoint.
@spec statistics(run_id :: String.t(), opts :: keyword()) :: {:ok, ApifyClient.Schemas.DatasetStatistics.t()} | {:error, ApifyClient.Error.t()}
Get the default dataset statistics for an Actor run
Returns statistics for the Actor run's default dataset.
This endpoint is a shortcut that resolves the run's defaultDatasetId and proxies to the
Get dataset statistics endpoint.
@spec update( run_id :: String.t(), body :: map() | ApifyClient.Schemas.UpdateDatasetRequest.t(), opts :: keyword() ) :: {:ok, ApifyClient.Schemas.DatasetResource.t()} | {:error, ApifyClient.Error.t()}
Update the default dataset of an Actor run
Updates the default dataset associated with an Actor run.
This endpoint is a shortcut for getting the run's defaultDatasetId and then using the
Update dataset endpoint.
Request Body
Content Types: application/json