Template build status
curl --request GET \
--url https://api.compute.anonalabs.com/templates/{templateID}/builds/{buildID}/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/templates/{templateID}/builds/{buildID}/status"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/templates/{templateID}/builds/{buildID}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"logs": [],
"logEntries": [],
"templateID": "<string>",
"buildID": "<string>",
"status": "building",
"reason": {
"message": "<string>",
"step": "<string>",
"logEntries": []
}
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}templates
Template build status
Get template build info
GET
/
templates
/
{templateID}
/
builds
/
{buildID}
/
status
Template build status
curl --request GET \
--url https://api.compute.anonalabs.com/templates/{templateID}/builds/{buildID}/status \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.compute.anonalabs.com/templates/{templateID}/builds/{buildID}/status"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.compute.anonalabs.com/templates/{templateID}/builds/{buildID}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"logs": [],
"logEntries": [],
"templateID": "<string>",
"buildID": "<string>",
"status": "building",
"reason": {
"message": "<string>",
"step": "<string>",
"logEntries": []
}
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}{
"code": 123,
"message": "<string>",
"error_code": "<string>"
}Authorizations
Query Parameters
Index of the starting build log that should be returned with the template
Required range:
x >= 0Maximum number of logs that should be returned
Required range:
0 <= x <= 100State of the sandbox
Available options:
debug, info, warn, error Response
Successfully returned the template
Build logs (always empty since the V1 build path was removed, use logEntries)
Build logs structured
Show child attributes
Show child attributes
Identifier of the template
Identifier of the build
Status of the template build
Available options:
building, waiting, ready, error Show child attributes
Show child attributes