[TOC] ## 获取四层转发组列表 ~~~[api] get:/v1/stream-groups integer:page=1#当前页码 integer:limit=10#单页显示数量 <<< 返回结果 { "code": 0, "count": 2, "data": [ { "des": "", "id": 2, "name": "API", "uid": 2 }, { "des": "", "id": 1, "name": "游戏", "uid": 2 } ] } ~~~ ## 新增转发组 ~~~[api] post:/v1/stream-groups *string:name#转发组名称 des#备注 <<< success { "code": 0, "data": "", "msg": "转发组添加成功" } <<< 提交内容 { "name": "转发组名称" } ~~~ ## 获取指定转发组详情 ~~~[api] get:/v1/stream-groups/1 <<< 返回结果 { "code": 0, "data": { "des": "", "id": 1, "name": "游戏", "uid": 2 }, "msg": "" } ~~~ ## 修改指定转发组 ~~~[api] get:/v1/stream-groups/<转发组ID> string:name#转发组名称 des#备注 <<< 返回结果 { "code": 0, "data": "", "msg": "更新转发组成功" } <<< 提交内容 { "name": "新转发组名称" } ~~~ ## 删除转发组 ~~~[api] delete:/v1/stream-groups/<转发组ID,多个以逗号分隔> <<< 返回结果 { "code": 0, "data": "", "msg": "转发组删除成功" } ~~~