Appearance
Servers
https://developer.tempestdx.com/api/v1Production server
Default
Retrieve the next task to execute
POST
/apps.operations.nextFetch the next available task for execution by an external client.
Authorizations
Request Body
{
"app_id": "string",
"version": "string"
}
Responses
The next task to executeapplication/json Schema JSON JSON
{
"task": null,
"task_id": "string",
"metadata": {
"owners": [
{
"email": "string",
"name": "string",
"type": "string"
}
],
"author": {
"email": "string",
"name": "string",
"type": "string"
},
"project_id": "string",
"project_name": "string"
}
}
POST
/apps.operations.nextSamples
curl -X POST \
'https://developer.tempestdx.com/api/v1/apps.operations.next' \
-H "Content-Type: application/json" \
--data '{
"app_id": "string",
"version": "string"
}'
fetch('https://developer.tempestdx.com/api/v1/apps.operations.next', {method:'POST',headers:{'Content-Type':'application/json'},body:'{"app_id":"string","version":"string"}'})
.then(response => response.json())
.then(data => console.log(data));
<?php
$url = 'https://developer.tempestdx.com/api/v1/apps.operations.next';
$method = 'POST';
$headers = [
'Content-Type' => 'application/json',
];
$body = json_encode({"app_id":"string","version":"string"});
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = 'https://developer.tempestdx.com/api/v1/apps.operations.next'
headers = {
'Content-Type': 'application/json'
}
data = {
'app_id': 'string',
'version': 'string'
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Report the result of a task execution
POST
/apps.operations.reportClients report task completion or failure using this endpoint.
Authorizations
Request Body
{
"response": null,
"task_id": "string",
"status": "string",
"message": "string"
}
Responses
Task report received successfully.application/json Schema JSON JSON
{
"status": "string",
"message": "string",
"metadata": {
"tempest_app_url": "string"
},
"error": "string"
}
POST
/apps.operations.reportSamples
curl -X POST \
'https://developer.tempestdx.com/api/v1/apps.operations.report' \
-H "Content-Type: application/json" \
--data '{
"response": null,
"task_id": "string",
"status": "string",
"message": "string"
}'
fetch('https://developer.tempestdx.com/api/v1/apps.operations.report', {method:'POST',headers:{'Content-Type':'application/json'},body:'{"response":null,"task_id":"string","status":"string","message":"string"}'})
.then(response => response.json())
.then(data => console.log(data));
<?php
$url = 'https://developer.tempestdx.com/api/v1/apps.operations.report';
$method = 'POST';
$headers = [
'Content-Type' => 'application/json',
];
$body = json_encode({"response":null,"task_id":"string","status":"string","message":"string"});
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = 'https://developer.tempestdx.com/api/v1/apps.operations.report'
headers = {
'Content-Type': 'application/json'
}
data = {
'response': null,
'task_id': 'string',
'status': 'string',
'message': 'string'
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Connect to a specific app version
POST
/apps.version.connectEstablish a connection with a specific version of an app, defining the resource types.
Authorizations
Request Body
{
"app_id": "string",
"version": "string",
"resources": [
{
"type": "string",
"display_name": "string",
"description": "string",
"property_json_schema": {
},
"list_supported": true,
"read_supported": true,
"create_supported": true,
"create_input_schema": {
},
"update_supported": true,
"update_input_schema": {
},
"delete_supported": true,
"healthcheck_supported": true,
"links": {
"links": [
{
"title": "string",
"url": "string",
"type": "string"
}
]
},
"instructions_markdown": "string",
"lifecycle_stage": "string",
"actions": [
{
"name": "string",
"display_name": "string",
"description": "string",
"input_json_schema": {
},
"output_json_schema": {
}
}
]
}
]
}
Responses
Successfully connected to the app version.application/json Schema JSON JSON
{
"status": "string",
"message": "string",
"metadata": {
"tempest_app_url": "string"
},
"error": "string"
}
POST
/apps.version.connectSamples
curl -X POST \
'https://developer.tempestdx.com/api/v1/apps.version.connect' \
-H "Content-Type: application/json" \
--data '{
"app_id": "string",
"version": "string",
"resources": [
{
"type": "string",
"display_name": "string",
"description": "string",
"property_json_schema": {},
"list_supported": true,
"read_supported": true,
"create_supported": true,
"create_input_schema": {},
"update_supported": true,
"update_input_schema": {},
"delete_supported": true,
"healthcheck_supported": true,
"links": {
"links": [
{
"title": "string",
"url": "string",
"type": "string"
}
]
},
"instructions_markdown": "string",
"lifecycle_stage": "string",
"actions": [
{
"name": "string",
"display_name": "string",
"description": "string",
"input_json_schema": {},
"output_json_schema": {}
}
]
}
]
}'
fetch('https://developer.tempestdx.com/api/v1/apps.version.connect', {method:'POST',headers:{'Content-Type':'application/json'},body:'{"app_id":"string","version":"string","resources":[{"type":"string","display_name":"string","description":"string","property_json_schema":{},"list_supported":true,"read_supported":true,"create_supported":true,"create_input_schema":{},"update_supported":true,"update_input_schema":{},"delete_supported":true,"healthcheck_supported":true,"links":{"links":[{"title":"string","url":"string","type":"string"}]},"instructions_markdown":"string","lifecycle_stage":"string","actions":[{"name":"string","display_name":"string","description":"string","input_json_schema":{},"output_json_schema":{}}]}]}'})
.then(response => response.json())
.then(data => console.log(data));
<?php
$url = 'https://developer.tempestdx.com/api/v1/apps.version.connect';
$method = 'POST';
$headers = [
'Content-Type' => 'application/json',
];
$body = json_encode({"app_id":"string","version":"string","resources":[{"type":"string","display_name":"string","description":"string","property_json_schema":{},"list_supported":true,"read_supported":true,"create_supported":true,"create_input_schema":{},"update_supported":true,"update_input_schema":{},"delete_supported":true,"healthcheck_supported":true,"links":{"links":[{"title":"string","url":"string","type":"string"}]},"instructions_markdown":"string","lifecycle_stage":"string","actions":[{"name":"string","display_name":"string","description":"string","input_json_schema":{},"output_json_schema":{}}]}]});
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = 'https://developer.tempestdx.com/api/v1/apps.version.connect'
headers = {
'Content-Type': 'application/json'
}
data = {
'app_id': 'string',
'version': 'string',
'resources': [
{
'type': 'string',
'display_name': 'string',
'description': 'string',
'property_json_schema': {},
'list_supported': true,
'read_supported': true,
'create_supported': true,
'create_input_schema': {},
'update_supported': true,
'update_input_schema': {},
'delete_supported': true,
'healthcheck_supported': true,
'links': {
'links': [
{
'title': 'string',
'url': 'string',
'type': 'string'
}
]
},
'instructions_markdown': 'string',
'lifecycle_stage': 'string',
'actions': [
{
'name': 'string',
'display_name': 'string',
'description': 'string',
'input_json_schema': {},
'output_json_schema': {}
}
]
}
]
}
response = requests.post(url, headers=headers, json=data)
print(response.json())
Handles health check reports for apps
POST
/apps.versions.healthClients report health check results using this endpoint.
Authorizations
Request Body
{
"app_id": "string",
"version": "string",
"health_reports": [
{
"type": "string",
"status": "string",
"message": "string"
}
]
}
Responses
Received health check reportapplication/json Schema JSON JSON
{
"status": "string",
"message": "string",
"metadata": {
"tempest_app_url": "string"
},
"error": "string"
}
POST
/apps.versions.healthSamples
curl -X POST \
'https://developer.tempestdx.com/api/v1/apps.versions.health' \
-H "Content-Type: application/json" \
--data '{
"app_id": "string",
"version": "string",
"health_reports": [
{
"type": "string",
"status": "string",
"message": "string"
}
]
}'
fetch('https://developer.tempestdx.com/api/v1/apps.versions.health', {method:'POST',headers:{'Content-Type':'application/json'},body:'{"app_id":"string","version":"string","health_reports":[{"type":"string","status":"string","message":"string"}]}'})
.then(response => response.json())
.then(data => console.log(data));
<?php
$url = 'https://developer.tempestdx.com/api/v1/apps.versions.health';
$method = 'POST';
$headers = [
'Content-Type' => 'application/json',
];
$body = json_encode({"app_id":"string","version":"string","health_reports":[{"type":"string","status":"string","message":"string"}]});
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
curl_setopt($ch, CURLOPT_POSTFIELDS, $body);
$response = curl_exec($ch);
curl_close($ch);
echo $response;
?>
import requests
url = 'https://developer.tempestdx.com/api/v1/apps.versions.health'
headers = {
'Content-Type': 'application/json'
}
data = {
'app_id': 'string',
'version': 'string',
'health_reports': [
{
'type': 'string',
'status': 'string',
'message': 'string'
}
]
}
response = requests.post(url, headers=headers, json=data)
print(response.json())