Atlassian Connect provides a set of REST APIs specifically designed for use by apps.
The property key connect_client_key_019cdff3-8bfb-71fe-9628-875b700aebb8 is reserved. It returns a synthetic, read-only property containing the Connect clientKey for the requested tenant. This is intended for Forge apps with app.connect.key to retrieve the Connect client key during migration. Attempts to create, update, or delete this key will return 403 Forbidden. This key does not appear in the list returned by Get app property keys.
GET /wiki/rest/atlassian-connect/1/addons/{addonKey}/properties
Returns a list of property keys for the given app key.
Permissions required: Only a Connect app whose key matches addonKey can make this request. Additionally, Forge apps can access Connect app properties (stored against the same app.connect.key).
Connect app scope required: NONE
OAuth 2.0 scope required: read:app-data:confluence
| Location | Name | Type | Description |
|---|---|---|---|
| Path |
addonKey
|
string
| The key of the app, as defined in its descriptor |
200 - application/json1 2{ "keys" : [ { "key" : "first_key", "self" : "https://your-site.atlassian.net/wiki/rest/atlassian-connect/1/addons/my-add-on/properties/first_key" }, { "key" : "another_key", "self" : "https://your-site.atlassian.net/wiki/rest/atlassian-connect/1/addons/my-add-on/properties/another_key" } ] }
401 - application/jsonRequest without credentials or with invalid credentials, e.g., by an uninstalled app.
404 - application/jsonRequest issued by a user with insufficient credentials, e.g., for an app's data by anyone but the app itself, or for a app that does not exist.
GET /wiki/rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}
Returns an app property for the given property key. The reserved property key connect_client_key_019cdff3-8bfb-71fe-9628-875b700aebb8 will return a read-only property containing the Connect clientKey for the requested tenant.
Permissions required: Only a Connect app whose key matches addonKey can make this request. Additionally, Forge apps can access Connect app properties (stored against the same app.connect.key).
Connect app scope required: NONE
OAuth 2.0 scope required: read:app-data:confluence
| Location | Name | Type | Description |
|---|---|---|---|
| Path |
addonKey
|
string
| The key of the app, as defined in its descriptor |
| Path |
propertyKey
|
string
| The key of the property |
| Query |
jsonValue
|
boolean
|
Set to |
200 - application/json1 2{ "key" : "abcd", "value" : true, "self" : "https://your-site.atlassian.net/wiki/rest/atlassian-connect/1/addons/my-add-on/properties/abcd" }
400 - application/jsonProperty key longer than 127 characters.
401 - application/jsonRequest without credentials or with invalid credentials, e.g., by an uninstalled app.
404 - application/jsonRequest to get a property that does not exist.
404 - application/jsonRequest issued by a user with insufficient credentials, e.g., for an app's data by anyone but the app itself, or for a app that does not exist.
PUT /wiki/rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}
Creates or updates a property.
Permissions required: Only a Connect app whose key matches addonKey can make this request. Additionally, Forge apps can access Connect app properties (stored against the same app.connect.key).
Connect app scope required: NONE
OAuth 2.0 scope required: write:app-data:confluence
| Location | Name | Type | Description |
|---|---|---|---|
| Path |
addonKey
|
string
| The key of the app, as defined in its descriptor |
| Path |
propertyKey
|
string
| The key of the property |
200 - application/jsonProperty updated.
201 - application/jsonProperty created.
400 - application/jsonProperty key longer than 127 characters.
400 - application/jsonRequest made with invalid JSON.
401 - application/jsonRequest without credentials or with invalid credentials, e.g., by an uninstalled app.
403 - application/jsonThe property key is reserved and read-only. It cannot be created or updated.
404 - application/jsonRequest to get a property that does not exist.
404 - application/jsonRequest issued by a user with insufficient credentials, e.g., for an app's data by anyone but the app itself, or for a app that does not exist.
DELETE /wiki/rest/atlassian-connect/1/addons/{addonKey}/properties/{propertyKey}
Deletes an app property.
Permissions required: Only a Connect app whose key matches addonKey can make this request. Additionally, Forge apps can access Connect app properties (stored against the same app.connect.key).
Connect app scope required: NONE
OAuth 2.0 scope required: write:app-data:confluence
| Location | Name | Type | Description |
|---|---|---|---|
| Path |
addonKey
|
string
| The key of the app, as defined in its descriptor |
| Path |
propertyKey
|
string
| The key of the property |
204 - application/jsonProperty deleted.
400 - application/jsonProperty key longer than 127 characters.
401 - application/jsonRequest without credentials or with invalid credentials, e.g., by an uninstalled app.
403 - application/jsonThe property key is reserved and read-only. It cannot be deleted.
404 - application/jsonRequest to get a property that does not exist.
404 - application/jsonRequest issued by a user with insufficient credentials, e.g., for an app's data by anyone but the app itself, or for a app that does not exist.
Rate this page: