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": "EP0a210026dfb94796a7dce97a90a8f357",
"type": "extension_packages"
}
}
},
"type": "extensions"
}
}'
{
"data": {
"id": "EX27180296a53e455ea5cb13807cae4e47",
"type": "extensions",
"attributes": {
"created_at": "2022-02-04T21:04:36.008Z",
"deleted_at": null,
"dirty": false,
"enabled": true,
"name": "kessel-test",
"published": false,
"published_at": null,
"revision_number": 0,
"updated_at": "2022-02-04T21:04:36.008Z",
"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/EX27180296a53e455ea5cb13807cae4e47/libraries"
}
},
"revisions": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47/revisions"
}
},
"notes": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47/notes"
}
},
"property": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47/property"
},
"data": {
"id": "PRe12685cbd82649b2a0e5d0b63b68593a",
"type": "properties"
}
},
"origin": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47/origin"
},
"data": {
"id": "EX27180296a53e455ea5cb13807cae4e47",
"type": "extensions"
}
},
"updated_with_extension_package": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47/updated_with_extension_package"
},
"data": {
"id": "EP0a210026dfb94796a7dce97a90a8f357",
"type": "extension_packages"
}
},
"extension_package": {
"links": {
"related": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47/extension_package"
},
"data": {
"id": "EP0a210026dfb94796a7dce97a90a8f357",
"type": "extension_packages"
}
}
},
"links": {
"property": "https://reactor.adobe.io/properties/PRe12685cbd82649b2a0e5d0b63b68593a",
"origin": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47",
"self": "https://reactor.adobe.io/extensions/EX27180296a53e455ea5cb13807cae4e47",
"extension_package": "https://reactor.adobe.io/extension_packages/EP0a210026dfb94796a7dce97a90a8f357",
"latest_extension_package": "https://reactor.adobe.io/extension_packages/EP0a210026dfb94796a7dce97a90a8f357"
},
"meta": {
"latest_revision_number": 1
}
}
}