CLI Reference
- Get Started
- Root Command
- App Commands
- Auth Commands
- Resource Commands
- Project Commands
- Recipe Commands
API Reference
- Get Started
- Apps
- Resources
- Recipes
- Projects
Pull app operation
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>"
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
The unique identifier of the application.
The version of the application.
Response
The type of request.
The resource to operate on.
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.
The operation to perform on the resource.
create
, update
, delete
, read
The input parameters for the operation.
The environment variables for the operation.
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.
The unique identifier of the project.
The name of the project.
Was this page helpful?
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>"
}
}