{
  "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.<br><br>This endpoint is intended to be used by Bitbucket Connect apps<br>and only supports JWT authentication -- that is how Bitbucket<br>identifies the particular installation of the app. Developers<br>with applications registered in the \"Develop Apps\" section<br>of Bitbucket need not use this endpoint as updates for those<br>applications can be sent out via the UI of that section.<br><br>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.<br><br>This endpoint is intended to be used by Bitbucket Connect apps<br>and only supports JWT authentication -- that is how Bitbucket<br>identifies the particular installation of the app. Developers<br>with applications registered in the \"Develop Apps\" section<br>of Bitbucket Marketplace need not use this endpoint as<br>updates for those applications can be sent out via the<br>UI of that section.<br><br>```<br>$ 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/)<br>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`<br>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<br>specified linker of the authenticated application.<br><br>A linker value lets applications supply values to modify its regular expression.<br><br>The base regular expression must use a Bitbucket-specific match group `(?K)`<br>which will be translated to `([\\w\\-]+)`. A value must match this pattern.<br><br>[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<br>linker of authenticated application.<br><br>A linker value lets applications supply values to modify its regular expression.<br><br>The base regular expression must use a Bitbucket-specific match group `(?K)`<br>which will be translated to `([\\w\\-]+)`. A value must match this pattern.<br><br>[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<br>linker of the authenticated application.<br><br>A linker value lets applications supply values to modify its regular expression.<br><br>The base regular expression must use a Bitbucket-specific match group `(?K)`<br>which will be translated to `([\\w\\-]+)`. A value must match this pattern.<br><br>[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<br>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<br>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<br>of the authenticated application."
        }
      ]
    }
  ],
  "bundled": true
}