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

Next link in paginated API response not working

    XMLWordPrintable

    Details

      Description

      Steps to reproduce

      1. Make REST API call: [https://api.bitbucket.org/2.0/repositories/ {user}

        /

        {repo}

        /commits/master?pagelen=10|https://api.bitbucket.org/2.0/repositories/%257Buser%257D/%257Brepo%257D/commits/master%3Fpagelen%3D10]

      2. Follow next link from response

      Expected behavior - link works and returns next batch of commits

      Actual behavior - link returns empty list

      Workaround - remove ctx parameter from link and leave only pagelen and page parameters

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            5c481ee7bf9a testalm
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: