Dynamic modules

Register modules

Registers a list of modules. For the list of modules that support dynamic registration, see Dynamic modules.

Permissions required: Only Connect apps can make this request.

post/wiki/rest/atlassian-connect/1/app/module/dynamic

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/wiki/rest/atlassian-connect/1/app/module/dynamic
  • Auth
    none declared

Request body */*

modulesConnectModule[] required

A list of app modules in the same format as the modules property in the app descriptor.

Example request

{
  "webItems": [
    {
      "key": "my-webitem",
      "location": "system.admin/globalsettings",
      "url": "/my-web-item",
      "name": {
        "value": "My Web Item"
      }
    }
  ],
  "adminPages": [
    {
      "key": "my-admin-page",
      "name": {
        "value": "My Admin Page"
      },
      "url": "/my-admin-page"
    }
  ]
}

Response

Returned if the request is successful.

Changes

No recorded changes to this operation across all 2 revisions of this API.