Artboard
Builds

Get build from database

Get a build from the database

GET
/otto/api/build/db/{buildId}

Path Parameters

buildId*number|null

GET /otto/api/build/db/:buildId Parameter

Formatdouble
Range-1.7976931348623157e+308 <= value <= 1.7976931348623157e+308

Response Body

application/json

application/json

curl -X GET "https://your.server.net/otto/api/build/db/-1.7976931348623157e+308"
{
  "response": {
    "build": {
      "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",
      "downloadUrl": "string",
      "downloadFolderUrl": "string",
      "fileBrowserId": "string"
    }
  },
  "messages": [
    {
      "code": 0.1,
      "text": "ok"
    }
  ]
}
{
  "response": {},
  "messages": [
    {
      "code": 18011,
      "text": "OttoFMS sample error"
    }
  ]
}