Get all Comments for an Agent
GET
/api/v2/agents/{agent_id}/comments
Agents/Agent Commentv2
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/api/v2/agents//comments'
Response Response Example
200 - Example 1
{
"success": true,
"message": "string",
"data": {
"comments": [
{
"id": 0,
"user": {
"id": 0,
"email": "user@example.com",
"is_staff": true,
"is_superuser": true,
"is_active": true,
"date_joined": "2019-08-24T14:15:22Z",
"first_name": "string",
"last_name": "string",
"organization": {
"id": 0,
"org_name": "string",
"domain": "string",
"description": "string",
"org_logo_url": "string",
"org_icon_url": "string",
"is_deleted": true,
"created_by": "string",
"created_on": "2019-08-24T14:15:22Z",
"modified_by": "string",
"modified_on": "2019-08-24T14:15:22Z"
}
},
"comment": "string",
"submit_date": "2019-08-24T14:15:22Z",
"is_public": true,
"is_removed": true,
"agent": {
"property1": null,
"property2": null
}
}
]
}
}
Request
Path Params
agent_id
integerÂ
required