Builds
List builds from database
List all builds stored in the database
Response Body
application/json
application/json
curl -X GET "https://your.server.net/otto/api/build/db/list"{
"response": {
"builds": [
{
"id": -1.7976931348623157e+308,
"build_id": "string",
"created_at": "string",
"updated_at": "string",
"started_at": "string",
"status": "completed",
"zip_archive": "string",
"zip_size": -1.7976931348623157e+308,
"completed_files": -1.7976931348623157e+308,
"message": "string",
"log": [
{
"level": "info",
"phase": "scheduling",
"message": "string",
"timeElapsed": 9007199254740991,
"file": "string"
}
],
"files": [
{
"fileName": "string",
"clone": true,
"user": "string",
"password": "string",
"encryptionKey": "string",
"size": -1.7976931348623157e+308,
"hasContainerData": true
}
],
"chained_action_results": [
{
"action": {
"sendOnFailure": false,
"type": "build_start",
"id": "string",
"url": "string",
"apiKey": "string",
"input": null
},
"result": null,
"success": true
}
],
"existsInOutbox": true,
"schedule_id": "string"
}
]
},
"messages": [
{
"code": 0.1,
"text": "ok"
}
]
}{
"response": {},
"messages": [
{
"code": 18011,
"text": "OttoFMS sample error"
}
]
}