Retrieve the data for the Library from which the specified Build was created.
GET /builds/:build_id/library
curl https://reactor.adobe.io/builds/:build_id/library \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: application/vnd.api+json" \
-H "Authorization: Bearer [TOKEN]" \
-H "X-Api-Key: [KEY]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X GET
{
"data": {
"id": "LB149c78df0c474c039d94b6b2e5d81c96",
"type": "libraries",
"attributes": {
"created_at": "2023-04-21T23:03:07.065Z",
"name": "My Library",
"published_at": null,
"state": "development",
"updated_at": "2023-04-21T23:03:07.134Z",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"build_required": true
},
"relationships": {
"builds": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/builds"
}
},
"environment": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/environment",
"self": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/relationships/environment"
},
"data": {
"id": "EN3d24533d2a1f420f8169d2f059926481",
"type": "environments"
}
},
"data_elements": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/data_elements",
"self": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/relationships/data_elements"
}
},
"extensions": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/extensions",
"self": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/relationships/extensions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/notes"
}
},
"rules": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/rules",
"self": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/relationships/rules"
}
},
"upstream_library": {
"data": null
},
"property": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/property"
},
"data": {
"id": "PRbf596aeca5694606a2229ae6ddf673f0",
"type": "properties"
}
},
"last_build": {
"links": {
"related": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96/last_build"
},
"data": {
"id": "BL3dc7c1678dee4096a35ece378b04c874",
"type": "builds"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRbf596aeca5694606a2229ae6ddf673f0",
"self": "https://reactor.adobe.io/libraries/LB149c78df0c474c039d94b6b2e5d81c96"
},
"meta": {
"build_status": "pending",
"build_required_detail": "Last build was not successful"
}
}
}