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

The branch field is null when retrieving the changesets through API

    XMLWordPrintable

Details

    Description

      I'm retrieving 20 changests through changesets API and all items have the branch field/property set to null:

      For example this is an item:

      #!php
      
      {
      	"node": "0ca18f230ebe",
      	"files":  [
      	 {
      	  "type": "modified",
      	  "file": "testfolder/sub1/sub1-1/a1.txt"
      	}
      	],
      	"branches":  [],
      	"raw_author": "Andrei Ionescu <webdev.andrei@gmail.com>",
      	"utctimestamp": "2013-01-02 20:36:01+00:00",
      	"author": "andrei_ionescu",
      	"timestamp": "2013-01-02 21:36:01",
      	"raw_node": "0ca18f230ebe0968adf1d9778a1cc287f7015a6f",
      	"parents":  [
      	"a1772c8c7473"
      	],
      	"branch": null,
      	"message": "testing clean dirs. v11.\n",
      	"revision": null,
      	"size": -1
      },
      

      As you can see there is:

      #!php
      
      "branch": null,
      

      This is my API call: https://api.bitbucket.org/1.0/repositories/andrei_ionescu/deploy-test/changesets/?limit=20

      Why is it null? Is there something wrong that I did?

      Attachments

        Activity

          People

            Unassigned Unassigned
            41649ed8b7cf andrei_ionescu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: