{"base_path":"/","components":null,"consumes":"[\"application/json\"]","definitions":{"Auditlog":{"description":"审计日志信息。","properties":{"begin_time":{"description":"审计日志开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。\n\n其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。","type":"string"},"end_time":{"description":"审计日志结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”。\n\n其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。","type":"string"},"id":{"description":"审计日志ID。","type":"string"},"name":{"description":"审计日志文件名。","type":"string"},"size":{"description":"审计日志大小,单位:KB。","format":"double","type":"number"}}},"ErrorResponse":{"properties":{"error_code":{"description":"错误码。","example":"DBS.200022","type":"string"},"error_msg":{"description":"错误消息。","example":"实例名称已存在。","type":"string"}},"required":["error_code","error_msg"]},"ListAuditlogResponseBody":{"properties":{"auditlogs":{"items":{"$ref":"#/definitions/Auditlog"},"type":"array"},"total_record":{"description":"总记录数。","type":"integer"}},"required":["auditlogs","total_record"]}},"description":null,"group_id":"b7735f867ef44182af9eb77490a46fbf","host":"rds.cn-north-4.myhuaweicloud.com","id":"904a555de6524223982d28c3bfec679f","info_version":"v3","method":"get","name":"ListAuditlogs","parameters":{},"paths":{"/v3/{project_id}/instances/{instance_id}/auditlog":{"get":{"description":"获取审计日志列表。","operationId":"ListAuditlogs","parameters":[{"description":"用户Token。","in":"header","name":"x-auth-token","type":"string","x-example":"******"},{"description":"语言","in":"header","name":"X-Language","type":"string","x-example":"zh-cn"},{"description":"项目ID。","in":"path","name":"project_id","required":true,"type":"string","x-example":"619d3e78f61b4be68bc5aa0b59edcf7b"},{"description":"实例ID。","in":"path","name":"instance_id","required":true,"type":"string","x-example":"e73893ef73754465a8bd2e0857bbf13ein01"},{"description":"查询开始时间,格式为“yyyy-mm-ddThh:mm:ssZ”。\n\n其中,T指某个时间的开始;Z指时区偏移量,例如北京时间偏移显示为+0800。","in":"query","name":"start_time","required":true,"type":"string","x-example":"2018-08-06T10:41:14+0800"},{"description":"查询结束时间,格式为“yyyy-mm-ddThh:mm:ssZ”,且大于查询开始时间,时间跨度不超过30天。\n\n其中,T指某个时间的开始,Z指时区偏移量,例如北京时间偏移显示为+0800。","in":"query","name":"end_time","required":true,"type":"string","x-example":"2018-08-07T10:41:14+0800"},{"description":"索引位置,偏移量。\n\n从第一条数据偏移offset条数据后开始查询,默认为0(偏移0条数据,表示从第一条数据开始查询),必须为数字,不能为负数。","in":"query","name":"offset","required":true,"type":"integer"},{"description":"查询记录数。取值范围[1, 50]。","in":"query","name":"limit","required":true,"type":"integer"}],"responses":{"200":{"description":"Success.","examples":{"application/json":{"auditlogs":[{"begin_time":"2019-11-06T09:03:34+0800","end_time":"2019-11-06T10:39:15+0800","id":"fa163ea0e2bet11e9d832166a2cf894c5br01","name":"317156_20190916032844_eb8fe5d181ec44a2850302691541f760in01_Audit_166a2cf8-d832-11e9-94c5-fa163ea0e2be","size":20481.835938},{"begin_time":"2019-11-07T09:04:35+0800","end_time":"2019-11-07T10:38:16+0800","id":"fa163ea0e2bet11e9d832136a668094c5br01","name":"317162_20190916032838_eb8fe5d181ec44a2850302691541f760in01_Audit_136a6680-d832-11e9-94c5-fa163ea0e2be","size":20481.835938}],"total_record":2}},"schema":{"$ref":"#/definitions/ListAuditlogResponseBody"}},"default":{"description":"Client or server error.","schema":{"$ref":"#/definitions/ErrorResponse"}}},"summary":"获取审计日志列表","tags":["获取日志信息"],"x-request-examples-description-1":"","x-request-examples-url-1":"GET https://rds.cn-north-1.myhuaweicloud.com/v3/054e292c9880d4992f02c0196d3ea468/instances/3d39c18788b54a919bab633874c159dfin01/auditlog?start_time=2018-09-15T06:25:43+0800&end_time=2018-09-16T10:40:15+0800&offset=0&limit=10","x-support-sdk":"Y"}}},"product_short":"RDS","region_id":"cn-north-4","schemes":["HTTPS"],"security_definitions":null,"summary":"获取审计日志列表","tags":"获取日志信息","uri":null,"version":"2.0"}