WARNING

WARNING: These APIs are currently in an 'alpha' state and are likely to change over time. We recommend you not use them in a production setting at this time!


Get a Build

Retrieve the data for an existing Build, based on its ID.

Definition

GET  /builds/:id

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/builds/:id \
  -H "Accept: application/vnd.api+json;revision=1" \
  -H "Content-Type: application/vnd.api+json" \
  -H "Authorization: Bearer [TOKEN]" \
  -H "X-Api-Key: [KEY]" \
  -X GET
  

Example Response

200 OK
{
  "data": {
    "id": "BLf1080e6ca41d4d22a4f272ad6446ad6b",
    "type": "builds",
    "attributes": {
      "created_at": "2018-08-31T16:48:51.672Z",
      "status": "pending",
      "updated_at": "2018-08-31T16:48:51.672Z"
    },
    "relationships": {
      "data_elements": {
        "links": {
          "related": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b/data_elements"
        }
      },
      "extensions": {
        "links": {
          "related": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b/extensions"
        }
      },
      "rules": {
        "links": {
          "related": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b/rules"
        }
      },
      "environment": {
        "links": {
          "related": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b/environment"
        },
        "data": {
          "id": "EN5fabfc7ed75944ecbae40abdf03db51c",
          "type": "environments"
        }
      },
      "library": {
        "links": {
          "related": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b/library"
        },
        "data": {
          "id": "LBc427843b4147413d8d383c5d1b5a86bc",
          "type": "libraries"
        }
      },
      "property": {
        "links": {
          "related": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b/property"
        },
        "data": {
          "id": "PR7cfa97e6e6f84d00804540268e71151b",
          "type": "properties"
        }
      }
    },
    "links": {
      "environment": "http://localhost:9010/environments/EN5fabfc7ed75944ecbae40abdf03db51c",
      "library": "http://localhost:9010/libraries/LBc427843b4147413d8d383c5d1b5a86bc",
      "self": "http://localhost:9010/builds/BLf1080e6ca41d4d22a4f272ad6446ad6b"
    },
    "meta": {
      "artifact_url": "//assets.adobedtm.com/staging/launch-EN5fabfc7ed75944ecbae40abdf03db51c-development.min.js"
    }
  }
}