mirror of
https://github.com/Zhuym07/Tsumugiboshi.git
synced 2025-05-20 02:57:27 +08:00
103 lines
2.6 KiB
JSON
103 lines
2.6 KiB
JSON
{
|
|
"title": "API调试工具",
|
|
"theme": "light",
|
|
"apis": [
|
|
{
|
|
"name": "二维码扫描",
|
|
"type": "qr",
|
|
"endpoint": "/qr",
|
|
"method": "GET",
|
|
"params": [
|
|
{
|
|
"key": "qrcode",
|
|
"label": "二维码内容",
|
|
"type": "qr",
|
|
"required": true
|
|
}
|
|
],
|
|
"responseFields": ["status", "timestamp", "info", "apiName", "date", "userId"]
|
|
},
|
|
{
|
|
"name": "发送6倍券",
|
|
"type": "action",
|
|
"endpoint": "/ticket",
|
|
"method": "GET",
|
|
"params": [
|
|
{
|
|
"key": "userid",
|
|
"label": "用户ID",
|
|
"type": "text",
|
|
"required": true,
|
|
"source": "userId"
|
|
}
|
|
],
|
|
"responseFields": ["status", "timestamp", "info", "apiName", "date", "userId"]
|
|
},
|
|
{
|
|
"name": "保存99公里",
|
|
"type": "action",
|
|
"endpoint": "/mapstock",
|
|
"method": "GET",
|
|
"params": [
|
|
{
|
|
"key": "userid",
|
|
"label": "用户ID",
|
|
"type": "text",
|
|
"required": true,
|
|
"source": "userId"
|
|
}
|
|
],
|
|
"responseFields": ["status", "timestamp", "info", "apiName", "date", "userId"]
|
|
},
|
|
{
|
|
"name": "解锁DX曲目",
|
|
"type": "action",
|
|
"endpoint": "/unlock",
|
|
"method": "GET",
|
|
"params": [
|
|
{
|
|
"key": "userid",
|
|
"label": "用户ID",
|
|
"type": "text",
|
|
"required": true,
|
|
"source": "userId"
|
|
}
|
|
],
|
|
"responseFields": ["status", "timestamp", "info", "apiName", "date", "userId"]
|
|
},
|
|
{
|
|
"name": "更新音乐数据",
|
|
"type": "form",
|
|
"endpoint": "/music",
|
|
"method": "POST",
|
|
"params": [
|
|
{
|
|
"key": "userId",
|
|
"label": "用户ID",
|
|
"type": "text",
|
|
"required": true,
|
|
"source": "userId"
|
|
},
|
|
{
|
|
"key": "musicId",
|
|
"label": "音乐ID",
|
|
"type": "number",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "level",
|
|
"label": "难度",
|
|
"type": "number",
|
|
"required": true
|
|
},
|
|
{
|
|
"key": "playCount",
|
|
"label": "游玩次数",
|
|
"type": "number",
|
|
"required": true
|
|
}
|
|
],
|
|
"responseFields": ["status", "timestamp", "info", "apiName", "date", "userId"]
|
|
}
|
|
]
|
|
} |