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 resource relationships for a Library

Retrieve the type and ID of all the resources for the specified Library.

The resources of a Library are the DataElements, Rules, and/or Extensions used by that Library.

Definition

GET  /libraries/:library_id/relationships/resources

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/libraries/:library_id/relationships/resources \
  -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": "EX1a545ae7066d4206b17d83882aeef263",
      "type": "extensions"
    },
    {
      "id": "DEe5d60f8156ab43bd89227c04d59de569",
      "type": "data_elements"
    },
    {
      "id": "RL88742a6bb3fd438eaecdcf0dcff5c1c5",
      "type": "rules"
    }
  ],
  "links": {
    "related": "http://localhost:9010/libraries/LB90767d21df324d5c99b9427d3eea35be/resources",
    "self": "http://localhost:9010/libraries/LB90767d21df324d5c99b9427d3eea35be/relationships/resources"
  }
}