Problems API - GET a comment
Gets the specified comment on a problem.
The request produces an application/json
payload.
Early Adopter
This request is an Early Adopter release and may be changed in non-compatible way.
GET |
|
Authentication
To execute this request, you need the Read problems (problems.read
) permission assigned to your API token. To learn how to obtain and use it, see Tokens and authentication.
Parameters
Parameter | Type | Description | In | Required |
---|---|---|---|---|
problemId | string |
The ID of the required problem. |
path | required |
commentId | string |
The ID of the required comment. |
path | required |
Response
Response codes
Code | Description |
---|---|
200 | Success |
Response body
The Comment object
The comment to a problem.
Element | Type | Description |
---|---|---|
createdAtTimestamp | integer | The timestamp of comment creation, in UTC milliseconds. |
authorName | string | The user who wrote the comment. |
context | string | The context of the comment. |
id | string | The ID of the comment. |
content | string | The text of the comment. |
{
"createdAtTimestamp": 0,
"authorName": "string",
"context": "string",
"id": "string",
"content": "string"
}