Token 列表
开发中GET
/user/tokens请求参数
无
示例代码
[api.label.responses]
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
[response.label.jsonSchema]
status
string
必需
message
string
必需
data
object
必需
data
array [object {5}]
必需
links
object
必需
meta
object
必需
time
integer
必需
[api.label.example]
{
"status": "success",
"message": "success",
"data": {
"data": [
{
"id": 1,
"name": "admin@qq.com",
"last_used_at": null,
"expires_at": null,
"created_at": "2024-12-16T08:44:20.000000Z"
},
{
"id": 2,
"name": "admin@qq.com",
"last_used_at": "2024-12-18T08:52:38.000000Z",
"expires_at": null,
"created_at": "2024-12-16T08:46:57.000000Z"
},
{
"id": 4,
"name": "123",
"last_used_at": null,
"expires_at": null,
"created_at": "2024-12-23T02:11:44.000000Z"
},
{
"id": 5,
"name": "123",
"last_used_at": null,
"expires_at": null,
"created_at": "2024-12-23T02:12:17.000000Z"
},
{
"id": 6,
"name": "123",
"last_used_at": null,
"expires_at": null,
"created_at": "2024-12-23T02:14:40.000000Z"
},
{
"id": 7,
"name": "123",
"last_used_at": null,
"expires_at": "2024-12-23T16:00:00.000000Z",
"created_at": "2024-12-23T02:18:13.000000Z"
},
{
"id": 8,
"name": "123",
"last_used_at": null,
"expires_at": "2024-12-23T16:00:00.000000Z",
"created_at": "2024-12-23T02:18:27.000000Z"
},
{
"id": 9,
"name": "admin@qq.com",
"last_used_at": null,
"expires_at": null,
"created_at": "2024-12-23T02:34:40.000000Z"
},
{
"id": 10,
"name": "123",
"last_used_at": null,
"expires_at": "2024-12-23T16:00:00.000000Z",
"created_at": "2024-12-23T02:35:28.000000Z"
},
{
"id": 11,
"name": "admin@qq.com",
"last_used_at": "2024-12-23T02:52:10.000000Z",
"expires_at": null,
"created_at": "2024-12-23T02:45:15.000000Z"
}
],
"links": {
"first": "http://127.0.0.1:8000/api/v2/user/tokens?page=1",
"last": "http://127.0.0.1:8000/api/v2/user/tokens?page=1",
"prev": null,
"next": null
},
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"links": [
{
"url": null,
"label": "« 上一页",
"active": false
},
{
"url": "http://127.0.0.1:8000/api/v2/user/tokens?page=1",
"label": "1",
"active": true
},
{
"url": null,
"label": "下一页 »",
"active": false
}
],
"path": "http://127.0.0.1:8000/api/v2/user/tokens",
"per_page": 20,
"to": 10,
"total": 10
}
},
"time": 1734922792
}
[updatedIn] 12 小时前