Add an Extension to a Property. After performing a request to add an Extension to a Property, When the installation task has completed, the Extension response will be returned based on the success or failure of the task.
Extensions are processed synchronously and return an installation_status
attribute representing the final status of the Extension installation.
There are two possible installation_status
values:
succeeded
When processing of the installation request for the Extension has completed,
if the installation was successful, the installation_status
will be succeeded
.
failed
When processing of the installation request for the Extension has completed,
if the installation was not successful, the installation_status
will
be failed
.
Extensions with an installation_status
of failed
are not available
for use.
delegate_descriptor_id
enabled
settings
POST /properties/:property_id/extensions
curl https://reactor.adobe.io/properties/:property_id/extensions \
-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 POST \
-d \
'
{
"data": {
"attributes": {
},
"relationships": {
"extension_package": {
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
}
},
"type": "extensions"
}
}'
{
"data": {
"id": "EX0dd0418d4bc8424aba6129ba02f19c9f",
"type": "extensions",
"attributes": {
"created_at": "2023-04-21T22:58:00.660Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "kessel-test",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2023-04-21T22:58:00.660Z",
"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/EX0dd0418d4bc8424aba6129ba02f19c9f/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f/property"
},
"data": {
"id": "PR99559eff613045c89fe97e5dd3ee1a4a",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f/origin"
},
"data": {
"id": "EX0dd0418d4bc8424aba6129ba02f19c9f",
"type": "extensions"
}
},
"updated_with_extension_package": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f/updated_with_extension_package"
},
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
},
"extension_package": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f/extension_package"
},
"data": {
"id": "EP3e96b796382e49a48d76a626395d8cab",
"type": "extension_packages"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PR99559eff613045c89fe97e5dd3ee1a4a",
"origin": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f",
"self": "https://reactor.adobe.io/extensions/EX0dd0418d4bc8424aba6129ba02f19c9f",
"extension_package": "https://reactor.adobe.io/extension_packages/EP3e96b796382e49a48d76a626395d8cab",
"latest_extension_package": "https://reactor.adobe.io/extension_packages/EP3e96b796382e49a48d76a626395d8cab"
},
"meta": {
"latest_revision_number": 1
}
}
}