Reply to a pull request review comment
const url = 'https://gitea.com/api/v1/repos/example/example/pulls/1/comments/1/replies';const options = { method: 'POST', headers: {Authorization: 'Basic <credentials>', 'Content-Type': 'application/json'}, body: '{"body":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://gitea.com/api/v1/repos/example/example/pulls/1/comments/1/replies \ --header 'Authorization: Basic <credentials>' \ --header 'Content-Type: application/json' \ --data '{ "body": "example" }'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Owner of the repo
Name of the repo
Index of the pull request
Id of the review comment to reply to
Request Body
Section titled “Request Body”CreatePullReviewCommentReplyOptions are options to reply to a pull request review comment
object
Examplegenerated
{ "body": "example"}Responses
Section titled “Responses”PullComment
PullReviewComment represents a comment on a pull request review
object
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s gitea page
The user’s id
Is the user an administrator
User locale
The user’s location
Login of the user, same as username
Identifier of the user, provided by the external authenticator (if configured)
Is user login prohibited
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private public UserVisibilityPublic limited UserVisibilityLimited private UserVisibilityPrivate
The user’s website
User represents a user
object
Is user active
URL to the user’s avatar
The user’s description
User counts
The user’s full name
URL to the user’s gitea page
The user’s id
Is the user an administrator
User locale
The user’s location
Login of the user, same as username
Identifier of the user, provided by the external authenticator (if configured)
Is user login prohibited
Is user restricted
The ID of the user’s Authentication Source
User visibility level option: public, limited, private public UserVisibilityPublic limited UserVisibilityLimited private UserVisibilityPrivate
The user’s website
Example
{ "resolver": { "login_name": "empty", "visibility": "public" }, "user": { "login_name": "empty", "visibility": "public" }}APIValidationError is error format response related to input validation
Headers
Section titled “Headers”APINotFound is a not found empty response
APIValidationError is error format response related to input validation