Comments
Get comments for an entity
Changed onGet comments for an entity in Betayum. Create and manage collaboration comments on compliance entities such as tasks, policies, risks, vendors, and findings.
get/v1/comments
Request
- Base URLhttps://api.betayum.com
- URLhttps://api.betayum.com/v1/comments
- AuthAPI key in header X-API-Key
Query parameters
entityIdstring required
Example:tsk_abc123def456
ID of the entity to get comments for
entityType'task' | 'vendor' | 'risk' | 'policy' | 'finding' required
Type of entity
Response
Comments retrieved successfully
Example response
[
{
"id": "cmt_abc123def456",
"content": "This task needs to be completed by end of week",
"author": {
"id": "usr_abc123def456",
"name": "John Doe",
"email": "john.doe@company.com"
},
"attachments": [
{
"id": "att_abc123def456",
"name": "document.pdf",
"type": "application/pdf",
"createdAt": "2024-01-15T10:30:00Z"
}
],
"createdAt": "2024-01-15T10:30:00Z"
}
]Changes
- info
added the new enum value
findingto thequeryrequest parameterentityType
- info
- breaking
removed the enum value
findingfrom thequeryrequest parameterentityType
- breaking