curl --request POST \
--url https://developer.tempestdx.com/api/v1/apps.operations.next \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app_id": "<string>",
"version": "<string>"
}'
{
"task": {
"request_type": "<string>",
"resource": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"display_name": "<string>",
"external_id": "<string>",
"external_url": "<string>",
"name": "<string>",
"organization_id": "<string>",
"type": "<string>",
"status": "<string>",
"synced_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"links": {
"links": [
{
"title": "<string>",
"url": "<string>",
"type": "documentation"
}
]
}
},
"operation": "create",
"input": {},
"environment_variables": [
{
"name": "<string>",
"value": "<string>",
"type": "variable"
}
],
"metadata": {}
},
"task_id": "<string>",
"metadata": {
"owners": [
{
"email": "<string>",
"name": "<string>",
"type": "user"
}
],
"author": {
"email": "<string>",
"name": "<string>",
"type": "user"
},
"project_id": "<string>",
"project_name": "<string>"
}
}
Fetch the next available task for execution by an external client.
curl --request POST \
--url https://developer.tempestdx.com/api/v1/apps.operations.next \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"app_id": "<string>",
"version": "<string>"
}'
{
"task": {
"request_type": "<string>",
"resource": {
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"display_name": "<string>",
"external_id": "<string>",
"external_url": "<string>",
"name": "<string>",
"organization_id": "<string>",
"type": "<string>",
"status": "<string>",
"synced_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"properties": {},
"links": {
"links": [
{
"title": "<string>",
"url": "<string>",
"type": "documentation"
}
]
}
},
"operation": "create",
"input": {},
"environment_variables": [
{
"name": "<string>",
"value": "<string>",
"type": "variable"
}
],
"metadata": {}
},
"task_id": "<string>",
"metadata": {
"owners": [
{
"email": "<string>",
"name": "<string>",
"type": "user"
}
],
"author": {
"email": "<string>",
"name": "<string>",
"type": "user"
},
"project_id": "<string>",
"project_name": "<string>"
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The next task to execute
The response is of type object
.
Was this page helpful?