Create Or Update
Update code comment reply of specified id in request body, or create new if id property not provided
- Http Method
- POST
- End Point
-
/api/code-comment-replies
- Request Body
-
- Content Type
- application/json
- Example
-
{
"id"
:
1
,
"commentId"
:
1
,
"userId"
:
1
,
"date"
:
"2025-05-03T05:17:45.204+00:00"
,
"content"
:
"string"
,
"compareContext"
:
{
"pullRequestId"
:
1
,
"oldCommitHash"
:
"string"
,
"newCommitHash"
:
"string"
,
"pathFilter"
:
"string"
,
"currentFile"
:
"string"
,
"whitespaceOption"
:
"DEFAULT"
}
}
- Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
1
- Operation Failed
-
- Status code
- Status code other than 200 indicating the error type
- Response Body
- Error detail of content type "text/plain"
- cURL Example
-
$ curl -u <login name>:<password or access token> [email protected] -H "Content-Type: application/json" https://git.crazyhackgut.ru/api/code-comment-replies