获取额外存储类型列表_全部_简要
POST
/myauth/web/getStorageTypeListEx
请求参数
Header 参数
token
string
必需
示例值:
a9c2d5d97ddb454ab944aa60383c183e
Body 参数application/json
type
string
关键词
fromSoftId
string
所属软件id
示例
{
"type": "加载插件",
"fromSoftId": 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 '/myauth/web/getStorageTypeListEx' \
--header 'token: a9c2d5d97ddb454ab944aa60383c183e' \
--header 'Content-Type: application/json' \
--data-raw '{
"type": "加载插件",
"fromSoftId":1
}'
返回响应
🟢200成功
application/json
Body
code
integer
必需
success
boolean
必需
msg
string
必需
sign
string
必需
result
array [object {2}]
必需
id
integer
必需
type
string
必需
timestamp
integer
必需
示例
{
"code": 200,
"success": true,
"msg": "获取成功",
"sign": "",
"result": [
{
"id": 1,
"type": "测试2"
},
{
"id": 2,
"type": "测试"
}
],
"timestamp": 1648890149396
}
🔴500错误
修改于 2022-04-08 02:27:23