Rate this page:
GET /atlassian-connect/1/app/module/dynamic
Returns all modules registered dynamically by the calling app.
Permissions required: Only Connect apps can make this request.
Connect apps cannot access this REST resource.
NONE
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
//
// This API resource doesn't support Oauth2 (3LO). See alternate authorization methods:
// https://developer.atlassian.com/cloud/confluence/rest/#auth
import api, { route } from "@forge/api";
const response = await api.requestConfluence(route`/atlassian-connect/1/app/module/dynamic`, {
headers: {
'Accept': '*/*'
}
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.text());
Returned if the request is successful.
Content type | Value |
---|---|
*/* |
POST /atlassian-connect/1/app/module/dynamic
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.
Connect apps cannot access this REST resource.
NONE
Content type | Value |
---|---|
*/* |
1 2 3 4 5 6 7 8 9 10 11 12 13
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
//
// This API resource doesn't support Oauth2 (3LO). See alternate authorization methods:
// https://developer.atlassian.com/cloud/confluence/rest/#auth
import api, { route } from "@forge/api";
const response = await api.requestConfluence(route`/atlassian-connect/1/app/module/dynamic`, {
method: 'POST'
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.text());
Returned if the request is successful.
A schema has not been defined for this response code.
DELETE /atlassian-connect/1/app/module/dynamic
Remove all or a list of modules registered by the calling app.
Permissions required: Only Connect apps can make this request.
Connect apps cannot access this REST resource.
NONE
Array<string>
The key of the module to remove. To include multiple module keys, provide multiple copies of this parameter.
For example, moduleKey=dynamic-attachment-entity-property&moduleKey=dynamic-select-field
.
Nonexistent keys are ignored.
form
1 2 3 4 5 6 7 8 9 10 11 12 13
// This sample uses Atlassian Forge
// https://developer.atlassian.com/platform/forge/
//
// This API resource doesn't support Oauth2 (3LO). See alternate authorization methods:
// https://developer.atlassian.com/cloud/confluence/rest/#auth
import api, { route } from "@forge/api";
const response = await api.requestConfluence(route`/atlassian-connect/1/app/module/dynamic?moduleKey={moduleKey}`, {
method: 'DELETE'
});
console.log(`Response: ${response.status} ${response.statusText}`);
console.log(await response.text());
Returned if the request is successful.
A schema has not been defined for this response code.
Rate this page: