查询日志 - [DONE] - [Levin]
GET
/login_logs
请求参数
Authorization
在 Header 添加参数
Authorization
,其值为在 Bearer 之后拼接 Token示例:
Authorization: Bearer ********************
Query 参数
current
integer <int64>
当前页码
默认值:
1
示例值:
1
size
integer <int64>
分页大小
默认值:
20
示例值:
20
column
string
排序字段
示例值:
id
asc
boolean
排序规则
默认值:
true
示例值:
true
principal
string
账号
nickName
string
名称
platform
string
请求平台
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://127.0.0.1:9000/login_logs'
返回响应
🟢200成功
application/json
Body
No schema defined
示例
{
"records": [
{
"id": 0,
"createdBy": 0,
"createdName": "",
"createdTime": {
"seconds": 0,
"nanos": 0
},
"ip": "",
"tenantId": 0,
"tenantCode": "",
"principal": "",
"platform": "",
"engine": "",
"browser": "",
"os": "",
"location": "",
"clientId": "",
"loginType": ""
}
],
"total": 0,
"size": 0,
"current": 0,
"orders": [
{
"column": "",
"asc": false
}
],
"optimizeCountSql": false,
"searchCount": false,
"optimizeJoinOfCountSql": false,
"maxLimit": 0,
"countId": ""
}