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!


Retrieve a Library

Definition

GET  /libraries/:id

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/libraries/: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": "LBd3b206122c084911b0b9fb96de170abb",
    "type": "libraries",
    "attributes": {
      "created_at": "2018-06-15T19:09:50.805Z",
      "name": "My Library",
      "published_at": null,
      "state": "development",
      "updated_at": "2018-06-15T19:09:50.805Z",
      "build_required": true
    },
    "relationships": {
      "builds": {
        "links": {
          "related": "http://localhost:9010/libraries/LBd3b206122c084911b0b9fb96de170abb/builds"
        }
      },
      "environment": {
        "links": {
          "self": "http://localhost:9010/libraries/LBd3b206122c084911b0b9fb96de170abb/relationships/environment"
        },
        "data": null
      },
      "resources": {
        "links": {
          "related": "http://localhost:9010/libraries/LBd3b206122c084911b0b9fb96de170abb/resources",
          "self": "http://localhost:9010/libraries/LBd3b206122c084911b0b9fb96de170abb/relationships/resources"
        },
        "data": [

        ]
      },
      "upstream_library": {
        "data": null
      },
      "property": {
        "links": {
          "related": "http://localhost:9010/libraries/LBd3b206122c084911b0b9fb96de170abb/property"
        },
        "data": {
          "type": "properties",
          "id": "PRc6a17ba6d17e4d4e9ca0721ade0bbc75"
        }
      }
    },
    "links": {
      "property": "http://localhost:9010/properties/PRc6a17ba6d17e4d4e9ca0721ade0bbc75",
      "self": "http://localhost:9010/libraries/LBd3b206122c084911b0b9fb96de170abb"
    },
    "meta": {
      "build_status": null,
      "build_required_detail": "No build found since last state change"
    }
  }
}