Get incident comments.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/incidents/{incidentId}/comments
This operation retrieves comments for an incident.
Request
Path Parameters
-
incidentId: string
Incident identifier
-
orgId: string
Organization identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Incident comments were successfully retrieved.
Root Schema : IncidentComments
Type:
Show Source
object
-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : IncidentComment
Type:
Show Source
object
-
commentDate(optional):
string(date-time)
Read Only:
true
Date and time when comment was created in ISO-8601 format. Automatically assigned on backend during creation of the comment. -
id(optional):
string
Read Only:
true
The unique id of the objectExample:53
-
links(optional):
array links
-
state(optional):
string
Read Only:
true
Allowed Values:[ "NEW", "OPEN", "WORK_IN_PROGRESS", "RESOLVED", "WITHDRAWN", "SEND_TO_EXTERNAL_PROCESSING" ]
State of the incident when comment was created. Automatically assigned on backend during creation of the comment.Example:OPEN
-
text:
string
Text of the comment. Cannot be blank.Example:
My comment for the incident
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type