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": {
"display_name": "<string>",
"external_id": "<string>",
"type": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"external_url": "<string>",
"name": "<string>",
"organization_id": "<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": {
"display_name": "<string>",
"external_id": "<string>",
"type": "<string>",
"id": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"deleted_at": "2023-11-07T05:31:56Z",
"external_url": "<string>",
"name": "<string>",
"organization_id": "<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
Show child attributes
The type of request.
The resource to operate on.
Show child attributes
The display name of the resource.
The external identifier of the resource.
The type of the resource.
Internal identifier of the resource.
Timestamp when the resource was created.
Identifier of the user who created the resource.
Timestamp when the resource was deleted, if applicable.
External URL where the resource can be accessed.
The name of the resource.
Identifier of the organization that owns the resource.
Current status of the resource.
Timestamp when the resource was last synced.
Timestamp when the resource was last updated.
Properties of the resource.
Show child attributes
Show child attributes
The operation to perform on the resource.
create, update, delete, read The input parameters for the operation.
The environment variables for the operation.
Show child attributes
The name of the environment variable.
The value of the environment variable.
The type of environment variable.
variable, secret, certificate, private_key, public_key Metadata associated with the resource operation.
The unique identifier of the task.
Show child attributes
The unique identifier of the project.
The name of the project.
Was this page helpful?