bugfix
This commit is contained in:
parent
a229e4084b
commit
15d0c1e84e
@ -109,6 +109,90 @@
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
## 下游APIkey
|
||||||
|
|
||||||
|
### 获得apikey list
|
||||||
|
* path /dapi/downapps.dspy
|
||||||
|
* method GET
|
||||||
|
* return
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"status": "ok",
|
||||||
|
"data": {
|
||||||
|
"apikeys": [
|
||||||
|
{
|
||||||
|
"id": # 应用id
|
||||||
|
"appname": # 应用名
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
or
|
||||||
|
{
|
||||||
|
"status": "error",
|
||||||
|
"data": {
|
||||||
|
"message": # 出错信息
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
### 申请APIkey
|
||||||
|
* path /dapi/apply_apikey.dspy
|
||||||
|
* method POST
|
||||||
|
* headers
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"Content-Type": "application/json"
|
||||||
|
}
|
||||||
|
```
|
||||||
|
* data
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"appname": # 必须
|
||||||
|
"description": # 可选
|
||||||
|
}
|
||||||
|
```
|
||||||
|
* return
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"status": "ok"
|
||||||
|
}
|
||||||
|
or
|
||||||
|
{
|
||||||
|
"status": "error",
|
||||||
|
"data": {
|
||||||
|
"message": 出错信息
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
### 查看AKIKEY
|
||||||
|
* path /dapi/get_apikey.dspy
|
||||||
|
* method GET
|
||||||
|
* params
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"id": # "获得apikey list" 返回到id
|
||||||
|
}
|
||||||
|
```
|
||||||
|
* return
|
||||||
|
```
|
||||||
|
{
|
||||||
|
"status": "ok",
|
||||||
|
"data": {
|
||||||
|
"appname": # app名称
|
||||||
|
"aapikey": # apikey
|
||||||
|
"secretkey": # 加密key
|
||||||
|
}
|
||||||
|
}
|
||||||
|
or
|
||||||
|
{
|
||||||
|
"status": "error",
|
||||||
|
"data": {
|
||||||
|
"message": # 出错信息
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
## 账户管理
|
## 账户管理
|
||||||
|
|
||||||
### 查询账户余额
|
### 查询账户余额
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user