Pull Requests

Read pull request merge operation

Read pull request merge operation. Public repositories allow anonymous reads; supplied credentials are validated and may expand access to private resources.

get/api/repos/{owner}/{repo}/pulls/{pr}/merge/{operation}

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: pr:contents:read

Path parameters

ownerstring required
repostring required
prstring required
string required
OR
string required

Response

Response for status 200

state'accepted' | 'completed' | 'failed' required
resultOidstring
reason'rejected' | 'merge-precondition-changed' | 'native-conflict' | 'native-failure' | 'native-cancelled' | 'reconciliation-required' | 'already-up-to-date'
failure'conflict' | 'precondition-changed' | 'too-large' | 'lfs-unsupported' | 'remote-rejected' | 'cancelled' | 'retry-later' | 'internal'
attemptsinteger

Changes

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