Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-9969

Get commit/{revision} API does not accept branch names with "/" (BB-10992)

    XMLWordPrintable

Details

    Description

      My branch is called "feature/test" and no matter how I try to hit the:

      GET https://bitbucket.org/api/2.0/repositories/{owner}/{repo_slug}/commit/{revision}
      

      API with this, it will not bend. Replacing the "/" with %2F does not work.

      Google helped me find https://bitbucket.org/site/master/issue/408/branches-and-tags-with-slashes-in-their where this seems to have been fixed for every other API call except this one.

      I'd like to know if there is a plan for this to be fixed, or if there is another way I can get the commit SHA for the tip of a branch whose name has a slash.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              bd7e348e8bff Ragesh Krishna
              Votes:
              16 Vote for this issue
              Watchers:
              26 Start watching this issue

              Dates

                Created:
                Updated: