Review comments

Create a review comment thread on a PR or branch document.

post/api/v1/review/comments

Request

  • Base URL: https://commentary.dev
  • URL: https://commentary.dev/api/v1/review/comments
  • Auth: HTTP bearer

Headers

X-Commentary-Workspace-Idstring

Must match the credential workspace. This header cannot widen grant authority.

X-Correlation-Idstring

Request body

provider'github'
ownerstring required
repostring required
prNumberinteger
branchRefstring
filePathstring required
blockIdstring required
nodeTypestring required
sourceLineStartinteger required
sourceLineEndinteger required
selectedTextstring nullable
prefixTextstring nullable
suffixTextstring nullable
bodyMarkdownstring required
agentAliasstring nullable

Response

Successful response.

okunknown
threadIdstring

Changes

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