Pull Requests

Set pull request viewed files

Set pull request viewed files. Requires authenticated authority and enforces current resource policy.

put/api/repos/{owner}/{repo}/pulls/{pr}/viewed-files

Request

  • Base URL
    https://git.cafe
  • Auth
    • 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:review:write

Path parameters

ownerstring required
repostring required
prstring required

Request body

expectedVersioninteger required
headOidstring required
baseOidstring required
pathsstring[] required
viewedboolean required

Response

Response for status 200

headOidstring nullable required
baseOidstring nullable required
itemsstring[] required
nextstring nullable required

Changes

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