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

Comments API return empty list (BB-14057)

    XMLWordPrintable

Details

    Description

      Hi, got some PHP script which used to read comments from a commit. But now, with API 2.0 it returns just empty list, even there must be comments.

      So, I try:

      GET https://bitbucket.org/api/2.0/repositories/

      {owner}

      /

      {repo_slug}

      /commit/

      {revision}

      /comments

      On approved and unapproved commits, but in any way it returns just empty

      #!json
      
      {
      values: [ ]
      }
      

      If I do this in incognito, I get Forbbiden, so somehow it works... Is something wrong with my request or is this a bug?

      Attachments

        Activity

          People

            Unassigned Unassigned
            be3b4f4bca59 Pilskalns
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: