Resources Code Comment Get Basic Info
🤬
Get Basic Info
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" ,
"createDate" : "2022-08-12T08:09:59.845+00:00" ,
"lastUpdate" : {
"userId" : 1 ,
"date" : "2022-08-12T08:09:59.846+00:00" ,
"activity" : "string"
}
,
"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" ,
"currentFile" : "string" ,
"whitespaceOption" : "DEFAULT"
}
,
"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://crash.software/api/code-comments/1
Please wait...
Page is in error, reload to recover