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 Property

Definition

GET  /properties/:property_id/libraries

Example Request

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

          ]
        },
        "upstream_library": {
          "data": null
        },
        "property": {
          "links": {
            "related": "http://localhost:9010/libraries/LBdd42ec3a93d54a74a1f94d8ffd8a9065/property"
          },
          "data": {
            "type": "properties",
            "id": "PRbd0d8aac58e6486784e38f1e9a4ade34"
          }
        }
      },
      "links": {
        "property": "http://localhost:9010/properties/PRbd0d8aac58e6486784e38f1e9a4ade34",
        "self": "http://localhost:9010/libraries/LBdd42ec3a93d54a74a1f94d8ffd8a9065"
      },
      "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
    }
  }
}