Provides API endpoints related to api/tasks/input
Summary
Functions
@spec get(actor_task_id :: String.t(), opts :: keyword()) :: {:ok, map() | nil} | {:error, ApifyClient.Error.t()}
Get Actor task input
Returns the input of a given task.
@spec update(actor_task_id :: String.t(), body :: map(), opts :: keyword()) :: {:ok, map() | nil} | {:error, ApifyClient.Error.t()}
Update Actor task input
Updates the input of a task using values specified by an object passed as JSON in the PUT payload.
If the object does not define a specific property, its value is not updated.
The response is the full task input as returned by the Get Actor task input endpoint.
The request needs to specify the Content-Type: application/json HTTP
header!
When providing your API authentication token, we recommend using the
request's Authorization header, rather than the URL.
For details, see Authentication.
Request Body
Content Types: application/json