Issues

Hide an issue comment

Hide an issue comment. Requires authenticated authority and enforces current resource policy.

post/api/repos/{owner}/{repo}/issues/{issue}/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:moderation:write

Path parameters

ownerstring required
repostring required
issuestring required
commentstring required

Request body

expectedVersioninteger required
reason'spam' | 'abuse' | 'off_topic' | 'outdated' | 'duplicate' | 'resolved' required

Response

Response for status 200

idstring required
versioninteger required
hiddenAtstring date-time nullable required
hiddenReason'spam' | 'abuse' | 'off_topic' | 'outdated' | 'duplicate' | 'resolved' | 'null' nullable required

Changes

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