Skip to main content

Tasks

Operations for triggering tasks for a designated organization


Trigger an asynchronous execution of a task

Task API

Version: 0.0.2

Trigger an asynchronous task within a specific topic for a designated organization. The task, topic, and organization ID are supplied as path parameters. A JSON request body, referencing the ExecuteTaskRequest schema and containing task-specific parameters, is required for this operation. Upon successful start, a 303 response is returned. The URL of the status endpoint for the newly created job is indicated in the Location header of the response.

Parameters

The organization identifier

The compute topic

The compute task

This schema accepts user-defined additional properties along with the documented schema. The additional properties must match the specified type where one is provided.

{
"parameters": {
"additionalProp1": "string",
"additionalProp2": "number",
"additionalProp3": "boolean"
}
}

Returns

303

303 response

Endpoint

POST
/compute/orgs/{org_id}/{topic}/{task}

Request

curl -X POST 'https://{service_host}/compute/orgs/{org_id}/{topic}/{task}' \
-H 'Authorization: Bearer <ACCESS_TOKEN>'

Response

No response body.

Was this page helpful?