Repositories

Compare two revisions

Returns cursor-paginated file differences between two public refs, optionally pinned to exact commit OIDs, with at most 500 files per page. Public repositories allow anonymous reads; supplied credentials are validated and may expand access to private resources.

get/api/repos/{owner}/{repo}/compare

Request

  • Base URL
    https://git.cafe
  • Auth
    • none
    • or API key in cookie gc-session
    • or HTTP bearer
    • or HTTP basic
    • or HTTP token
    • or OAuth 2
      Authorization code: /api/oauth/authorize
      Token URL: /api/oauth/token scopes: repo:contents:read

Path parameters

ownerstring required
repostring required

Query parameters

basestring required
baseOidstring
headstring required
headOidstring
afterstring
limitinteger

Response

Response for status 200

nextstring nullable required
basestring required
headstring required

Changes

No recorded changes to this operation across all 1 revision of this API.