Create
Create new code comment reply
- Http Method
- POST
- End Point
-
/~api/code-comment-replies
- Request Body
-
- Content Type
- application/json
- Example
-
{
"commentId"
:
1
,
"compareContext"
:
{
"pullRequestId"
:
1
,
"oldCommitHash"
:
"string"
,
"newCommitHash"
:
"string"
,
"pathFilter"
:
"string"
,
"currentFile"
:
"string"
,
"whitespaceOption"
:
"DEFAULT"
}
,
"date"
:
"2024-04-26T23:33:30.978+00:00"
,
"userId"
:
1
,
"content"
:
"string"
}
- 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> -X POST [email protected] -H "Content-Type: application/json" https://crash.software/~api/code-comment-replies