@@ -0,0 +1,27 @@
+delete:
+ summary: delete the specified resource.
+ tags:
+ - channel
+ description: 删除某个channel
+ parameters:
+ - name: channelId
+ in: path
+ required: true
+ description: channel uuid
+ schema:
+ type: string
+ responses:
+ "200": # status code
+ description: A JSON array of channel information
+ content:
+ application/json:
+ type: object
+ properties:
+ ok:
+ type: boolean
+ message:
+ data:
+ $ref: "./channel.yaml"
@@ -0,0 +1,42 @@
+post:
+ summary: Store a newly created resource in storage.
+ requestBody:
+ description: 新建channel参数
+ name:
+ studio:
+ required:
+ - name
+ - studio