{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Addon API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Addon", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Update An Installed App", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/addon", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Updates the application installation for the user.

This endpoint is intended to be used by Bitbucket Connect apps
and only supports JWT authentication -- that is how Bitbucket
identifies the particular installation of the app. Developers
with applications registered in the \"Develop Apps\" section
of Bitbucket need not use this endpoint as updates for those
applications can be sent out via the UI of that section.

Passing an empty body will update the installation using" }, { "info": { "name": "Atlassian Delete An App", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/addon", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Deletes the application for the user.

This endpoint is intended to be used by Bitbucket Connect apps
and only supports JWT authentication -- that is how Bitbucket
identifies the particular installation of the app. Developers
with applications registered in the \"Develop Apps\" section
of Bitbucket Marketplace need not use this endpoint as
updates for those applications can be sent out via the
UI of that section.

```
$ curl -X DELETE https://api.bitbucket.org/2.0/" }, { "info": { "name": "Atlassian List Linkers For An App", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/addon/linkers", "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Gets a list of all [linkers](/cloud/bitbucket/modules/linker/)
for the authenticated application." }, { "info": { "name": "Atlassian Get A Linker For An App", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/addon/linkers/:linker_key", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Gets a [linker](/cloud/bitbucket/modules/linker/) specified by `linker_key`
for the authenticated application." }, { "info": { "name": "Atlassian List Linker Values For A Linker", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/addon/linkers/:linker_key/values", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Gets a list of all [linker](/cloud/bitbucket/modules/linker/) values for the
specified linker of the authenticated application.

A linker value lets applications supply values to modify its regular expression.

The base regular expression must use a Bitbucket-specific match group `(?K)`
which will be translated to `([\\w\\-]+)`. A value must match this pattern.

[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)" }, { "info": { "name": "Atlassian Create A Linker Value", "type": "http" }, "http": { "method": "POST", "url": "https://api.atlassian.com/addon/linkers/:linker_key/values", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Creates a [linker](/cloud/bitbucket/modules/linker/) value for the specified
linker of authenticated application.

A linker value lets applications supply values to modify its regular expression.

The base regular expression must use a Bitbucket-specific match group `(?K)`
which will be translated to `([\\w\\-]+)`. A value must match this pattern.

[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)" }, { "info": { "name": "Atlassian Update A Linker Value", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/addon/linkers/:linker_key/values", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Bulk update [linker](/cloud/bitbucket/modules/linker/) values for the specified
linker of the authenticated application.

A linker value lets applications supply values to modify its regular expression.

The base regular expression must use a Bitbucket-specific match group `(?K)`
which will be translated to `([\\w\\-]+)`. A value must match this pattern.

[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)" }, { "info": { "name": "Atlassian Delete All Linker Values", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/addon/linkers/:linker_key/values", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete all [linker](/cloud/bitbucket/modules/linker/) values for the
specified linker of the authenticated application." }, { "info": { "name": "Atlassian Get A Linker Value", "type": "http" }, "http": { "method": "GET", "url": "https://api.atlassian.com/addon/linkers/:linker_key/values/:value_id", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." }, { "name": "value_id", "value": "", "type": "path", "description": "The numeric ID of the linker value." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Get a single [linker](/cloud/bitbucket/modules/linker/) value
of the authenticated application." }, { "info": { "name": "Atlassian Delete A Linker Value", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/addon/linkers/:linker_key/values/:value_id", "params": [ { "name": "linker_key", "value": "", "type": "path", "description": "The unique key of a [linker module](/cloud/bitbucket/modules/linker/)\nas defined in an application descriptor." }, { "name": "value_id", "value": "", "type": "path", "description": "The numeric ID of the linker value." } ], "auth": { "type": "oauth2", "flow": "authorization_code", "authorizationUrl": "https://auth.atlassian.com/authorize", "accessTokenUrl": "https://auth.atlassian.com/oauth/token", "credentials": { "clientId": "{{clientId}}", "clientSecret": "{{clientSecret}}" } } }, "docs": "Delete a single [linker](/cloud/bitbucket/modules/linker/) value
of the authenticated application." } ] } ], "bundled": true }