GET /logsets HTTP/1.1Host: <Region>.cls.tencentyun.comAuthorization: <AuthorizationString>
GET /logsets
HTTP/1.1 200 OKContent-Type: application/jsonContent-Length: 123{"logsets": [{"logset_id": "xxxx-xx-xx-xx-xxxxxxxx","logset_name": "testname","period": 15,"create_time": "2017-08-08 12:12:12","assumer_uin": 1000088888,"assumer_name": "xxxxxx","logset_modify_acl": 31}]}
Field Name | Type | Required | Description |
logsets | JsonArray | Yes | Logset information array |
LogsetInfo is in the following format:Field Name | Type | Required | Description |
logset_id | string | Yes | Logset ID |
logset_name | string | Yes | Logset name |
period | int | Yes | Retention period in days |
create_time | string | No | Creation time |
assumer_uin | uint64 | No | uin of the service that creates the logset (this field is present only when a general account views the logsets created by a service account) |
assumer_name | string | No | Name of the service that creates the logset (this field is present only when a general account views the logsets created by a service account) |
logset_modify_acl | int | No | General user's permission to modify logsets, i.e., modify_acl (0B00000: modification prohibited, 0B00001: modification allowed for basic information) (this field is present only when a general account views the logsets created by a service account) |
Feedback