Get comments for hazard.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/projects/{projectId}/hazards/{hazardId}/comments
This operation retrieves comments for a specific hazard.
Request
Path Parameters
-
hazardId: string
Hazard identifier
-
orgId: string
Organization identifier
-
projectId: string
Project identifier
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Hazard comments were successfully retrieved.
Root Schema : HazardComments
Type:
Show Source
object
-
items:
array items
-
links(optional):
array links
Read Only:
true
Nested Schema : HazardComment
Type:
Show Source
object
-
created(optional):
string(date-time)
Read Only:
true
Time when the comment was added, in ISO-8601 format -
id(optional):
string
Read Only:
true
The unique id of the objectExample:53
-
links(optional):
array links
-
message:
string
Message of the comment, cannot be blankExample:
My comment for the hazard
Nested Schema : Link
Type:
Show Source
object
-
href:
string
The target resource's URI
-
rel:
string
Relation type