Pull Requests
Comments

Update a pull request comment

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

patch/api/repos/{owner}/{repo}/pulls/{pr}/comments/{comment}

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

bodystring required
expectedVersioninteger required

Response

Response for status 200

idstring required
threadIdstring required
reviewIdstring nullable required
authorActorIdstring required
bodystring nullable required
versioninteger required
createdAtstring date-time required
updatedAtstring date-time required
pathstring nullable required
lineinteger nullable required
side'left' | 'right' | 'null' nullable required
commitOidstring nullable required
startLineinteger nullable
startSide'left' | 'right' | 'null' nullable
resolvedAtstring date-time nullable 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.