Get a hazard comment.
get
/connectedWorker/clientapi/v2/orgs/{orgId}/projects/{projectId}/hazards/{hazardId}/comments/{commentId}
This operation retrieves the specific comment for a specific hazard.
Request
Path Parameters
-
commentId: string
Hazard comment identifier
-
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 comment was successfully retrieved.
Root 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