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!


Create a Build for a Library

Attributes

Definition

POST  /libraries/:library_id/builds

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/libraries/:library_id/builds \
  -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 POST
  

Example Response

201 Created
{
  "data": {
    "id": "BL289cb556febb478296b9200569b5b245",
    "type": "builds",
    "attributes": {
      "created_at": "2018-08-31T16:48:49.175Z",
      "status": "pending",
      "updated_at": "2018-08-31T16:48:49.175Z"
    },
    "relationships": {
      "data_elements": {
        "links": {
          "related": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245/data_elements"
        }
      },
      "extensions": {
        "links": {
          "related": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245/extensions"
        }
      },
      "rules": {
        "links": {
          "related": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245/rules"
        }
      },
      "environment": {
        "links": {
          "related": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245/environment"
        },
        "data": {
          "id": "ENbc402e19e3834a5e93fe544492110d5c",
          "type": "environments"
        }
      },
      "library": {
        "links": {
          "related": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245/library"
        },
        "data": {
          "id": "LBdc2d00f923e84abea5f67d52555f6927",
          "type": "libraries"
        }
      },
      "property": {
        "links": {
          "related": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245/property"
        },
        "data": {
          "id": "PRc81fb2f3ecf84146bac481ec5e956354",
          "type": "properties"
        }
      }
    },
    "links": {
      "environment": "http://localhost:9010/environments/ENbc402e19e3834a5e93fe544492110d5c",
      "library": "http://localhost:9010/libraries/LBdc2d00f923e84abea5f67d52555f6927",
      "self": "http://localhost:9010/builds/BL289cb556febb478296b9200569b5b245"
    },
    "meta": {
      "artifact_url": "//assets.adobedtm.com/staging/launch-ENbc402e19e3834a5e93fe544492110d5c-development.min.js"
    }
  }
}