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

REST API - List of branches is not a JSON List (BB-4242)

    XMLWordPrintable

Details

    Description

      The REST API allows a repository to be queried for a list of branches. What is returned by the API is a JSON litteral, not a list of branches.

      {
      "master":

      { ... },
      "trunk": { ... }


      }

      It should be formed something like {[

      { "name" : "master", ... }

      ,

      { "name" : "trunk", ... }

      ]}

      It would also be useful if it could also return if the branch is currently involved in a pull-request.

      Attachments

        Activity

          People

            Unassigned Unassigned
            legacy-bitbucket-user Legacy Bitbucket Cloud User (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: