mirror of
https://github.com/TeaOSLab/EdgeCommon.git
synced 2026-02-19 07:05:37 +08:00
增加API注释
This commit is contained in:
33
pkg/rpc/jsons/origin_refs.md
Normal file
33
pkg/rpc/jsons/origin_refs.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# 源站引用列表
|
||||
|
||||
## 定义
|
||||
~~~json
|
||||
[
|
||||
{
|
||||
"isOn": "是否启用",
|
||||
"originId": "源站ID 1"
|
||||
},
|
||||
{
|
||||
"isOn": "是否启用",
|
||||
"originId": "源站ID 2"
|
||||
},
|
||||
...
|
||||
]
|
||||
~~~
|
||||
|
||||
其中:
|
||||
* `originId` - 源站ID,可以通过 `/OriginService/createOrigin` 接口创建源站后获得
|
||||
|
||||
## 示例
|
||||
~~~json
|
||||
[
|
||||
{
|
||||
"isOn": true,
|
||||
"originId": 1
|
||||
},
|
||||
{
|
||||
"isOn": true,
|
||||
"originId": 2,
|
||||
}
|
||||
]
|
||||
~~~
|
||||
Reference in New Issue
Block a user