工单回复列表

GET /apiv2/tickets/{ticket_id}/comments.json

Note:默认按创建时间先后顺序排列,可添加排序参数:


sort_order:排序规则,可选值:asc,desc (默认为asc)

调用权限

agents

curl 示例
curl https://{subdomain}.kf5.com/apiv2/tickets/{ticket_id}/comments.json \
 -v -u {email_address}:{password}
返回示例
Status: 200 OK{
  "comments": [
    {
      "id": 100,
      "content": "My ticket comment",
      ...    },
    {
      "id": 101,
      "content": "My other ticket comment",
      ...    }
  ]}