GET /topic/machinegroup?topic_id=xxxx-xx-xx-xx-xxxxxxxx HTTP/1.1Host: <Region>.cls.tencentyun.comAuthorization: <Authorization String>
GET /topic/machinegroup
Field Name | Type | Location | Required | Description |
topic_id | string | query | Yes | ID of the log topic to be queried |
HTTP/1.1 200 OKContent-Type: application/jsonContent-Length: 123{"machine_groups": [{"group_id": "xxxx-xx-xx-xx-yyyyyyyy","group_name": "testname"},{"group_id": "xxxx-xx-xx-xx-zzzzzzzz","group_name": "testname1"}]}
Field Name | Type | Required | Description |
machine_groups | JsonArray | Yes | Array of machine groups bound to log topic |
machine_groups is in the following format:Field Name | Type | Required | Description |
group_id | string | Yes | Machine group ID |
group_name | string | Yes | Machine group name |
Feedback