Uploaded image for project: 'Skara'
  1. Skara
  2. SKARA-1406

Two GitHub APIs don't return `patch` field when `per_page` argument exceeds 70

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3
    • 1.0
    • None
    • bots
    • None

    Description

      The GitHub rest api `get-a-commit` [1] and `list-pull-requests-files` [2] don't return the `patch` field when the `per_page` argument exceeds 70.

      The original issue is SKARA-1332 [3]. And a detailed analysis is at
      PR-1302 [4].

      [1] https://docs.github.com/en/rest/commits/commits#get-a-commit
      [2] https://docs.github.com/en/rest/pulls/pulls#list-pull-requests-files
      [3] https://bugs.openjdk.java.net/browse/SKARA-1332
      [4] https://github.com/openjdk/skara/pull/1302#issue-1211945938

      Attachments

        Issue Links

          Activity

            People

              gli Guoxiong Li
              gli Guoxiong Li
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: