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

REST API 2.0: Pull Request "Links" are Wrong (BB-9965)

    XMLWordPrintable

Details

    Description

      I have for this to sound crass but it seems like even the basic stuff with these new APIs don't work properly. For example, executing the following: https://bitbucket.org/api/2.0/repositories/pypy/pypy/pullrequests/93/commits gives me a sweet list of commits - everything is good so far. However, the "links" within the commits are completely wrong. The first "self" link: "href": "https://bitbucket.org/Unable to render embedded object: File (api/2.0/repositories/pypy/pypy/commit/9fd1c9e7f3fc08a847202a143b69dedcb2b688bd" leads me to a 404. And when I inspect it, it's not even pointing to the right repository that commit was made on) not found. Instead of "pypy/pypy" it should have been "mpavone/pypy". It doesn't even sound like these are tested...

      Attachments

        Activity

          People

            6995b9ed1710 evzijst
            81e36c57c0c8 thedillonb
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: