应用渠道接口
获取应用渠道列表
使用应用类型 ID 获取应用渠道列表
GET /api/schemes/:id/channels
参数
名称 | 类型 | 是否必须 | 描述 |
---|---|---|---|
id | Integer | true | 应用类型 ID |
返回样例
[
{
"slug": "PLHUv",
"name": "Android",
"device_type": "android",
"bundle_id": "*",
"git_url": null,
"has_password": false,
"key": "0f1d47d61f165643e5391e1b5df0ef92"
},
{
"slug": "nnP1s",
"name": "iOS",
"device_type": "ios",
"bundle_id": "*",
"git_url": null,
"has_password": true,
"key": "82acfdb50f8490f70f5e01a5a30ea6e0"
}
]
创建应用渠道
使用应用 ID 创建一个新的应用类型
POST /api/schemes/:id/channels