21.4. listAllLogs
列出当前系统的使用日志。
GET /api/v1/superuser/logs
授权: oauth2_implicit (超级:user)
查询参数
| 类型 | Name | 描述 | 模式 |
|---|---|---|---|
| query |
next_page | 下一页面的页面令牌 | 字符串 |
| query |
页 | 日志的页面号 | 整数 |
| query |
ENDTIME | 获取日志的最新时间(%m/%d/%Y %Z) | 字符串 |
| query |
startTime | 从中获取日志的最早时间(%m/%d/%Y %Z) | 字符串 |
响应
示例命令
$ curl -X GET \
-H "Authorization: Bearer <bearer_token>" \
"https://<quay_server>/api/v1/superuser/logs?starttime=<start_time>&endtime=<end_time>&page=<page_number>&next_page=<next_page_token>"