Pull Requests
Comments

Hide a pull request comment

Hide a pull request comment. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/pulls/{pr}/comments/{comment}/hide

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: comment:contents:write

Path parameters

ownerstring required
repostring required
prstring required
commentstring required

Request body

expectedVersioninteger required

Response

Response for status 200

idstring required
threadIdstring required
versioninteger required
hiddenAtstring date-time nullable required
deletedAtstring date-time nullable required

Changes

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