create_record_comment
/entities/{entity_id}/records/{record_id}/commentsAnyone who can read the record may comment while the entity takes comments
and the record's are open. A person mentioned who cannot read the record is
kept in the text, told nothing, and listed in unnotified.
A service principal's credential, or a person's access token, AgentFlow's own or an installed app's. A service principal's effective permissions are its role permissions intersected with the credential's scopes.
In: header
Path Parameters
Entity id
uuidRecord id
uuidHeader Parameters
A key of 1 to 255 printable ASCII characters. Repeating this request with the same key returns the original outcome instead of performing it again. A UUID is recommended.
1 <= length <= 255Request Body
application/json
The text, and any files the caller uploaded for it
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/entities/497f6eca-6276-4993-bfeb-53cbbbba6f08/records/497f6eca-6276-4993-bfeb-53cbbbba6f08/comments" \ -H "Content-Type: application/json" \ -d '{ "body": "string" }'{ "comment": { "author": { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" }, "body": "string", "can_delete": true, "can_edit": true, "created_at": "2019-08-24T14:15:22Z", "edited_at": "2019-08-24T14:15:22Z", "files": [ { "byte_size": 0, "content_type": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "mentions": { "property1": { "href": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "user", "label": "string", "state": "ok" }, "property2": { "href": "string", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "user", "label": "string", "state": "ok" } } }, "unnotified": [ { "name": "string", "user_id": "a169451c-8525-4352-b8ca-070dd449a1a5" } ]}