{
  "opencollection": "1.0.0",
  "info": {
    "name": "Bitbucket API",
    "version": "2.0"
  },
  "items": [
    {
      "info": {
        "name": "Addon",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Update an installed app",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/addon"
          },
          "docs": "Updates the application installation for the user.\n\nThis endpoint is intended to be used by Bitbucket Connect apps\nand only supports JWT authentication -- that is how Bitbucket\nidentifies the particular installation of the app. Developers\nwith applications registered in the \"Develop Apps\" section\nof Bitbucket need not use this endpoint as updates for those\napplications can be sent out via the UI of that section.\n\nPassing an empty body will update the installation using the\nexisting descriptor UR"
        },
        {
          "info": {
            "name": "Delete an app",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/addon"
          },
          "docs": "Deletes the application for the user.\n\nThis endpoint is intended to be used by Bitbucket Connect apps\nand only supports JWT authentication -- that is how Bitbucket\nidentifies the particular installation of the app. Developers\nwith applications registered in the \"Develop Apps\" section\nof Bitbucket Marketplace need not use this endpoint as\nupdates for those applications can be sent out via the\nUI of that section.\n\n```\n$ curl -X DELETE https://api.bitbucket.org/2.0/addon \\\n  -H \"Authorization: JWT "
        },
        {
          "info": {
            "name": "List linkers for an app",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/addon/linkers"
          },
          "docs": "Gets a list of all [linkers](/cloud/bitbucket/modules/linker/)\nfor the authenticated application.\n\nThis endpoint is deprecated and will be removed by May 2026."
        },
        {
          "info": {
            "name": "Get a linker for an app",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Gets a [linker](/cloud/bitbucket/modules/linker/) specified by `linker_key`\nfor the authenticated application.\n\nThis endpoint is deprecated and will be removed by May 2026."
        },
        {
          "info": {
            "name": "List linker values for a linker",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Gets a list of all [linker](/cloud/bitbucket/modules/linker/) values for the\nspecified linker of the authenticated application.\n\nA linker value lets applications supply values to modify its regular expression.\n\nThe base regular expression must use a Bitbucket-specific match group `(?K)`\nwhich will be translated to `([\\w\\-]+)`. A value must match this pattern.\n\n[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)\n\nThis endpoint is deprecated and wil"
        },
        {
          "info": {
            "name": "Create a linker value",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Creates a [linker](/cloud/bitbucket/modules/linker/) value for the specified\nlinker of authenticated application.\n\nA linker value lets applications supply values to modify its regular expression.\n\nThe base regular expression must use a Bitbucket-specific match group `(?K)`\nwhich will be translated to `([\\w\\-]+)`. A value must match this pattern.\n\n[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)\n\nThis endpoint is deprecated and will be removed b"
        },
        {
          "info": {
            "name": "Update a linker value",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Bulk update [linker](/cloud/bitbucket/modules/linker/) values for the specified\nlinker of the authenticated application.\n\nA linker value lets applications supply values to modify its regular expression.\n\nThe base regular expression must use a Bitbucket-specific match group `(?K)`\nwhich will be translated to `([\\w\\-]+)`. A value must match this pattern.\n\n[Read more about linker values](/cloud/bitbucket/modules/linker/#usingthebitbucketapitosupplyvalues)\n\nThis endpoint is deprecated and will be re"
        },
        {
          "info": {
            "name": "Delete all linker values",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Delete all [linker](/cloud/bitbucket/modules/linker/) values for the\nspecified linker of the authenticated application.\n\nThis endpoint is deprecated and will be removed by May 2026."
        },
        {
          "info": {
            "name": "Get a linker value",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Get a single [linker](/cloud/bitbucket/modules/linker/) value\nof the authenticated application.\n\nThis endpoint is deprecated and will be removed by May 2026."
        },
        {
          "info": {
            "name": "Delete a linker value",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/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."
              }
            ]
          },
          "docs": "Delete a single [linker](/cloud/bitbucket/modules/linker/) value\nof the authenticated application.\n\nThis endpoint is deprecated and will be removed by May 2026."
        },
        {
          "info": {
            "name": "Get the client key of a Connect addon",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/addon/:addon_key/client-key",
            "params": [
              {
                "name": "addon_key",
                "value": "",
                "type": "path",
                "description": "The Connect addon key as defined in an application descriptor.\n"
              }
            ]
          },
          "docs": "Get the client key of the Connect addon associated with a Forge app install via forgeAppId linkage.\n\nThis endpoint is part of the Connect -> Forge migration tooling. It is intended to be used by a Forge app\nusing `asApp().requestBitbucket()` only.\nPrerequisite: app developer needs to register the linkage between their Connect and Forge app by setting\n`forgeAppId` in the Connect addon descriptor to `app.id` from Forge app manifest, then update the installations.\nIf the request came from an instal"
        }
      ]
    },
    {
      "info": {
        "name": "Webhooks",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a webhook resource",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/hook_events"
          },
          "docs": "Returns the webhook resource or subject types on which webhooks can\nbe registered.\n\nEach resource/subject type contains an `events` link that returns the\npaginated list of specific events each individual subject type can\nemit.\n\nThis endpoint is publicly accessible and does not require\nauthentication or scopes."
        },
        {
          "info": {
            "name": "List subscribable webhook types",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/hook_events/:subject_type",
            "params": [
              {
                "name": "subject_type",
                "value": "",
                "type": "path",
                "description": "A resource or subject type."
              }
            ]
          },
          "docs": "Returns a paginated list of all valid webhook events for the\nspecified entity.\n**The team and user webhooks are deprecated, and you should use workspace instead.\nFor more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/).**\n\nThis is public data that does not require any scopes or authentication.\n\nNOTE: The example response is a truncated response object for the `workspace` `subject_type`.\nWe return the same structure for the oth"
        }
      ]
    },
    {
      "info": {
        "name": "Repositories",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List public repositories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories",
            "params": [
              {
                "name": "after",
                "value": "",
                "type": "query",
                "description": "Filter the results to include only repositories created on or\nafter this [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601)\n timestamp. Example: `YYYY-MM-DDTHH:mm:ss.sssZ`"
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Filters the result based on the authenticated user's role on each repository.\n\n* **member**: returns repositories to which the user has explicit read access\n* **contributor**: returns repositories to which the user has explicit write access\n* **admin**: returns repositories to which the user has explicit administrator access\n* **owner**: returns all repositories owned by the current user\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n`role` parameter must also be specified.\n"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              }
            ]
          },
          "docs": "**This endpoint is deprecated. Please use the\n[workspace scoped alternative](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-get).**\n\nReturns a paginated list of all public repositories.\n\nThis endpoint also supports filtering and sorting of the results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details."
        },
        {
          "info": {
            "name": "List repositories in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "\nFilters the result based on the authenticated user's role on each repository.\n\n* **member**: returns repositories to which the user has explicit read access\n* **contributor**: returns repositories to which the user has explicit write access\n* **admin**: returns repositories to which the user has explicit administrator access\n* **owner**: returns all repositories owned by the current user\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nField by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n        "
              }
            ]
          },
          "docs": "Returns a paginated list of all repositories owned by the specified\nworkspace.\n\nThe result can be narrowed down based on the authenticated user's role.\n\nE.g. with `?role=contributor`, only those repositories that the\nauthenticated user has write access to are returned (this includes any\nrepo the user is an admin on, as that implies write access).\n\nThis endpoint also supports filtering and sorting of the results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details"
        },
        {
          "info": {
            "name": "Get a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the object describing this repository."
        },
        {
          "info": {
            "name": "Create a repository",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new repository.\n\nNote: In order to set the project for the newly created repository,\npass in either the project key or the project UUID as part of the\nrequest body as shown in the examples below:\n\n```\n$ curl -X POST -H \"Content-Type: application/json\" -d '{\n    \"scm\": \"git\",\n    \"project\": {\n        \"key\": \"MARS\"\n    }\n}' https://api.bitbucket.org/2.0/repositories/teamsinspace/hablanding\n```\n\nor\n\n```\n$ curl -X POST -H \"Content-Type: application/json\" -d '{\n    \"scm\": \"git\",\n    \"projec"
        },
        {
          "info": {
            "name": "Update a repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Since this endpoint can be used to both update and to create a\nrepository, the request body depends on the intent.\n\n#### Creation\n\nSee the POST documentation for the repository endpoint for an example\nof the request body.\n\n#### Update\n\nNote: Changing the `name` of the repository will cause the location to\nbe changed. This is because the URL of the repo is derived from the\nname (a process called slugification). In such a scenario, it is\npossible for the request to fail if the newly created slug c"
        },
        {
          "info": {
            "name": "Delete a repository",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "redirect_to",
                "value": "",
                "type": "query",
                "description": "If a repository has been moved to a new location, use this parameter to\nshow users a friendly message in the Bitbucket UI that the repository\nhas moved to a new location. However, a GET to this endpoint will still\nreturn a 404.\n"
              }
            ]
          },
          "docs": "Deletes the repository. This is an irreversible operation.\n\nThis does not affect its forks."
        },
        {
          "info": {
            "name": "List repository forks",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/forks",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Filters the result based on the authenticated user's role on each repository.\n\n* **member**: returns repositories to which the user has explicit read access\n* **contributor**: returns repositories to which the user has explicit write access\n* **admin**: returns repositories to which the user has explicit administrator access\n* **owner**: returns all repositories owned by the current user\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              }
            ]
          },
          "docs": "Returns a paginated list of all the forks of the specified\nrepository."
        },
        {
          "info": {
            "name": "Fork a repository",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/forks",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new fork of the specified repository.\n\n#### Forking a repository\n\nTo create a fork, specify the workspace explicitly as part of the\nrequest body:\n\n```\n$ curl -X POST -u jdoe https://api.bitbucket.org/2.0/repositories/atlassian/bbql/forks \\\n  -H 'Content-Type: application/json' -d '{\n    \"name\": \"bbql_fork\",\n    \"workspace\": {\n      \"slug\": \"atlassian\"\n    }\n}'\n```\n\nTo fork a repository into the same workspace, also specify a new `name`.\n\nWhen you specify a value for `name`, it will als"
        },
        {
          "info": {
            "name": "List webhooks for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/hooks",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of webhooks installed on this repository."
        },
        {
          "info": {
            "name": "Create a webhook for a repository",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/hooks",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new webhook on the specified repository.\n\nExample:\n\n```\n$ curl -X POST -u credentials -H 'Content-Type: application/json'\n  https://api.bitbucket.org/2.0/repositories/my-workspace/my-repo-slug/hooks\n  -d '\n    {\n      \"description\": \"Webhook Description\",\n      \"url\": \"https://example.com/\",\n      \"active\": true,\n      \"secret\": \"this is a really bad secret\",\n      \"events\": [\n        \"repo:push\",\n        \"issue:created\",\n        \"issue:updated\"\n      ]\n    }'\n```\n\nWhen the `secret` is"
        },
        {
          "info": {
            "name": "Get a webhook for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/hooks/:uid",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "Installed webhook's ID"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the webhook with the specified id installed on the specified\nrepository."
        },
        {
          "info": {
            "name": "Update a webhook for a repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/hooks/:uid",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "Installed webhook's ID"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the specified webhook subscription.\n\nThe following properties can be mutated:\n\n* `description`\n* `url`\n* `secret`\n* `active`\n* `events`\n\nThe hook's secret is used as a key to generate the HMAC hex digest sent in the\n`X-Hub-Signature` header at delivery time. This signature is only generated\nwhen the hook has a secret.\n\nSet the hook's secret by passing the new value in the `secret` field. Passing a\n`null` value in the `secret` field will remove the secret from the hook. The\nhook's secret "
        },
        {
          "info": {
            "name": "Delete a webhook for a repository",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/hooks/:uid",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "Installed webhook's ID"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the specified webhook subscription from the given\nrepository."
        },
        {
          "info": {
            "name": "Retrieve the inheritance state for repository settings",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/override-settings",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Retrieve the inheritance state for repository settings"
        },
        {
          "info": {
            "name": "Set the inheritance state for repository settings\n                ",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/override-settings",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Set the inheritance state for repository settings\n                "
        },
        {
          "info": {
            "name": "List explicit group permissions for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/groups",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of explicit group permissions for the given repository.\nThis endpoint does not support BBQL features."
        },
        {
          "info": {
            "name": "Get an explicit group permission for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/groups/:group_slug",
            "params": [
              {
                "name": "group_slug",
                "value": "",
                "type": "path",
                "description": "Slug of the requested group."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the group permission for a given group slug and repository\n\nOnly users with admin permission for the repository may access this resource.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`\n* `none`"
        },
        {
          "info": {
            "name": "Update an explicit group permission for a repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/groups/:group_slug",
            "params": [
              {
                "name": "group_slug",
                "value": "",
                "type": "path",
                "description": "Slug of the requested group."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the group permission, or grants a new permission if one does not already exist.\n\nOnly users with admin permission for the repository may access this resource.\n\nThe only authentication method supported for this endpoint is via app passwords.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`"
        },
        {
          "info": {
            "name": "Delete an explicit group permission for a repository",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/groups/:group_slug",
            "params": [
              {
                "name": "group_slug",
                "value": "",
                "type": "path",
                "description": "Slug of the requested group."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the repository group permission between the requested repository and group, if one exists.\n\nOnly users with admin permission for the repository may access this resource.\n\nThe only authentication method supported for this endpoint is via app passwords."
        },
        {
          "info": {
            "name": "List explicit user permissions for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/users",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of explicit user permissions for the given repository.\nThis endpoint does not support BBQL features."
        },
        {
          "info": {
            "name": "Get an explicit user permission for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/users/:selected_user_id",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "selected_user_id",
                "value": "",
                "type": "path",
                "description": "This can either be the UUID of the account, surrounded by curly-braces, for\nexample: `{account UUID}`, OR an Atlassian Account ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the explicit user permission for a given user and repository.\n\nOnly users with admin permission for the repository may access this resource.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`\n* `none`"
        },
        {
          "info": {
            "name": "Update an explicit user permission for a repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/users/:selected_user_id",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "selected_user_id",
                "value": "",
                "type": "path",
                "description": "This can either be the UUID of the account, surrounded by curly-braces, for\nexample: `{account UUID}`, OR an Atlassian Account ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the explicit user permission for a given user and repository. The selected user must be a member of\nthe workspace, and cannot be the workspace owner.\nOnly users with admin permission for the repository may access this resource.\n\nThe only authentication method for this endpoint is via app passwords.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`"
        },
        {
          "info": {
            "name": "Delete an explicit user permission for a repository",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/permissions-config/users/:selected_user_id",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "selected_user_id",
                "value": "",
                "type": "path",
                "description": "This can either be the UUID of the account, surrounded by curly-braces, for\nexample: `{account UUID}`, OR an Atlassian Account ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the repository user permission between the requested repository and user, if one exists.\n\nOnly users with admin permission for the repository may access this resource.\n\nThe only authentication method for this endpoint is via app passwords."
        },
        {
          "info": {
            "name": "List repositories watchers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/watchers",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of all the watchers on the specified\nrepository."
        },
        {
          "info": {
            "name": "List repository permissions for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/permissions/repositories",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property sort the result by as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              }
            ]
          },
          "docs": "**This endpoint is deprecated. Please use the\n[workspace scoped alternative](/cloud/bitbucket/rest/api-group-repositories/#api-user-workspaces-workspace-permissions-repositories-get).**\n\nReturns an object for each repository the caller has explicit access\nto and their effective permission — the highest level of permission the\ncaller has. This does not return public repositories that the user was\nnot granted any specific permission in, and does not distinguish between\nexplicit and implicit privil"
        },
        {
          "info": {
            "name": "List repository permissions in a workspace for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/workspaces/:workspace/permissions/repositories",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property sort the result by as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              }
            ]
          },
          "docs": "Returns an object for each repository the caller has explicit access to in the\nspecified workspace and their effective permission — the highest level of\npermission the caller has. This does not return public repositories that the\nuser was not granted any specific permission in, and does not distinguish between\nexplicit and implicit privileges.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`\n\nResults may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by\nrepository or p"
        }
      ]
    },
    {
      "info": {
        "name": "Branch restrictions",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List branch restrictions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branch-restrictions",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "kind",
                "value": "",
                "type": "query",
                "description": "Branch restrictions of this type"
              },
              {
                "name": "pattern",
                "value": "",
                "type": "query",
                "description": "Branch restrictions applied to branches of this pattern"
              }
            ]
          },
          "docs": "Returns a paginated list of all branch restrictions on the\nrepository."
        },
        {
          "info": {
            "name": "Create a branch restriction rule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branch-restrictions",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new branch restriction rule for a repository.\n\n`kind` describes what will be restricted. Allowed values include:\n`push`, `force`, `delete`, `restrict_merges`, `require_tasks_to_be_completed`,\n`require_approvals_to_merge`, `require_default_reviewer_approvals_to_merge`,\n`require_no_changes_requested`, `require_passing_builds_to_merge`, `require_commits_behind`,\n`reset_pullrequest_approvals_on_change`, `smart_reset_pullrequest_approvals`,\n`reset_pullrequest_changes_requested_on_change`, `"
        },
        {
          "info": {
            "name": "Get a branch restriction rule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branch-restrictions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The restriction rule's id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a specific branch restriction rule."
        },
        {
          "info": {
            "name": "Update a branch restriction rule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branch-restrictions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The restriction rule's id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates an existing branch restriction rule.\n\nFields not present in the request body are ignored.\n\nSee [`POST`](/cloud/bitbucket/rest/api-group-branch-restrictions/#api-repositories-workspace-repo-slug-branch-restrictions-post) for details."
        },
        {
          "info": {
            "name": "Delete a branch restriction rule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branch-restrictions/:id",
            "params": [
              {
                "name": "id",
                "value": "",
                "type": "path",
                "description": "The restriction rule's id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes an existing branch restriction rule."
        }
      ]
    },
    {
      "info": {
        "name": "Branching model",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get the branching model for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branching-model",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Return the branching model as applied to the repository. This view is\nread-only. The branching model settings can be changed using the\n[settings](#api-repositories-workspace-repo-slug-branching-model-settings-get) API.\n\nThe returned object:\n\n1. Always has a `development` property. `development.branch` contains\n   the actual repository branch object that is considered to be the\n   `development` branch. `development.branch` will not be present\n   if it does not exist.\n2. Might have a `production` "
        },
        {
          "info": {
            "name": "Get the branching model config for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branching-model/settings",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Return the branching model configuration for a repository. The returned\nobject:\n\n1. Always has a `development` property for the development branch.\n2. Always a `production` property for the production branch. The\n   production branch can be disabled.\n3. The `branch_types` contains all the branch types.\n4. `default_branch_deletion` indicates whether branches will be\n    deleted by default on merge.\n\nThis is the raw configuration for the branching model. A client\nwishing to see the branching model"
        },
        {
          "info": {
            "name": "Update the branching model config for a repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/branching-model/settings",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Update the branching model configuration for a repository.\n\nThe `development` branch can be configured to a specific branch or to\ntrack the main branch. When set to a specific branch it must\ncurrently exist. Only the passed properties will be updated. The\nproperties not passed will be left unchanged. A request without a\n`development` property will leave the development branch unchanged.\n\nIt is possible for the `development` branch to be invalid. This\nhappens when it points at a specific branch t"
        },
        {
          "info": {
            "name": "Get the effective, or currently applied, branching model for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/effective-branching-model",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Get the effective, or currently applied, branching model for a repository"
        },
        {
          "info": {
            "name": "Get the branching model for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/branching-model",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Return the branching model set at the project level. This view is\nread-only. The branching model settings can be changed using the\n[settings](#api-workspaces-workspace-projects-project-key-branching-model-settings-get)\nAPI.\n\nThe returned object:\n\n1. Always has a `development` property. `development.name` is\n   the user-specified branch that can be inherited by an individual repository's\n   branching model.\n2. Might have a `production` property. `production` will not\n   be present when `productio"
        },
        {
          "info": {
            "name": "Get the branching model config for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/branching-model/settings",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Return the branching model configuration for a project. The returned\nobject:\n\n1. Always has a `development` property for the development branch.\n2. Always a `production` property for the production branch. The\n   production branch can be disabled.\n3. The `branch_types` contains all the branch types.\n4. `default_branch_deletion` indicates whether branches will be\n    deleted by default on merge.\n\n\nThis is the raw configuration for the branching model. A client\nwishing to see the branching model w"
        },
        {
          "info": {
            "name": "Update the branching model config for a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/branching-model/settings",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Update the branching model configuration for a project.\n\nThe `development` branch can be configured to a specific branch or to\ntrack the main branch. Any branch name can be supplied, but will only\nsuccessfully be applied to a repository via inheritance if that branch\nexists for that repository. Only the passed properties will be updated. The\nproperties not passed will be left unchanged. A request without a\n`development` property will leave the development branch unchanged.\n\nThe `production` bran"
        }
      ]
    },
    {
      "info": {
        "name": "Commits",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a commit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified commit."
        },
        {
          "info": {
            "name": "Approve a commit",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/approve",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Approve the specified commit as the authenticated user.\n\nThis operation is only available to users that have explicit access to\nthe repository. In contrast, just the fact that a repository is\npublicly accessible to users does not give them the ability to approve\ncommits."
        },
        {
          "info": {
            "name": "Unapprove a commit",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/approve",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Redact the authenticated user's approval of the specified commit.\n\nThis operation is only available to users that have explicit access to\nthe repository. In contrast, just the fact that a repository is\npublicly accessible to users does not give them the ability to approve\ncommits."
        },
        {
          "info": {
            "name": "List a commit's comments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/comments",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Query string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              }
            ]
          },
          "docs": "Returns the commit's comments.\n\nThis includes both global and inline comments.\n\nThe default sorting is oldest to newest and can be overridden with\nthe `sort` query parameter."
        },
        {
          "info": {
            "name": "Create comment for a commit",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/comments",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates new comment on the specified commit.\n\nTo post a reply to an existing comment, include the `parent.id` field:\n\n```\n$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/commit/db9ba1e031d07a02603eae0e559a7adc010257fc/comments/ \\\n  -X POST -u evzijst \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"content\": {\"raw\": \"One more thing!\"},\n       \"parent\": {\"id\": 5728901}}'\n```"
        },
        {
          "info": {
            "name": "Get a commit comment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified commit comment."
        },
        {
          "info": {
            "name": "Update a commit comment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to update the contents of a comment. Only the content of the comment can be updated.\n\n```\n$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/commit/7f71b5/comments/5728901 \\\n  -X PUT -u evzijst \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"content\": {\"raw\": \"One more thing!\"}'\n```"
        },
        {
          "info": {
            "name": "Delete a commit comment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the specified commit comment.\n\nNote that deleting comments that have visible replies that point to\nthem will not really delete the resource. This is to retain the integrity\nof the original comment tree. Instead, the `deleted` element is set to\n`true` and the content is blanked out. The comment will continue to be\nreturned by the collections and self endpoints."
        },
        {
          "info": {
            "name": "List commits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commits",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "These are the repository's commits. They are paginated and returned\nin reverse chronological order, similar to the output of `git log`.\nLike these tools, the DAG can be filtered.\n\n#### GET /repositories/{workspace}/{repo_slug}/commits/\n\nReturns all commits in the repo in topological order (newest commit\nfirst). All branches and tags are included (similar to\n`git log --all`).\n\n#### GET /repositories/{workspace}/{repo_slug}/commits/?exclude=master\n\nReturns all commits in the repo that are not on m"
        },
        {
          "info": {
            "name": "List commits with include/exclude",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commits",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Identical to `GET /repositories/{workspace}/{repo_slug}/commits`,\nexcept that POST allows clients to place the include and exclude\nparameters in the request body to avoid URL length issues.\n\n**Note that this resource does NOT support new commit creation.**"
        },
        {
          "info": {
            "name": "List commits for revision",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commits/:revision",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "revision",
                "value": "",
                "type": "path",
                "description": "A commit SHA1 or ref name."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "These are the repository's commits. They are paginated and returned\nin reverse chronological order, similar to the output of `git log`.\nLike these tools, the DAG can be filtered.\n\n#### GET /repositories/{workspace}/{repo_slug}/commits/master\n\nReturns all commits on ref `master` (similar to `git log master`).\n\n#### GET /repositories/{workspace}/{repo_slug}/commits/dev?include=foo&exclude=master\n\nReturns all commits on ref `dev` or `foo`, except those that are reachable on\n`master` (similar to `gi"
        },
        {
          "info": {
            "name": "List commits for revision using include/exclude",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commits/:revision",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "revision",
                "value": "",
                "type": "path",
                "description": "A commit SHA1 or ref name."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Identical to `GET /repositories/{workspace}/{repo_slug}/commits/{revision}`,\nexcept that POST allows clients to place the include and exclude\nparameters in the request body to avoid URL length issues.\n\n**Note that this resource does NOT support new commit creation.**"
        },
        {
          "info": {
            "name": "Compare two commits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/diff/:spec",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "spec",
                "value": "",
                "type": "path",
                "description": "A commit SHA (e.g. `3a8b42`) or a commit range using double dot\nnotation (e.g. `3a8b42..9ff173`).\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "context",
                "value": "",
                "type": "query",
                "description": "Generate diffs with <n> lines of context instead of the usual three."
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "Limit the diff to a particular file (this parameter\ncan be repeated for multiple paths)."
              },
              {
                "name": "ignore_whitespace",
                "value": "",
                "type": "query",
                "description": "Generate diffs that ignore whitespace."
              },
              {
                "name": "binary",
                "value": "",
                "type": "query",
                "description": "Generate diffs that include binary files, true if omitted."
              },
              {
                "name": "renames",
                "value": "",
                "type": "query",
                "description": "Whether to perform rename detection, true if omitted."
              },
              {
                "name": "merge",
                "value": "",
                "type": "query",
                "description": "This parameter is deprecated. The 'topic' parameter should be used\ninstead. The 'merge' and 'topic' parameters cannot be both used at\nthe same time.\n\nIf true, the source commit is merged into the\ndestination commit, and then a diff from the\ndestination to the merge result is returned. If false,\na simple 'two dot' diff between the source and\ndestination is returned. True if omitted."
              },
              {
                "name": "topic",
                "value": "",
                "type": "query",
                "description": "If true, returns 2-way 'three-dot' diff.\nThis is a diff between the source commit and the merge base\nof the source commit and the destination commit.\nIf false, a simple 'two dot' diff between the source and\ndestination is returned.\n\nIf omitted, defaults to true, ie. a 2 way 'three-dot'\ndiff is returned.\n"
              }
            ]
          },
          "docs": "Produces a raw git-style diff.\n\n#### Single commit spec\n\nIf the `spec` argument to this API is a single commit, the diff is\nproduced against the first parent of the specified commit.\n\n#### Two commit spec\n\nTwo commits separated by `..` may be provided as the `spec`, e.g.,\n`3a8b42..9ff173`. When two commits are provided and the `topic` query\nparameter is true, this API produces a 2-way three dot diff.\nThis is the diff between source commit and the merge base of the source\ncommit and the destinati"
        },
        {
          "info": {
            "name": "Compare two commit diff stats",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/diffstat/:spec",
            "params": [
              {
                "name": "ignore_whitespace",
                "value": "",
                "type": "query",
                "description": "Generate diffs that ignore whitespace"
              },
              {
                "name": "merge",
                "value": "",
                "type": "query",
                "description": "This parameter is deprecated. The 'topic' parameter should be used\ninstead. The 'merge' and 'topic' parameters cannot be both used at\nthe same time.\n\nIf true, the source commit is merged into the\ndestination commit, and then a diffstat from the\ndestination to the merge result is returned. If false,\na simple 'two dot' diffstat between the source and\ndestination is returned. True if omitted."
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "Limit the diffstat to a particular file (this parameter\ncan be repeated for multiple paths)."
              },
              {
                "name": "renames",
                "value": "",
                "type": "query",
                "description": "Whether to perform rename detection, true if omitted."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "spec",
                "value": "",
                "type": "path",
                "description": "A commit SHA (e.g. `3a8b42`) or a commit range using double dot\nnotation (e.g. `3a8b42..9ff173`).\n"
              },
              {
                "name": "topic",
                "value": "",
                "type": "query",
                "description": "If true, returns 2-way 'three-dot' diff.\nThis is a diff between the source commit and the merge base\nof the source commit and the destination commit.\nIf false, a simple 'two dot' diff between the source and\ndestination is returned."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Produces a response in JSON format with a record for every path\nmodified, including information on the type of the change and the\nnumber of lines added and removed.\n\n#### Single commit spec\n\nIf the `spec` argument to this API is a single commit, the diff is\nproduced against the first parent of the specified commit.\n\n#### Two commit spec\n\nTwo commits separated by `..` may be provided as the `spec`, e.g.,\n`3a8b42..9ff173`. When two commits are provided and the `topic` query\nparameter is true, this"
        },
        {
          "info": {
            "name": "Get the common ancestor between two commits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/merge-base/:revspec",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "revspec",
                "value": "",
                "type": "path",
                "description": "A commit range using double dot notation (e.g. `3a8b42..9ff173`).\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the best common ancestor between two commits, specified in a revspec\nof 2 commits (e.g. 3a8b42..9ff173).\n\nIf more than one best common ancestor exists, only one will be returned. It is\nunspecified which will be returned."
        },
        {
          "info": {
            "name": "Get a patch for two commits",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/patch/:spec",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "spec",
                "value": "",
                "type": "path",
                "description": "A commit SHA (e.g. `3a8b42`) or a commit range using double dot\nnotation (e.g. `3a8b42..9ff173`).\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Produces a raw patch for a single commit (diffed against its first\nparent), or a patch-series for a revspec of 2 commits (e.g.\n`3a8b42..9ff173` where the first commit represents the source and the\nsecond commit the destination).\n\nIn case of the latter (diffing a revspec), a patch series is returned\nfor the commits on the source branch (`3a8b42` and its ancestors in\nour example).\n\nWhile similar to diffs, patches:\n\n* Have a commit header (username, commit message, etc)\n* Do not support the `path=f"
        }
      ]
    },
    {
      "info": {
        "name": "properties",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get a commit application property",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a commit."
        },
        {
          "info": {
            "name": "Update a commit application property",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Update an [application property](/cloud/bitbucket/application-properties/) value stored against a commit."
        },
        {
          "info": {
            "name": "Delete a commit application property",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a commit."
        },
        {
          "info": {
            "name": "Get a repository application property",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a repository."
        },
        {
          "info": {
            "name": "Update a repository application property",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Update an [application property](/cloud/bitbucket/application-properties/) value stored against a repository."
        },
        {
          "info": {
            "name": "Delete a repository application property",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a repository."
        },
        {
          "info": {
            "name": "Get a pull request application property",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pullrequest_id/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pullrequest_id",
                "value": "",
                "type": "path",
                "description": "The pull request ID."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a pull request."
        },
        {
          "info": {
            "name": "Update a pull request application property",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pullrequest_id/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pullrequest_id",
                "value": "",
                "type": "path",
                "description": "The pull request ID."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Update an [application property](/cloud/bitbucket/application-properties/) value stored against a pull request."
        },
        {
          "info": {
            "name": "Delete a pull request application property",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pullrequest_id/properties/:app_key/:property_name",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The repository container; either the workspace slug or the UUID in curly braces."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pullrequest_id",
                "value": "",
                "type": "path",
                "description": "The pull request ID."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a pull request."
        },
        {
          "info": {
            "name": "Get a user application property",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/properties/:app_key/:property_name",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Retrieve an [application property](/cloud/bitbucket/application-properties/) value stored against a user."
        },
        {
          "info": {
            "name": "Update a user application property",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/users/:selected_user/properties/:app_key/:property_name",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Update an [application property](/cloud/bitbucket/application-properties/) value stored against a user."
        },
        {
          "info": {
            "name": "Delete a user application property",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/users/:selected_user/properties/:app_key/:property_name",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "app_key",
                "value": "",
                "type": "path",
                "description": "The key of the Connect app."
              },
              {
                "name": "property_name",
                "value": "",
                "type": "path",
                "description": "The name of the property."
              }
            ]
          },
          "docs": "Delete an [application property](/cloud/bitbucket/application-properties/) value stored against a user."
        }
      ]
    },
    {
      "info": {
        "name": "Pullrequests",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List pull requests that contain a commit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/pullrequests",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository; either the UUID in curly braces, or the slug"
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The SHA1 of the commit"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many pull requests to retrieve per page"
              }
            ]
          },
          "docs": "Returns a paginated list of all pull requests as part of which this commit was reviewed. Pull Request Commit Links app must be installed first before using this API; installation automatically occurs when 'Go to pull request' is clicked from the web interface for a commit's details."
        },
        {
          "info": {
            "name": "List default reviewers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/default-reviewers",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the repository's default reviewers.\n\nThese are the users that are automatically added as reviewers on every\nnew pull request that is created. To obtain the repository's default reviewers\nas well as the default reviewers inherited from the project, use the\n[effective-default-reveiwers](#api-repositories-workspace-repo-slug-effective-default-reviewers-get) endpoint."
        },
        {
          "info": {
            "name": "Get a default reviewer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/default-reviewers/:target_username",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "target_username",
                "value": "",
                "type": "path",
                "description": "This can either be the username or the UUID of the default reviewer,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified reviewer.\n\nThis can be used to test whether a user is among the repository's\ndefault reviewers list. A 404 indicates that that specified user is not\na default reviewer."
        },
        {
          "info": {
            "name": "Add a user to the default reviewers",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/default-reviewers/:target_username",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "target_username",
                "value": "",
                "type": "path",
                "description": "This can either be the username or the UUID of the default reviewer,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Adds the specified user to the repository's list of default\nreviewers.\n\nThis method is idempotent. Adding a user a second time has no effect."
        },
        {
          "info": {
            "name": "Remove a user from the default reviewers",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/default-reviewers/:target_username",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "target_username",
                "value": "",
                "type": "path",
                "description": "This can either be the username or the UUID of the default reviewer,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Removes a default reviewer from the repository."
        },
        {
          "info": {
            "name": "List effective default reviewers",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/effective-default-reviewers",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the repository's effective default reviewers. This includes both default\nreviewers defined at the repository level as well as those inherited from its project.\n\nThese are the users that are automatically added as reviewers on every\nnew pull request that is created."
        },
        {
          "info": {
            "name": "List pull requests",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Only return pull requests that are in this state. This parameter can be repeated."
              }
            ]
          },
          "docs": "Returns all pull requests on the specified repository.\n\nBy default only open pull requests are returned. This can be controlled\nusing the `state` query parameter. To retrieve pull requests that are\nin one of multiple states, repeat the `state` parameter for each\nindividual state.\n\nThis endpoint also supports filtering and sorting of the results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details."
        },
        {
          "info": {
            "name": "Create a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new pull request where the destination repository is\nthis repository and the author is the authenticated user.\n\nThe minimum required fields to create a pull request are `title` and\n`source`, specified by a branch name.\n\n```\ncurl https://api.bitbucket.org/2.0/repositories/my-workspace/my-repository/pullrequests \\\n    -u my-username:my-password \\\n    --request POST \\\n    --header 'Content-Type: application/json' \\\n    --data '{\n        \"title\": \"My Title\",\n        \"source\": {\n           "
        },
        {
          "info": {
            "name": "List a pull request activity log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/activity",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the pull request's activity log.\n\nThis handler serves both a v20 and internal endpoint. The v20 endpoint\nreturns reviewer comments, updates, approvals and request changes. The internal\nendpoint includes those plus tasks and attachments.\n\nComments created on a file or a line of code have an inline property.\n\nComment example:\n```\n{\n    \"pagelen\": 20,\n    \"values\": [\n        {\n            \"comment\": {\n                \"links\": {\n                    \"self\": {\n             "
        },
        {
          "info": {
            "name": "Get a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified pull request."
        },
        {
          "info": {
            "name": "Update a pull request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Mutates the specified pull request.\n\nThis can be used to change the pull request's branches or description.\n\nOnly open pull requests can be mutated."
        },
        {
          "info": {
            "name": "List a pull request activity log",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/activity",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the pull request's activity log.\n\nThis handler serves both a v20 and internal endpoint. The v20 endpoint\nreturns reviewer comments, updates, approvals and request changes. The internal\nendpoint includes those plus tasks and attachments.\n\nComments created on a file or a line of code have an inline property.\n\nComment example:\n```\n{\n    \"pagelen\": 20,\n    \"values\": [\n        {\n            \"comment\": {\n                \"links\": {\n                    \"self\": {\n             "
        },
        {
          "info": {
            "name": "Approve a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/approve",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Approve the specified pull request as the authenticated user."
        },
        {
          "info": {
            "name": "Unapprove a pull request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/approve",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Redact the authenticated user's approval of the specified pull\nrequest."
        },
        {
          "info": {
            "name": "List comments on a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the pull request's comments.\n\nThis includes both global, inline comments and replies.\n\nThe default sorting is oldest to newest and can be overridden with\nthe `sort` query parameter.\n\nThis endpoint also supports filtering and sorting of the results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more\ndetails."
        },
        {
          "info": {
            "name": "Create a comment on a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new pull request comment.\n\nReturns the newly created pull request comment."
        },
        {
          "info": {
            "name": "Get a comment on a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a specific pull request comment."
        },
        {
          "info": {
            "name": "Update a comment on a pull request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates a specific pull request comment."
        },
        {
          "info": {
            "name": "Delete a comment on a pull request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes a specific pull request comment."
        },
        {
          "info": {
            "name": "Resolve a comment thread",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments/:comment_id/resolve",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Resolve a comment thread"
        },
        {
          "info": {
            "name": "Reopen a comment thread",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/comments/:comment_id/resolve",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Reopen a comment thread"
        },
        {
          "info": {
            "name": "List commits on a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/commits",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the pull request's commits.\n\nThese are the commits that are being merged into the destination\nbranch when the pull requests gets accepted."
        },
        {
          "info": {
            "name": "Decline a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/decline",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Declines the pull request."
        },
        {
          "info": {
            "name": "List changes in a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/diff",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Redirects to the [repository diff](/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-diff-spec-get)\nwith the revspec that corresponds to the pull request."
        },
        {
          "info": {
            "name": "Get the diff stat for a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/diffstat",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Redirects to the [repository diffstat](/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-diffstat-spec-get)\nwith the revspec that corresponds to the pull request."
        },
        {
          "info": {
            "name": "Merge a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/merge",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "async",
                "value": "",
                "type": "query",
                "description": "Default value is false.\n\n\nWhen set to true, runs merge asynchronously and\nimmediately returns a 202 with polling link to\nthe task-status API in the Location header.\n\n\nWhen set to false, runs merge and waits for it to\ncomplete, returning 200 when it succeeds. If the\nduration of the merge exceeds a timeout threshold,\nthe API returns a 202 with polling link to the\ntask-status API in the Location header."
              }
            ]
          },
          "docs": "Merges the pull request."
        },
        {
          "info": {
            "name": "Get the merge task status for a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/merge/task-status/:task_id",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "ID of the merge task"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "When merging a pull request takes too long, the client receives a\ntask ID along with a 202 status code. The task ID can be used in a call\nto this endpoint to check the status of a merge task.\n\n```\ncurl -X GET https://api.bitbucket.org/2.0/repositories/atlassian/bitbucket/pullrequests/2286/merge/task-status/<task_id>\n```\n\nIf the merge task is not yet finished, a PENDING status will be returned.\n\n```\nHTTP/2 200\n{\n    \"task_status\": \"PENDING\",\n    \"links\": {\n        \"self\": {\n            \"href\": \"h"
        },
        {
          "info": {
            "name": "Get the patch for a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/patch",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Redirects to the [repository patch](/cloud/bitbucket/rest/api-group-commits/#api-repositories-workspace-repo-slug-patch-spec-get)\nwith the revspec that corresponds to pull request."
        },
        {
          "info": {
            "name": "Request changes for a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/request-changes",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Request changes for a pull request"
        },
        {
          "info": {
            "name": "Remove change request for a pull request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/request-changes",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Remove change request for a pull request"
        },
        {
          "info": {
            "name": "List commit statuses for a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/statuses",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Query string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\nDefaults to `created_on`.\n"
              }
            ]
          },
          "docs": "Returns all statuses (e.g. build results) for the given pull\nrequest."
        },
        {
          "info": {
            "name": "List tasks on a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nField by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\nDefaults to `created_on`.\n"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "\nCurrent number of objects on the existing page.\nThe default value is 10 with 100 being the maximum allowed value.\nIndividual APIs may enforce different values.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the pull request's tasks.\n\nThis endpoint supports filtering and sorting of the results by the 'task' field.\nSee [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details."
        },
        {
          "info": {
            "name": "Create a task on a pull request",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new pull request task.\n\nReturns the newly created pull request task.\n\nTasks can optionally be created in relation to a comment specified by the comment's ID which\nwill cause the task to appear below the comment on a pull request when viewed in Bitbucket."
        },
        {
          "info": {
            "name": "Get a task on a pull request",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks/:task_id",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The ID of the task."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a specific pull request task."
        },
        {
          "info": {
            "name": "Update a task on a pull request",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks/:task_id",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The ID of the task."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates a specific pull request task."
        },
        {
          "info": {
            "name": "Delete a task on a pull request",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pullrequests/:pull_request_id/tasks/:task_id",
            "params": [
              {
                "name": "pull_request_id",
                "value": "",
                "type": "path",
                "description": "The id of the pull request."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The ID of the task."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes a specific pull request task."
        }
      ]
    },
    {
      "info": {
        "name": "Reports",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List reports",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit for which to retrieve reports."
              }
            ]
          },
          "docs": "Returns a paginated list of Reports linked to this commit."
        },
        {
          "info": {
            "name": "Get a report",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit the report belongs to."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the report."
              }
            ]
          },
          "docs": "Returns a single Report matching the provided ID."
        },
        {
          "info": {
            "name": "Create or update a report",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit the report belongs to."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the report."
              }
            ]
          },
          "docs": "Creates or updates a report for the specified commit.\nTo upload a report, make sure to generate an ID that is unique across all reports for that commit. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-001.\n\n### Sample cURL request:\n```\ncurl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001' \\\n--header 'Content-Type: appl"
        },
        {
          "info": {
            "name": "Delete a report",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit the report belongs to."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the report."
              }
            ]
          },
          "docs": "Deletes a single Report matching the provided ID."
        },
        {
          "info": {
            "name": "List annotations",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId/annotations",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit for which to retrieve reports."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Uuid or external-if of the report for which to get annotations for."
              }
            ]
          },
          "docs": "Returns a paginated list of Annotations for a specified report."
        },
        {
          "info": {
            "name": "Bulk create or update annotations",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId/annotations",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit for which to retrieve reports."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Uuid or external-if of the report for which to get annotations for."
              }
            ]
          },
          "docs": "Bulk upload of annotations.\nAnnotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.\n\nAdd the annotations you want to upload as objects in a JSON array and make sure each annotation has the external_id field set to "
        },
        {
          "info": {
            "name": "Get an annotation",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId/annotations/:annotationId",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit the report belongs to."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the report."
              },
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the annotation."
              }
            ]
          },
          "docs": "Returns a single Annotation matching the provided ID."
        },
        {
          "info": {
            "name": "Create or update an annotation",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId/annotations/:annotationId",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit the report belongs to."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the report."
              },
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the annotation."
              }
            ]
          },
          "docs": "Creates or updates an individual annotation for the specified report.\nAnnotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.\n\nJust as reports, annotation needs to be uploaded with a unique ID that can later be use"
        },
        {
          "info": {
            "name": "Delete an annotation",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/reports/:reportId/annotations/:annotationId",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit the annotation belongs to."
              },
              {
                "name": "reportId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the annotation."
              },
              {
                "name": "annotationId",
                "value": "",
                "type": "path",
                "description": "Either the uuid or external-id of the annotation."
              }
            ]
          },
          "docs": "Deletes a single Annotation matching the provided ID."
        }
      ]
    },
    {
      "info": {
        "name": "Commit statuses",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List commit statuses for a commit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/statuses",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "refname",
                "value": "",
                "type": "query",
                "description": "If specified, only return commit status objects that were either\ncreated without a refname, or were created with the specified refname\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Query string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\n"
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Field by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering).\nDefaults to `created_on`.\n"
              }
            ]
          },
          "docs": "Returns all statuses (e.g. build results) for a specific commit."
        },
        {
          "info": {
            "name": "Create a build status for a commit",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/statuses/build",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new build status against the specified commit.\n\nIf the specified key already exists, the existing status object will\nbe overwritten.\n\nExample:\n\n```\ncurl https://api.bitbucket.org/2.0/repositories/my-workspace/my-repo/commit/e10dae226959c2194f2b07b077c07762d93821cf/statuses/build/           -X POST -u jdoe -H 'Content-Type: application/json'           -d '{\n    \"key\": \"MY-BUILD\",\n    \"state\": \"SUCCESSFUL\",\n    \"description\": \"42 tests passed\",\n    \"url\": \"https://www.example.org/my-buil"
        },
        {
          "info": {
            "name": "Get a build status for a commit",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/statuses/build/:key",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "The build status' unique key"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified build status for a commit."
        },
        {
          "info": {
            "name": "Update a build status for a commit",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/commit/:commit/statuses/build/:key",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "key",
                "value": "",
                "type": "path",
                "description": "The build status' unique key"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to update the current status of a build status object on the\nspecific commit.\n\nThis operation can also be used to change other properties of the\nbuild status:\n\n* `state`\n* `name`\n* `description`\n* `url`\n* `refname`\n\nThe `key` cannot be changed."
        }
      ]
    },
    {
      "info": {
        "name": "Issue tracker",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List components",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/components",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the components that have been defined in the issue tracker.\n\nThis resource is only available on repositories that have the issue\ntracker enabled."
        },
        {
          "info": {
            "name": "Get a component for issues",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/components/:component_id",
            "params": [
              {
                "name": "component_id",
                "value": "",
                "type": "path",
                "description": "The component's id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified issue tracker component object."
        },
        {
          "info": {
            "name": "List issues",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the issues in the issue tracker."
        },
        {
          "info": {
            "name": "Create an issue",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new issue.\n\nThis call requires authentication. Private repositories or private\nissue trackers require the caller to authenticate with an account that\nhas appropriate authorization.\n\nThe authenticated user is used for the issue's `reporter` field."
        },
        {
          "info": {
            "name": "Export issues",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/export",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "A POST request to this endpoint initiates a new background celery task that archives the repo's issues.\n\nWhen the job has been accepted, it will return a 202 (Accepted) along with a unique url to this job in the\n'Location' response header. This url is the endpoint for where the user can obtain their zip files.\""
        },
        {
          "info": {
            "name": "Check issue export status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/export/:repo_name-issues-:task_id.zip",
            "params": [
              {
                "name": "repo_name",
                "value": "",
                "type": "path",
                "description": "The name of the repo"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "task_id",
                "value": "",
                "type": "path",
                "description": "The ID of the export task"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "This endpoint is used to poll for the progress of an issue export\njob and return the zip file after the job is complete.\nAs long as the job is running, this will return a 202 response\nwith in the response body a description of the current status.\n\nAfter the job has been scheduled, but before it starts executing, the endpoint\nreturns a 202 response with status `ACCEPTED`.\n\nOnce it starts running, it is a 202 response with status `STARTED` and progress filled.\n\nAfter it is finished, it becomes a 2"
        },
        {
          "info": {
            "name": "Check issue import status",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/import",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "When using GET, this endpoint reports the status of the current import task.\n\nAfter the job has been scheduled, but before it starts executing, the endpoint\nreturns a 202 response with status `ACCEPTED`.\n\nOnce it starts running, it is a 202 response with status `STARTED` and progress filled.\n\nAfter it is finished, it becomes a 200 response with status `SUCCESS` or `FAILURE`."
        },
        {
          "info": {
            "name": "Import issues",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/import",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "A POST request to this endpoint will import the zip file given by the archive parameter into the repository. All\nexisting issues will be deleted and replaced by the contents of the imported zip file.\n\nImports are done through a multipart/form-data POST. There is one valid and required form field, with the name\n\"archive,\" which needs to be a file field:\n\n```\n$ curl -u <username> -X POST -F archive=@/path/to/file.zip https://api.bitbucket.org/2.0/repositories/<owner_username>/<repo_slug>/issues/im"
        },
        {
          "info": {
            "name": "Get an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified issue."
        },
        {
          "info": {
            "name": "Update an issue",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Modifies the issue.\n\n```\n$ curl https://api.bitbucket.org/2.0/repostories/evzijst/dogslow/issues/123 \\\n  -u evzijst -s -X PUT -H 'Content-Type: application/json' \\\n  -d '{\n  \"title\": \"Updated title\",\n  \"assignee\": {\n    \"account_id\": \"5d5355e8c6b9320d9ea5b28d\"\n  },\n  \"priority\": \"minor\",\n  \"version\": {\n    \"name\": \"1.0\"\n  },\n  \"component\": null\n}'\n```\n\nThis example changes the `title`, `assignee`, `priority` and the\n`version`. It also removes the value of the `component` from the issue\nby settin"
        },
        {
          "info": {
            "name": "Delete an issue",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the specified issue. This requires write access to the\nrepository."
        },
        {
          "info": {
            "name": "List attachments for an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/attachments",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns all attachments for this issue.\n\nThis returns the files' meta data. This does not return the files'\nactual contents.\n\nThe files are always ordered by their upload date."
        },
        {
          "info": {
            "name": "Upload an attachment to an issue",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/attachments",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Upload new issue attachments.\n\nTo upload files, perform a `multipart/form-data` POST containing one\nor more file fields.\n\nWhen a file is uploaded with the same name as an existing attachment,\nthen the existing file will be replaced."
        },
        {
          "info": {
            "name": "Get attachment for an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/attachments/:path",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path to the file."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the contents of the specified file attachment.\n\nNote that this endpoint does not return a JSON response, but instead\nreturns a redirect pointing to the actual file that in turn will return\nthe raw contents.\n\nThe redirect URL contains a one-time token that has a limited lifetime.\nAs a result, the link should not be persisted, stored, or shared."
        },
        {
          "info": {
            "name": "Delete an attachment for an issue",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/attachments/:path",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path to the file."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes an attachment."
        },
        {
          "info": {
            "name": "List changes on an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/changes",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property to sort results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results)\nfor details.\n"
              }
            ]
          },
          "docs": "Returns the list of all changes that have been made to the specified\nissue. Changes are returned in chronological order with the oldest\nchange first.\n\nEach time an issue is edited in the UI or through the API, an immutable\nchange record is created under the `/issues/123/changes` endpoint. It\nalso has a comment associated with the change.\n\nNote that this operation is changing significantly, due to privacy changes.\nSee the [announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-ap"
        },
        {
          "info": {
            "name": "Modify the state of an issue",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/changes",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Makes a change to the specified issue.\n\nFor example, to change an issue's state and assignee, create a new\nchange object that modifies these fields:\n\n```\ncurl https://api.bitbucket.org/2.0/site/master/issues/1234/changes \\\n  -s -u evzijst -X POST -H \"Content-Type: application/json\" \\\n  -d '{\n    \"changes\": {\n      \"assignee_account_id\": {\n        \"new\": \"557058:c0b72ad0-1cb5-4018-9cdc-0cde8492c443\"\n      },\n      \"state\": {\n        \"new\": 'resolved\"\n      }\n    }\n    \"message\": {\n      \"raw\": \"T"
        },
        {
          "info": {
            "name": "Get issue change object",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/changes/:change_id",
            "params": [
              {
                "name": "change_id",
                "value": "",
                "type": "path",
                "description": "The issue change id"
              },
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified issue change object.\n\nThis resource is only available on repositories that have the issue\ntracker enabled."
        },
        {
          "info": {
            "name": "List comments on an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/comments",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              }
            ]
          },
          "docs": "Returns a paginated list of all comments that were made on the\nspecified issue.\n\nThe default sorting is oldest to newest and can be overridden with\nthe `sort` query parameter.\n\nThis endpoint also supports filtering and sorting of the results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details."
        },
        {
          "info": {
            "name": "Create a comment on an issue",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/comments",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new issue comment.\n\n```\n$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/issues/42/comments/ \\\n  -X POST -u evzijst \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"content\": {\"raw\": \"Lorem ipsum.\"}}'\n```"
        },
        {
          "info": {
            "name": "Get a comment on an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified issue comment object."
        },
        {
          "info": {
            "name": "Update a comment on an issue",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the content of the specified issue comment. Note that only\nthe `content.raw` field can be modified.\n\n```\n$ curl https://api.bitbucket.org/2.0/repositories/atlassian/prlinks/issues/42/comments/5728901 \\\n  -X PUT -u evzijst \\\n  -H 'Content-Type: application/json' \\\n  -d '{\"content\": {\"raw\": \"Lorem ipsum.\"}'\n```"
        },
        {
          "info": {
            "name": "Delete a comment on an issue",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the specified comment."
        },
        {
          "info": {
            "name": "Check if current user voted for an issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/vote",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Check whether the authenticated user has voted for this issue.\nA 204 status code indicates that the user has voted, while a 404\nimplies they haven't."
        },
        {
          "info": {
            "name": "Vote for an issue",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/vote",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Vote for this issue.\n\nTo cast your vote, do an empty PUT. The 204 status code indicates that\nthe operation was successful."
        },
        {
          "info": {
            "name": "Remove vote for an issue",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/vote",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Retract your vote."
        },
        {
          "info": {
            "name": "Check if current user is watching a issue",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/watch",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Indicated whether or not the authenticated user is watching this\nissue."
        },
        {
          "info": {
            "name": "Watch an issue",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/watch",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Start watching this issue.\n\nTo start watching this issue, do an empty PUT. The 204 status code\nindicates that the operation was successful."
        },
        {
          "info": {
            "name": "Stop watching an issue",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/issues/:issue_id/watch",
            "params": [
              {
                "name": "issue_id",
                "value": "",
                "type": "path",
                "description": "The issue id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Stop watching this issue."
        },
        {
          "info": {
            "name": "List milestones",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/milestones",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the milestones that have been defined in the issue tracker.\n\nThis resource is only available on repositories that have the issue\ntracker enabled."
        },
        {
          "info": {
            "name": "Get a milestone",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/milestones/:milestone_id",
            "params": [
              {
                "name": "milestone_id",
                "value": "",
                "type": "path",
                "description": "The milestone's id"
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified issue tracker milestone object."
        },
        {
          "info": {
            "name": "List defined versions for issues",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/versions",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the versions that have been defined in the issue tracker.\n\nThis resource is only available on repositories that have the issue\ntracker enabled."
        },
        {
          "info": {
            "name": "Get a defined version for issues",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/versions/:version_id",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "version_id",
                "value": "",
                "type": "path",
                "description": "The version's id"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified issue tracker version object."
        }
      ]
    },
    {
      "info": {
        "name": "Deployments",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List repository deploy keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deploy-keys",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns all deploy-keys belonging to a repository."
        },
        {
          "info": {
            "name": "Add a repository deploy key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deploy-keys",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Create a new deploy key in a repository. Note: If authenticating a deploy key\nwith an OAuth consumer, any changes to the OAuth consumer will subsequently\ninvalidate the deploy key.\n\n\nExample:\n```\n$ curl -X POST \\\n-H \"Authorization <auth header>\" \\\n-H \"Content-type: application/json\" \\\nhttps://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys -d \\\n'{\n    \"key\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++Hyc"
        },
        {
          "info": {
            "name": "Get a repository deploy key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deploy-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The key ID matching the deploy key."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the deploy key belonging to a specific key."
        },
        {
          "info": {
            "name": "Update a repository deploy key",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deploy-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The key ID matching the deploy key."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Create a new deploy key in a repository.\n\nThe same key needs to be passed in but the comment and label can change.\n\nExample:\n```\n$ curl -X PUT \\\n-H \"Authorization <auth header>\" \\\n-H \"Content-type: application/json\" \\\nhttps://api.bitbucket.org/2.0/repositories/mleu/test/deploy-keys/1234 -d \\\n'{\n    \"label\": \"newlabel\",\n    \"key\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9x"
        },
        {
          "info": {
            "name": "Delete a repository deploy key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deploy-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The key ID matching the deploy key."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "This deletes a deploy key from a repository."
        },
        {
          "info": {
            "name": "List deployments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deployments",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Find deployments"
        },
        {
          "info": {
            "name": "Get a deployment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deployments/:deployment_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "deployment_uuid",
                "value": "",
                "type": "path",
                "description": "The deployment UUID."
              }
            ]
          },
          "docs": "Retrieve a deployment"
        },
        {
          "info": {
            "name": "List environments",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/environments",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Find environments"
        },
        {
          "info": {
            "name": "Create an environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/environments",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Create an environment."
        },
        {
          "info": {
            "name": "Get an environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/environments/:environment_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment UUID."
              }
            ]
          },
          "docs": "Retrieve an environment"
        },
        {
          "info": {
            "name": "Delete an environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/environments/:environment_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment UUID."
              }
            ]
          },
          "docs": "Delete an environment"
        },
        {
          "info": {
            "name": "Update an environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/environments/:environment_uuid/changes",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment UUID."
              }
            ]
          },
          "docs": "Update an environment"
        },
        {
          "info": {
            "name": "List project deploy keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/deploy-keys",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns all deploy keys belonging to a project."
        },
        {
          "info": {
            "name": "Create a project deploy key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/deploy-keys",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Create a new deploy key in a project.\n\nExample:\n```\n$ curl -X POST \\\n-H \"Authorization <auth header>\" \\\n-H \"Content-type: application/json\" \\\nhttps://api.bitbucket.org/2.0/workspaces/standard/projects/TEST_PROJECT/deploy-keys/ -d \\\n'{\n    \"key\": \"ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQDAK/b1cHHDr/TEV1JGQl+WjCwStKG6Bhrv0rFpEsYlyTBm1fzN0VOJJYn4ZOPCPJwqse6fGbXntEs+BbXiptR+++HycVgl65TMR0b5ul5AgwrVdZdT7qjCOCgaSV74/9xlHDK8oqgGnfA7ZoBBU+qpVyaloSjBdJfLtPY/xqj4yHnXKYzrtn/uFc4Kp9Tb7PUg9Io3qohSTGJGVHnsVblq/"
        },
        {
          "info": {
            "name": "Get a project deploy key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/deploy-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The key ID matching the project deploy key."
              },
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the deploy key belonging to a specific key ID."
        },
        {
          "info": {
            "name": "Delete a deploy key from a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/deploy-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The key ID matching the project deploy key."
              },
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "This deletes a deploy key from a project."
        }
      ]
    },
    {
      "info": {
        "name": "Pipelines",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List variables for an environment",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment."
              }
            ]
          },
          "docs": "Find deployment environment level variables."
        },
        {
          "info": {
            "name": "Create a variable for an environment",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment."
              }
            ]
          },
          "docs": "Create a deployment environment level variable."
        },
        {
          "info": {
            "name": "Update a variable for an environment",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to update."
              }
            ]
          },
          "docs": "Update a deployment environment level variable."
        },
        {
          "info": {
            "name": "Delete a variable for an environment",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/deployments_config/environments/:environment_uuid/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "environment_uuid",
                "value": "",
                "type": "path",
                "description": "The environment."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to delete."
              }
            ]
          },
          "docs": "Delete a deployment environment level variable."
        },
        {
          "info": {
            "name": "List pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "creator.uuid",
                "value": "",
                "type": "query",
                "description": "The UUID of the creator of the pipeline to filter by."
              },
              {
                "name": "target.ref_type",
                "value": "",
                "type": "query",
                "description": "The type of the reference to filter by."
              },
              {
                "name": "target.ref_name",
                "value": "",
                "type": "query",
                "description": "The reference name to filter by."
              },
              {
                "name": "target.branch",
                "value": "",
                "type": "query",
                "description": "The name of the branch to filter by."
              },
              {
                "name": "target.commit.hash",
                "value": "",
                "type": "query",
                "description": "The revision to filter by."
              },
              {
                "name": "target.selector.pattern",
                "value": "",
                "type": "query",
                "description": "The pipeline pattern to filter by."
              },
              {
                "name": "target.selector.type",
                "value": "",
                "type": "query",
                "description": "The type of pipeline to filter by."
              },
              {
                "name": "created_on",
                "value": "",
                "type": "query",
                "description": "The creation date to filter by."
              },
              {
                "name": "trigger_type",
                "value": "",
                "type": "query",
                "description": "The trigger type to filter by."
              },
              {
                "name": "status",
                "value": "",
                "type": "query",
                "description": "The pipeline status to filter by."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "The attribute name to sort on."
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "The page number of elements to retrieve."
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "The maximum number of results to return."
              }
            ]
          },
          "docs": "Find pipelines in a repository.\n\nNote that unlike other endpoints in the Bitbucket API, this endpoint utilizes query parameters to allow filtering\nand sorting of returned results. See [query parameters](#api-repositories-workspace-repo-slug-pipelines-get-request-Query%20parameters)\nfor specific details.\n"
        },
        {
          "info": {
            "name": "Run a pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Endpoint to create and initiate a pipeline.\nThere are a number of different options to initiate a pipeline, where the payload of the request will determine which type of pipeline will be instantiated.\n\n## Trigger a pipeline for a branch\n\nOne way to trigger pipelines is by specifying the branch for which you want to trigger a pipeline.\nThe specified branch will be used to determine which pipeline definition from the `bitbucket-pipelines.yml` file will be applied to initiate the pipeline. The pipe"
        },
        {
          "info": {
            "name": "List caches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/caches",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Retrieve the repository pipelines caches."
        },
        {
          "info": {
            "name": "Delete caches",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/caches",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "name",
                "value": "",
                "type": "query",
                "description": "The cache name."
              }
            ]
          },
          "docs": "Delete repository cache versions by name."
        },
        {
          "info": {
            "name": "Delete a cache",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/caches/:cache_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "cache_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the cache to delete."
              }
            ]
          },
          "docs": "Delete a repository cache."
        },
        {
          "info": {
            "name": "Get cache content URI",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/caches/:cache_uuid/content-uri",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "cache_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the cache."
              }
            ]
          },
          "docs": "Retrieve the URI of the content of the specified cache."
        },
        {
          "info": {
            "name": "Get repository runners",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/runners",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Retrieve repository runners."
        },
        {
          "info": {
            "name": "Create repository runner",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/runners",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Create repository runner."
        },
        {
          "info": {
            "name": "Get repository runner",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/runners/:runner_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "runner_uuid",
                "value": "",
                "type": "path",
                "description": "The runner uuid."
              }
            ]
          },
          "docs": "Retrieve repository runner by uuid."
        },
        {
          "info": {
            "name": "Update repository runner",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/runners/:runner_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "runner_uuid",
                "value": "",
                "type": "path",
                "description": "The runner uuid."
              }
            ]
          },
          "docs": "Update repository runner."
        },
        {
          "info": {
            "name": "Delete repository runner",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines-config/runners/:runner_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "runner_uuid",
                "value": "",
                "type": "path",
                "description": "The runner uuid."
              }
            ]
          },
          "docs": "Delete repository runner by uuid."
        },
        {
          "info": {
            "name": "Get a pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The pipeline UUID."
              }
            ]
          },
          "docs": "Retrieve a specified pipeline"
        },
        {
          "info": {
            "name": "List steps for a pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              }
            ]
          },
          "docs": "Find steps for the given pipeline."
        },
        {
          "info": {
            "name": "Get a step of a pipeline",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              },
              {
                "name": "step_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the step."
              }
            ]
          },
          "docs": "Retrieve a given step of a pipeline."
        },
        {
          "info": {
            "name": "Get log file for a step",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/log",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              },
              {
                "name": "step_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the step."
              }
            ]
          },
          "docs": "Retrieve the log file for a given step of a pipeline.\n\nThis endpoint supports (and encourages!) the use of [HTTP Range requests](https://tools.ietf.org/html/rfc7233) to deal with potentially very large log files."
        },
        {
          "info": {
            "name": "Get the logs for the build container or a service container for a given step of a pipeline.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/logs/:log_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              },
              {
                "name": "step_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the step."
              },
              {
                "name": "log_uuid",
                "value": "",
                "type": "path",
                "description": "For the main build container specify the step UUID; for a service container specify the service container UUID"
              }
            ]
          },
          "docs": "Retrieve the log file for a build container or service container.\n\nThis endpoint supports (and encourages!) the use of [HTTP Range requests](https://tools.ietf.org/html/rfc7233) to deal with potentially very large log files."
        },
        {
          "info": {
            "name": "Get a summary of test reports for a given step of a pipeline.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/test_reports",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              },
              {
                "name": "step_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the step."
              }
            ]
          },
          "docs": "Get a summary of test reports for a given step of a pipeline."
        },
        {
          "info": {
            "name": "Get test cases for a given step of a pipeline.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/test_reports/test_cases",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              },
              {
                "name": "step_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the step."
              }
            ]
          },
          "docs": "Get test cases for a given step of a pipeline."
        },
        {
          "info": {
            "name": "Get test case reasons (output) for a given test case in a step of a pipeline.",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/steps/:step_uuid/test_reports/test_cases/:test_case_uuid/test_case_reasons",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              },
              {
                "name": "step_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the step."
              },
              {
                "name": "test_case_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the test case."
              }
            ]
          },
          "docs": "Get test case reasons (output) for a given test case in a step of a pipeline."
        },
        {
          "info": {
            "name": "Stop a pipeline",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines/:pipeline_uuid/stopPipeline",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "pipeline_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the pipeline."
              }
            ]
          },
          "docs": "Signal the stop of a pipeline and all of its steps that not have completed yet."
        },
        {
          "info": {
            "name": "Get configuration",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Retrieve the repository pipelines configuration."
        },
        {
          "info": {
            "name": "Update configuration",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Update the pipelines configuration for a repository."
        },
        {
          "info": {
            "name": "Update the next build number",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/build_number",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Update the next build number that should be assigned to a pipeline. The next build number that will be configured has to be strictly higher than the current latest build number for this repository."
        },
        {
          "info": {
            "name": "List schedules",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/schedules",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Retrieve the configured schedules for the given repository."
        },
        {
          "info": {
            "name": "Create a schedule",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/schedules",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Create a schedule for the given repository."
        },
        {
          "info": {
            "name": "Get a schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "schedule_uuid",
                "value": "",
                "type": "path",
                "description": "The uuid of the schedule."
              }
            ]
          },
          "docs": "Retrieve a schedule by its UUID."
        },
        {
          "info": {
            "name": "Update a schedule",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "schedule_uuid",
                "value": "",
                "type": "path",
                "description": "The uuid of the schedule."
              }
            ]
          },
          "docs": "Update a schedule."
        },
        {
          "info": {
            "name": "Delete a schedule",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "schedule_uuid",
                "value": "",
                "type": "path",
                "description": "The uuid of the schedule."
              }
            ]
          },
          "docs": "Delete a schedule."
        },
        {
          "info": {
            "name": "List executions of a schedule",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/schedules/:schedule_uuid/executions",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "schedule_uuid",
                "value": "",
                "type": "path",
                "description": "The uuid of the schedule."
              }
            ]
          },
          "docs": "Retrieve the executions of a given schedule."
        },
        {
          "info": {
            "name": "Get SSH key pair",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/key_pair",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Retrieve the repository SSH key pair excluding the SSH private key. The private key is a write only field and will never be exposed in the logs or the REST API."
        },
        {
          "info": {
            "name": "Update SSH key pair",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/key_pair",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Create or update the repository SSH key pair. The private key will be set as a default SSH identity in your build container."
        },
        {
          "info": {
            "name": "Delete SSH key pair",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/key_pair",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Delete the repository SSH key pair."
        },
        {
          "info": {
            "name": "List known hosts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Find repository level known hosts."
        },
        {
          "info": {
            "name": "Create a known host",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Create a repository level known host."
        },
        {
          "info": {
            "name": "Get a known host",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts/:known_host_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "known_host_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the known host to retrieve."
              }
            ]
          },
          "docs": "Retrieve a repository level known host."
        },
        {
          "info": {
            "name": "Update a known host",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts/:known_host_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "known_host_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the known host to update."
              }
            ]
          },
          "docs": "Update a repository level known host."
        },
        {
          "info": {
            "name": "Delete a known host",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/ssh/known_hosts/:known_host_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "known_host_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the known host to delete."
              }
            ]
          },
          "docs": "Delete a repository level known host."
        },
        {
          "info": {
            "name": "List variables for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/variables",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Find repository level variables."
        },
        {
          "info": {
            "name": "Create a variable for a repository",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/variables",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              }
            ]
          },
          "docs": "Create a repository level variable."
        },
        {
          "info": {
            "name": "Get a variable for a repository",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to retrieve."
              }
            ]
          },
          "docs": "Retrieve a repository level variable."
        },
        {
          "info": {
            "name": "Update a variable for a repository",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to update."
              }
            ]
          },
          "docs": "Update a repository level variable."
        },
        {
          "info": {
            "name": "Delete a variable for a repository",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "The repository."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to delete."
              }
            ]
          },
          "docs": "Delete a repository level variable."
        },
        {
          "info": {
            "name": "List variables for an account",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/teams/:username/pipelines_config/variables",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account."
              }
            ]
          },
          "docs": "Find account level variables.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Create a variable for a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/teams/:username/pipelines_config/variables",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account."
              }
            ]
          },
          "docs": "Create an account level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Get a variable for a team",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to retrieve."
              }
            ]
          },
          "docs": "Retrieve a team level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Update a variable for a team",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable."
              }
            ]
          },
          "docs": "Update a team level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Delete a variable for a team",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/teams/:username/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to delete."
              }
            ]
          },
          "docs": "Delete a team level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "List variables for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/pipelines_config/variables",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              }
            ]
          },
          "docs": "Find user level variables.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Create a variable for a user",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/users/:selected_user/pipelines_config/variables",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              }
            ]
          },
          "docs": "Create a user level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Get a variable for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to retrieve."
              }
            ]
          },
          "docs": "Retrieve a user level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Update a variable for a user",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/users/:selected_user/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable."
              }
            ]
          },
          "docs": "Update a user level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Delete a variable for a user",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/users/:selected_user/pipelines_config/variables/:variable_uuid",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to delete."
              }
            ]
          },
          "docs": "Delete an account level variable.\nThis endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see [the announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-teams-deprecation/)."
        },
        {
          "info": {
            "name": "Get OpenID configuration for OIDC in Pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/identity/oidc/.well-known/openid-configuration",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              }
            ]
          },
          "docs": "This is part of OpenID Connect for Pipelines, see https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/"
        },
        {
          "info": {
            "name": "Get keys for OIDC in Pipelines",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/identity/oidc/keys.json",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              }
            ]
          },
          "docs": "This is part of OpenID Connect for Pipelines, see https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/"
        },
        {
          "info": {
            "name": "Get workspace runners",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/runners",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              }
            ]
          },
          "docs": "Retrieve workspace runners."
        },
        {
          "info": {
            "name": "Create workspace runner",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/runners",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              }
            ]
          },
          "docs": "Create workspace runner."
        },
        {
          "info": {
            "name": "Get workspace runner",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/runners/:runner_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "runner_uuid",
                "value": "",
                "type": "path",
                "description": "The runner uuid."
              }
            ]
          },
          "docs": "Get workspace runner by uuid."
        },
        {
          "info": {
            "name": "Update workspace runner",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/runners/:runner_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "runner_uuid",
                "value": "",
                "type": "path",
                "description": "The runner uuid."
              }
            ]
          },
          "docs": "Update workspace runner."
        },
        {
          "info": {
            "name": "Delete workspace runner",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/runners/:runner_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "runner_uuid",
                "value": "",
                "type": "path",
                "description": "The runner uuid."
              }
            ]
          },
          "docs": "Delete workspace runner by uuid."
        },
        {
          "info": {
            "name": "List variables for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/variables",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              }
            ]
          },
          "docs": "Find workspace level variables."
        },
        {
          "info": {
            "name": "Create a variable for a workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/variables",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              }
            ]
          },
          "docs": "Create a workspace level variable."
        },
        {
          "info": {
            "name": "Get variable for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to retrieve."
              }
            ]
          },
          "docs": "Retrieve a workspace level variable."
        },
        {
          "info": {
            "name": "Update variable for a workspace",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable."
              }
            ]
          },
          "docs": "Update a workspace level variable."
        },
        {
          "info": {
            "name": "Delete a variable for a workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/pipelines-config/variables/:variable_uuid",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`."
              },
              {
                "name": "variable_uuid",
                "value": "",
                "type": "path",
                "description": "The UUID of the variable to delete."
              }
            ]
          },
          "docs": "Delete a workspace level variable."
        }
      ]
    },
    {
      "info": {
        "name": "Downloads",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List download artifacts",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/downloads",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a list of download links associated with the repository."
        },
        {
          "info": {
            "name": "Upload a download artifact",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/downloads",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Upload new download artifacts.\n\nTo upload files, perform a `multipart/form-data` POST containing one\nor more `files` fields:\n\n    $ echo Hello World > hello.txt\n    $ curl -s -u evzijst -X POST https://api.bitbucket.org/2.0/repositories/evzijst/git-tests/downloads -F files=@hello.txt\n\nWhen a file is uploaded with the same name as an existing artifact,\nthen the existing file will be replaced."
        },
        {
          "info": {
            "name": "Get a download artifact link",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/downloads/:filename",
            "params": [
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "Name of the file."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Return a redirect to the contents of a download artifact.\n\nThis endpoint returns the actual file contents and not the artifact's\nmetadata.\n\n    $ curl -s -L https://api.bitbucket.org/2.0/repositories/evzijst/git-tests/downloads/hello.txt\n    Hello World"
        },
        {
          "info": {
            "name": "Delete a download artifact",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/downloads/:filename",
            "params": [
              {
                "name": "filename",
                "value": "",
                "type": "path",
                "description": "Name of the file."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the specified download artifact from the repository."
        }
      ]
    },
    {
      "info": {
        "name": "Source",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List commits that modified a file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/filehistory/:commit/:path",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path to the file."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "renames",
                "value": "",
                "type": "query",
                "description": "\nWhen `true`, Bitbucket will follow the history of the file across\nrenames (this is the default behavior). This can be turned off by\nspecifying `false`."
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property sort the result by as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).\n"
              }
            ]
          },
          "docs": "Returns a paginated list of commits that modified the specified file.\n\nCommits are returned in reverse chronological order. This is roughly\nequivalent to the following commands:\n\n    $ git log --follow --date-order <sha> <path>\n\nBy default, Bitbucket will follow renames and the path name in the\nreturned entries reflects that. This can be turned off using the\n`?renames=false` query parameter.\n\nResults are returned in descending chronological order by default, and\nlike most endpoints you can\n[filt"
        },
        {
          "info": {
            "name": "Get the root directory of the main branch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/src",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "Instead of returning the file's contents, return the (json) meta data for it."
              }
            ]
          },
          "docs": "This endpoint redirects the client to the directory listing of the\nroot directory on the main branch.\n\nThis is equivalent to directly hitting\n[/2.0/repositories/{username}/{repo_slug}/src/{commit}/{path}](src/%7Bcommit%7D/%7Bpath%7D)\nwithout having to know the name or SHA1 of the repo's main branch.\n\nTo create new commits, [POST to this endpoint](#post)"
        },
        {
          "info": {
            "name": "Create a commit by uploading a file",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/src",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "message",
                "value": "",
                "type": "query",
                "description": "The commit message. When omitted, Bitbucket uses a canned string."
              },
              {
                "name": "author",
                "value": "",
                "type": "query",
                "description": "\nThe raw string to be used as the new commit's author.\nThis string follows the format\n`Erik van Zijst <evzijst@atlassian.com>`.\n\nWhen omitted, Bitbucket uses the authenticated user's\nfull/display name and primary email address. Commits cannot\nbe created anonymously."
              },
              {
                "name": "parents",
                "value": "",
                "type": "query",
                "description": "\n#### Deprecation Notice:\nSupport for specifying multiple parent\ncommits is deprecated and will be removed in a future release.\nOnly a single SHA1 is accepted.\n\nA SHA1 of the commit that should be the parent of the newly created\ncommit. When omitted, the new commit will inherit from and\nbecome a child of the main branch's tip/HEAD commit."
              },
              {
                "name": "files",
                "value": "",
                "type": "query",
                "description": "\nOptional field that declares the files that the request is\nmanipulating. When adding a new file to a repo, or when\noverwriting an existing file, the client can just upload\nthe full contents of the file in a normal form field and\nthe use of this `files` meta data field is redundant.\nHowever, when the `files` field contains a file path that\ndoes not have a corresponding, identically-named form\nfield, then Bitbucket interprets that as the client wanting\nto replace the named file with the null set and the file is\ndeleted instead.\n\nPaths in the repo that are referenced in neither files nor\nan individual file field, remain unchanged and carry over\nfrom the parent to the new commit.\n\nThis API does not support renaming as an explicit feature.\nTo rename a file, simply delete it and recreate it under\nthe new name in the same commit.\n"
              },
              {
                "name": "branch",
                "value": "",
                "type": "query",
                "description": "\nThe name of the branch that the new commit should be\ncreated on. When omitted, the commit will be created on top\nof the main branch and will become the main branch's new\nhead.\n\nWhen a branch name is provided that already exists in the\nrepo, then the commit will be created on top of that\nbranch. In this case, *if* a parent SHA1 was also provided,\nthen it is asserted that the parent is the branch's\ntip/HEAD at the time the request is made. When this is not\nthe case, a 409 is returned.\n\nWhen a new branch name is specified (that does not already\nexist in the repo), and no parent SHA1s are provided, then\nthe new commit will inherit from the current main branch's\ntip/HEAD commit, but not advance the main branch. The new\ncommit will be the new branch. When the request *also*\nspecifies a parent SHA1, then the new commit and branch\nare created directly on top of the parent commit,\nregardless of the state of the main branch.\n\nWhen a branch name is not specified, but a parent SHA1 is\nprovided, then Bitbucket asserts that it represents the\nmain branch's current HEAD/tip, or a 409 is returned.\n\nWhen a branch name is not specified and the repo is empty,\nthe new commit will become the repo's root commit and will\nbe on the main branch.\n\nWhen a branch name is specified and the repo is empty, the\nnew commit will become the repo's root commit and also\ndefine the repo's main branch going forward.\n\nThis API cannot be used to create additional root commits\nin non-empty repos.\n\nThe branch field cannot be repeated.\n\nAs a side effect, this API can be used to create a new\nbranch without modifying any files, by specifying a new\nbranch name in this field, together with `parents`, but\nomitting the `files` fields, while not sending any files.\nThis will create a new commit and branch with the same\ncontents as the first parent. The diff of this commit\nagainst its first parent will be empty.\n"
              }
            ]
          },
          "docs": "This endpoint is used to create new commits in the repository by\nuploading files.\n\nTo add a new file to a repository:\n\n```\n$ curl https://api.bitbucket.org/2.0/repositories/username/slug/src \\\n  -F /repo/path/to/image.png=@image.png\n```\n\nThis will create a new commit on top of the main branch, inheriting the\ncontents of the main branch, but adding (or overwriting) the\n`image.png` file to the repository in the `/repo/path/to` directory.\n\nTo create a commit that deletes files, use the `files` para"
        },
        {
          "info": {
            "name": "Get file or directory contents",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/src/:commit/:path",
            "params": [
              {
                "name": "commit",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path to the file."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "format",
                "value": "",
                "type": "query",
                "description": "If 'meta' is provided, returns the (json) meta data for the contents of the file.  If 'rendered' is provided, returns the contents of a non-binary file in HTML-formatted rendered markup. The 'rendered' option only supports these filetypes: `.md`, `.markdown`, `.mkd`, `.mkdn`, `.mdown`, `.text`, `.rst`, and `.textile`. Since Git does not generally track what text encoding scheme is used, this endpoint attempts to detect the most appropriate character encoding. While usually correct, determining the character encoding can be ambiguous which in exceptional cases can lead to misinterpretation of the characters. As such, the raw element in the response object should not be treated as equivalent to the file's actual contents."
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "Optional filter expression as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Optional sorting parameter as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results)."
              },
              {
                "name": "max_depth",
                "value": "",
                "type": "query",
                "description": "If provided, returns the contents of the repository and its subdirectories recursively until the specified max_depth of nested directories. When omitted, this defaults to 1."
              }
            ]
          },
          "docs": "This endpoints is used to retrieve the contents of a single file,\nor the contents of a directory at a specified revision.\n\n#### Raw file contents\n\nWhen `path` points to a file, this endpoint returns the raw contents.\nThe response's Content-Type is derived from the filename\nextension (not from the contents). The file contents are not processed\nand no character encoding/recoding is performed and as a result no\ncharacter encoding is included as part of the Content-Type.\n\nThe `Content-Disposition` h"
        }
      ]
    },
    {
      "info": {
        "name": "Refs",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List branches and tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nField by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). The `name`\nfield is handled specially for refs in that, if specified as the sort field, it\nuses a natural sort order instead of the default lexicographical sort order. For example,\nit will return ['1.1', '1.2', '1.10'] instead of ['1.1', '1.10', '1.2']."
              }
            ]
          },
          "docs": "Returns the branches and tags in the repository.\n\nBy default, results will be in the order the underlying source control system returns them and identical to\nthe ordering one sees when running \"$ git show-ref\". Note that this follows simple\nlexical ordering of the ref names.\n\nThis can be undesirable as it does apply any natural sorting semantics, meaning for instance that refs are\nsorted [\"branch1\", \"branch10\", \"branch2\", \"v10\", \"v11\", \"v9\"] instead of [\"branch1\", \"branch2\",\n\"branch10\", \"v9\", \"v"
        },
        {
          "info": {
            "name": "List open branches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/branches",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nField by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). The `name`\nfield is handled specially for branches in that, if specified as the sort field, it\nuses a natural sort order instead of the default lexicographical sort order. For example,\nit will return ['branch1', 'branch2', 'branch10'] instead of ['branch1', 'branch10', 'branch2']."
              }
            ]
          },
          "docs": "Returns a list of all open branches within the specified repository.\nResults will be in the order the source control manager returns them.\n\nBranches support [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)\nthat can be used to search for specific branches. For instance, to find\nall branches that have \"stab\" in their name:\n\n```\ncurl -s https://api.bitbucket.org/2.0/repositories/atlassian/aui/refs/branches -G --data-urlencode 'q=name ~ \"stab\"'\n```\n\nBy default, results will be in the "
        },
        {
          "info": {
            "name": "Create a branch",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/branches",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new branch in the specified repository.\n\nThe payload of the POST should consist of a JSON document that\ncontains the name of the tag and the target hash.\n\n```\ncurl https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/branches \\\n-s -u seanfarley -X POST -H \"Content-Type: application/json\" \\\n-d '{\n    \"name\" : \"smf/create-feature\",\n    \"target\" : {\n        \"hash\" : \"default\",\n    }\n}'\n```\n\nThis call requires authentication. Private repositories require the\ncaller to authenticate"
        },
        {
          "info": {
            "name": "Get a branch",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/branches/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the branch."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a branch object within the specified repository.\n\nThis call requires authentication. Private repositories require the\ncaller to authenticate with an account that has appropriate\nauthorization.\n\nFor Git, the branch name should not include any prefixes (e.g.\nrefs/heads)."
        },
        {
          "info": {
            "name": "Delete a branch",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/branches/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the branch."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Delete a branch in the specified repository.\n\nThe main branch is not allowed to be deleted and will return a 400\nresponse.\n\nThe branch name should not include any prefixes (e.g.\nrefs/heads)."
        },
        {
          "info": {
            "name": "List tags",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/tags",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nField by which the results should be sorted as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). The `name`\nfield is handled specially for tags in that, if specified as the sort field, it\nuses a natural sort order instead of the default lexicographical sort order. For example,\nit will return ['1.1', '1.2', '1.10'] instead of ['1.1', '1.10', '1.2']."
              }
            ]
          },
          "docs": "Returns the tags in the repository.\n\nBy default, results will be in the order the underlying source control system returns them and identical to\nthe ordering one sees when running \"$ git tag --list\". Note that this follows simple\nlexical ordering of the ref names.\n\nThis can be undesirable as it does apply any natural sorting semantics, meaning for instance that tags are\nsorted [\"v10\", \"v11\", \"v9\"] instead of [\"v9\", \"v10\", \"v11\"].\n\nSorting can be changed using the ?sort= query parameter. When usi"
        },
        {
          "info": {
            "name": "Create a tag",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/tags",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new annotated tag in the specified repository.\n\nThe payload of the POST should consist of a JSON document that\ncontains the name of the tag and the target hash.\n\n```\ncurl https://api.bitbucket.org/2.0/repositories/jdoe/myrepo/refs/tags \\\n-s -u jdoe -X POST -H \"Content-Type: application/json\" \\\n-d '{\n    \"name\" : \"new-tag-name\",\n    \"target\" : {\n        \"hash\" : \"a1b2c3d4e5f6\",\n    }\n}'\n```\n\nThis endpoint does support using short hash prefixes for the commit\nhash, but it may return a 40"
        },
        {
          "info": {
            "name": "Get a tag",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/tags/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the tag."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified tag.\n\n```\n$ curl -s https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/tags/3.8 -G | jq .\n{\n  \"name\": \"3.8\",\n  \"links\": {\n    \"commits\": {\n      \"href\": \"https://api.bitbucket.org/2.0/repositories/seanfarley/hg/commits/3.8\"\n    },\n    \"self\": {\n      \"href\": \"https://api.bitbucket.org/2.0/repositories/seanfarley/hg/refs/tags/3.8\"\n    },\n    \"html\": {\n      \"href\": \"https://bitbucket.org/seanfarley/hg/commits/tag/3.8\"\n    }\n  },\n  \"tagger\": {\n    \"raw\": \"Matt Mack"
        },
        {
          "info": {
            "name": "Delete a tag",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/repositories/:workspace/:repo_slug/refs/tags/:name",
            "params": [
              {
                "name": "name",
                "value": "",
                "type": "path",
                "description": "The name of the tag."
              },
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Delete a tag in the specified repository.\n\nThe tag name should not include any prefixes (e.g. refs/tags)."
        }
      ]
    },
    {
      "info": {
        "name": "Snippets",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List snippets",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets",
            "params": [
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Filter down the result based on the authenticated user's role (`owner`, `contributor`, or `member`)."
              }
            ]
          },
          "docs": "**This endpoint is deprecated. Please use the\n[workspace scoped alternative](/cloud/bitbucket/rest/api-group-snippets/#api-snippets-workspace-get).**\n\nReturns all snippets. Like pull requests, repositories and workspaces, the\nfull set of snippets is defined by what the current user has access to.\n\nThis includes all snippets owned by any of the workspaces the user is a member of,\nor snippets by other users that the current user is either watching or has collaborated\non (for instance by commenting"
        },
        {
          "info": {
            "name": "Create a snippet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/snippets"
          },
          "docs": "Creates a new snippet under the authenticated user's account.\n\nSnippets can contain multiple files. Both text and binary files are\nsupported.\n\nThe simplest way to create a new snippet from a local file:\n\n    $ curl -u username:password -X POST https://api.bitbucket.org/2.0/snippets               -F file=@image.png\n\nCreating snippets through curl has a few limitations and so let's look\nat a more complicated scenario.\n\nSnippets are created with a multipart POST. Both `multipart/form-data`\nand `mul"
        },
        {
          "info": {
            "name": "List snippets in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "Filter down the result based on the authenticated user's role (`owner`, `contributor`, or `member`)."
              }
            ]
          },
          "docs": "Identical to [`/snippets`](/cloud/bitbucket/rest/api-group-snippets/#api-snippets-get), except that the result is further filtered\nby the snippet owner and only those that are owned by `{workspace}` are\nreturned."
        },
        {
          "info": {
            "name": "Create a snippet for a workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/snippets/:workspace",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Identical to [`/snippets`](/cloud/bitbucket/rest/api-group-snippets/#api-snippets-post), except that the new snippet will be\ncreated under the workspace specified in the path parameter\n`{workspace}`."
        },
        {
          "info": {
            "name": "Get a snippet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Retrieves a single snippet.\n\nSnippets support multiple content types:\n\n* application/json\n* multipart/related\n* multipart/form-data\n\n\napplication/json\n----------------\n\nThe default content type of the response is `application/json`.\nSince JSON is always `utf-8`, it cannot reliably contain file contents\nfor files that are not text. Therefore, JSON snippet documents only\ncontain the filename and links to the file contents.\n\nThis means that in order to retrieve all parts of a snippet, N+1\nrequests "
        },
        {
          "info": {
            "name": "Update a snippet",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to update a snippet. Use this to add and delete files and to\nchange a snippet's title.\n\nTo update a snippet, one can either PUT a full snapshot, or only the\nparts that need to be changed.\n\nThe contract for PUT on this API is that properties missing from the\nrequest remain untouched so that snippets can be efficiently\nmanipulated with differential payloads.\n\nTo delete a property (e.g. the title, or a file), include its name in\nthe request, but omit its value (use `null`).\n\nAs in Git, explici"
        },
        {
          "info": {
            "name": "Delete a snippet",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes a snippet and returns an empty response."
        },
        {
          "info": {
            "name": "List comments on a snippet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/comments",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to retrieve a paginated list of all comments for a specific\nsnippet.\n\nThis resource works identical to commit and pull request comments.\n\nThe default sorting is oldest to newest and can be overridden with\nthe `sort` query parameter."
        },
        {
          "info": {
            "name": "Create a comment on a snippet",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/comments",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new comment.\n\nThe only required field in the body is `content.raw`.\n\nTo create a threaded reply to an existing comment, include `parent.id`."
        },
        {
          "info": {
            "name": "Get a comment on a snippet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specific snippet comment."
        },
        {
          "info": {
            "name": "Update a comment on a snippet",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates a comment.\n\nThe only required field in the body is `content.raw`.\n\nComments can only be updated by their author."
        },
        {
          "info": {
            "name": "Delete a comment on a snippet",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/comments/:comment_id",
            "params": [
              {
                "name": "comment_id",
                "value": "",
                "type": "path",
                "description": "The id of the comment."
              },
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes a snippet comment.\n\nComments can only be removed by the comment author, snippet creator, or workspace admin."
        },
        {
          "info": {
            "name": "List snippet changes",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/commits",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the changes (commits) made on this snippet."
        },
        {
          "info": {
            "name": "Get a previous snippet change",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/commits/:revision",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "revision",
                "value": "",
                "type": "path",
                "description": "The commit's SHA1."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the changes made on this snippet in this commit."
        },
        {
          "info": {
            "name": "Get a snippet's raw file at HEAD",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/files/:path",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path to the file."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Convenience resource for getting to a snippet's raw files without the\nneed for first having to retrieve the snippet itself and having to pull\nout the versioned file links."
        },
        {
          "info": {
            "name": "Check if the current user is watching a snippet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/watch",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to check if the current user is watching a specific snippet.\n\nReturns 204 (No Content) if the user is watching the snippet and 404 if\nnot.\n\nHitting this endpoint anonymously always returns a 404."
        },
        {
          "info": {
            "name": "Watch a snippet",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/watch",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to start watching a specific snippet. Returns 204 (No Content)."
        },
        {
          "info": {
            "name": "Stop watching a snippet",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/watch",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Used to stop watching a specific snippet. Returns 204 (No Content)\nto indicate success."
        },
        {
          "info": {
            "name": "List users watching a snippet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/watchers",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of all users watching a specific snippet."
        },
        {
          "info": {
            "name": "Get a previous revision of a snippet",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/:node_id",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "A commit revision (SHA1)."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Identical to `GET /snippets/encoded_id`, except that this endpoint\ncan be used to retrieve the contents of the snippet as it was at an\nolder revision, while `/snippets/encoded_id` always returns the\nsnippet's current revision.\n\nNote that only the snippet's file contents are versioned, not its\nmeta data properties like the title.\n\nOther than that, the two endpoints are identical in behavior."
        },
        {
          "info": {
            "name": "Update a previous revision of a snippet",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/:node_id",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "A commit revision (SHA1)."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Identical to `UPDATE /snippets/encoded_id`, except that this endpoint\ntakes an explicit commit revision. Only the snippet's \"HEAD\"/\"tip\"\n(most recent) version can be updated and requests on all other,\nolder revisions fail by returning a 405 status.\n\nUsage of this endpoint over the unrestricted `/snippets/encoded_id`\ncould be desired if the caller wants to be sure no concurrent\nmodifications have taken place between the moment of the UPDATE\nrequest and the original GET.\n\nThis can be considered a "
        },
        {
          "info": {
            "name": "Delete a previous revision of a snippet",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/:node_id",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "A commit revision (SHA1)."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the snippet.\n\nNote that this only works for versioned URLs that point to the latest\ncommit of the snippet. Pointing to an older commit results in a 405\nstatus code.\n\nTo delete a snippet, regardless of whether or not concurrent changes\nare being made to it, use `DELETE /snippets/{encoded_id}` instead."
        },
        {
          "info": {
            "name": "Get a snippet's raw file",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/:node_id/files/:path",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "node_id",
                "value": "",
                "type": "path",
                "description": "A commit revision (SHA1)."
              },
              {
                "name": "path",
                "value": "",
                "type": "path",
                "description": "Path to the file."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Retrieves the raw contents of a specific file in the snippet. The\n`Content-Disposition` header will be \"attachment\" to avoid issues with\nmalevolent executable files.\n\nThe file's mime type is derived from its filename and returned in the\n`Content-Type` header.\n\nNote that for text files, no character encoding is included as part of\nthe content type."
        },
        {
          "info": {
            "name": "Get snippet changes between versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/:revision/diff",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "revision",
                "value": "",
                "type": "path",
                "description": "A revspec expression. This can simply be a commit SHA1, a ref name, or a compare expression like `staging..production`."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "path",
                "value": "",
                "type": "query",
                "description": "When used, only one the diff of the specified file will be returned."
              }
            ]
          },
          "docs": "Returns the diff of the specified commit against its first parent.\n\nNote that this resource is different in functionality from the `patch`\nresource.\n\nThe differences between a diff and a patch are:\n\n* patches have a commit header with the username, message, etc\n* diffs support the optional `path=foo/bar.py` query param to filter the\n  diff to just that one file diff (not supported for patches)\n* for a merge, the diff will show the diff between the merge commit and\n  its first parent (identical t"
        },
        {
          "info": {
            "name": "Get snippet patch between versions",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/snippets/:workspace/:encoded_id/:revision/patch",
            "params": [
              {
                "name": "encoded_id",
                "value": "",
                "type": "path",
                "description": "The snippet id."
              },
              {
                "name": "revision",
                "value": "",
                "type": "path",
                "description": "A revspec expression. This can simply be a commit SHA1, a ref name, or a compare expression like `staging..production`."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the patch of the specified commit against its first\nparent.\n\nNote that this resource is different in functionality from the `diff`\nresource.\n\nThe differences between a diff and a patch are:\n\n* patches have a commit header with the username, message, etc\n* diffs support the optional `path=foo/bar.py` query param to filter the\n  diff to just that one file diff (not supported for patches)\n* for a merge, the diff will show the diff between the merge commit and\n  its first parent (identical t"
        }
      ]
    },
    {
      "info": {
        "name": "Search",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Search for code in a team's repositories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/teams/:username/search/code",
            "params": [
              {
                "name": "username",
                "value": "",
                "type": "path",
                "description": "The account to search in; either the username or the UUID in curly braces"
              },
              {
                "name": "search_query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page of the search results to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many search results to retrieve per page"
              }
            ]
          },
          "docs": "This API will be deprecated on November 1, 2026.\n\nSearch for code in the repositories of the specified team.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more"
        },
        {
          "info": {
            "name": "Search for code in a user's repositories",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/search/code",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "Either the UUID of the account surrounded by curly-braces, for example `{account UUID}`, OR an Atlassian Account ID."
              },
              {
                "name": "search_query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page of the search results to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many search results to retrieve per page"
              }
            ]
          },
          "docs": "This API will be deprecated on November 1, 2026.\n\nSearch for code in the repositories of the specified user.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some more"
        },
        {
          "info": {
            "name": "Search for code in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/search/code",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "The workspace to search in; either the slug or the UUID in curly braces"
              },
              {
                "name": "search_query",
                "value": "",
                "type": "query",
                "description": "The search query"
              },
              {
                "name": "page",
                "value": "",
                "type": "query",
                "description": "Which page of the search results to retrieve"
              },
              {
                "name": "pagelen",
                "value": "",
                "type": "query",
                "description": "How many search results to retrieve per page"
              }
            ]
          },
          "docs": "This API will be deprecated on November 1, 2026.\n\nSearch for code in the repositories of the specified workspace.\n\nNote that searches can match in the file's text (`content_matches`),\nthe path (`path_matches`), or both.\n\nYou can use the same syntax for the search query as in the UI.\nE.g. to search for \"foo\" only within the repository \"demo\",\nuse the query parameter `search_query=foo+repo:demo`.\n\nSimilar to other APIs, you can request more fields using a\n`fields` query parameter. E.g. to get some"
        }
      ]
    },
    {
      "info": {
        "name": "Users",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get current user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user"
          },
          "docs": "Returns the currently logged in user."
        },
        {
          "info": {
            "name": "List email addresses for current user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/emails"
          },
          "docs": "Returns all the authenticated user's email addresses. Both\nconfirmed and unconfirmed."
        },
        {
          "info": {
            "name": "Get an email address for current user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/emails/:email",
            "params": [
              {
                "name": "email",
                "value": "",
                "type": "path",
                "description": "Email address of the user."
              }
            ]
          },
          "docs": "Returns details about a specific one of the authenticated user's\nemail addresses.\n\nDetails describe whether the address has been confirmed by the user and\nwhether it is the user's primary address or not."
        },
        {
          "info": {
            "name": "Get a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Gets the public information associated with a user account.\n\nIf the user's profile is private, `location`, `website` and\n`created_on` elements are omitted.\n\nNote that the user object returned by this operation is changing significantly, due to privacy changes.\nSee the [announcement](https://developer.atlassian.com/cloud/bitbucket/bitbucket-api-changes-gdpr/#changes-to-bitbucket-user-objects) for details."
        }
      ]
    },
    {
      "info": {
        "name": "Workspaces",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List workspaces for the current user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/permissions/workspaces",
            "params": [
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property to sort results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results)\nfor details.\n"
              }
            ]
          },
          "docs": "**This endpoint is deprecated. Please use the supported alternatives:**\n* [List workspaces for user](/cloud/bitbucket/rest/api-group-workspaces/#api-user-workspaces-get)\n* [Get user permission on a workspace](/cloud/bitbucket/rest/api-group-workspaces/#api-user-workspaces-workspace-permission-get)\n\nReturns an object for each workspace the caller is a member of, and\ntheir effective role - the highest level of privilege the caller has.\nIf a user is a member of multiple groups with distinct roles, "
        },
        {
          "info": {
            "name": "List workspaces for the current user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/workspaces",
            "params": [
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "Name of a response property to sort results (only slug is supported)."
              },
              {
                "name": "administrator",
                "value": "",
                "type": "query",
                "description": "Filter workspaces based on which ones the caller has admin permissions or not."
              }
            ]
          },
          "docs": "Returns an object for each workspace accessible to the caller. This object\nalso contains details on whether the caller has admin permissions on the workspace\n(`\"administrator\" = true`) or not (`\"administrator\" = false`).\n\nQueries support filtering based on administrator permissions,\n[sorting](/cloud/bitbucket/rest/intro/#sorting-query-results) or\n[filtering](/cloud/bitbucket/rest/intro/#filtering) by `slug`. Results can\nbe [paginated](/cloud/bitbucket/rest/intro/#pagination)."
        },
        {
          "info": {
            "name": "Get user permission on a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/user/workspaces/:workspace/permission",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the caller's effective role; as in, the highest level of privilege\nthe caller has for the workspace.\nIf the calling user is a member of multiple groups with distinct roles, only the\nhighest level is returned.\n\nPermissions can be:\n\n* `owner`\n* `create-project`\n* `collaborator` (deprecated; see this\n[deprecation announcement](/cloud/bitbucket/deprecation-notice-collaborator-role/) for more details)\n* `member`"
        },
        {
          "info": {
            "name": "List workspaces for user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces",
            "params": [
              {
                "name": "role",
                "value": "",
                "type": "query",
                "description": "\n            Filters the workspaces based on the authenticated user's role on each workspace.\n\n            * **member**: returns a list of all the workspaces which the caller is a member of\n                at least one workspace group or repository\n            * **collaborator**: returns a list of workspaces which the caller has write access\n                to at least one repository in the workspace\n            * **owner**: returns a list of workspaces which the caller has administrator access\n            "
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for details."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property to sort results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results)\nfor details.\n"
              }
            ]
          },
          "docs": "**This endpoint is deprecated. Please use the\n[supported alternative](/cloud/bitbucket/rest/api-group-workspaces/#api-user-workspaces-get).**\n\nReturns a list of workspaces accessible by the authenticated user.\n\nResults may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering) by\nworkspace or permission by adding the following query string parameters:\n\n* `q=slug=\"bbworkspace1\"` or `q=is_private=true`\n* `sort=created_on`\n\nNote that the query parameter values need to be URL escape"
        },
        {
          "info": {
            "name": "Get a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the requested workspace."
        },
        {
          "info": {
            "name": "List webhooks for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/hooks",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of webhooks installed on this workspace."
        },
        {
          "info": {
            "name": "Create a webhook for a workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:workspace/hooks",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new webhook on the specified workspace.\n\nWorkspace webhooks are fired for events from all repositories contained\nby that workspace.\n\nExample:\n\n```\n$ curl -X POST -u credentials -H 'Content-Type: application/json'\n  https://api.bitbucket.org/2.0/workspaces/my-workspace/hooks\n  -d '\n    {\n      \"description\": \"Webhook Description\",\n      \"url\": \"https://example.com/\",\n      \"active\": true,\n      \"secret\": \"this is a really bad secret\",\n      \"events\": [\n        \"repo:push\",\n        \"issu"
        },
        {
          "info": {
            "name": "Get a webhook for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/hooks/:uid",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "Installed webhook's ID"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the webhook with the specified id installed on the given\nworkspace."
        },
        {
          "info": {
            "name": "Update a webhook for a workspace",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/hooks/:uid",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "Installed webhook's ID"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the specified webhook subscription.\n\nThe following properties can be mutated:\n\n* `description`\n* `url`\n* `secret`\n* `active`\n* `events`\n\nThe hook's secret is used as a key to generate the HMAC hex digest sent in the\n`X-Hub-Signature` header at delivery time. This signature is only generated\nwhen the hook has a secret.\n\nSet the hook's secret by passing the new value in the `secret` field. Passing a\n`null` value in the `secret` field will remove the secret from the hook. The\nhook's secret "
        },
        {
          "info": {
            "name": "Delete a webhook for a workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/hooks/:uid",
            "params": [
              {
                "name": "uid",
                "value": "",
                "type": "path",
                "description": "Installed webhook's ID"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the specified webhook subscription from the given workspace."
        },
        {
          "info": {
            "name": "List users in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/members",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns all members of the requested workspace.\n\nThis endpoint additionally supports [filtering](/cloud/bitbucket/rest/intro/#filtering) by\nemail address, if called by a workspace administrator, integration or workspace access\ntoken. This is done by adding the following query string parameter:\n\n* `q=user.email IN (\"user1@org.com\",\"user2@org.com\")`\n\nWhen filtering by email, you can query up to 90 addresses at a time.\nNote that the query parameter values need to be URL escaped, so the final query "
        },
        {
          "info": {
            "name": "Get user membership for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/members/:member",
            "params": [
              {
                "name": "member",
                "value": "",
                "type": "path",
                "description": "Member's UUID or Atlassian ID."
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the workspace membership, which includes\na `User` object for the member and a `Workspace` object\nfor the requested workspace."
        },
        {
          "info": {
            "name": "List user permissions in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/permissions",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              }
            ]
          },
          "docs": "Returns the list of members in a workspace\nand their permission levels.\nPermission can be:\n* `owner`\n* `collaborator`\n* `member`\n\n**The `collaborator` role is being removed from the Bitbucket Cloud API. For more information,\nsee the [deprecation announcement](/cloud/bitbucket/deprecation-notice-collaborator-role/).**\n\n**When you move your administration from Bitbucket Cloud to admin.atlassian.com, the following fields on\n`workspace_membership` will no longer be present: `last_accessed` and `adde"
        },
        {
          "info": {
            "name": "List all repository permissions for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/permissions/repositories",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property sort the result by as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).\n"
              }
            ]
          },
          "docs": "Returns an object for each repository permission for all of a\nworkspace's repositories.\n\nPermissions returned are effective permissions: the highest level of\npermission the user has. This does not distinguish between direct and\nindirect (group) privileges.\n\nOnly users with admin permission for the team may access this resource.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`\n\nResults may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering)\nby repository, user, or permission"
        },
        {
          "info": {
            "name": "List a repository permissions for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/permissions/repositories/:repo_slug",
            "params": [
              {
                "name": "repo_slug",
                "value": "",
                "type": "path",
                "description": "This can either be the repository slug or the UUID of the repository,\nsurrounded by curly-braces, for example: `{repository UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "q",
                "value": "",
                "type": "query",
                "description": "\nQuery string to narrow down the response as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering)."
              },
              {
                "name": "sort",
                "value": "",
                "type": "query",
                "description": "\nName of a response property sort the result by as per\n[filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results).\n"
              }
            ]
          },
          "docs": "Returns an object for the repository permission of each user in the\nrequested repository.\n\nPermissions returned are effective permissions: the highest level of\npermission the user has. This does not distinguish between direct and\nindirect (group) privileges.\n\nOnly users with admin permission for the repository may access this resource.\n\nPermissions can be:\n\n* `admin`\n* `write`\n* `read`\n\nResults may be further [filtered or sorted](/cloud/bitbucket/rest/intro/#filtering)\nby user, or permission by "
        },
        {
          "info": {
            "name": "List projects in a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the list of projects in this workspace."
        },
        {
          "info": {
            "name": "List workspace pull requests for a user",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/pullrequests/:selected_user",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be the username of the pull request author, the author's UUID\nsurrounded by curly-braces, for example: `{account UUID}`, or the author's Atlassian ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              },
              {
                "name": "state",
                "value": "",
                "type": "query",
                "description": "Only return pull requests that are in this state. This parameter can be repeated."
              }
            ]
          },
          "docs": "Returns all workspace pull requests authored by the specified user.\n\nBy default only open pull requests are returned. This can be controlled\nusing the `state` query parameter. To retrieve pull requests that are\nin one of multiple states, repeat the `state` parameter for each\nindividual state.\n\nThis endpoint also supports filtering and sorting of the results. See\n[filtering and sorting](/cloud/bitbucket/rest/intro/#filtering) for more details."
        },
        {
          "info": {
            "name": "Get the workspace system GPG public key(s)",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/settings/gpg/public-key",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the system public GPG key(s). In most cases a single key is returned.\nDuring a key rotation period, two keys may be returned."
        }
      ]
    },
    {
      "info": {
        "name": "GPG",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List GPG keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/gpg-keys",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the user's GPG public keys.\nThe `key` and `subkeys` fields can also be requested from the endpoint.\nSee [Partial Responses](/cloud/bitbucket/rest/intro/#partial-response) for more details."
        },
        {
          "info": {
            "name": "Add a new GPG key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/users/:selected_user/gpg-keys",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Adds a new GPG public key to the specified user account and returns the resulting key.\n\nExample:\n\n```\n$ curl -X POST -H \"Content-Type: application/json\" -d\n'{\"key\": \"<insert GPG Key>\"}'\nhttps://api.bitbucket.org/2.0/users/{d7dd0e2d-3994-4a50-a9ee-d260b6cefdab}/gpg-keys\n```"
        },
        {
          "info": {
            "name": "Get a GPG key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/gpg-keys/:fingerprint",
            "params": [
              {
                "name": "fingerprint",
                "value": "",
                "type": "path",
                "description": "A GPG key fingerprint.\n"
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a specific GPG public key belonging to a user.\nThe `key` and `subkeys` fields can also be requested from the endpoint.\nSee [Partial Responses](/cloud/bitbucket/rest/intro/#partial-response) for more details."
        },
        {
          "info": {
            "name": "Delete a GPG key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/users/:selected_user/gpg-keys/:fingerprint",
            "params": [
              {
                "name": "fingerprint",
                "value": "",
                "type": "path",
                "description": "A GPG key fingerprint.\n"
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes a specific GPG public key from a user's account."
        }
      ]
    },
    {
      "info": {
        "name": "SSH",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List SSH keys",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/ssh-keys",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of the user's SSH public keys."
        },
        {
          "info": {
            "name": "Add a new SSH key",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/users/:selected_user/ssh-keys",
            "params": [
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "expires_on",
                "value": "",
                "type": "query",
                "description": "The date or date-time of when the key will expire,\nin [ISO-8601](https://en.wikipedia.org/wiki/ISO_8601) format.\nExample: `YYYY-MM-DDTHH:mm:ss.sssZ`"
              }
            ]
          },
          "docs": "Adds a new SSH public key to the specified user account and returns the resulting key.\n\nExample:\n\n```\n$ curl -X POST -H \"Content-Type: application/json\" -d '{\"key\": \"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKqP3Cr632C2dNhhgKVcon4ldUSAeKiku2yP9O9/bDtY user@myhost\"}' https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys\n```"
        },
        {
          "info": {
            "name": "Get a SSH key",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/users/:selected_user/ssh-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The SSH key's UUID value."
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a specific SSH public key belonging to a user."
        },
        {
          "info": {
            "name": "Update a SSH key",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/users/:selected_user/ssh-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The SSH key's UUID value."
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Updates a specific SSH public key on a user's account\n\nNote: Only the 'comment' field can be updated using this API. To modify the key or comment values, you must delete and add the key again.\n\nExample:\n\n```\n$ curl -X PUT -H \"Content-Type: application/json\" -d '{\"label\": \"Work key\"}' https://api.bitbucket.org/2.0/users/{ed08f5e1-605b-4f4a-aee4-6c97628a673e}/ssh-keys/{b15b6026-9c02-4626-b4ad-b905f99f763a}\n```"
        },
        {
          "info": {
            "name": "Delete a SSH key",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/users/:selected_user/ssh-keys/:key_id",
            "params": [
              {
                "name": "key_id",
                "value": "",
                "type": "path",
                "description": "The SSH key's UUID value."
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be an Atlassian Account ID OR the UUID of the account,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes a specific SSH public key from a user's account."
        }
      ]
    },
    {
      "info": {
        "name": "Projects",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Create a project in a workspace",
            "type": "http"
          },
          "http": {
            "method": "POST",
            "url": "{{baseUrl}}/workspaces/:workspace/projects",
            "params": [
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Creates a new project.\n\nNote that the avatar has to be embedded as either a data-url\nor a URL to an external image as shown in the examples below:\n\n```\n$ body=$(cat << EOF\n{\n    \"name\": \"Mars Project\",\n    \"key\": \"MARS\",\n    \"description\": \"Software for colonizing mars.\",\n    \"links\": {\n        \"avatar\": {\n            \"href\": \"data:image/gif;base64,R0lGODlhEAAQAMQAAORHHOVSKudfOulrSOp3WOyDZu6QdvCchPGolfO0o/...\"\n        }\n    },\n    \"is_private\": false\n}\nEOF\n)\n$ curl -H \"Content-Type: application/"
        },
        {
          "info": {
            "name": "Get a project for a workspace",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the requested project."
        },
        {
          "info": {
            "name": "Update a project for a workspace",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Since this endpoint can be used to both update and to create a\nproject, the request body depends on the intent.\n\n#### Creation\n\nSee the POST documentation for the project collection for an\nexample of the request body.\n\nNote: The `key` should not be specified in the body of request\n(since it is already present in the URL). The `name` is required,\neverything else is optional.\n\n#### Update\n\nSee the POST documentation for the project collection for an\nexample of the request body.\n\nNote: The key is n"
        },
        {
          "info": {
            "name": "Delete a project for a workspace",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes this project. This is an irreversible operation.\n\nYou cannot delete a project that still contains repositories.\nTo delete the project, [delete](/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-delete)\nor transfer the repositories first.\n\nExample:\n```\n$ curl -X DELETE https://api.bitbucket.org/2.0/workspaces/bbworkspace1/projects/PROJ\n```"
        },
        {
          "info": {
            "name": "List the default reviewers in a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/default-reviewers",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual `key` assigned\nto the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Return a list of all default reviewers for a project. This is a list of users that will be added as default\nreviewers to pull requests for any repository within the project."
        },
        {
          "info": {
            "name": "Get a default reviewer",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/default-reviewers/:selected_user",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This can either be the actual `key` assigned\nto the project or the `UUID` (surrounded by curly-braces (`{}`)).\n"
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be the username or the UUID of the default reviewer,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the specified default reviewer."
        },
        {
          "info": {
            "name": "Add the specific user as a default reviewer for the project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/default-reviewers/:selected_user",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This can either be the actual `key` assigned\nto the project or the `UUID` (surrounded by curly-braces (`{}`)).\n"
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be the username or the UUID of the default reviewer,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Adds the specified user to the project's list of default reviewers. The method is\nidempotent. Accepts an optional body containing the `uuid` of the user to be added."
        },
        {
          "info": {
            "name": "Remove the specific user from the project's default reviewers",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/default-reviewers/:selected_user",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This can either be the actual `key` assigned\nto the project or the `UUID` (surrounded by curly-braces (`{}`)).\n"
              },
              {
                "name": "selected_user",
                "value": "",
                "type": "path",
                "description": "This can either be the username or the UUID of the default reviewer,\nsurrounded by curly-braces, for example: `{account UUID}`.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Removes a default reviewer from the project.\n\nExample:\n```\n$ curl https://api.bitbucket.org/2.0/.../default-reviewers/%7Bf0e0e8e9-66c1-4b85-a784-44a9eb9ef1a6%7D\n\nHTTP/1.1 204\n```"
        },
        {
          "info": {
            "name": "List explicit group permissions for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/groups",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of explicit group permissions for the given project.\nThis endpoint does not support BBQL features."
        },
        {
          "info": {
            "name": "Get an explicit group permission for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/groups/:group_slug",
            "params": [
              {
                "name": "group_slug",
                "value": "",
                "type": "path",
                "description": "Slug of the requested group."
              },
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the group permission for a given group and project.\n\nOnly users with admin permission for the project may access this resource.\n\nPermissions can be:\n\n* `admin`\n* `create-repo`\n* `write`\n* `read`\n* `none`"
        },
        {
          "info": {
            "name": "Update an explicit group permission for a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/groups/:group_slug",
            "params": [
              {
                "name": "group_slug",
                "value": "",
                "type": "path",
                "description": "Slug of the requested group."
              },
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the group permission, or grants a new permission if one does not already exist.\n\nOnly users with admin permission for the project may access this resource.\n\nDue to security concerns, the JWT and OAuth authentication methods are unsupported.\nThis is to ensure integrations and add-ons are not allowed to change permissions.\n\nPermissions can be:\n\n* `admin`\n* `create-repo`\n* `write`\n* `read`"
        },
        {
          "info": {
            "name": "Delete an explicit group permission for a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/groups/:group_slug",
            "params": [
              {
                "name": "group_slug",
                "value": "",
                "type": "path",
                "description": "Slug of the requested group."
              },
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the project group permission between the requested project and group, if one exists.\n\nOnly users with admin permission for the project may access this resource."
        },
        {
          "info": {
            "name": "List explicit user permissions for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/users",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns a paginated list of explicit user permissions for the given project.\nThis endpoint does not support BBQL features."
        },
        {
          "info": {
            "name": "Get an explicit user permission for a project",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/users/:selected_user_id",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "selected_user_id",
                "value": "",
                "type": "path",
                "description": "This can either be the username, the user's UUID surrounded by curly-braces,\nfor example: {account UUID}, or the user's Atlassian ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Returns the explicit user permission for a given user and project.\n\nOnly users with admin permission for the project may access this resource.\n\nPermissions can be:\n\n* `admin`\n* `create-repo`\n* `write`\n* `read`\n* `none`"
        },
        {
          "info": {
            "name": "Update an explicit user permission for a project",
            "type": "http"
          },
          "http": {
            "method": "PUT",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/users/:selected_user_id",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "selected_user_id",
                "value": "",
                "type": "path",
                "description": "This can either be the username, the user's UUID surrounded by curly-braces,\nfor example: {account UUID}, or the user's Atlassian ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Updates the explicit user permission for a given user and project. The selected\nuser must be a member of the workspace, and cannot be the workspace owner.\n\nOnly users with admin permission for the project may access this resource.\n\nDue to security concerns, the JWT and OAuth authentication methods are unsupported.\nThis is to ensure integrations and add-ons are not allowed to change permissions.\n\nPermissions can be:\n\n* `admin`\n* `create-repo`\n* `write`\n* `read`"
        },
        {
          "info": {
            "name": "Delete an explicit user permission for a project",
            "type": "http"
          },
          "http": {
            "method": "DELETE",
            "url": "{{baseUrl}}/workspaces/:workspace/projects/:project_key/permissions-config/users/:selected_user_id",
            "params": [
              {
                "name": "project_key",
                "value": "",
                "type": "path",
                "description": "The project in question. This is the actual key assigned to the project.\n"
              },
              {
                "name": "selected_user_id",
                "value": "",
                "type": "path",
                "description": "This can either be the username, the user's UUID surrounded by curly-braces,\nfor example: {account UUID}, or the user's Atlassian ID.\n"
              },
              {
                "name": "workspace",
                "value": "",
                "type": "path",
                "description": "This can either be the workspace ID (slug) or the workspace UUID\nsurrounded by curly-braces, for example: `{workspace UUID}`.\n"
              }
            ]
          },
          "docs": "Deletes the project user permission between the requested project and user, if one exists.\n\nOnly users with admin permission for the project may access this resource.\n\nDue to security concerns, the JWT and OAuth authentication methods are unsupported.\nThis is to ensure integrations and add-ons are not allowed to change permissions."
        }
      ]
    }
  ],
  "bundled": true
}