Skip to content

GET /api/user-channels ​

请求 ​

项内容
方法GET
路径/api/user-channels
鉴权管理员

Header 参数 ​

参数位置类型必填说明
AuthorizationHeaderstring是Bearer <jwt>。
Content-TypeHeaderstring否无请求体时不需要。

Path 参数 ​

无。

Query 参数 ​

无。

Body 参数 ​

无。

返回值 ​

用户渠道列表。

返回字段 ​

字段类型说明
idnumber用户可见渠道 ID。
namestring渠道名称。
descriptionstring渠道描述。
multiplierstring/number用户渠道倍率。
routing_algorithmstring路由算法:priority、round_robin、weighted_round_robin。
enabledboolean是否启用。
channelsarray关联上级渠道数组,管理端列表会预加载。
created_atstring创建时间。
updated_atstring更新时间。

错误 ​

状态码说明
400参数不合法。
401未登录或登录失效。
403无权限。
404资源不存在。
500服务端错误。

基于 MIT 协议发布(社区版)