Adobe Launch Logo Adobe Experience Platform Launch

    • Light
    • Dark

Update an ExtensionPackage

Unstable

Only a development extension package can be updated using a new archive file. Once the ExtensionPackage has been transitioned to either private or public, it can no longer be updated. If you want to add new functionality or fix bugs, you must first create a new ExtensionPackage with the same name, but a new version. Then when the new ExtensionPackage is transitioned to private or public, it will become available in the marketplace, replacing the previous version.

When updating an ExtensionPackage, you do not have to keep the same version as the existing development ExtensionPackage. However, it must be a version number greater than any private or public versions of the same extension.

Note

This endpoint expects multipart requests.

Attributes

Field
Type
Required / Optional
Description
package
file
required
The extension package archive

Definition

PATCH  /extension_packages/:id

Example Request

curl https://reactor.adobe.io/extension_packages/:id \
  -H "Accept: application/vnd.api+json;revision=1" \
  -H "Content-Type: multipart/form-data" \
  -H "Authorization: Bearer [TOKEN]" \
  -H "X-Api-Key: [KEY]" \
  -F "package"="@[PATH]" \
  -X PATCH

Example Response

200 OK
{
  "data": {
    "id": "EP0393ce01ac3540acb78f103d8e58a5a0",
    "type": "extension_packages",
    "attributes": {
      "actions": null,
      "author": null,
      "availability": "development",
      "cdn_path": null,
      "conditions": null,
      "configuration": null,
      "created_at": "2018-10-15T11: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-10-15T11:34:56.877Z",
      "version": null,
      "view_base_path": null
    },
    "links": {
      "self": "https://reactor.adobe.io/extension_packages/EP0393ce01ac3540acb78f103d8e58a5a0"
    }
  }
}