Get
- Http Method
- GET
- End Point
-
/~api/code-comments/{commentId}
Placeholder Description Example {commentId} Comment Id 1 - Response
-
- Operation Successful
-
- Status Code
- 200
- Response Body
-
- Content Type
- application/json
- Example
-
{
"id" : 1 ,"projectId" : 1 ,"userId" : 1 ,"content" : "string" ,"lastActivity" : { } ,"replyCount" : 1 ,"mark" : {"commitHash" : "string" ,"path" : "string" ,"range" : {"fromRow" : 1 ,"fromColumn" : 1 ,"toRow" : 1 ,"toColumn" : 1 ,"tabWidth" : 1"compareContext" : {"pullRequestId" : 1 ,"oldCommitHash" : "string" ,"newCommitHash" : "string" ,"pathFilter" : "string" ,"resolved" : true ,"uuid" : "string"
- 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> https://git.codedune.app/~api/code-comments/1