| | |
| | | "summary": "批量删除音频", |
| | | "parameters": [ |
| | | { |
| | | "description": "音频信息", |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | |
| | | "summary": "批量处理音频", |
| | | "parameters": [ |
| | | { |
| | | "description": "音频信息", |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | |
| | | "summary": "删除音频", |
| | | "parameters": [ |
| | | { |
| | | "description": "音频信息", |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | |
| | | "description": "成功", |
| | | "schema": { |
| | | "$ref": "#/definitions/util.Response" |
| | | } |
| | | } |
| | | } |
| | | } |
| | | }, |
| | | "/api-sa/v1/audio/follow": { |
| | | "post": { |
| | | "produces": [ |
| | | "application/json" |
| | | ], |
| | | "tags": [ |
| | | "音频" |
| | | ], |
| | | "summary": "关注/取消关注", |
| | | "parameters": [ |
| | | { |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | | "schema": { |
| | | "$ref": "#/definitions/request.FollowReq" |
| | | } |
| | | } |
| | | ], |
| | | "responses": { |
| | | "200": { |
| | | "description": "成功", |
| | | "schema": { |
| | | "allOf": [ |
| | | { |
| | | "$ref": "#/definitions/util.Response" |
| | | }, |
| | | { |
| | | "type": "object", |
| | | "properties": { |
| | | "data": { |
| | | "$ref": "#/definitions/response.FollowResp" |
| | | } |
| | | } |
| | | } |
| | | ] |
| | | } |
| | | } |
| | | } |
| | |
| | | "summary": "处理音频", |
| | | "parameters": [ |
| | | { |
| | | "description": "音频信息", |
| | | "description": "参数", |
| | | "name": "object", |
| | | "in": "body", |
| | | "required": true, |
| | |
| | | "occurrenceTime": { |
| | | "type": "string" |
| | | }, |
| | | "score": { |
| | | "description": "置信度", |
| | | "type": "number" |
| | | }, |
| | | "size": { |
| | | "description": "音频大小", |
| | | "type": "integer" |
| | |
| | | } |
| | | } |
| | | }, |
| | | "request.FollowReq": { |
| | | "type": "object", |
| | | "required": [ |
| | | "id" |
| | | ], |
| | | "properties": { |
| | | "id": { |
| | | "type": "integer" |
| | | } |
| | | } |
| | | }, |
| | | "request.ProcessAudio": { |
| | | "type": "object", |
| | | "required": [ |
| | |
| | | } |
| | | } |
| | | }, |
| | | "response.FollowResp": { |
| | | "type": "object", |
| | | "properties": { |
| | | "followStatus": { |
| | | "$ref": "#/definitions/constvar.BoolType" |
| | | } |
| | | } |
| | | }, |
| | | "util.Response": { |
| | | "type": "object", |
| | | "properties": { |