For an extension package to be available to the Launch platform, it must be added as an ExtensionPackage
.
Extension packages are processed asynchronously and have a status
attribute representing the current status of the ExtensionPackage.
This endpoint expects multipart requests.
package
POST /extension_packages
curl https://reactor.adobe.io/extension_packages \
-H "Accept: application/vnd.api+json;revision=1" \
-H "Content-Type: multipart/form-data" \
-H "Authorization: Bearer [TOKEN]" \
-H "X-Api-Key: [KEY]" \
-H "X-Gw-Ims-Org-Id: [ORG_ID]" \
-F "package"="@[PATH]"
{
"data": {
"id": "EP10bb503178694d73bc0cd84387b82172",
"type": "extension_packages",
"attributes": {
"actions": null,
"author": null,
"availability": "development",
"cdn_path": null,
"conditions": null,
"configuration": null,
"created_at": "2018-09-14T11:34:56.877Z",
"data_elements": null,
"description": null,
"display_name": null,
"events": null,
"exchange_url": null,
"hosted_lib_files": null,
"icon_path": null,
"main": null,
"name": null,
"resources": null,
"shared_modules": null,
"status": "pending",
"platform": "null",
"updated_at": "2018-09-14T11:34:56.877Z",
"version": null,
"view_base_path": null
},
"links": {
"self": "https://reactor.adobe.io/extension_packages/EP10bb503178694d73bc0cd84387b82172"
}
}
}