密钥状态
开发中
POST
/adminapi/setting.KeyPool/status
请求参数
Header 参数
token
string
可选
示例值:
{{adminToken}}
Body 参数application/json
id
integer
ID
示例
{
"id": 1
}
示例代码
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
请求示例请求示例
Shell
JavaScript
Java
Swift
curl --location --request POST '/adminapi/setting.KeyPool/status' \
--header 'token: {{adminToken}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"id": 1
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
show
integer
必需
msg
string
必需
data
object
必需
lists
array [object {6}]
必需
count
integer
必需
page_no
integer
必需
page_size
integer
必需
extend
array[string]
必需
示例
{
"code": 1,
"show": 0,
"msg": "",
"data": {
"lists": [
{
"id": 2,
"q": "你好",
"a": "不是很好",
"sort": 0,
"status": 0,
"create_time": "2023-11-27 15:58:00"
},
{
"id": 1,
"q": "你好",
"a": "不是很好",
"sort": 0,
"status": 0,
"create_time": "2023-11-27 15:57:32"
}
],
"count": 2,
"page_no": 1,
"page_size": 25,
"extend": []
}
}
修改于 2025-02-27 10:18:22