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 Libraries for a DataElement

Retrieve the Libraries that use the specified DataElement.

Definition

GET  /data_elements/:data_element_id/libraries

Example Request

curl https://mc-api-activation-reactor-integration.adobe.io/data_elements/:data_element_id/libraries \
  -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": "LBda61afa993fc4e7ca5366ef85c623598",
      "type": "libraries",
      "attributes": {
        "created_at": "2018-08-31T16:51:38.924Z",
        "name": "My Library",
        "published_at": null,
        "state": "development",
        "updated_at": "2018-08-31T16:51:38.924Z",
        "build_required": true
      },
      "relationships": {
        "builds": {
          "links": {
            "related": "http://localhost:9010/libraries/LBda61afa993fc4e7ca5366ef85c623598/builds"
          }
        },
        "environment": {
          "links": {
            "self": "http://localhost:9010/libraries/LBda61afa993fc4e7ca5366ef85c623598/relationships/environment"
          },
          "data": null
        },
        "resources": {
          "links": {
            "related": "http://localhost:9010/libraries/LBda61afa993fc4e7ca5366ef85c623598/resources",
            "self": "http://localhost:9010/libraries/LBda61afa993fc4e7ca5366ef85c623598/relationships/resources"
          },
          "data": [
            {
              "id": "DEcb6655d8900c43d1ab012b61340e5442",
              "type": "data_elements"
            }
          ]
        },
        "upstream_library": {
          "data": null
        },
        "property": {
          "links": {
            "related": "http://localhost:9010/libraries/LBda61afa993fc4e7ca5366ef85c623598/property"
          },
          "data": {
            "id": "PR0c9d31c615e34b5fb6ebfbc280b05953",
            "type": "properties"
          }
        }
      },
      "links": {
        "property": "http://localhost:9010/properties/PR0c9d31c615e34b5fb6ebfbc280b05953",
        "self": "http://localhost:9010/libraries/LBda61afa993fc4e7ca5366ef85c623598"
      },
      "meta": {
        "build_status": null,
        "build_required_detail": "No build found since last state change"
      }
    }
  ],
  "meta": {
    "pagination": {
      "current_page": 1,
      "next_page": null,
      "prev_page": null,
      "total_pages": 1,
      "total_count": 1
    }
  }
}