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

XMLWordPrintable

    • 6
    • 2,103

      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.

            Assignee:
            Unassigned
            Reporter:
            Ragesh Krishna
            Votes:
            17 Vote for this issue
            Watchers:
            32 Start watching this issue

              Created:
              Updated: