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

API for large Diff returns Unable to respond in time

    XMLWordPrintable

    Details

    • Feedback Policy:

      Our product teams collect and evaluate feedback from a number of different sources. To learn more about how we use customer feedback in the planning process, check out our new feature policy.

      Description

      Currently, when you use the API diff endpoint with a huge amount of data response, the result of the API call is "Unable to respond in time".

      Endpoint:

      #!curl
      
      CURL -sL -u username:password https://api.bitbucket.org/2.0/repositories/username/repo_name/diff/username/repo_name:523a7ec383dc%0D637f6b25edf5?from_pullrequest_id=1&context=0
      

      Result:

      #!python
      
      {
        "type": "error",
        "error": {
          "message": "Unable to respond in time"
        }
      }
      

      https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Busername%7D/%7Brepo_slug%7D/diff/%7Bspec%7D

      It would be best if we could allow large return data for the Git diff API.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            mcerezo Mark C
            Votes:
            9 Vote for this issue
            Watchers:
            7 Start watching this issue

              Dates

              Created:
              Updated: