Skip to content

Let's use AI to Earn!

文档提交

daoyianc6ef5b58cb9c
diff --git a/docs/api.json b/docs/api.json
new file mode 100644
index 00000000..8aa7cc96
--- /dev/null
+++ b/docs/api.json
@@ -0,0 +1,12207 @@
+{
+ "openapi": "3.0.0",
+ "paths": {
+ "/": {
+ "get": {
+ "operationId": "AppController_getHello",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "App"
+ ]
+ }
+ },
+ "/api/test/addDefaultContent": {
+ "get": {
+ "operationId": "TestController_addDefaultContent",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "tags": [
+ "测试"
+ ]
+ }
+ },
+ "/api/user/info/mail/{mail}": {
+ "get": {
+ "description": "用户信息",
+ "operationId": "UserController_infoByMail",
+ "parameters": [
+ {
+ "name": "mail",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "用户信息",
+ "tags": [
+ "用户"
+ ]
+ }
+ },
+ "/api/user/mine": {
+ "get": {
+ "description": "获取自己的用户信息",
+ "operationId": "UserController_getUserInfoById",
+ "parameters": [],
+ "responses": {
+ "200": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserResDto"
+ }
+ }
+ }
+ },
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取自己的用户信息",
+ "tags": [
+ "用户"
+ ]
+ }
+ },
+ "/api/user/info/update": {
+ "put": {
+ "description": "更新用户信息",
+ "operationId": "UserController_updateInfo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateUserInfoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新用户信息",
+ "tags": [
+ "用户"
+ ]
+ }
+ },
+ "/api/user/vip/set": {
+ "put": {
+ "description": "更新用户VIP信息",
+ "operationId": "UserController_updateVipInfo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateVipInfoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新用户VIP信息",
+ "tags": [
+ "用户"
+ ]
+ }
+ },
+ "/api/login/mail": {
+ "post": {
+ "description": "邮箱登陆/注册",
+ "operationId": "LoginController_loginByMail",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MailLoginDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "邮箱登陆/注册",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/mail/regist/url": {
+ "get": {
+ "description": "用户点击链接后,进行注册,返回注册结果的html文本",
+ "operationId": "LoginController_registByMail",
+ "parameters": [
+ {
+ "name": "mail",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "邮箱",
+ "type": "string"
+ }
+ },
+ {
+ "name": "code",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "邮箱注册确认",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/mail/regist/back": {
+ "post": {
+ "description": "轮询获取",
+ "operationId": "LoginController_getRegistByMailBack",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetRegistByMailBackDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取邮箱注册返回",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/repassword/mail": {
+ "post": {
+ "description": "邮箱重置密码",
+ "operationId": "LoginController_repasswordByMail",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MailRepasswordDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "邮箱重置密码",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/repassword/mail/back/url": {
+ "get": {
+ "description": "用户点击链接后,进行重设",
+ "operationId": "LoginController_repasswordUrlByMail",
+ "parameters": [
+ {
+ "name": "mail",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "邮箱",
+ "type": "string"
+ }
+ },
+ {
+ "name": "code",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "邮箱重设密码",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/repassword/mail/back": {
+ "post": {
+ "description": "轮询获取",
+ "operationId": "LoginController_getRepasswordByMailBack",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetRegistByMailBackDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "邮箱重设密码",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/google": {
+ "post": {
+ "description": "google登录",
+ "operationId": "LoginController_loginByGoogle",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GoogleLoginDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "google登录",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/cancel/code": {
+ "get": {
+ "description": "获取注销验证码",
+ "operationId": "LoginController_getCancelMailCode",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取注销验证码",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/login/cancel": {
+ "delete": {
+ "description": "注销",
+ "operationId": "LoginController_cancelByMail",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserCancelDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "注销",
+ "tags": [
+ "用户登录-login"
+ ]
+ }
+ },
+ "/api/user/pop/code": {
+ "get": {
+ "operationId": "UserPopController_generateUsePopularizeCode",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "生成并获取自己的推广码",
+ "tags": [
+ "用户推广"
+ ]
+ }
+ },
+ "/api/feedback": {
+ "post": {
+ "description": "提交反馈",
+ "operationId": "FeedbackController_createFeedback",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateFeedBackDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "提交反馈",
+ "tags": [
+ "反馈"
+ ]
+ }
+ },
+ "/api/gologin": {
+ "get": {
+ "operationId": "GologinController_toTest",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "指纹浏览器"
+ ]
+ }
+ },
+ "/api/file/uploadUrl": {
+ "get": {
+ "description": "获取分片上传的签名URL",
+ "operationId": "FileController_getUploadPartUrl",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取分片上传的签名URL",
+ "tags": [
+ "文件"
+ ]
+ }
+ },
+ "/api/file/upload": {
+ "post": {
+ "description": "存入临时目录",
+ "operationId": "FileController_uploadFile",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "multipart/form-data": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "file": {
+ "type": "string",
+ "format": "binary"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "上传文件",
+ "tags": [
+ "文件"
+ ]
+ }
+ },
+ "/api/file/uploadPart/init": {
+ "post": {
+ "description": "初始化文件分片上传",
+ "operationId": "FileController_initiateMultipartUpload",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InitMultipartUploadDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "初始化文件分片上传",
+ "tags": [
+ "文件"
+ ]
+ }
+ },
+ "/api/file/uploadPart/upload": {
+ "post": {
+ "description": "上传文件分片",
+ "operationId": "FileController_uploadPart",
+ "parameters": [
+ {
+ "name": "fileId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "文件key",
+ "type": "string"
+ }
+ },
+ {
+ "name": "uploadId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "上传ID",
+ "type": "string"
+ }
+ },
+ {
+ "name": "partNumber",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "分片索引",
+ "type": "number"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "multipart/form-data": {
+ "schema": {
+ "type": "object",
+ "properties": {
+ "file": {
+ "type": "string",
+ "format": "binary"
+ },
+ "fileId": {
+ "type": "string"
+ },
+ "uploadId": {
+ "type": "string"
+ },
+ "partNumber": {
+ "type": "number"
+ }
+ }
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "上传文件分片",
+ "tags": [
+ "文件"
+ ]
+ }
+ },
+ "/api/file/uploadPart/complete": {
+ "post": {
+ "description": "合并文件分片",
+ "operationId": "FileController_completeMultipartUpload",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CompletePartDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "合并文件分片",
+ "tags": [
+ "文件"
+ ]
+ }
+ },
+ "/api/plat/publish/create": {
+ "post": {
+ "operationId": "PublishController_create",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreatePublishDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建发布",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/publish/run/{id}": {
+ "get": {
+ "operationId": "PublishController_run",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "立即执行发布任务(测试用)",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/publish/createRecord": {
+ "post": {
+ "operationId": "PublishController_createRecord",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreatePublishRecordDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建发布记录",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/publish/getList": {
+ "post": {
+ "operationId": "PublishController_getList",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PubRecordListFilterDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "200": {
+ "description": "返回发布记录列表",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/PublishRecordItemDto"
+ }
+ }
+ }
+ }
+ },
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取发布记录",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/publish/updateTaskTime": {
+ "post": {
+ "operationId": "PublishController_updatePublishRecordTime",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdatePublishRecordTimeDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "修改发布任务时间",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/publish/delete/{id}": {
+ "delete": {
+ "operationId": "PublishController_delete",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除发布任务,注意,只能删除未发布的任务,不能删除已经发布的记录",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/publish/nowPubTask/{id}": {
+ "post": {
+ "operationId": "PublishController_nowPubTask",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "立即发布任务(在n天之后的任务想要立即发布)",
+ "tags": [
+ "plat/publish - 平台发布"
+ ]
+ }
+ },
+ "/api/plat/test/authPage": {
+ "post": {
+ "operationId": "PlatTestController_setAuthPage",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "plat/test - 平台测试"
+ ]
+ }
+ },
+ "/api/plat/test/authPage/{id}": {
+ "get": {
+ "operationId": "PlatTestController_getAuthPage",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "tags": [
+ "plat/test - 平台测试"
+ ]
+ }
+ },
+ "/api/channel/interact/addArcComment": {
+ "post": {
+ "operationId": "InteractController_addArcComment",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AddArcCommentDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "添加作品评论",
+ "tags": [
+ "渠道互动"
+ ]
+ }
+ },
+ "/api/channel/interact/getArcCommentList/{pageNo}/{pageSize}": {
+ "get": {
+ "operationId": "InteractController_getArcCommentList",
+ "parameters": [
+ {
+ "name": "recordId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取作品的评论列表",
+ "tags": [
+ "渠道互动"
+ ]
+ }
+ },
+ "/api/channel/interact/replyComment": {
+ "post": {
+ "operationId": "InteractController_replyComment",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReplyCommentDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "回复评论",
+ "tags": [
+ "渠道互动"
+ ]
+ }
+ },
+ "/api/channel/interact/delComment": {
+ "delete": {
+ "operationId": "InteractController_delComment",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DelCommentDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除评论",
+ "tags": [
+ "渠道互动"
+ ]
+ }
+ },
+ "/api/channel/dataCube/accountDataCube/{accountId}": {
+ "get": {
+ "operationId": "DataCubeController_getAccountDataCube",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号的统计数据",
+ "tags": [
+ "渠道用户数据"
+ ]
+ }
+ },
+ "/api/channel/dataCube/getAccountDataBulk/{accountId}": {
+ "get": {
+ "operationId": "DataCubeController_getAccountDataBulk",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号的统计数据",
+ "tags": [
+ "渠道用户数据"
+ ]
+ }
+ },
+ "/api/channel/dataCube/getArcDataCube/{accountId}/{dataId}": {
+ "get": {
+ "operationId": "DataCubeController_getArcDataCube",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "dataId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号的统计数据",
+ "tags": [
+ "渠道用户数据"
+ ]
+ }
+ },
+ "/api/channel/dataCube/getArcDataBulk/{accountId}/{dataId}": {
+ "get": {
+ "operationId": "DataCubeController_getArcDataBulk",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "dataId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号的统计数据",
+ "tags": [
+ "渠道用户数据"
+ ]
+ }
+ },
+ "/api/channel/skKey": {
+ "post": {
+ "description": "创建skKey",
+ "operationId": "SkKeyController_create",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateSkKeyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "创建skKey",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ },
+ "put": {
+ "description": "更新skKey",
+ "operationId": "SkKeyController_upInfo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SkKeyUpInfoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新skKey",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ }
+ },
+ "/api/channel/skKey/ref": {
+ "delete": {
+ "description": "删除关联",
+ "operationId": "SkKeyController_delRefAccount",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除关联",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ },
+ "post": {
+ "description": "创建关联",
+ "operationId": "SkKeyController_addRefAccount",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SkKeyAddRefAccountDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "创建关联",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ }
+ },
+ "/api/channel/skKey/{key}": {
+ "delete": {
+ "description": "删除skKey",
+ "operationId": "SkKeyController_del",
+ "parameters": [
+ {
+ "name": "key",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除skKey",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ }
+ },
+ "/api/channel/skKey/info/{key}": {
+ "get": {
+ "description": "获取skKey",
+ "operationId": "SkKeyController_getInfo",
+ "parameters": [
+ {
+ "name": "key",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取skKey",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ }
+ },
+ "/api/channel/skKey/list/{pageNo}/{pageSize}": {
+ "get": {
+ "description": "获取skKey列表",
+ "operationId": "SkKeyController_list",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取skKey列表",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ }
+ },
+ "/api/channel/skKey/ref/list/{pageNo}/{pageSize}": {
+ "get": {
+ "description": "获取关联列表",
+ "operationId": "SkKeyController_getRefAccountList",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ },
+ {
+ "name": "key",
+ "required": true,
+ "in": "query",
+ "description": "key",
+ "schema": {
+ "title": "key",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取关联列表",
+ "tags": [
+ "频道MCP的SkKey"
+ ]
+ }
+ },
+ "/api/plat/bilibili/auth/back/{taskId}": {
+ "get": {
+ "operationId": "BilibiliController_getAccessToken",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/auth/url/{type}": {
+ "get": {
+ "operationId": "BilibiliController_getAuthUrl",
+ "parameters": [
+ {
+ "name": "type",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取页面的认证URL",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/auth/create-account/{taskId}": {
+ "post": {
+ "operationId": "BilibiliController_getAuthInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号授权状态回调",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/auth/status/{accountId}": {
+ "get": {
+ "operationId": "BilibiliController_checkAccountAuthStatus",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号授权状态回调",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/video/init": {
+ "post": {
+ "operationId": "BilibiliController_videoInit",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoInitDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "视频初始化",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/video/part/upload/{accountId}": {
+ "post": {
+ "operationId": "BilibiliController_uploadVideoPart",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "uploadToken",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "上传token",
+ "type": "string"
+ }
+ },
+ {
+ "name": "partNumber",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "分片索引",
+ "type": "number"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "上传视频分片",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/video/complete/{accountId}": {
+ "post": {
+ "operationId": "BilibiliController_videoComplete",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoCompleteDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "视频分片合并",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/cover/upload/{accountId}": {
+ "post": {
+ "operationId": "BilibiliController_coverUpload",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "封面上传",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/video/upload/{accountId}": {
+ "post": {
+ "description": "因微服务nats传输限制,只允许20M以下文件",
+ "operationId": "BilibiliController_uploadLitVideo",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadLitVideoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "上传小视频(注意)",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/archive/add-by-utoken": {
+ "post": {
+ "operationId": "BilibiliController_archiveAddByUtoken",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ArchiveAddByUtokenBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "视频稿件提交",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/archive/type/list/{accountId}": {
+ "get": {
+ "operationId": "BilibiliController_archiveTypeList",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "分区查询",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/archive/list/{pageNo}/{pageSize}": {
+ "get": {
+ "operationId": "BilibiliController_getArchiveList",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ },
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "账户ID",
+ "type": "string"
+ }
+ },
+ {
+ "name": "status",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string",
+ "enum": [
+ "all",
+ "is_pubing",
+ "pubed",
+ "not_pubed"
+ ]
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取稿件列表",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/stat/user/{accountId}": {
+ "get": {
+ "operationId": "BilibiliController_getUserStat",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取用户数据",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/stat/arc": {
+ "get": {
+ "operationId": "BilibiliController_getArcStat",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "账户ID",
+ "type": "string"
+ }
+ },
+ {
+ "name": "resourceId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "稿件ID",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取稿件数据",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/bilibili/stat/inc/arc/{accountId}": {
+ "get": {
+ "operationId": "BilibiliController_getArcIncStat",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取稿件增量数据数据",
+ "tags": [
+ "plat/bilibili - B站平台"
+ ]
+ }
+ },
+ "/api/plat/wxGzh/auth/url/{type}": {
+ "get": {
+ "operationId": "WxGzhController_createAuthTask",
+ "parameters": [
+ {
+ "name": "type",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "发起微信授权登陆",
+ "tags": [
+ "plat/wxGzh - 微信公众号"
+ ]
+ }
+ },
+ "/api/plat/wxGzh/auth/create-account/{taskId}": {
+ "get": {
+ "operationId": "WxGzhController_getAuthTaskInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号授权状态回调",
+ "tags": [
+ "plat/wxGzh - 微信公众号"
+ ]
+ }
+ },
+ "/api/plat/wxGzh/account/userCumulate": {
+ "get": {
+ "operationId": "WxGzhController_getUserCumulate",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "账户ID",
+ "type": "string"
+ }
+ },
+ {
+ "name": "beginDate",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "开始日期",
+ "type": "string"
+ }
+ },
+ {
+ "name": "endDate",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "结束日期",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取累计用户数据",
+ "tags": [
+ "plat/wxGzh - 微信公众号"
+ ]
+ }
+ },
+ "/api/plat/wxGzh/account/userRead": {
+ "get": {
+ "operationId": "WxGzhController_getUserRead",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "账户ID",
+ "type": "string"
+ }
+ },
+ {
+ "name": "beginDate",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "开始日期",
+ "type": "string"
+ }
+ },
+ {
+ "name": "endDate",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "结束日期",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取图文阅读概况数据",
+ "tags": [
+ "plat/wxGzh - 微信公众号"
+ ]
+ }
+ },
+ "/api/plat/wx/auth/back": {
+ "post": {
+ "operationId": "WxPlatController_authBackGet",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AuthBackQueryDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "接收授权回调",
+ "tags": [
+ "WxPlat"
+ ]
+ }
+ },
+ "/api/plat/wx/callback/msg": {
+ "post": {
+ "operationId": "WxPlatController_callbackMsg",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "接收消息回调",
+ "tags": [
+ "WxPlat"
+ ]
+ }
+ },
+ "/api/plat/youtube/auth/url": {
+ "get": {
+ "operationId": "YoutubeController_getAuthUrl",
+ "parameters": [
+ {
+ "name": "type",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取页面的认证URL",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/auth/callback": {
+ "get": {
+ "operationId": "YoutubeController_getAccessToken",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/auth/create-account/{taskId}": {
+ "post": {
+ "operationId": "YoutubeController_getAuthInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号授权状态回调",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/auth/status/{accountId}": {
+ "get": {
+ "operationId": "YoutubeController_checkAccountAuthStatus",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "检查账号是否已经授权",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/auth/refresh-token/{accountId}": {
+ "post": {
+ "operationId": "YoutubeController_refreshToken",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "刷新令牌token",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/categories": {
+ "get": {
+ "operationId": "YoutubeController_getVideoCategories",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "required": false,
+ "in": "query",
+ "description": "视频类别ID, 注意:id和regionCode必须有且只能选择一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "regionCode",
+ "required": false,
+ "in": "query",
+ "description": "区域代码, 注意:id和regionCode只能选择一个",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取视频类别列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/list": {
+ "get": {
+ "operationId": "YoutubeController_getVideosList",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "chart",
+ "required": false,
+ "in": "query",
+ "description": "用于标识您要检索的图表。这里只有一个值,mostPopular – 返回指定内容区域和视频类别中最热门的视频。id、myRating、chart这三个参数必须且只能选一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "required": false,
+ "in": "query",
+ "description": "视频ID, 多个id用英文逗号分隔。注意:id、myRating、chart这三个参数必须且只能选一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "myRating",
+ "required": false,
+ "in": "query",
+ "description": "是否获取我喜欢的视频, 注意:id、myRating、chart这三个参数必须且只能选一个",
+ "schema": {
+ "type": "boolean"
+ }
+ },
+ {
+ "name": "maxResults",
+ "required": false,
+ "in": "query",
+ "description": "最大返回结果数",
+ "schema": {
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageToken",
+ "required": false,
+ "in": "query",
+ "description": "分页令牌",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取视频列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/upload/small": {
+ "post": {
+ "operationId": "YoutubeController_uploadVideo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadSmallVideoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "上传视频到YouTube",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/upload/init": {
+ "post": {
+ "operationId": "YoutubeController_initVideoUpload",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InitVideoUploadDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "初始化视频分片上传",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/upload/part": {
+ "post": {
+ "operationId": "YoutubeController_uploadVideoPart",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadVideoPartDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "上传视频分片",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/upload/complete": {
+ "post": {
+ "operationId": "YoutubeController_videoComplete",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadVideoCompleteDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "完成视频上传",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/threads/insert": {
+ "post": {
+ "operationId": "YoutubeController_insertCommentThreads",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InsertCommentThreadsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建评论会话",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/threads/list": {
+ "get": {
+ "operationId": "YoutubeController_getCommentThreadsList",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "required": false,
+ "in": "query",
+ "description": "评论会话ID,多个id以英文逗号隔开,注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "allThreadsRelatedToChannelId",
+ "required": false,
+ "in": "query",
+ "description": "关联的频道ID。注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "videoId",
+ "required": false,
+ "in": "query",
+ "description": "视频ID 注意:id、allThreadsRelatedToChannelId、videoId 必须有且只能有一个,不能同时使用",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "pageToken",
+ "required": false,
+ "in": "query",
+ "description": "分页令牌,注意:此参数不能与 id 参数结合使用。",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "order",
+ "required": false,
+ "in": "query",
+ "description": "排序方式,注意:此参数不能与 id 参数结合使用。time - 默认,评论会话会按时间排序。relevance - 评论会话按相关性排序。",
+ "schema": {
+ "type": "string",
+ "enum": [
+ "time",
+ "relevance"
+ ]
+ }
+ },
+ {
+ "name": "searchTerms",
+ "required": false,
+ "in": "query",
+ "description": "搜索关键词,注意:此参数不能与 id 参数结合使用。",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取评论会话列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/threads/moderation/set": {
+ "post": {
+ "operationId": "YoutubeController_setCommentThreadsModerationStatus",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SetCommentThreadsModerationStatusDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "设置评论会话的审核状态",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/insert": {
+ "post": {
+ "operationId": "YoutubeController_insertComment",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InsertCommentDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建二级评论",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/list": {
+ "get": {
+ "operationId": "YoutubeController_getCommentsList",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "required": true,
+ "in": "query",
+ "description": "评论ID,多个id用英文逗号分隔,注意:id和 parentId 必须有且只能有其中一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "parentId",
+ "required": false,
+ "in": "query",
+ "description": "父评论ID,注意:id和 parentId 必须有且只能有其中一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "maxResults",
+ "required": false,
+ "in": "query",
+ "description": "最大返回结果数",
+ "schema": {
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageToken",
+ "required": false,
+ "in": "query",
+ "description": "分页令牌",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取子评论列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/update": {
+ "post": {
+ "operationId": "YoutubeController_updateComment",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateCommentDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新评论",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/comment/delete": {
+ "post": {
+ "operationId": "YoutubeController_deleteComment",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeleteCommentDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除评论",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/rating/set": {
+ "post": {
+ "operationId": "YoutubeController_setVideoRate",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoRateDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "设置视频的点赞、踩",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/rating": {
+ "get": {
+ "operationId": "YoutubeController_getVideoRate",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "required": true,
+ "in": "query",
+ "description": "视频ID,多个id用英文逗号分隔",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取视频的点赞、踩",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/delete": {
+ "post": {
+ "operationId": "YoutubeController_deleteVideo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeleteVideoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除视频",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/video/update": {
+ "post": {
+ "operationId": "YoutubeController_updateVideo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateVideoDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新视频",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/create": {
+ "post": {
+ "operationId": "YoutubeController_createPlaylist",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InsertPlayListDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建播放列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/update": {
+ "post": {
+ "operationId": "YoutubeController_updatePlaylist",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdatePlayListDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新播放列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/delete": {
+ "post": {
+ "operationId": "YoutubeController_deletePlaylist",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeletePlayListDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除播放列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/list": {
+ "post": {
+ "operationId": "YoutubeController_getPlayList",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetPlayListDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取播放列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/items/insert": {
+ "post": {
+ "operationId": "YoutubeController_insertPlayListItems",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/InsertPlayItemsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "插入播放列表项",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/items/update": {
+ "post": {
+ "operationId": "YoutubeController_updatePlayListItems",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdatePlayItemsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新播放列表项",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/items/delete": {
+ "post": {
+ "operationId": "YoutubeController_deletePlayListItems",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeletePlayItemsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除播放列表项",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/playlist/items/list": {
+ "post": {
+ "operationId": "YoutubeController_getPlayListItems",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetPlayItemsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取播放列表项",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/channel/list": {
+ "get": {
+ "operationId": "YoutubeController_getChannelsList",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "forHandle",
+ "required": false,
+ "in": "query",
+ "description": "标识名,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "forUsername",
+ "required": false,
+ "in": "query",
+ "description": "用户名,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "id",
+ "required": false,
+ "in": "query",
+ "description": "频道ID,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "mine",
+ "required": false,
+ "in": "query",
+ "description": "我的频道,注意:forHandle、forUsername、id、mine 必须有且只能有一个",
+ "schema": {
+ "type": "boolean"
+ }
+ },
+ {
+ "name": "maxResults",
+ "required": false,
+ "in": "query",
+ "description": "最大结果数",
+ "schema": {
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageToken",
+ "required": false,
+ "in": "query",
+ "description": "分页令牌",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取频道列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/channel/sections/list": {
+ "post": {
+ "operationId": "YoutubeController_getChannelsSectionsList",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetChannelsSectionsListDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取频道板块列表",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/youtube/common/params": {
+ "get": {
+ "operationId": "YoutubeController_getCommonParams",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取通用数据",
+ "tags": [
+ "plat/youtube - YouTube平台"
+ ]
+ }
+ },
+ "/api/plat/kwai/auth/url/{type}": {
+ "get": {
+ "operationId": "KwaiController_getAuth",
+ "parameters": [
+ {
+ "name": "type",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "开始授权,创建任务",
+ "tags": [
+ "plat/kwai - 快手平台"
+ ]
+ }
+ },
+ "/api/plat/kwai/auth/create-account/{taskId}": {
+ "post": {
+ "operationId": "KwaiController_getAuthInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号授权状态回调",
+ "tags": [
+ "plat/kwai - 快手平台"
+ ]
+ }
+ },
+ "/api/plat/kwai/auth/back/{taskId}": {
+ "get": {
+ "operationId": "KwaiController_getAccessToken",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "plat/kwai - 快手平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/auth/url": {
+ "post": {
+ "operationId": "TiktokController_getAuthUrl",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetAuthUrlDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取页面的认证URL",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/auth/info/{taskId}": {
+ "get": {
+ "operationId": "TiktokController_getAuthInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询认证信息",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/auth/back": {
+ "get": {
+ "operationId": "TiktokController_createAccountAndSetAccessToken",
+ "parameters": [
+ {
+ "name": "code",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "授权码",
+ "type": "string"
+ }
+ },
+ {
+ "name": "state",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "状态码",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "创建账号并设置授权Token",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/auth/refresh-token": {
+ "post": {
+ "operationId": "TiktokController_refreshAccessToken",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RefreshTokenDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "刷新访问令牌",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/auth/revoke-token/{accountId}": {
+ "post": {
+ "operationId": "TiktokController_revokeAccessToken",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "撤销访问令牌",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/creator/info/{accountId}": {
+ "get": {
+ "operationId": "TiktokController_getCreatorInfo",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取创作者信息",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/account/status/{accountId}": {
+ "get": {
+ "operationId": "TiktokController_checkAccountStatus",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "检查账号状态",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/publish/video/init": {
+ "post": {
+ "operationId": "TiktokController_initVideoPublish",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoPublishDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "初始化视频发布",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/publish/photo/init": {
+ "post": {
+ "operationId": "TiktokController_initPhotoPublish",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/PhotoPublishDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "初始化照片发布",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/publish/status/{accountId}/{publishId}": {
+ "get": {
+ "operationId": "TiktokController_getPublishStatus",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "publishId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询发布状态",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/upload/video": {
+ "post": {
+ "description": "上传视频文件到指定的上传URL",
+ "operationId": "TiktokController_uploadVideoFile",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UploadVideoFileDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "上传视频文件",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/tiktok/webhook": {
+ "post": {
+ "operationId": "TiktokController_handleWebhookEvent",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "TikTok Webhook事件接收",
+ "tags": [
+ "plat/tiktok - TikTok平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/board": {
+ "post": {
+ "operationId": "PinterestController_createBoard",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateBoardBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建board",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ },
+ "get": {
+ "operationId": "PinterestController_getBoardList",
+ "parameters": [
+ {
+ "name": "page",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "页码",
+ "type": "string"
+ }
+ },
+ {
+ "name": "size",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "每页大小",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取board列表信息",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/board/{id}": {
+ "get": {
+ "operationId": "PinterestController_getBoardById",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取单个board",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ },
+ "delete": {
+ "operationId": "PinterestController_delBoardById",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除单个board",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/pin": {
+ "post": {
+ "operationId": "PinterestController_createPin",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreatePinBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建pin",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ },
+ "get": {
+ "operationId": "PinterestController_getPinList",
+ "parameters": [
+ {
+ "name": "page",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "页码",
+ "type": "string"
+ }
+ },
+ {
+ "name": "size",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "每页大小",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取pin列表",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/pin/{id}": {
+ "get": {
+ "operationId": "PinterestController_getPinById",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取pin",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ },
+ "delete": {
+ "operationId": "PinterestController_delPinById",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除单个pin",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/getAuth": {
+ "get": {
+ "operationId": "PinterestController_getAuth",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取授权登录页面",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/checkAuth": {
+ "get": {
+ "operationId": "PinterestController_checkAuth",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询授权结果",
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/pinterest/authWebhook": {
+ "get": {
+ "operationId": "PinterestController_authWebhook",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "tags": [
+ "plat/pinterest - PIN平台"
+ ]
+ }
+ },
+ "/api/plat/twitter/auth/url": {
+ "post": {
+ "operationId": "TwitterController_getAuthUrl",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetAuthUrlDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Twitter oAuth2.0 用户授权页面URL",
+ "tags": [
+ "plat/twitter - Twitter平台"
+ ]
+ }
+ },
+ "/api/plat/twitter/auth/info/{taskId}": {
+ "get": {
+ "operationId": "TwitterController_getAuthInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询用户oAuth2.0任务状态",
+ "tags": [
+ "plat/twitter - Twitter平台"
+ ]
+ }
+ },
+ "/api/plat/twitter/auth/back": {
+ "get": {
+ "operationId": "TwitterController_createAccountAndSetAccessToken",
+ "parameters": [
+ {
+ "name": "code",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "授权码",
+ "type": "string"
+ }
+ },
+ {
+ "name": "state",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "状态码",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "oAuth认证回调后续操作, 保存AccessToken并创建用户",
+ "tags": [
+ "plat/twitter - Twitter平台"
+ ]
+ }
+ },
+ "/api/plat/meta/auth/url": {
+ "post": {
+ "operationId": "MetaController_getAuthUrl",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GetAuthUrlDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Meta平台 oAuth2.0 用户授权页面URL",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/auth/info/{taskId}": {
+ "get": {
+ "operationId": "MetaController_getAuthInfo",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询用户oAuth2.0任务状态",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/facebook/pages": {
+ "get": {
+ "operationId": "MetaController_getFacebookPages",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询Facebook用户Pages列表",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ },
+ "post": {
+ "operationId": "MetaController_selectFacebookPages",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/FacebookPageSelectionDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "选择确认Facebook Pages",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/auth/back": {
+ "get": {
+ "operationId": "MetaController_createAccountAndSetAccessToken",
+ "parameters": [
+ {
+ "name": "code",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "授权码",
+ "type": "string"
+ }
+ },
+ {
+ "name": "state",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "title": "状态码",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "oAuth认证回调后续操作, 保存AccessToken并创建用户",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/facebook/{accountId}/published_posts": {
+ "get": {
+ "operationId": "MetaController_getFacebookPagePublishedPosts",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "pageId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Facebook Page的已发布帖子列表",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/facebook/{accountId}/insights": {
+ "get": {
+ "operationId": "MetaController_getFacebookPageInsights",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Facebook Page的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/facebook/{accountId}/{postId}/insights": {
+ "get": {
+ "operationId": "MetaController_getFacebookPostInsights",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "postId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Facebook Page的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/instagram/{accountId}": {
+ "get": {
+ "operationId": "MetaController_getInstagramAccountInfo",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Instagram Account的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/instagram/{accountId}/insights": {
+ "get": {
+ "operationId": "MetaController_getInstagramAccountInsights",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Instagram Account的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/instagram/{accountId}/{postId}/insights": {
+ "get": {
+ "operationId": "MetaController_getInstagramPostInsights",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "postId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "Instagram Post的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/threads/{accountId}/insights": {
+ "get": {
+ "operationId": "MetaController_getThreadsAccountInsights",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "threads Account的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/plat/meta/threads/{accountId}/{postId}/insights": {
+ "get": {
+ "operationId": "MetaController_getThreadsPostInsights",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "postId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取Facebook Page的Insights数据",
+ "tags": [
+ "plat/meta - Meta平台"
+ ]
+ }
+ },
+ "/api/account/login": {
+ "post": {
+ "operationId": "AccountController_createOrUpdateAccount",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateAccountDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建账号",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/update": {
+ "post": {
+ "operationId": "AccountController_updateAccountInfo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateAccountDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新账号",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/status": {
+ "post": {
+ "operationId": "AccountController_updateAccountStatus",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateAccountStatusDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新账号状态",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/{id}": {
+ "get": {
+ "operationId": "AccountController_getAccountInfo",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号信息",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/list/all": {
+ "get": {
+ "operationId": "AccountController_getUserAccounts",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取用户所有账户",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/deletes": {
+ "post": {
+ "operationId": "AccountController_deletes",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeleteAccountsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除多个账户",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/list/ids": {
+ "post": {
+ "operationId": "AccountController_getAccountListByIds",
+ "parameters": [
+ {
+ "name": "ids",
+ "required": true,
+ "in": "query",
+ "description": "账号ID数组",
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账户列表",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/count": {
+ "get": {
+ "operationId": "AccountController_getAccountCount",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "number"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账户总数",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/statistics": {
+ "get": {
+ "operationId": "AccountController_getAccountStatistics",
+ "parameters": [
+ {
+ "name": "type",
+ "required": false,
+ "in": "query",
+ "description": "账户类型",
+ "schema": {
+ "type": "string",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ]
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取账户统计",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/delete/{id}": {
+ "post": {
+ "operationId": "AccountController_deleteAccount",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "description": "账号ID",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除账户",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/account/statistics/update": {
+ "post": {
+ "operationId": "AccountController_updateAccountStatistics",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateAccountStatisticsDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "number"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新账户统计信息",
+ "tags": [
+ "账户"
+ ]
+ }
+ },
+ "/api/accountGroup/create": {
+ "post": {
+ "operationId": "AccountGroupController_create",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateAccountGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建组",
+ "tags": [
+ "账户组"
+ ]
+ }
+ },
+ "/api/accountGroup/update": {
+ "post": {
+ "operationId": "AccountGroupController_updateGroup",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateAccountGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新组",
+ "tags": [
+ "账户组"
+ ]
+ }
+ },
+ "/api/accountGroup/deletes": {
+ "post": {
+ "operationId": "AccountGroupController_deletes",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/DeleteAccountGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除账户组",
+ "tags": [
+ "账户组"
+ ]
+ }
+ },
+ "/api/accountGroup/getList": {
+ "get": {
+ "operationId": "AccountGroupController_getUserAccounts",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取用户所有账户组",
+ "tags": [
+ "账户组"
+ ]
+ }
+ },
+ "/api/fingerprint/generateFingerprint": {
+ "post": {
+ "description": "生成指纹浏览器参数",
+ "operationId": "FingerprintController_cenerateFingerprin",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/GenerateFingerprintDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "",
+ "tags": [
+ "指纹生成"
+ ]
+ }
+ },
+ "/api/tools/ai/video/title": {
+ "post": {
+ "description": "视频文件只能输入一个,大小限制为 150 MB,时长限制为 40s。",
+ "operationId": "AiToolsController_videoAiTitle",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoAiDesDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "视频AI标题",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "视频AI标题",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/review": {
+ "post": {
+ "description": "对作品进行智能评论",
+ "operationId": "AiToolsController_reviewAi",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReviewAi"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "评论",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "智能评论",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/reviewImg": {
+ "post": {
+ "description": "对作品封面图进行智能评论",
+ "operationId": "AiToolsController_reviewImgAi",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReviewImgAi"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "评论",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "智能评论",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/recover/review": {
+ "post": {
+ "description": "对作品进行智能评论回复",
+ "operationId": "AiToolsController_reviewAiRecover",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/ReviewAiRecover"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "评论",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "智能评论回复",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/article/html": {
+ "post": {
+ "description": "生成AI的html图文",
+ "operationId": "AiToolsController_aiArticleHtml",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AiArticleHtmlDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "生成AI的html图文",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "生成AI的html图文",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/article/html/sse": {
+ "post": {
+ "description": "暂未用到",
+ "operationId": "AiToolsController_aiArticleHtmlSse",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AiArticleHtmlDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "生成AI的html图文",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "生成AI的html图文(SSE)",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/fireflycard": {
+ "post": {
+ "description": "AI文字转绚丽卡片图",
+ "operationId": "AiToolsController_fireflycard",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AdminFireflycardDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "返回图片地址",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "流光卡片",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/markdown": {
+ "post": {
+ "description": "文字转Markdown",
+ "operationId": "AiToolsController_aiMarkdown",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AdminAiMarkdownDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "任务ID",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "文字转Markdown",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/markdown/{id}": {
+ "get": {
+ "description": "获取AI的mk结果",
+ "operationId": "AiToolsController_getAiMarkdown",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "title": "ID",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Markdown文本",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取AI的mk结果",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/jm/task": {
+ "post": {
+ "description": "获取即梦文生图任务ID,0e2bdef17755a3f121b608ec8a763f6b,7e90a4c9bb3c6c8b7056267f27395c78",
+ "operationId": "AiToolsController_upJmImgTask",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AdminJmTaskDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "任务ID",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "即梦文生图",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/ai/jm/task/{id}": {
+ "get": {
+ "description": "获取即梦文生图结果",
+ "operationId": "AiToolsController_getJmImgTaskRes",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "Markdown文本",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取即梦文生图结果",
+ "tags": [
+ "AI工具"
+ ]
+ }
+ },
+ "/api/tools/common/text/moderation": {
+ "post": {
+ "description": "内容安全检测",
+ "operationId": "ToolsController_textModeration",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TextModerationDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "是否通过检测",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "内容安全检测",
+ "tags": [
+ "通用工具"
+ ]
+ }
+ },
+ "/api/material/default": {
+ "post": {
+ "description": "初始化草稿",
+ "operationId": "MaterialController_createDefault",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "初始化草稿",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material": {
+ "post": {
+ "description": "创建草稿",
+ "operationId": "MaterialController_create",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateMaterialDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建草稿",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/task/create": {
+ "post": {
+ "description": "创建批量生成草稿任务",
+ "operationId": "MaterialController_createTask",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateMaterialTaskDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建批量生成草稿任务",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/task/preview/{id}": {
+ "get": {
+ "description": "预览草稿生成任务",
+ "operationId": "MaterialController_previewTask",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "预览草稿生成任务",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/task/start/{id}": {
+ "get": {
+ "description": "开始草稿生成任务",
+ "operationId": "MaterialController_startTask",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "开始草稿生成任务",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/{id}": {
+ "delete": {
+ "description": "删除素材",
+ "operationId": "MaterialController_del",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除素材",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/info/{id}": {
+ "put": {
+ "description": "更新草稿信息",
+ "operationId": "MaterialController_upMaterialInfo",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateMaterialDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新草稿信息",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/list/{pageNo}/{pageSize}": {
+ "get": {
+ "description": "获取素材列表",
+ "operationId": "MaterialController_getList",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ },
+ {
+ "name": "title",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "标题",
+ "type": "string"
+ }
+ },
+ {
+ "name": "groupId",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "组ID",
+ "type": "string"
+ }
+ },
+ {
+ "name": "status",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "草稿状态",
+ "type": "number",
+ "enum": [
+ 0,
+ 1,
+ -1
+ ]
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取素材列表",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/group": {
+ "post": {
+ "description": "创建素材组",
+ "operationId": "MaterialController_createGroup",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateMaterialGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建素材组",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/group/{id}": {
+ "delete": {
+ "description": "删除素材组",
+ "operationId": "MaterialController_delGroup",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除素材组",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/group/info/{id}": {
+ "post": {
+ "description": "更新素材组信息",
+ "operationId": "MaterialController_updateGroupInfo",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateMaterialGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新素材组信息",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/material/group/list/{pageNo}/{pageSize}": {
+ "get": {
+ "description": "获取素材组列表",
+ "operationId": "MaterialController_getGroupList",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取素材组列表",
+ "tags": [
+ "草稿"
+ ]
+ }
+ },
+ "/api/media/default": {
+ "post": {
+ "description": "初始化媒体库",
+ "operationId": "MediaController_createDefault",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "初始化媒体库",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media": {
+ "post": {
+ "description": "创建媒体资源",
+ "operationId": "MediaController_create",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateMediaDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建媒体资源",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media/{id}": {
+ "delete": {
+ "description": "删除媒体资源",
+ "operationId": "MediaController_del",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除媒体资源",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media/list/{pageNo}/{pageSize}": {
+ "get": {
+ "description": "获取媒体列表",
+ "operationId": "MediaController_getList",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ },
+ {
+ "name": "groupId",
+ "required": false,
+ "in": "query",
+ "schema": {
+ "title": "组ID",
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取媒体列表",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media/group": {
+ "post": {
+ "description": "创建发媒体资源组",
+ "operationId": "MediaController_createGroup",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CreateMediaGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建发媒体资源组",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media/group/{id}": {
+ "delete": {
+ "description": "删除媒体资源组",
+ "operationId": "MediaController_delGroup",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除媒体资源",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media/group/info/{id}": {
+ "post": {
+ "description": "更新资源组信息",
+ "operationId": "MediaController_updateGroupInfo",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UpdateMediaGroupDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "boolean"
+ }
+ }
+ }
+ }
+ },
+ "summary": "更新资源组信息",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/media/group/list/{pageNo}/{pageSize}": {
+ "get": {
+ "description": "获取媒体组列表",
+ "operationId": "MediaController_getGroupList",
+ "parameters": [
+ {
+ "name": "pageNo",
+ "required": true,
+ "in": "path",
+ "description": "页码",
+ "schema": {
+ "title": "页码",
+ "type": "number"
+ }
+ },
+ {
+ "name": "pageSize",
+ "required": true,
+ "in": "path",
+ "description": "页数",
+ "schema": {
+ "title": "页数",
+ "type": "number"
+ }
+ },
+ {
+ "name": "type",
+ "required": false,
+ "in": "query",
+ "description": "类型",
+ "schema": {
+ "title": "类型",
+ "type": "string",
+ "enum": [
+ "video",
+ "img"
+ ]
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": ""
+ }
+ },
+ "summary": "获取媒体组列表",
+ "tags": [
+ "媒体资源"
+ ]
+ }
+ },
+ "/api/payment/checkout": {
+ "get": {
+ "operationId": "PaymentController_list",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CheckoutListBody"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取订单列表",
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ },
+ "post": {
+ "operationId": "PaymentController_create",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/CheckoutBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "创建订单",
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ }
+ },
+ "/api/payment/checkout/{id}": {
+ "get": {
+ "operationId": "PaymentController_getById",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询订单",
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ }
+ },
+ "/api/payment/refund": {
+ "post": {
+ "operationId": "PaymentController_refund",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/RefundBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "订单退款",
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ }
+ },
+ "/api/payment/subscription": {
+ "get": {
+ "operationId": "PaymentController_subscription",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/SubscriptionBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "订阅列表",
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ }
+ },
+ "/api/payment/unsubscribe": {
+ "post": {
+ "operationId": "PaymentController_unsubscribe",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UnSubscriptionBodyDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "summary": "退订",
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ }
+ },
+ "/api/payment/webhook": {
+ "post": {
+ "operationId": "PaymentController_webhook",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "object"
+ }
+ }
+ }
+ }
+ },
+ "tags": [
+ "payment - strip支付中台"
+ ]
+ }
+ },
+ "/api/task/{id}": {
+ "get": {
+ "operationId": "TaskController_getTaskInfo",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TaskVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取任务信息",
+ "tags": [
+ "task - 任务"
+ ]
+ }
+ },
+ "/api/task/reward-amount": {
+ "get": {
+ "operationId": "TaskController_getTotalRewardAmount",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/TotalAmountVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取进行中任务的金额总数",
+ "tags": [
+ "task - 任务"
+ ]
+ }
+ },
+ "/api/task/accept": {
+ "post": {
+ "operationId": "TaskController_acceptTask",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/AcceptTaskDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserTaskVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "用户接取任务",
+ "tags": [
+ "task - 任务"
+ ]
+ }
+ },
+ "/api/task/material/{id}": {
+ "get": {
+ "operationId": "MaterialController_getMaterial",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MaterialVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取素材信息",
+ "tags": [
+ "task/material - 素材"
+ ]
+ }
+ },
+ "/api/task/material/task/{taskId}": {
+ "get": {
+ "operationId": "MaterialController_getMaterialsByTaskId",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MaterialVo"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "按任务ID获取素材列表",
+ "tags": [
+ "task/material - 素材"
+ ]
+ }
+ },
+ "/api/task/user-task": {
+ "get": {
+ "operationId": "UserTaskController_getUserTaskList",
+ "parameters": [
+ {
+ "name": "status",
+ "required": true,
+ "in": "query",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/UserTaskWithTaskVo"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取用户任务列表",
+ "tags": [
+ "task/user-task - 用户任务"
+ ]
+ }
+ },
+ "/api/notification/unread-count": {
+ "get": {
+ "operationId": "NotificationController_getUnreadCount",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UnreadCountVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取未读通知数量",
+ "tags": [
+ "notification - 通知"
+ ]
+ }
+ },
+ "/api/notification": {
+ "get": {
+ "operationId": "NotificationController_getUserNotifications",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NotificationListVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取用户通知列表",
+ "tags": [
+ "notification - 通知"
+ ]
+ },
+ "delete": {
+ "operationId": "NotificationController_deleteNotifications",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/BatchDeleteDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/OperationResultVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "删除通知",
+ "tags": [
+ "notification - 通知"
+ ]
+ }
+ },
+ "/api/notification/{id}": {
+ "get": {
+ "operationId": "NotificationController_getNotificationDetail",
+ "parameters": [
+ {
+ "name": "id",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/NotificationVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取通知详情",
+ "tags": [
+ "notification - 通知"
+ ]
+ }
+ },
+ "/api/notification/read": {
+ "put": {
+ "operationId": "NotificationController_markAsRead",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MarkAsReadDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/OperationResultVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "标记通知已读",
+ "tags": [
+ "notification - 通知"
+ ]
+ }
+ },
+ "/api/notification/read-all": {
+ "put": {
+ "operationId": "NotificationController_markAllAsRead",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/OperationResultVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "标记全部通知已读",
+ "tags": [
+ "notification - 通知"
+ ]
+ }
+ },
+ "/api/ai/chat": {
+ "post": {
+ "operationId": "AiController_chat",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserAiChatRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserAiChatResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "AI聊天对话",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/logs": {
+ "get": {
+ "operationId": "AiController_getLogs",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserLogsResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取用户AI使用日志",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/image/generate": {
+ "post": {
+ "operationId": "AiController_generateImage",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserImageGenerationRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserImageResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "AI图片生成",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/image/edit": {
+ "post": {
+ "operationId": "AiController_editImage",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserImageEditRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserImageResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "AI图片编辑",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/image/variation": {
+ "post": {
+ "operationId": "AiController_variationImage",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserImageVariationRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserImageResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "AI图片变体",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/mj/submit/video": {
+ "post": {
+ "operationId": "AiController_mjSubmitVideo",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserVideoGenerationRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MjVideoSubmitResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "MJ视频生成",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/mj/task/{taskId}/fetch": {
+ "get": {
+ "operationId": "AiController_mjFetchTask",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/MjTaskFetchResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "MJ任务查询",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/video/generations": {
+ "post": {
+ "operationId": "AiController_videoGeneration",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/UserVideoGenerationDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoGenerationResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "通用视频生成",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/video/generations/{taskId}": {
+ "get": {
+ "operationId": "AiController_getVideoTaskStatus",
+ "parameters": [
+ {
+ "name": "taskId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/VideoTaskStatusResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "查询视频任务状态",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/md2card": {
+ "post": {
+ "operationId": "AiController_generateMd2Card",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Md2CardRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/Md2CardResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "Markdown转卡片图片",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/fireflycard": {
+ "post": {
+ "operationId": "AiController_generateFireflycard",
+ "parameters": [],
+ "requestBody": {
+ "required": true,
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/FireflycardRequestDto"
+ }
+ }
+ }
+ },
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "$ref": "#/components/schemas/FireflycardResponseVo"
+ }
+ }
+ }
+ }
+ },
+ "summary": "Fireflycard生成卡片图片(免费)",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/models/image/generation": {
+ "get": {
+ "operationId": "AiController_getImageGenerationModels",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ImageGenerationModelVo"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取图片生成模型参数",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/models/image/edit": {
+ "get": {
+ "operationId": "AiController_getImageEditModels",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ImageEditModelVo"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取图片编辑模型参数",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/models/video/generation": {
+ "get": {
+ "operationId": "AiController_getVideoGenerationModels",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/VideoGenerationModelVo"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取视频生成模型参数",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/ai/models/chat": {
+ "get": {
+ "operationId": "AiController_getChatModels",
+ "parameters": [],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/ChatModelVo"
+ }
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取对话模型参数",
+ "tags": [
+ "AI"
+ ]
+ }
+ },
+ "/api/statistics/account/latest/{accountId}": {
+ "get": {
+ "operationId": "StatisticsController_getAccountDataLatest",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号最新数据",
+ "tags": [
+ "statistics - 数据统计"
+ ]
+ }
+ },
+ "/api/statistics/account/increase/{accountId}": {
+ "get": {
+ "operationId": "StatisticsController_getAccountDataIncrease",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号增量",
+ "tags": [
+ "statistics - 数据统计"
+ ]
+ }
+ },
+ "/api/statistics/account/period/{accountId}": {
+ "get": {
+ "operationId": "StatisticsController_getAccountDataPeriod",
+ "parameters": [
+ {
+ "name": "accountId",
+ "required": true,
+ "in": "path",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "startDate",
+ "required": true,
+ "in": "query",
+ "description": "开始日期",
+ "schema": {
+ "type": "string"
+ }
+ },
+ {
+ "name": "endDate",
+ "required": true,
+ "in": "query",
+ "description": "结束日期",
+ "schema": {
+ "type": "string"
+ }
+ }
+ ],
+ "responses": {
+ "default": {
+ "description": "",
+ "content": {
+ "application/json": {
+ "schema": {
+ "type": "string"
+ }
+ }
+ }
+ }
+ },
+ "summary": "获取账号一段时间内数据",
+ "tags": [
+ "statistics - 数据统计"
+ ]
+ }
+ }
+ },
+ "info": {
+ "title": "aitoearn-gateway",
+ "description": "aitoearn-gateway API",
+ "version": "",
+ "contact": {}
+ },
+ "tags": [],
+ "servers": [],
+ "components": {
+ "securitySchemes": {
+ "bearer": {
+ "scheme": "bearer",
+ "bearerFormat": "JWT",
+ "type": "http"
+ }
+ },
+ "schemas": {
+ "UserResDto": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "用户ID"
+ },
+ "name": {
+ "type": "string",
+ "title": "用户名"
+ },
+ "phone": {
+ "type": "string",
+ "title": "手机号"
+ },
+ "gender": {
+ "type": "number",
+ "title": "性别",
+ "enum": [
+ 1,
+ 2
+ ]
+ },
+ "avatar": {
+ "type": "string",
+ "title": "头像图片链接"
+ },
+ "desc": {
+ "type": "string",
+ "title": "简介"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "phone"
+ ]
+ },
+ "UpdateUserInfoDto": {
+ "type": "object",
+ "properties": {}
+ },
+ "UpdateVipInfoDto": {
+ "type": "object",
+ "properties": {
+ "cycleType": {
+ "type": "number",
+ "description": "充值时间周期类型",
+ "enum": [
+ 0,
+ 1,
+ 2
+ ]
+ }
+ },
+ "required": [
+ "cycleType"
+ ]
+ },
+ "MailLoginDto": {
+ "type": "object",
+ "properties": {
+ "mail": {
+ "type": "string",
+ "title": "邮箱"
+ },
+ "password": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "mail",
+ "password"
+ ]
+ },
+ "GetRegistByMailBackDto": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ },
+ "mail": {
+ "type": "string",
+ "title": "邮箱"
+ },
+ "password": {
+ "type": "string"
+ },
+ "inviteCode": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "mail",
+ "password"
+ ]
+ },
+ "MailRepasswordDto": {
+ "type": "object",
+ "properties": {
+ "mail": {
+ "type": "string",
+ "title": "邮箱"
+ }
+ },
+ "required": [
+ "mail"
+ ]
+ },
+ "GoogleLoginDto": {
+ "type": "object",
+ "properties": {
+ "clientId": {
+ "type": "string",
+ "description": "Google客户端ID"
+ },
+ "credential": {
+ "type": "string",
+ "description": "Google认证凭证"
+ }
+ },
+ "required": [
+ "clientId",
+ "credential"
+ ]
+ },
+ "UserCancelDto": {
+ "type": "object",
+ "properties": {
+ "code": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "code"
+ ]
+ },
+ "CreateFeedBackDto": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string",
+ "title": "内容"
+ },
+ "type": {
+ "type": "string",
+ "title": "类型",
+ "description": ""
+ },
+ "tagList": {
+ "description": "标识数组",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "fileUrlList": {
+ "description": "文件链接数组",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "content",
+ "tagList",
+ "fileUrlList"
+ ]
+ },
+ "InitMultipartUploadDto": {
+ "type": "object",
+ "properties": {
+ "fileName": {
+ "type": "string",
+ "title": "文件名称"
+ },
+ "secondPath": {
+ "type": "string",
+ "title": "存放位置"
+ },
+ "fileSize": {
+ "type": "string",
+ "title": "文件大小"
+ },
+ "contentType": {
+ "type": "string",
+ "title": "文件类型"
+ }
+ },
+ "required": [
+ "fileName",
+ "secondPath",
+ "fileSize",
+ "contentType"
+ ]
+ },
+ "CompletePartDto": {
+ "type": "object",
+ "properties": {
+ "fileId": {
+ "type": "string",
+ "title": "文件key"
+ },
+ "uploadId": {
+ "type": "string",
+ "title": "上传ID"
+ },
+ "parts": {
+ "title": "分片",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "fileId",
+ "uploadId",
+ "parts"
+ ]
+ },
+ "BilibiliPublishOptionDto": {
+ "type": "object",
+ "properties": {
+ "tid": {
+ "type": "number",
+ "title": "分区ID",
+ "description": "由获取分区信息接口得到"
+ },
+ "no_reprint": {
+ "type": "number",
+ "title": "是否允许转载",
+ "enum": [
+ 1,
+ 0
+ ],
+ "description": "0-允许,1-不允许"
+ },
+ "copyright": {
+ "type": "number",
+ "title": "版权",
+ "enum": [
+ 1,
+ 2
+ ],
+ "description": "版权"
+ },
+ "source": {
+ "type": "string",
+ "title": "来源",
+ "description": "如果copyright为转载,则此字段表示转载来源"
+ }
+ },
+ "required": [
+ "tid",
+ "no_reprint",
+ "copyright",
+ "source"
+ ]
+ },
+ "GzhPublishOptionDto": {
+ "type": "object",
+ "properties": {
+ "tid": {
+ "type": "number",
+ "title": "分区ID",
+ "description": "由获取分区信息接口得到"
+ }
+ },
+ "required": [
+ "tid"
+ ]
+ },
+ "YoutubePublishOptionDto": {
+ "type": "object",
+ "properties": {
+ "privacyStatus": {
+ "type": "string",
+ "title": "隐私状态",
+ "enum": [
+ "public",
+ "unlisted",
+ "private"
+ ],
+ "description": "隐私状态"
+ },
+ "tag": {
+ "type": "string",
+ "title": "关键词",
+ "description": "多个关键词用英文逗号分隔"
+ },
+ "categoryId": {
+ "type": "string",
+ "title": "类别ID",
+ "description": "类别ID"
+ },
+ "publishAt": {
+ "type": "string",
+ "title": "发布时间",
+ "description": "发布时间"
+ }
+ },
+ "required": [
+ "privacyStatus"
+ ]
+ },
+ "FacebookPostOptionsDto": {
+ "type": "object",
+ "properties": {
+ "content_category": {
+ "type": "string",
+ "title": "内容分类",
+ "description": "内容分类"
+ },
+ "content_tags": {
+ "title": "内容标签",
+ "description": "内容标签",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "custom_labels": {
+ "title": "自定义标签",
+ "description": "自定义标签",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "direct_share_status": {
+ "type": "number",
+ "title": "直接分享状态",
+ "description": "直接分享状态"
+ },
+ "embeddable": {
+ "type": "boolean",
+ "title": "是否可嵌入",
+ "description": "是否可嵌入"
+ }
+ }
+ },
+ "InstagramPostOptionsDto": {
+ "type": "object",
+ "properties": {
+ "content_category": {
+ "type": "string",
+ "title": "内容分类",
+ "description": "内容分类"
+ },
+ "alt_text": {
+ "type": "string",
+ "title": "替代文本"
+ },
+ "caption": {
+ "type": "string",
+ "title": "标题"
+ },
+ "collaborators": {
+ "title": "协作者",
+ "description": "协作者列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "cover_url": {
+ "type": "string",
+ "title": "封面URL",
+ "description": "封面图片的URL"
+ },
+ "image_url": {
+ "type": "string",
+ "title": "图片URL",
+ "description": "图片的URL"
+ },
+ "location_id": {
+ "type": "string",
+ "title": "位置ID",
+ "description": "位置ID,用于标记发布内容的位置,通常用于地理标签"
+ },
+ "product_tags": {
+ "title": "产品标签",
+ "description": "产品标签列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "user_tags": {
+ "title": "用户标签",
+ "description": "用户标签列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "ThreadsPostOptionsDto": {
+ "type": "object",
+ "properties": {
+ "reply_control": {
+ "type": "string",
+ "title": "回复控制",
+ "description": "回复控制选项"
+ },
+ "allowlisted_country_codes": {
+ "title": "允许的国家代码",
+ "description": "允许的国家代码列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "alt_text": {
+ "type": "string",
+ "title": "替代文本",
+ "description": "替代文本"
+ },
+ "auto_publish_text": {
+ "type": "boolean",
+ "title": "自动发布文本",
+ "description": "是否自动发布文本"
+ },
+ "topic_tags": {
+ "type": "string",
+ "title": "话题标签",
+ "description": "话题标签列表"
+ }
+ }
+ },
+ "PublishOptionDto": {
+ "type": "object",
+ "properties": {
+ "bilibili": {
+ "title": "B站参数",
+ "description": "B站参数",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/BilibiliPublishOptionDto"
+ }
+ ]
+ },
+ "wxGzh": {
+ "title": "B站参数",
+ "description": "微信公众号参数",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/GzhPublishOptionDto"
+ }
+ ]
+ },
+ "youtube": {
+ "title": "B站参数",
+ "description": "微信公众号参数",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/YoutubePublishOptionDto"
+ }
+ ]
+ },
+ "facebook": {
+ "title": "Facebook参数",
+ "description": "Facebook参数",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/FacebookPostOptionsDto"
+ }
+ ]
+ },
+ "instagram": {
+ "title": "Instagram参数",
+ "description": "Instagram参数",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/InstagramPostOptionsDto"
+ }
+ ]
+ },
+ "threads": {
+ "title": "Threads参数",
+ "description": "Threads参数",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/ThreadsPostOptionsDto"
+ }
+ ]
+ }
+ }
+ },
+ "CreatePublishDto": {
+ "type": "object",
+ "properties": {
+ "flowId": {
+ "type": "string",
+ "title": "流水ID",
+ "description": "流水ID--使用UUID"
+ },
+ "type": {
+ "type": "string",
+ "title": "类型",
+ "enum": [
+ "video",
+ "article"
+ ],
+ "description": "类型"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "内容"
+ },
+ "accountId": {
+ "type": "string",
+ "title": "账户ID"
+ },
+ "accountType": {
+ "type": "string",
+ "title": "平台类型",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ],
+ "description": "平台类型"
+ },
+ "videoUrl": {
+ "type": "string",
+ "title": "视频路径"
+ },
+ "coverUrl": {
+ "type": "string",
+ "title": "封面路径"
+ },
+ "imgUrlList": {
+ "title": "图片列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "publishTime": {
+ "format": "date-time",
+ "type": "string",
+ "title": "发布日期"
+ },
+ "topics": {
+ "title": "话题列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "option": {
+ "title": "其他配置",
+ "description": "其他配置",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/PublishOptionDto"
+ }
+ ]
+ }
+ },
+ "required": [
+ "flowId",
+ "type",
+ "title",
+ "desc",
+ "accountId",
+ "accountType"
+ ]
+ },
+ "CreatePublishRecordDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "flowId": {
+ "type": "string"
+ },
+ "dataId": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string",
+ "enum": [
+ "video",
+ "article"
+ ]
+ },
+ "title": {
+ "type": "string"
+ },
+ "desc": {
+ "type": "string"
+ },
+ "accountId": {
+ "type": "string"
+ },
+ "topics": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "accountType": {
+ "type": "string",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ]
+ },
+ "uid": {
+ "type": "string"
+ },
+ "videoUrl": {
+ "type": "string"
+ },
+ "coverUrl": {
+ "type": "string"
+ },
+ "imgUrlList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "publishTime": {},
+ "imgList": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "errorMsg": {
+ "type": "string"
+ },
+ "option": {}
+ },
+ "required": [
+ "dataId",
+ "type",
+ "accountId",
+ "topics",
+ "accountType",
+ "uid",
+ "publishTime",
+ "option"
+ ],
+ "additionalProperties": false
+ },
+ "PubRecordListFilterDto": {
+ "type": "object",
+ "properties": {
+ "accountType": {
+ "type": "string",
+ "title": "账户类型",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ],
+ "description": "账户类型"
+ },
+ "type": {
+ "type": "string",
+ "title": "类型",
+ "enum": [
+ "video",
+ "article"
+ ],
+ "description": "类型"
+ },
+ "status": {
+ "type": "number",
+ "title": "状态",
+ "enum": [
+ -1,
+ 0,
+ 1,
+ 2
+ ],
+ "description": "状态"
+ },
+ "time": {
+ "title": "创建时间区间,必须为UTC时间",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ }
+ },
+ "PublishRecordItemDto": {
+ "type": "object",
+ "properties": {
+ "dataId": {
+ "type": "string",
+ "description": "数据ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "记录ID"
+ },
+ "flowId": {
+ "type": "string",
+ "example": "flow001",
+ "description": "流程ID"
+ },
+ "type": {
+ "type": "string",
+ "example": "video",
+ "description": "发布类型(如 video, article)"
+ },
+ "title": {
+ "type": "string",
+ "example": "标题示例",
+ "description": "发布标题"
+ },
+ "desc": {
+ "type": "string",
+ "example": "这是一个描述",
+ "description": "发布描述"
+ },
+ "accountId": {
+ "type": "string",
+ "example": "ACCOUNT-001",
+ "description": "账号ID"
+ },
+ "accountType": {
+ "type": "string",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ],
+ "description": "账号类型"
+ },
+ "uid": {
+ "type": "string",
+ "example": "USER-001",
+ "description": "用户UID"
+ },
+ "videoUrl": {
+ "type": "string",
+ "example": "https://example.com/video.mp4",
+ "description": "视频地址"
+ },
+ "coverUrl": {
+ "type": "string",
+ "example": "https://example.com/cover.jpg",
+ "description": "封面图地址"
+ },
+ "imgUrlList": {
+ "example": [
+ "https://example.com/image1.jpg",
+ "https://example.com/image2.jpg"
+ ],
+ "description": "图片列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "publishTime": {
+ "format": "date-time",
+ "type": "string",
+ "example": "2025-04-27T18:00:18Z",
+ "description": "发布时间"
+ },
+ "status": {
+ "type": "number",
+ "enum": [
+ -1,
+ 0,
+ 1,
+ 2
+ ],
+ "description": "发布状态"
+ },
+ "errorMsg": {
+ "type": "string",
+ "example": "错误信息(可为空)",
+ "description": "错误信息",
+ "nullable": true
+ }
+ },
+ "required": [
+ "dataId",
+ "id",
+ "flowId",
+ "type",
+ "title",
+ "desc",
+ "accountId",
+ "accountType",
+ "uid",
+ "imgUrlList",
+ "publishTime",
+ "status",
+ "errorMsg"
+ ]
+ },
+ "UpdatePublishRecordTimeDto": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "数据ID"
+ },
+ "publishTime": {
+ "format": "date-time",
+ "type": "string",
+ "title": "新的发布时间"
+ }
+ },
+ "required": [
+ "id",
+ "publishTime"
+ ]
+ },
+ "AddArcCommentDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账号ID",
+ "description": "账号ID"
+ },
+ "dataId": {
+ "type": "string",
+ "title": "作品ID",
+ "description": "作品ID"
+ },
+ "content": {
+ "type": "string",
+ "title": "内容",
+ "description": "内容"
+ }
+ },
+ "required": [
+ "accountId",
+ "dataId",
+ "content"
+ ]
+ },
+ "ReplyCommentDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账号ID",
+ "description": "账号ID"
+ },
+ "commentId": {
+ "type": "string",
+ "title": "评论ID",
+ "description": "评论ID"
+ },
+ "content": {
+ "type": "string",
+ "title": "内容",
+ "description": "内容"
+ }
+ },
+ "required": [
+ "accountId",
+ "commentId",
+ "content"
+ ]
+ },
+ "DelCommentDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账号ID",
+ "description": "账号ID"
+ },
+ "commentId": {
+ "type": "string",
+ "title": "评论ID",
+ "description": "评论ID"
+ }
+ },
+ "required": [
+ "accountId",
+ "commentId"
+ ]
+ },
+ "CreateSkKeyDto": {
+ "type": "object",
+ "properties": {
+ "desc": {
+ "type": "string",
+ "title": "备注",
+ "description": "备注"
+ }
+ }
+ },
+ "SkKeyUpInfoDto": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "title": "key",
+ "description": "key"
+ },
+ "desc": {
+ "type": "string",
+ "title": "备注",
+ "description": "备注"
+ }
+ },
+ "required": [
+ "key",
+ "desc"
+ ]
+ },
+ "SkKeyAddRefAccountDto": {
+ "type": "object",
+ "properties": {
+ "key": {
+ "type": "string",
+ "title": "key",
+ "description": "key"
+ },
+ "accountId": {
+ "type": "string",
+ "title": "账号ID",
+ "description": "账号ID"
+ }
+ },
+ "required": [
+ "key",
+ "accountId"
+ ]
+ },
+ "VideoInitDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账户ID"
+ },
+ "name": {
+ "type": "string",
+ "title": "文件名称(带格式)"
+ },
+ "utype": {
+ "type": "number",
+ "enum": [
+ 0,
+ 1
+ ]
+ }
+ },
+ "required": [
+ "accountId",
+ "name",
+ "utype"
+ ]
+ },
+ "VideoCompleteDto": {
+ "type": "object",
+ "properties": {
+ "uploadToken": {
+ "type": "string",
+ "title": "上传token"
+ }
+ },
+ "required": [
+ "uploadToken"
+ ]
+ },
+ "UploadLitVideoDto": {
+ "type": "object",
+ "properties": {
+ "uploadToken": {
+ "type": "string",
+ "title": "上传token"
+ }
+ },
+ "required": [
+ "uploadToken"
+ ]
+ },
+ "ArchiveAddByUtokenBodyDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账户ID"
+ },
+ "uploadToken": {
+ "type": "string",
+ "title": "上传token"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "cover": {
+ "type": "string",
+ "title": "封面url"
+ },
+ "tid": {
+ "type": "number",
+ "title": "分区ID,由获取分区信息接口得到"
+ },
+ "noReprint": {
+ "type": "number",
+ "title": "是否允许转载 0-允许,1-不允许。默认0"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ },
+ "tag": {
+ "title": "标签",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "copyright": {
+ "type": "number",
+ "title": "1-原创,2-转载(转载时source必填)"
+ },
+ "source": {
+ "type": "string",
+ "title": "如果copyright为转载,则此字段表示转载来源"
+ }
+ },
+ "required": [
+ "accountId",
+ "uploadToken",
+ "title",
+ "tid",
+ "noReprint",
+ "copyright"
+ ]
+ },
+ "AuthBackQueryDto": {
+ "type": "object",
+ "properties": {}
+ },
+ "UploadSmallVideoDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "title": {
+ "type": "string",
+ "description": "视频标题"
+ },
+ "description": {
+ "type": "string",
+ "description": "视频描述"
+ },
+ "privacyStatus": {
+ "type": "string",
+ "description": "隐私状态",
+ "enum": [
+ "public",
+ "private",
+ "unlisted"
+ ]
+ },
+ "keywords": {
+ "type": "string",
+ "description": "关键词,多个关键词用英文逗号分隔"
+ },
+ "categoryId": {
+ "type": "string",
+ "description": "视频类别ID"
+ },
+ "publishAt": {
+ "type": "string",
+ "description": "发布时间, 符合 ISO 8601 标准的日期时间字符串"
+ }
+ },
+ "required": [
+ "accountId",
+ "title",
+ "description",
+ "privacyStatus"
+ ]
+ },
+ "InitVideoUploadDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "title": {
+ "type": "string",
+ "description": "视频标题"
+ },
+ "description": {
+ "type": "string",
+ "description": "视频描述"
+ },
+ "keywords": {
+ "type": "string",
+ "description": "关键词, 多个关键词用英文逗号分隔"
+ },
+ "categoryId": {
+ "type": "string",
+ "description": "视频类别ID"
+ },
+ "privacyStatus": {
+ "type": "string",
+ "description": "隐私状态",
+ "enum": [
+ "public",
+ "private",
+ "unlisted"
+ ]
+ },
+ "publishAt": {
+ "type": "string",
+ "description": "发布时间,符合ISO 8601标准的日期时间字符串"
+ },
+ "contentLength": {
+ "type": "number",
+ "description": "视频文件总大小,字节数"
+ }
+ },
+ "required": [
+ "accountId",
+ "title",
+ "description",
+ "privacyStatus",
+ "contentLength"
+ ]
+ },
+ "UploadVideoPartDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "uploadToken": {
+ "type": "string",
+ "title": "上传token"
+ },
+ "partNumber": {
+ "type": "number",
+ "title": "分片索引"
+ }
+ },
+ "required": [
+ "accountId",
+ "uploadToken",
+ "partNumber"
+ ]
+ },
+ "UploadVideoCompleteDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "uploadToken": {
+ "type": "string",
+ "description": "上传令牌"
+ },
+ "totalSize": {
+ "type": "number",
+ "description": "视频文件总大小,字节数"
+ }
+ },
+ "required": [
+ "accountId",
+ "uploadToken",
+ "totalSize"
+ ]
+ },
+ "InsertCommentThreadsDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "channelId": {
+ "type": "string",
+ "description": "频道ID"
+ },
+ "videoId": {
+ "type": "string",
+ "description": "视频ID"
+ },
+ "textOriginal": {
+ "type": "string",
+ "description": "评论内容"
+ }
+ },
+ "required": [
+ "accountId",
+ "channelId",
+ "videoId",
+ "textOriginal"
+ ]
+ },
+ "SetCommentThreadsModerationStatusDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "评论ID"
+ },
+ "moderationStatus": {
+ "type": "string",
+ "description": "审核状态,heldForReview 等待管理员审核 published - 清除要公开显示的评论。 rejected - 不显示该评论",
+ "enum": [
+ "heldForReview",
+ "published",
+ "rejected"
+ ]
+ },
+ "banAuthor": {
+ "type": "boolean",
+ "description": "是否自动拒绝评论作者撰写的任何其他评论 将作者加入黑名单,"
+ }
+ },
+ "required": [
+ "accountId",
+ "id",
+ "moderationStatus"
+ ]
+ },
+ "InsertCommentDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "textOriginal": {
+ "type": "string",
+ "description": "评论内容, 注意:textOriginal 和 parentId 必须有且只能有一个"
+ },
+ "parentId": {
+ "type": "string",
+ "description": "父评论ID, 注意:textOriginal 和 parentId 必须有且只能有一个"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ },
+ "UpdateCommentDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "评论ID"
+ },
+ "textOriginal": {
+ "type": "string",
+ "description": "评论内容"
+ }
+ },
+ "required": [
+ "accountId",
+ "id",
+ "textOriginal"
+ ]
+ },
+ "DeleteCommentDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "评论ID"
+ }
+ },
+ "required": [
+ "accountId",
+ "id"
+ ]
+ },
+ "VideoRateDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "视频ID"
+ },
+ "rating": {
+ "type": "string",
+ "description": "点赞、踩 like/dislike/none ",
+ "enum": [
+ "like",
+ "dislike",
+ "none"
+ ]
+ }
+ },
+ "required": [
+ "accountId",
+ "id",
+ "rating"
+ ]
+ },
+ "DeleteVideoDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "视频ID"
+ }
+ },
+ "required": [
+ "accountId",
+ "id"
+ ]
+ },
+ "UpdateVideoDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "视频ID"
+ },
+ "title": {
+ "type": "string",
+ "description": "标题"
+ },
+ "categoryId": {
+ "type": "string",
+ "description": "类别ID"
+ },
+ "defaultLanguage": {
+ "type": "string",
+ "description": "默认语言"
+ },
+ "description": {
+ "type": "string",
+ "description": "描述"
+ },
+ "privacyStatus": {
+ "type": "string",
+ "description": "隐私状态"
+ },
+ "tags": {
+ "type": "string",
+ "description": "标签"
+ },
+ "publishAt": {
+ "type": "string",
+ "description": "发布时间"
+ },
+ "recordingDate": {
+ "type": "string",
+ "description": "录制日期"
+ }
+ },
+ "required": [
+ "accountId",
+ "id",
+ "title",
+ "categoryId"
+ ]
+ },
+ "InsertPlayListDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "title": {
+ "type": "string",
+ "description": "标题"
+ },
+ "description": {
+ "type": "string",
+ "description": "描述"
+ },
+ "privacyStatus": {
+ "type": "string",
+ "description": "隐私状态"
+ }
+ },
+ "required": [
+ "accountId",
+ "title"
+ ]
+ },
+ "UpdatePlayListDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "播放列表ID"
+ },
+ "title": {
+ "type": "string",
+ "description": "标题"
+ },
+ "description": {
+ "type": "string",
+ "description": "描述"
+ },
+ "privacyStatus": {
+ "type": "string",
+ "description": "隐私状态"
+ },
+ "podcastStatus": {
+ "type": "string",
+ "description": "播客状态"
+ }
+ },
+ "required": [
+ "accountId",
+ "id",
+ "title"
+ ]
+ },
+ "DeletePlayListDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "播放列表ID"
+ }
+ },
+ "required": [
+ "accountId",
+ "id"
+ ]
+ },
+ "GetPlayListDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "channelId": {
+ "type": "string",
+ "description": "频道ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "播放列表ID"
+ },
+ "mine": {
+ "type": "boolean",
+ "description": "我的播放列表"
+ },
+ "maxResults": {
+ "type": "number",
+ "description": "最大结果数"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "分页令牌"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ },
+ "InsertPlayItemsDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "playlistId": {
+ "type": "string",
+ "description": "播放列表ID"
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "资源ID"
+ },
+ "position": {
+ "type": "number",
+ "description": "位置"
+ },
+ "note": {
+ "type": "string",
+ "description": "说明"
+ },
+ "startAt": {
+ "type": "string",
+ "description": "开始时间"
+ },
+ "endAt": {
+ "type": "string",
+ "description": "结束时间"
+ }
+ },
+ "required": [
+ "accountId",
+ "playlistId",
+ "resourceId"
+ ]
+ },
+ "UpdatePlayItemsDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "播放列表项ID"
+ },
+ "playlistId": {
+ "type": "string",
+ "description": "播放列表ID"
+ },
+ "resourceId": {
+ "type": "string",
+ "description": "资源ID"
+ },
+ "position": {
+ "type": "number",
+ "description": "位置"
+ },
+ "note": {
+ "type": "string",
+ "description": "说明"
+ },
+ "startAt": {
+ "type": "string",
+ "description": "开始时间"
+ },
+ "endAt": {
+ "type": "string",
+ "description": "结束时间"
+ }
+ },
+ "required": [
+ "accountId",
+ "id",
+ "playlistId",
+ "resourceId"
+ ]
+ },
+ "DeletePlayItemsDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "播放列表项ID"
+ }
+ },
+ "required": [
+ "accountId",
+ "id"
+ ]
+ },
+ "GetPlayItemsDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "播放列表ID"
+ },
+ "playlistId": {
+ "type": "string",
+ "description": "我的播放列表"
+ },
+ "maxResults": {
+ "type": "number",
+ "description": "最大结果数"
+ },
+ "pageToken": {
+ "type": "string",
+ "description": "分页令牌"
+ },
+ "videoId": {
+ "type": "string",
+ "description": "视频ID"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ },
+ "GetChannelsSectionsListDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "channelId": {
+ "type": "string",
+ "description": "频道ID, 注意:channelId、id、mine,必须有且只能有一个"
+ },
+ "id": {
+ "type": "string",
+ "description": "板块ID, 多个id用英文逗号分隔,注意:channelId、id、mine,必须有且只能有一个"
+ },
+ "mine": {
+ "type": "boolean",
+ "description": "是否查询自己的板块, 注意:channelId、id、mine,必须有且只能有一个"
+ }
+ },
+ "required": [
+ "accountId"
+ ]
+ },
+ "GetAuthUrlDto": {
+ "type": "object",
+ "properties": {
+ "platform": {
+ "type": "string",
+ "title": "平台名称"
+ }
+ },
+ "required": [
+ "platform"
+ ]
+ },
+ "RefreshTokenDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账户ID"
+ },
+ "refreshToken": {
+ "type": "string",
+ "title": "刷新令牌"
+ }
+ },
+ "required": [
+ "accountId",
+ "refreshToken"
+ ]
+ },
+ "VideoPublishDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账户ID"
+ },
+ "postInfo": {
+ "type": "object",
+ "title": "发布信息"
+ },
+ "sourceInfo": {
+ "type": "object",
+ "title": "源信息"
+ }
+ },
+ "required": [
+ "accountId",
+ "postInfo",
+ "sourceInfo"
+ ]
+ },
+ "PhotoPublishDto": {
+ "type": "object",
+ "properties": {
+ "accountId": {
+ "type": "string",
+ "title": "账户ID"
+ },
+ "postMode": {
+ "type": "string",
+ "title": "发布模式"
+ },
+ "postInfo": {
+ "type": "object",
+ "title": "发布信息"
+ },
+ "sourceInfo": {
+ "type": "object",
+ "title": "源信息"
+ }
+ },
+ "required": [
+ "accountId",
+ "postMode",
+ "postInfo",
+ "sourceInfo"
+ ]
+ },
+ "UploadVideoFileDto": {
+ "type": "object",
+ "properties": {
+ "uploadUrl": {
+ "type": "string",
+ "title": "上传URL"
+ },
+ "contentType": {
+ "type": "string",
+ "title": "内容类型"
+ }
+ },
+ "required": [
+ "uploadUrl",
+ "contentType"
+ ]
+ },
+ "CreateBoardBodyDto": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "画板名称"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "MediaSource": {
+ "type": "object",
+ "properties": {
+ "source_type": {
+ "type": "object",
+ "title": "媒体类型"
+ },
+ "url": {
+ "type": "string",
+ "title": "地址"
+ }
+ },
+ "required": [
+ "source_type",
+ "url"
+ ]
+ },
+ "CreatePinBodyDto": {
+ "type": "object",
+ "properties": {
+ "board_id": {
+ "type": "string",
+ "title": "此Pin所属board的板块。"
+ },
+ "link": {
+ "type": "string",
+ "title": "点击连接跳转的link"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "description": {
+ "type": "string",
+ "title": "描述"
+ },
+ "dominant_color": {
+ "type": "string",
+ "title": "RGB表示的颜色 主引脚颜色。十六进制数,例如“#6E7874”"
+ },
+ "alt_text": {
+ "type": "string",
+ "title": "鼠标悬浮描述"
+ },
+ "media_source": {
+ "title": "媒体来源",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/MediaSource"
+ }
+ ]
+ },
+ "items": {
+ "title": "点开pin里面包含的图片文案信息",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "board_id",
+ "media_source",
+ "items"
+ ]
+ },
+ "FacebookPageSelectionDto": {
+ "type": "object",
+ "properties": {
+ "pageIds": {
+ "title": "页面ID列表",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "pageIds"
+ ]
+ },
+ "CreateAccountDto": {
+ "type": "object",
+ "properties": {
+ "refresh_token": {
+ "type": "string",
+ "description": "refresh_token"
+ },
+ "access_token": {
+ "type": "string",
+ "description": "access_token"
+ },
+ "type": {
+ "type": "string",
+ "description": "平台类型",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ]
+ },
+ "loginCookie": {
+ "type": "string",
+ "description": "登录Cookie"
+ },
+ "loginTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "登录时间"
+ },
+ "uid": {
+ "type": "string",
+ "description": "平台用户ID"
+ },
+ "account": {
+ "type": "string",
+ "description": "账号"
+ },
+ "avatar": {
+ "type": "string",
+ "description": "头像"
+ },
+ "nickname": {
+ "type": "string",
+ "description": "昵称"
+ },
+ "fansCount": {
+ "type": "number",
+ "description": "粉丝数"
+ },
+ "readCount": {
+ "type": "number",
+ "description": "阅读数"
+ },
+ "likeCount": {
+ "type": "number",
+ "description": "点赞数"
+ },
+ "collectCount": {
+ "type": "number",
+ "description": "收藏数"
+ },
+ "forwardCount": {
+ "type": "number",
+ "description": "转发数"
+ },
+ "commentCount": {
+ "type": "number",
+ "description": "评论数"
+ },
+ "lastStatsTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "最后统计时间"
+ },
+ "workCount": {
+ "type": "number",
+ "description": "作品数"
+ },
+ "income": {
+ "type": "number",
+ "description": "收入"
+ },
+ "groupId": {
+ "type": "string",
+ "description": "账户组ID"
+ }
+ },
+ "required": [
+ "refresh_token",
+ "access_token",
+ "type",
+ "loginCookie",
+ "loginTime",
+ "uid",
+ "account",
+ "avatar",
+ "nickname",
+ "fansCount",
+ "readCount",
+ "likeCount",
+ "collectCount",
+ "forwardCount",
+ "commentCount",
+ "lastStatsTime",
+ "workCount",
+ "income",
+ "groupId"
+ ]
+ },
+ "UpdateAccountDto": {
+ "type": "object",
+ "properties": {
+ "refresh_token": {
+ "type": "string",
+ "description": "refresh_token"
+ },
+ "access_token": {
+ "type": "string",
+ "description": "access_token"
+ },
+ "type": {
+ "type": "string",
+ "description": "平台类型",
+ "enum": [
+ "douyin",
+ "xhs",
+ "wxSph",
+ "KWAI",
+ "youtube",
+ "wxGzh",
+ "bilibili",
+ "twitter",
+ "tiktok",
+ "facebook",
+ "instagram",
+ "threads"
+ ]
+ },
+ "loginCookie": {
+ "type": "string",
+ "description": "登录Cookie"
+ },
+ "loginTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "登录时间"
+ },
+ "uid": {
+ "type": "string",
+ "description": "平台用户ID"
+ },
+ "account": {
+ "type": "string",
+ "description": "账号"
+ },
+ "avatar": {
+ "type": "string",
+ "description": "头像"
+ },
+ "nickname": {
+ "type": "string",
+ "description": "昵称"
+ },
+ "fansCount": {
+ "type": "number",
+ "description": "粉丝数"
+ },
+ "readCount": {
+ "type": "number",
+ "description": "阅读数"
+ },
+ "likeCount": {
+ "type": "number",
+ "description": "点赞数"
+ },
+ "collectCount": {
+ "type": "number",
+ "description": "收藏数"
+ },
+ "forwardCount": {
+ "type": "number",
+ "description": "转发数"
+ },
+ "commentCount": {
+ "type": "number",
+ "description": "评论数"
+ },
+ "lastStatsTime": {
+ "format": "date-time",
+ "type": "string",
+ "description": "最后统计时间"
+ },
+ "workCount": {
+ "type": "number",
+ "description": "作品数"
+ },
+ "income": {
+ "type": "number",
+ "description": "收入"
+ },
+ "groupId": {
+ "type": "string",
+ "description": "账户组ID"
+ },
+ "id": {
+ "type": "string",
+ "description": "更新ID"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "UpdateAccountStatusDto": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "status": {
+ "type": "number",
+ "description": "状态"
+ }
+ },
+ "required": [
+ "id",
+ "status"
+ ]
+ },
+ "DeleteAccountsDto": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "description": "要删除的ID",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "ids"
+ ]
+ },
+ "UpdateAccountStatisticsDto": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "description": "账号ID"
+ },
+ "workCount": {
+ "type": "number",
+ "description": "作品数"
+ },
+ "fansCount": {
+ "type": "number",
+ "description": "粉丝数"
+ },
+ "readCount": {
+ "type": "number",
+ "description": "阅读数"
+ },
+ "likeCount": {
+ "type": "number",
+ "description": "点赞数"
+ },
+ "collectCount": {
+ "type": "number",
+ "description": "收藏数"
+ },
+ "commentCount": {
+ "type": "number",
+ "description": "评论数"
+ },
+ "income": {
+ "type": "number",
+ "description": "收入"
+ }
+ },
+ "required": [
+ "id",
+ "workCount",
+ "fansCount",
+ "readCount",
+ "likeCount",
+ "collectCount",
+ "commentCount",
+ "income"
+ ]
+ },
+ "CreateAccountGroupDto": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "组名称"
+ },
+ "rank": {
+ "type": "number",
+ "description": "组排序,默认为 1"
+ },
+ "browserConfig": {
+ "type": "object",
+ "description": "浏览器配置必须为JSON格式"
+ }
+ },
+ "required": [
+ "name",
+ "rank",
+ "browserConfig"
+ ]
+ },
+ "UpdateAccountGroupDto": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "description": "组名称"
+ },
+ "rank": {
+ "type": "number",
+ "description": "组排序,默认为 1"
+ },
+ "browserConfig": {
+ "type": "object",
+ "description": "浏览器配置必须为JSON格式"
+ },
+ "id": {
+ "type": "string",
+ "description": "更新ID"
+ }
+ },
+ "required": [
+ "name",
+ "rank",
+ "browserConfig",
+ "id"
+ ]
+ },
+ "DeleteAccountGroupDto": {
+ "type": "object",
+ "properties": {
+ "ids": {
+ "description": "要删除的ID",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "ids"
+ ]
+ },
+ "GenerateFingerprintDto": {
+ "type": "object",
+ "properties": {
+ "operatingSystems": {
+ "type": "string",
+ "title": "指定要使用的操作系统的字符串 \"windows\" | \"macos\" | \"linux\" | \"android\" | \"ios\""
+ }
+ },
+ "required": [
+ "operatingSystems"
+ ]
+ },
+ "VideoAiDesDto": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "视频URL"
+ }
+ },
+ "required": [
+ "url"
+ ]
+ },
+ "ReviewAi": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ },
+ "max": {
+ "type": "number",
+ "title": "最大字数"
+ }
+ },
+ "required": [
+ "title"
+ ]
+ },
+ "ReviewImgAi": {
+ "type": "object",
+ "properties": {
+ "imgUrl": {
+ "type": "string",
+ "title": "图片链接"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ },
+ "max": {
+ "type": "number",
+ "title": "最大字数"
+ }
+ },
+ "required": [
+ "imgUrl",
+ "title"
+ ]
+ },
+ "ReviewAiRecover": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string",
+ "title": "评论内容"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ },
+ "max": {
+ "type": "number",
+ "title": "最大字数"
+ }
+ },
+ "required": [
+ "content"
+ ]
+ },
+ "AiArticleHtmlDto": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string",
+ "title": "内容"
+ }
+ },
+ "required": [
+ "content"
+ ]
+ },
+ "AdminFireflycardDto": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string",
+ "title": "内容"
+ },
+ "temp": {
+ "type": "string",
+ "description": "模板",
+ "enum": [
+ "tempA",
+ "tempB",
+ "tempC",
+ "tempJin",
+ "tempMemo",
+ "tempEasy",
+ "tempBlackSun",
+ "tempE",
+ "tempWrite",
+ "code",
+ "tempD"
+ ]
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ }
+ },
+ "required": [
+ "content",
+ "temp"
+ ]
+ },
+ "AdminAiMarkdownDto": {
+ "type": "object",
+ "properties": {
+ "prompt": {
+ "type": "string",
+ "title": "系统提示词"
+ },
+ "content": {
+ "type": "string",
+ "title": "内容"
+ }
+ },
+ "required": [
+ "prompt",
+ "content"
+ ]
+ },
+ "AdminJmTaskDto": {
+ "type": "object",
+ "properties": {
+ "prompt": {
+ "type": "string",
+ "title": "提示词"
+ },
+ "width": {
+ "type": "number",
+ "title": "宽度"
+ },
+ "height": {
+ "type": "number",
+ "title": "高度"
+ },
+ "sessionIds": {
+ "title": "sessionIds",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "prompt",
+ "width",
+ "height",
+ "sessionIds"
+ ]
+ },
+ "TextModerationDto": {
+ "type": "object",
+ "properties": {
+ "content": {
+ "type": "string",
+ "title": "内容"
+ }
+ },
+ "required": [
+ "content"
+ ]
+ },
+ "MaterialMediaDto": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "type": "string",
+ "title": "资源链接"
+ },
+ "type": {
+ "type": "string",
+ "title": "资源类型",
+ "enum": [
+ "video",
+ "img"
+ ]
+ },
+ "content": {
+ "type": "string",
+ "title": "文本内容"
+ }
+ },
+ "required": [
+ "url",
+ "type"
+ ]
+ },
+ "CreateMaterialDto": {
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "type": "string",
+ "title": "组ID"
+ },
+ "coverUrl": {
+ "type": "string",
+ "title": "封面图"
+ },
+ "mediaList": {
+ "title": "媒体数组",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MaterialMediaDto"
+ }
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "内容"
+ },
+ "option": {
+ "type": "object",
+ "title": "其他属性"
+ }
+ },
+ "required": [
+ "groupId",
+ "mediaList",
+ "title"
+ ]
+ },
+ "CreateMaterialTaskDto": {
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "type": "string",
+ "title": "组ID"
+ },
+ "num": {
+ "type": "number",
+ "title": "生成数量"
+ },
+ "aiModelTag": {
+ "type": "string",
+ "title": "AI模型tag"
+ },
+ "prompt": {
+ "type": "string",
+ "title": "提示词"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ },
+ "mediaGroups": {
+ "title": "使用的媒体组数组",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "coverGroup": {
+ "type": "string",
+ "title": "封面媒体组"
+ },
+ "option": {
+ "type": "object",
+ "title": "高级设置"
+ },
+ "textMax": {
+ "type": "number",
+ "title": "最大文字数量"
+ },
+ "language": {
+ "type": "string",
+ "title": "语言"
+ }
+ },
+ "required": [
+ "groupId",
+ "num",
+ "aiModelTag",
+ "prompt",
+ "mediaGroups",
+ "coverGroup"
+ ]
+ },
+ "UpdateMaterialDto": {
+ "type": "object",
+ "properties": {
+ "coverUrl": {
+ "type": "string",
+ "title": "封面图"
+ },
+ "mediaList": {
+ "title": "媒体数组",
+ "type": "array",
+ "items": {
+ "$ref": "#/components/schemas/MaterialMediaDto"
+ }
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "内容"
+ },
+ "option": {
+ "type": "object",
+ "title": "其他属性"
+ }
+ },
+ "required": [
+ "mediaList",
+ "title"
+ ]
+ },
+ "CreateMaterialGroupDto": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "description": "素材类型",
+ "enum": [
+ "video",
+ "article"
+ ]
+ },
+ "name": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ }
+ },
+ "required": [
+ "type",
+ "name"
+ ]
+ },
+ "UpdateMaterialGroupDto": {
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ }
+ },
+ "required": [
+ "name"
+ ]
+ },
+ "CreateMediaDto": {
+ "type": "object",
+ "properties": {
+ "groupId": {
+ "type": "string",
+ "title": "组ID"
+ },
+ "materialId": {
+ "type": "string",
+ "title": "素材ID"
+ },
+ "type": {
+ "type": "string",
+ "title": "类型",
+ "enum": [
+ "video",
+ "img"
+ ],
+ "description": "类型"
+ },
+ "url": {
+ "type": "string",
+ "title": "文件链接"
+ },
+ "thumbUrl": {
+ "type": "string",
+ "title": "缩略图"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ }
+ },
+ "required": [
+ "groupId",
+ "type",
+ "url",
+ "title",
+ "desc"
+ ]
+ },
+ "CreateMediaGroupDto": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "title": "类型",
+ "enum": [
+ "video",
+ "img"
+ ],
+ "description": "类型"
+ },
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ }
+ },
+ "required": [
+ "type",
+ "title",
+ "desc"
+ ]
+ },
+ "UpdateMediaGroupDto": {
+ "type": "object",
+ "properties": {
+ "title": {
+ "type": "string",
+ "title": "标题"
+ },
+ "desc": {
+ "type": "string",
+ "title": "描述"
+ }
+ },
+ "required": [
+ "title",
+ "desc"
+ ]
+ },
+ "CheckoutListBody": {
+ "type": "object",
+ "properties": {
+ "page": {
+ "type": "number",
+ "title": "页面"
+ },
+ "size": {
+ "type": "number",
+ "title": "每页个数"
+ }
+ }
+ },
+ "MetadataDto": {
+ "type": "object",
+ "properties": {}
+ },
+ "CheckoutBodyDto": {
+ "type": "object",
+ "properties": {
+ "success_url": {
+ "type": "string",
+ "title": "默认回到域名首页,如果指定回调页面只需要加上域名后面path地址即可"
+ },
+ "payment": {
+ "type": "string",
+ "title": "付款模式-连续包月-连续包年-一次性付",
+ "enum": [
+ "month",
+ "year",
+ "onceYear",
+ "onceMonth"
+ ]
+ },
+ "mode": {
+ "type": "string",
+ "title": "支付模式",
+ "enum": [
+ "payment",
+ "subscription"
+ ]
+ },
+ "metadata": {
+ "title": "aitoearn订单信息",
+ "allOf": [
+ {
+ "$ref": "#/components/schemas/MetadataDto"
+ }
+ ]
+ }
+ },
+ "required": [
+ "payment",
+ "mode"
+ ]
+ },
+ "RefundBodyDto": {
+ "type": "object",
+ "properties": {
+ "charge": {
+ "type": "string",
+ "title": "checkout表里面的charge "
+ }
+ },
+ "required": [
+ "charge"
+ ]
+ },
+ "SubscriptionBodyDto": {
+ "type": "object",
+ "properties": {
+ "page": {
+ "type": "number",
+ "title": "页面"
+ },
+ "size": {
+ "type": "number",
+ "title": "每页个数"
+ }
+ },
+ "required": [
+ "page",
+ "size"
+ ]
+ },
+ "UnSubscriptionBodyDto": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string",
+ "title": "订阅id"
+ }
+ },
+ "required": [
+ "id"
+ ]
+ },
+ "TaskVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "maxRecruits": {
+ "type": "number"
+ },
+ "currentRecruits": {
+ "type": "number"
+ },
+ "deadline": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "reward": {
+ "type": "number"
+ },
+ "status": {
+ "type": "string"
+ },
+ "accountTypes": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "taskData": {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string"
+ },
+ "targetWorksId": {
+ "type": "string"
+ },
+ "targetAuthorId": {
+ "type": "string"
+ },
+ "platform": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "additionalProperties": false
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "description",
+ "type",
+ "maxRecruits",
+ "currentRecruits",
+ "deadline",
+ "reward",
+ "status",
+ "accountTypes",
+ "createdAt",
+ "updatedAt"
+ ],
+ "additionalProperties": false
+ },
+ "TotalAmountVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "totalAmount": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "totalAmount"
+ ],
+ "additionalProperties": false
+ },
+ "AcceptTaskDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "taskId": {
+ "type": "string",
+ "minLength": 1
+ },
+ "accountType": {
+ "type": "string",
+ "minLength": 1
+ },
+ "uid": {
+ "type": "string",
+ "minLength": 1
+ },
+ "account": {
+ "type": "string",
+ "minLength": 1
+ }
+ },
+ "required": [
+ "taskId",
+ "accountType",
+ "uid",
+ "account"
+ ],
+ "additionalProperties": false
+ },
+ "UserTaskVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "taskId": {
+ "type": "string"
+ },
+ "userId": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "accountType": {
+ "type": "string"
+ },
+ "uid": {
+ "type": "string"
+ },
+ "account": {
+ "type": "string"
+ },
+ "reward": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "userId",
+ "status",
+ "accountType",
+ "uid",
+ "account",
+ "reward",
+ "createdAt"
+ ],
+ "additionalProperties": false
+ },
+ "MaterialVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "taskId": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "tags": {
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "aiPrompt": {
+ "type": "string"
+ },
+ "priority": {
+ "type": "number"
+ },
+ "content": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time"
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "type",
+ "status",
+ "createdAt",
+ "updatedAt"
+ ],
+ "additionalProperties": false
+ },
+ "UserTaskWithTaskVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "taskId": {
+ "type": "string"
+ },
+ "userId": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "accountType": {
+ "type": "string"
+ },
+ "uid": {
+ "type": "string"
+ },
+ "account": {
+ "type": "string"
+ },
+ "reward": {
+ "type": "number"
+ },
+ "createdAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "updatedAt": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "task": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "deadline": {
+ "type": "string",
+ "format": "date-time"
+ },
+ "status": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "title",
+ "description",
+ "type",
+ "deadline",
+ "status"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "id",
+ "taskId",
+ "userId",
+ "status",
+ "accountType",
+ "uid",
+ "account",
+ "reward",
+ "createdAt"
+ ],
+ "additionalProperties": false
+ },
+ "UnreadCountVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "count": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 9007199254740991
+ }
+ },
+ "required": [
+ "count"
+ ],
+ "additionalProperties": false
+ },
+ "NotificationListVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "items": {
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "userId": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "readAt": {
+ "type": "string"
+ },
+ "relatedId": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "userId",
+ "title",
+ "content",
+ "type",
+ "status",
+ "relatedId",
+ "createdAt",
+ "updatedAt"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "total": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 9007199254740991
+ },
+ "page": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 9007199254740991
+ },
+ "pageSize": {
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 9007199254740991
+ },
+ "totalPages": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 9007199254740991
+ }
+ },
+ "required": [
+ "items",
+ "total",
+ "page",
+ "pageSize",
+ "totalPages"
+ ],
+ "additionalProperties": false
+ },
+ "NotificationVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "id": {
+ "type": "string"
+ },
+ "userId": {
+ "type": "string"
+ },
+ "title": {
+ "type": "string"
+ },
+ "content": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ },
+ "status": {
+ "type": "string"
+ },
+ "readAt": {
+ "type": "string"
+ },
+ "relatedId": {
+ "type": "string"
+ },
+ "createdAt": {
+ "type": "string"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "userId",
+ "title",
+ "content",
+ "type",
+ "status",
+ "relatedId",
+ "createdAt",
+ "updatedAt"
+ ],
+ "additionalProperties": false
+ },
+ "MarkAsReadDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "notificationIds": {
+ "minItems": 1,
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1
+ }
+ }
+ },
+ "required": [
+ "notificationIds"
+ ],
+ "additionalProperties": false
+ },
+ "OperationResultVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "affectedCount": {
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 9007199254740991
+ }
+ },
+ "additionalProperties": false
+ },
+ "BatchDeleteDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "notificationIds": {
+ "minItems": 1,
+ "type": "array",
+ "items": {
+ "type": "string",
+ "minLength": 1
+ }
+ }
+ },
+ "required": [
+ "notificationIds"
+ ],
+ "additionalProperties": false
+ },
+ "UserAiChatRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "messages": {
+ "description": "消息列表",
+ "minItems": 1,
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "role": {
+ "description": "消息角色",
+ "type": "string",
+ "enum": [
+ "system",
+ "user",
+ "assistant"
+ ]
+ },
+ "content": {
+ "description": "消息内容",
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "array",
+ "items": {
+ "anyOf": [
+ {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "text"
+ },
+ "text": {
+ "description": "文本内容",
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "text"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "image_url"
+ },
+ "image_url": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "description": "图片链接",
+ "type": "string",
+ "format": "uri"
+ },
+ "detail": {
+ "description": "图片处理质量",
+ "type": "string",
+ "enum": [
+ "auto",
+ "low",
+ "high"
+ ]
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "type",
+ "image_url"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "video_url"
+ },
+ "video_url": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "description": "图片链接",
+ "type": "string",
+ "format": "uri"
+ }
+ },
+ "required": [
+ "url"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "type",
+ "video_url"
+ ],
+ "additionalProperties": false
+ },
+ {
+ "type": "object",
+ "properties": {
+ "type": {
+ "type": "string",
+ "const": "input_audio"
+ },
+ "input_audio": {
+ "type": "object",
+ "properties": {
+ "data": {
+ "description": "图片链接",
+ "type": "string",
+ "format": "uri"
+ },
+ "format": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "data",
+ "format"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "type",
+ "input_audio"
+ ],
+ "additionalProperties": false
+ }
+ ]
+ }
+ }
+ ]
+ }
+ },
+ "required": [
+ "role",
+ "content"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "model": {
+ "description": "AI模型",
+ "default": "qwen-plus",
+ "type": "string"
+ },
+ "temperature": {
+ "description": "温度参数",
+ "type": "number",
+ "minimum": 0,
+ "maximum": 2
+ },
+ "maxTokens": {
+ "description": "最大输出token数",
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 9007199254740991
+ }
+ },
+ "required": [
+ "messages",
+ "model"
+ ],
+ "additionalProperties": false
+ },
+ "UserAiChatResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "content": {
+ "description": "AI回复内容",
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {}
+ ]
+ },
+ "model": {
+ "description": "使用的模型",
+ "type": "string"
+ },
+ "usage": {
+ "description": "使用情况",
+ "type": "object",
+ "properties": {
+ "input_tokens": {
+ "description": "输入token数",
+ "type": "number"
+ },
+ "output_tokens": {
+ "description": "输出token数",
+ "type": "number"
+ },
+ "total_tokens": {
+ "description": "总token数",
+ "type": "number"
+ }
+ },
+ "required": [
+ "input_tokens",
+ "output_tokens",
+ "total_tokens"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "content",
+ "model"
+ ],
+ "additionalProperties": false
+ },
+ "UserLogsResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "items": {
+ "description": "日志列表",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "日志ID",
+ "type": "number"
+ },
+ "created_at": {
+ "description": "创建时间",
+ "type": "number"
+ },
+ "content": {
+ "description": "内容",
+ "type": "string"
+ },
+ "model_name": {
+ "description": "模型名称",
+ "type": "string"
+ },
+ "prompt_tokens": {
+ "description": "提示token数",
+ "type": "number"
+ },
+ "completion_tokens": {
+ "description": "完成token数",
+ "type": "number"
+ },
+ "use_time": {
+ "description": "使用时间",
+ "type": "number"
+ }
+ },
+ "required": [
+ "id",
+ "created_at",
+ "content",
+ "model_name",
+ "prompt_tokens",
+ "completion_tokens",
+ "use_time"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "total": {
+ "description": "总数",
+ "type": "number"
+ },
+ "page": {
+ "description": "页码",
+ "type": "number"
+ },
+ "page_size": {
+ "description": "每页大小",
+ "type": "number"
+ }
+ },
+ "required": [
+ "items",
+ "total",
+ "page",
+ "page_size"
+ ],
+ "additionalProperties": false
+ },
+ "UserImageGenerationRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "prompt": {
+ "description": "图片描述提示",
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 4000
+ },
+ "model": {
+ "description": "图片生成模型",
+ "type": "string"
+ },
+ "n": {
+ "description": "生成图片数量",
+ "default": 1,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 10
+ },
+ "quality": {
+ "description": "图片质量",
+ "default": "standard",
+ "type": "string",
+ "enum": [
+ "standard",
+ "hd"
+ ]
+ },
+ "response_format": {
+ "description": "返回格式",
+ "default": "url",
+ "type": "string",
+ "enum": [
+ "url",
+ "b64_json"
+ ]
+ },
+ "size": {
+ "description": "图片尺寸",
+ "default": "1024x1024",
+ "type": "string"
+ },
+ "style": {
+ "description": "图片风格",
+ "default": "vivid",
+ "type": "string",
+ "enum": [
+ "vivid",
+ "natural"
+ ]
+ },
+ "user": {
+ "description": "用户标识符",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "n",
+ "response_format",
+ "size"
+ ],
+ "additionalProperties": false
+ },
+ "UserImageResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "created": {
+ "description": "创建时间",
+ "type": "number"
+ },
+ "list": {
+ "description": "图片数据",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "description": "图片URL",
+ "type": "string"
+ },
+ "b64_json": {
+ "description": "Base64编码的图片",
+ "type": "string"
+ },
+ "revised_prompt": {
+ "description": "修订后的提示",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "usage": {
+ "description": "使用情况",
+ "type": "object",
+ "properties": {
+ "input_tokens": {
+ "description": "输入token数",
+ "type": "number"
+ },
+ "output_tokens": {
+ "description": "输出token数",
+ "type": "number"
+ },
+ "total_tokens": {
+ "description": "总token数",
+ "type": "number"
+ }
+ },
+ "required": [
+ "output_tokens",
+ "total_tokens"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "created",
+ "list"
+ ],
+ "additionalProperties": false
+ },
+ "UserImageEditRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "image": {
+ "description": "原始图片(base64编码)",
+ "type": "string",
+ "minLength": 1
+ },
+ "prompt": {
+ "description": "编辑描述",
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 4000
+ },
+ "mask": {
+ "description": "遮罩图片(base64编码)",
+ "type": "string"
+ },
+ "model": {
+ "description": "图片编辑模型",
+ "type": "string"
+ },
+ "n": {
+ "description": "生成图片数量",
+ "default": 1,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 10
+ },
+ "size": {
+ "description": "图片尺寸",
+ "default": "1024x1024",
+ "type": "string"
+ },
+ "response_format": {
+ "description": "返回格式",
+ "default": "url",
+ "type": "string",
+ "enum": [
+ "url",
+ "b64_json"
+ ]
+ },
+ "user": {
+ "description": "用户标识符",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "prompt",
+ "n",
+ "size",
+ "response_format"
+ ],
+ "additionalProperties": false
+ },
+ "UserImageVariationRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "image": {
+ "description": "原始图片(base64编码)",
+ "type": "string",
+ "minLength": 1
+ },
+ "model": {
+ "description": "图片模型",
+ "type": "string"
+ },
+ "n": {
+ "description": "生成图片数量",
+ "default": 1,
+ "type": "integer",
+ "minimum": 1,
+ "maximum": 10
+ },
+ "size": {
+ "description": "图片尺寸",
+ "default": "1024x1024",
+ "type": "string"
+ },
+ "response_format": {
+ "description": "返回格式",
+ "default": "url",
+ "type": "string",
+ "enum": [
+ "url",
+ "b64_json"
+ ]
+ },
+ "user": {
+ "description": "用户标识符",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image",
+ "n",
+ "size",
+ "response_format"
+ ],
+ "additionalProperties": false
+ },
+ "UserVideoGenerationRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "base64": {
+ "description": "图片base64或prompt里代入图片url",
+ "type": "string"
+ },
+ "mode": {
+ "description": "生成模式",
+ "type": "string",
+ "enum": [
+ "fast",
+ "relax"
+ ]
+ },
+ "prompt": {
+ "description": "url+提示词",
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 4000
+ },
+ "motion": {
+ "description": "动作强度",
+ "type": "string",
+ "enum": [
+ "high",
+ "low"
+ ]
+ },
+ "video_type": {
+ "description": "视频类型",
+ "type": "string",
+ "enum": [
+ "vid_1.1_i2v_480",
+ "vid_1.1_i2v_720",
+ "vid_1.1_i2v_1080"
+ ]
+ },
+ "animate_mode": {
+ "description": "动画模式",
+ "type": "string",
+ "enum": [
+ "manual",
+ "auto"
+ ]
+ },
+ "action": {
+ "description": "视频执行动作",
+ "type": "string",
+ "enum": [
+ "rerun",
+ "start_frame",
+ "auto_low",
+ "auto_high",
+ "low_motion",
+ "high_motion"
+ ]
+ },
+ "taskId": {
+ "description": "视频衍生执行动作用到的任务id",
+ "type": "string"
+ },
+ "index": {
+ "description": "视频衍生索引",
+ "type": "integer",
+ "minimum": 0,
+ "maximum": 3
+ }
+ },
+ "required": [
+ "prompt",
+ "motion"
+ ],
+ "additionalProperties": false
+ },
+ "MjVideoSubmitResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "code": {
+ "description": "响应代码",
+ "type": "number"
+ },
+ "description": {
+ "description": "响应描述",
+ "type": "string"
+ },
+ "result": {
+ "description": "任务ID",
+ "type": "string"
+ },
+ "properties": {
+ "description": "任务属性",
+ "type": "object",
+ "properties": {
+ "prompt": {
+ "description": "处理后的提示词",
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "code",
+ "description",
+ "result",
+ "properties"
+ ],
+ "additionalProperties": false
+ },
+ "MjTaskFetchResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "id": {
+ "description": "任务ID",
+ "type": "string"
+ },
+ "prompt": {
+ "description": "任务描述",
+ "type": "string"
+ },
+ "imageUrl": {
+ "description": "图片地址",
+ "type": "string"
+ },
+ "enqueue_time": {
+ "description": "入队时间",
+ "type": "string"
+ },
+ "width": {
+ "description": "宽度",
+ "type": "number"
+ },
+ "height": {
+ "description": "高度",
+ "type": "number"
+ },
+ "batch_size": {
+ "description": "批次大小",
+ "type": "number"
+ },
+ "status": {
+ "description": "任务状态",
+ "type": "string"
+ },
+ "job_type": {
+ "description": "任务类型",
+ "type": "string"
+ },
+ "video_url": {
+ "description": "单条视频URL",
+ "type": "string"
+ },
+ "video_urls": {
+ "description": "4条视频URL",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "progress": {
+ "description": "任务进度",
+ "type": "string"
+ },
+ "action": {
+ "description": "任务动作",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "prompt",
+ "imageUrl",
+ "enqueue_time",
+ "width",
+ "height",
+ "batch_size",
+ "status",
+ "job_type",
+ "video_url",
+ "video_urls",
+ "progress",
+ "action"
+ ],
+ "additionalProperties": false
+ },
+ "UserVideoGenerationDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "model": {
+ "description": "模型名称",
+ "type": "string",
+ "minLength": 1
+ },
+ "prompt": {
+ "description": "提示词",
+ "type": "string",
+ "minLength": 1,
+ "maxLength": 4000
+ },
+ "image": {
+ "description": "图片URL或base64",
+ "type": "string"
+ },
+ "mode": {
+ "description": "生成模式",
+ "type": "string"
+ },
+ "size": {
+ "description": "尺寸",
+ "type": "string"
+ },
+ "duration": {
+ "description": "时长",
+ "type": "number"
+ },
+ "metadata": {
+ "description": "其他参数",
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
+ }
+ },
+ "required": [
+ "model",
+ "prompt"
+ ],
+ "additionalProperties": false
+ },
+ "VideoGenerationResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "task_id": {
+ "description": "任务ID",
+ "type": "string"
+ },
+ "status": {
+ "description": "任务状态",
+ "type": "string"
+ },
+ "message": {
+ "description": "响应消息",
+ "type": "string"
+ }
+ },
+ "required": [
+ "task_id",
+ "status"
+ ],
+ "additionalProperties": false
+ },
+ "VideoTaskStatusResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "task_id": {
+ "description": "任务ID",
+ "type": "string"
+ },
+ "action": {
+ "description": "任务动作",
+ "type": "string"
+ },
+ "status": {
+ "description": "任务状态",
+ "type": "string"
+ },
+ "fail_reason": {
+ "description": "失败原因或视频URL",
+ "type": "string"
+ },
+ "submit_time": {
+ "description": "提交时间",
+ "type": "number"
+ },
+ "start_time": {
+ "description": "开始时间",
+ "type": "number"
+ },
+ "finish_time": {
+ "description": "完成时间",
+ "type": "number"
+ },
+ "progress": {
+ "description": "任务进度",
+ "type": "string"
+ },
+ "data": {
+ "description": "任务数据",
+ "type": "object",
+ "propertyNames": {
+ "type": "string"
+ },
+ "additionalProperties": {}
+ }
+ },
+ "required": [
+ "task_id",
+ "action",
+ "status",
+ "submit_time",
+ "start_time",
+ "finish_time",
+ "progress",
+ "data"
+ ],
+ "additionalProperties": false
+ },
+ "Md2CardRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "markdown": {
+ "description": "要转换的 Markdown 文本",
+ "default": "# 默认 markdown",
+ "type": "string"
+ },
+ "theme": {
+ "description": "卡片主题样式 ID",
+ "default": "apple-notes",
+ "type": "string"
+ },
+ "themeMode": {
+ "description": "主题的模式 ID",
+ "type": "string"
+ },
+ "width": {
+ "description": "卡片宽度(像素)",
+ "default": 440,
+ "type": "integer",
+ "minimum": 100,
+ "maximum": 2000
+ },
+ "height": {
+ "description": "卡片高度(像素)",
+ "default": 586,
+ "type": "integer",
+ "minimum": 100,
+ "maximum": 3000
+ },
+ "splitMode": {
+ "description": "分割模式",
+ "default": "noSplit",
+ "type": "string"
+ },
+ "mdxMode": {
+ "description": "是否启用 MDX 模式",
+ "default": false,
+ "type": "boolean"
+ },
+ "overHiddenMode": {
+ "description": "是否启用溢出隐藏模式",
+ "default": false,
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "markdown",
+ "theme",
+ "width",
+ "height",
+ "splitMode",
+ "mdxMode",
+ "overHiddenMode"
+ ],
+ "additionalProperties": false
+ },
+ "Md2CardResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "images": {
+ "description": "生成的卡片图片",
+ "type": "array",
+ "items": {
+ "type": "object",
+ "properties": {
+ "url": {
+ "description": "图片URL",
+ "type": "string"
+ },
+ "fileName": {
+ "description": "文件名",
+ "type": "string"
+ }
+ },
+ "required": [
+ "url",
+ "fileName"
+ ],
+ "additionalProperties": false
+ }
+ }
+ },
+ "required": [
+ "images"
+ ],
+ "additionalProperties": false
+ },
+ "FireflycardRequestDto": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "content": {
+ "description": "卡片内容",
+ "type": "string",
+ "minLength": 1
+ },
+ "temp": {
+ "description": "模板类型",
+ "default": "tempA",
+ "type": "string",
+ "enum": [
+ "tempA",
+ "tempB",
+ "tempC",
+ "tempJin",
+ "tempMemo",
+ "tempEasy",
+ "tempBlackSun",
+ "tempE",
+ "tempWrite",
+ "code",
+ "tempD"
+ ]
+ },
+ "title": {
+ "description": "标题",
+ "type": "string"
+ },
+ "style": {
+ "description": "样式配置",
+ "type": "object",
+ "properties": {
+ "align": {
+ "description": "对齐方式",
+ "type": "string"
+ },
+ "backgroundName": {
+ "description": "背景名称",
+ "type": "string"
+ },
+ "backShadow": {
+ "description": "背景阴影",
+ "type": "string"
+ },
+ "font": {
+ "description": "字体",
+ "type": "string"
+ },
+ "width": {
+ "description": "宽度",
+ "type": "number"
+ },
+ "ratio": {
+ "description": "比例",
+ "type": "string"
+ },
+ "height": {
+ "description": "高度",
+ "type": "number"
+ },
+ "fontScale": {
+ "description": "字体缩放",
+ "type": "number"
+ },
+ "padding": {
+ "description": "内边距",
+ "type": "string"
+ },
+ "borderRadius": {
+ "description": "边框圆角",
+ "type": "string"
+ },
+ "color": {
+ "description": "颜色",
+ "type": "string"
+ },
+ "opacity": {
+ "description": "透明度",
+ "type": "number"
+ },
+ "blur": {
+ "description": "模糊度",
+ "type": "number"
+ },
+ "backgroundAngle": {
+ "description": "背景角度",
+ "type": "string"
+ },
+ "lineHeights": {
+ "description": "行高设置",
+ "type": "object",
+ "properties": {
+ "content": {
+ "description": "内容行高",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ },
+ "letterSpacings": {
+ "description": "字间距设置",
+ "type": "object",
+ "properties": {
+ "content": {
+ "description": "内容字间距",
+ "type": "string"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "additionalProperties": false
+ },
+ "switchConfig": {
+ "description": "开关配置",
+ "type": "object",
+ "properties": {
+ "showIcon": {
+ "description": "显示图标",
+ "type": "boolean"
+ },
+ "showDate": {
+ "description": "显示日期",
+ "type": "boolean"
+ },
+ "showTitle": {
+ "description": "显示标题",
+ "type": "boolean"
+ },
+ "showContent": {
+ "description": "显示内容",
+ "type": "boolean"
+ },
+ "showAuthor": {
+ "description": "显示作者",
+ "type": "boolean"
+ },
+ "showTextCount": {
+ "description": "显示文字计数",
+ "type": "boolean"
+ },
+ "showQRCode": {
+ "description": "显示二维码",
+ "type": "boolean"
+ },
+ "showPageNum": {
+ "description": "显示页码",
+ "type": "boolean"
+ },
+ "showWatermark": {
+ "description": "显示水印",
+ "type": "boolean"
+ }
+ },
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "content",
+ "temp"
+ ],
+ "additionalProperties": false
+ },
+ "FireflycardResponseVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "image": {
+ "description": "生成的卡片图片base64数据",
+ "type": "string"
+ }
+ },
+ "required": [
+ "image"
+ ],
+ "additionalProperties": false
+ },
+ "ImageGenerationModelVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "模型名称",
+ "type": "string"
+ },
+ "description": {
+ "description": "模型描述",
+ "type": "string"
+ },
+ "sizes": {
+ "description": "支持的尺寸",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "qualities": {
+ "description": "支持的质量选项",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "styles": {
+ "description": "支持的风格选项",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "sizes",
+ "qualities",
+ "styles"
+ ],
+ "additionalProperties": false
+ },
+ "ImageEditModelVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "模型名称",
+ "type": "string"
+ },
+ "description": {
+ "description": "模型描述",
+ "type": "string"
+ },
+ "sizes": {
+ "description": "支持的尺寸",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "sizes"
+ ],
+ "additionalProperties": false
+ },
+ "VideoGenerationModelVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "name": {
+ "description": "模型名称",
+ "type": "string"
+ },
+ "description": {
+ "description": "模型描述",
+ "type": "string"
+ },
+ "modes": {
+ "description": "支持的模式",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "sizes": {
+ "description": "支持的尺寸",
+ "type": "array",
+ "items": {
+ "type": "string"
+ }
+ },
+ "durations": {
+ "description": "支持的时长",
+ "type": "array",
+ "items": {
+ "type": "number"
+ }
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "modes",
+ "sizes",
+ "durations"
+ ],
+ "additionalProperties": false
+ },
+ "ChatModelVo": {
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
+ "type": "object",
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "description": {
+ "type": "string"
+ },
+ "inputModalities": {
+ "description": "输入模态",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "text",
+ "image",
+ "video",
+ "audio"
+ ]
+ }
+ },
+ "outputModalities": {
+ "description": "输出模态",
+ "type": "array",
+ "items": {
+ "type": "string",
+ "enum": [
+ "text",
+ "image",
+ "video",
+ "audio"
+ ]
+ }
+ },
+ "pricing": {
+ "type": "object",
+ "properties": {
+ "prompt": {
+ "type": "string"
+ },
+ "completion": {
+ "type": "string"
+ },
+ "image": {
+ "type": "string"
+ },
+ "audio": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "prompt",
+ "completion"
+ ],
+ "additionalProperties": false
+ }
+ },
+ "required": [
+ "name",
+ "description",
+ "inputModalities",
+ "outputModalities",
+ "pricing"
+ ],
+ "additionalProperties": false
+ }
+ }
+ }
+}
\ No newline at end of file