Retrieve the data for an existing Extension, based on its ID.
When Extensions
are deleted, they are marked as deleted but are not actually removed from system.
Therefore, it is possible to retrieve a deleted Extension
.
Deleted Extensions
can be identified by the presence of data.meta.deleted_at
.
GET /extensions/:id
curl https://reactor.adobe.io/extensions/: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]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-X GET
{
"data": {
"id": "EX3cf1a0b4e1a6445791ac35ed11421621",
"type": "extensions",
"attributes": {
"created_at": "2023-04-21T22:58:12.151Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "kessel-test",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-04-21T22:58:12.151Z",
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru",
"delegate_descriptor_id": null,
"display_name": "Kessel Test",
"review_status": "unsubmitted",
"version": "1.2.0",
"settings": "{}"
},
"relationships": {
"libraries": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/property"
},
"data": {
"id": "PR5cf1d23bd4254b0ab5ecdebed41ab7fc",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/origin"
},
"data": {
"id": "EX3cf1a0b4e1a6445791ac35ed11421621",
"type": "extensions"
}
},
"updated_with_extension_package": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/updated_with_extension_package"
},
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
},
"extension_package": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621/extension_package"
},
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PR5cf1d23bd4254b0ab5ecdebed41ab7fc",
"origin": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621",
"self": "https://reactor.adobe.io/extensions/EX3cf1a0b4e1a6445791ac35ed11421621",
"extension_package": "https://reactor.adobe.io/extension_packages/EP3e96b796382e49a48d76a626395d8cab",
"latest_extension_package": "https://reactor.adobe.io/extension_packages/EP3e96b796382e49a48d76a626395d8cab"
},
"meta": {
"latest_revision_number": 1
}
}
}