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]" \
-X POST \
-F "package=@[PACKAGE_PATH]"
{
"data": {
"id": "EPfc75137bb23b439384ebf5a67979e84f",
"type": "extension_packages",
"attributes": {
"actions": null,
"author": {
"name": "Adobe Systems",
"url": "http://adobe.com",
"email": "reactor@adobe.com"
},
"availability": "development",
"cdn_path": null,
"conditions": null,
"configuration": null,
"created_at": "2023-04-21T22:57:11.871Z",
"data_elements": null,
"description": "Provides nothing.",
"discontinued": false,
"display_name": "Kessel Template Test",
"ecma_version": null,
"events": null,
"exchange_url": null,
"hosted_lib_files": null,
"icon_path": null,
"main": null,
"name": "test-1682117831",
"owner_org_id": "08364A825824E04F0A494115@AdobeOrg",
"resources": null,
"shared_modules": null,
"status": "pending",
"platform": "web",
"updated_at": "2023-04-21T22:57:11.871Z",
"version": "1.0.0",
"view_base_path": null,
"created_by_email": "ciltaru@adobe.com",
"created_by_display_name": "George Ciltaru",
"updated_by_email": "ciltaru@adobe.com",
"updated_by_display_name": "George Ciltaru"
},
"links": {
"self": "https://reactor.adobe.io/extension_packages/EPfc75137bb23b439384ebf5a67979e84f"
}
}
}