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!


List Builds for a Property

Definition

GET  /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 GET
  

Example Response

200 OK
{
  "data": [
    {
      "id": "BL43f928425c8f40d69559f4e3f21d8c63",
      "type": "builds",
      "attributes": {
        "created_at": "2018-06-15T19:09:18.286Z",
        "status": "pending",
        "updated_at": "2018-06-15T19:09:18.286Z"
      },
      "relationships": {
        "data_elements": {
          "links": {
            "related": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63/data_elements"
          }
        },
        "extensions": {
          "links": {
            "related": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63/extensions"
          }
        },
        "rules": {
          "links": {
            "related": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63/rules"
          }
        },
        "environment": {
          "links": {
            "related": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63/environment"
          },
          "data": {
            "type": "environments",
            "id": "ENd305a13504944558bbe2f9ca4ffdfc09"
          }
        },
        "library": {
          "links": {
            "related": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63/library"
          },
          "data": {
            "type": "libraries",
            "id": "LBd92373714a194fc39e0c4d09241edb00"
          }
        },
        "property": {
          "links": {
            "related": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63/property"
          },
          "data": {
            "type": "properties",
            "id": "PR294f4ad99cb147eeb4cf6e3906de7a34"
          }
        }
      },
      "links": {
        "environment": "http://localhost:9010/environments/ENd305a13504944558bbe2f9ca4ffdfc09",
        "library": "http://localhost:9010/libraries/LBd92373714a194fc39e0c4d09241edb00",
        "self": "http://localhost:9010/builds/BL43f928425c8f40d69559f4e3f21d8c63"
      },
      "meta": {
        "artifact_url": "//assets.adobedtm.com/staging/launch-ENd305a13504944558bbe2f9ca4ffdfc09-development.min.js"
      }
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "next_page": null,
      "prev_page": null,
      "total_pages": 1,
      "total_count": 1
    }
  }
}