You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tailchat/server/openapi.json

3380 lines
77 KiB
JSON

{
"openapi": "3.1.0",
"info": {
"title": "Tailchat Openapi",
"version": "0.0.0"
},
"paths": {
"/debug/hello": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": [
{
"type": "string",
"optional": true
}
]
}
}
}
}
}
}
},
"/debug/sleep": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"second": {
"type": "number"
}
}
}
}
}
}
}
},
"/config/client": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/config/setClientConfig": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "any"
}
}
}
}
}
}
}
},
"/config/all": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/config/get": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string"
}
}
}
}
}
}
}
},
"/config/set": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "any"
}
}
}
}
}
}
}
},
"/config/addToSet": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": "any"
}
}
}
}
}
}
}
},
"/file/save": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/file/saveFileWithUrl": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"fileUrl": {
"type": "string"
}
}
}
}
}
}
}
},
"/file/get": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"objectName": {
"type": "string"
}
}
}
}
}
}
}
},
"/file/stat": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"objectName": {
"type": "string"
}
}
}
}
}
}
}
},
"/file/delete": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"objectName": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.app/authToken": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"token": {
"type": "string"
},
"capability": {
"type": "array",
"items": "string",
"optional": true
}
}
}
}
}
}
}
},
"/openapi.app/all": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/openapi.app/get": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.app/create": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appName": {
"type": "string"
},
"appDesc": {
"type": "string"
},
"appIcon": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.app/delete": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.app/setAppInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.app/setAppCapability": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"capability": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/openapi.app/setAppOAuthInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "any"
}
}
}
}
}
}
}
},
"/openapi.app/setAppBotInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "any"
}
}
}
}
}
}
}
},
"/openapi.bot/login": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"token": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.bot/getOrCreateBotAccount": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
}
}
}
}
}
}
}
},
"/openapi.integration/addBotUser": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"appId": {
"type": "string"
},
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.ack/update": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
},
"lastMessageId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.ack/all": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/chat.converse/createDMConverse": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"memberIds": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/chat.converse/appendDMConverseMembers": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
},
"memberIds": {
"type": "array"
}
}
}
}
}
}
}
},
"/chat.converse/findConverseInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.converse/findAndJoinRoom": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/chat.inbox/append": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"optional": true
},
"type": {
"type": "string"
},
"payload": {
"type": "any"
}
}
}
}
}
}
}
},
"/chat.inbox/batchAppend": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userIds": {
"type": "array",
"items": "string"
},
"type": {
"type": "string"
},
"payload": {
"type": "any"
}
}
}
}
}
}
}
},
"/chat.inbox/removeMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"optional": true
},
"groupId": {
"type": "string",
"optional": true
},
"converseId": {
"type": "string"
},
"messageId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.inbox/all": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/chat.inbox/ack": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"inboxItemIds": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/chat.inbox/clear": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/chat.message/fetchConverseMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
},
"startId": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/chat.message/fetchNearbyMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"optional": true
},
"converseId": {
"type": "string"
},
"messageId": {
"type": "string"
},
"num": {
"type": "number",
"optional": true
}
}
}
}
}
}
}
},
"/chat.message/sendMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
},
"groupId": [
{
"type": "string",
"optional": true
}
],
"content": {
"type": "string"
},
"plain": {
"type": "string",
"optional": true
},
"meta": {
"type": "any",
"optional": true
}
}
}
}
}
}
}
},
"/chat.message/recallMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"messageId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.message/getMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"messageId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.message/deleteMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"messageId": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.message/searchMessage": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string",
"optional": true
},
"converseId": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.message/fetchConverseLastMessages": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseIds": {
"type": "array"
}
}
}
}
}
}
}
},
"/chat.message/addReaction": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"messageId": {
"type": "string"
},
"emoji": {
"type": "string"
}
}
}
}
}
}
}
},
"/chat.message/removeReaction": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"messageId": {
"type": "string"
},
"emoji": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/createGroup": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"name": {
"type": "string"
},
"panels": {
"type": "array"
}
}
}
}
}
}
}
},
"/group/getUserGroups": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/group/getJoinedGroupAndPanelIds": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/group/getGroupBasicInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/getGroupInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/updateGroupField": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "any"
}
}
}
}
}
}
}
},
"/group/updateGroupConfig": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"configName": {
"type": "string"
},
"configValue": {
"type": "any"
}
}
}
}
}
}
}
},
"/group/isGroupOwner": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/addMember": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/joinGroup": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/quitGroup": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/isMember": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/appendGroupMemberRoles": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"memberIds": {
"type": "array",
"items": "string"
},
"roles": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/group/removeGroupMemberRoles": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"memberIds": {
"type": "array",
"items": "string"
},
"roles": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/group/createGroupPanel": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "number"
},
"parentId": {
"type": "string",
"optional": true
},
"provider": {
"type": "string",
"optional": true
},
"pluginPanelName": {
"type": "string",
"optional": true
},
"meta": {
"type": "object",
"optional": true
}
}
}
}
}
}
}
},
"/group/modifyGroupPanel": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"name": {
"type": "string"
},
"type": {
"type": "number"
},
"provider": {
"type": "string",
"optional": true
},
"pluginPanelName": {
"type": "string",
"optional": true
},
"meta": {
"type": "object",
"optional": true
},
"permissionMap": {
"type": "object",
"optional": true
},
"fallbackPermissions": {
"type": "array",
"items": "string",
"optional": true
}
}
}
}
}
}
}
},
"/group/deleteGroupPanel": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/getGroupLobbyConverseId": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/createGroupRole": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"roleName": {
"type": "string"
},
"permissions": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/group/deleteGroupRole": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"roleId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/updateGroupRoleName": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"roleId": {
"type": "string"
},
"roleName": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/updateGroupRolePermission": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"roleId": {
"type": "string"
},
"permissions": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/group/getPermissions": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/getUserAllPermissions": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"userId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group/muteGroupMember": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"memberId": {
"type": "string"
},
"muteMs": {
"type": "number"
}
}
}
}
}
}
}
},
"/group/deleteGroupMember": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"memberId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.extra/getGroupData": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.extra/saveGroupData": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"name": {
"type": "string"
},
"data": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.extra/getPanelData": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"name": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.extra/savePanelData": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"name": {
"type": "string"
},
"data": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.invite/createGroupInvite": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"inviteType": {
"type": "enum",
"values": [
"normal",
"permanent"
]
}
}
}
}
}
}
}
},
"/group.invite/editGroupInvite": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string"
},
"groupId": {
"type": "string"
},
"expiredAt": {
"type": "number",
"optional": true
},
"usageLimit": {
"type": "number",
"optional": true
}
}
}
}
}
}
}
},
"/group.invite/getAllGroupInviteCode": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.invite/findInviteByCode": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.invite/applyInvite": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"code": {
"type": "string"
}
}
}
}
}
}
}
},
"/group.invite/deleteInvite": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"inviteId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin.registry/list": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/user.dmlist/addConverse": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
}
}
}
}
}
}
}
},
"/user.dmlist/removeConverse": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"converseId": {
"type": "string"
}
}
}
}
}
}
}
},
"/user.dmlist/getAllConverse": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/friend/getAllFriends": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/friend/buildFriendRelation": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"user1": {
"type": "string"
},
"user2": {
"type": "string"
}
}
}
}
}
}
}
},
"/friend/removeFriend": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"friendUserId": {
"type": "string"
}
}
}
}
}
}
}
},
"/friend/checkIsFriend": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"targetId": {
"type": "string"
}
}
}
}
}
}
}
},
"/friend/setFriendNickname": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"targetId": {
"type": "string"
},
"nickname": {
"type": "string"
}
}
}
}
}
}
}
},
"/friend.request/add": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"message": [
{
"type": "string",
"optional": true
}
]
}
}
}
}
}
}
},
"/friend.request/allRelated": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/friend.request/accept": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
}
}
}
}
}
}
}
},
"/friend.request/deny": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
}
}
}
}
}
}
}
},
"/friend.request/cancel": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"requestId": {
"type": "string"
}
}
}
}
}
}
}
},
"/mail/sendMail": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"to": {
"type": "string"
},
"subject": {
"type": "string"
},
"html": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/login": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"username": [
{
"type": "string",
"optional": true
}
],
"email": [
{
"type": "email",
"optional": true
}
],
"password": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/verifyEmail": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "email"
}
}
}
}
}
}
}
},
"/user/verifyEmailWithOTP": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"emailOTP": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/register": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"username": {
"type": "string",
"optional": true,
"max": 40
},
"email": {
"type": "email",
"optional": true,
"max": 40
},
"nickname": {
"type": "string",
"optional": true,
"max": 40
},
"password": {
"type": "string",
"max": 40
},
"emailOTP": {
"type": "string",
"optional": true
},
"avatar": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/user/signUserToken": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/modifyPassword": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"oldPassword": {
"type": "string"
},
"newPassword": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/createTemporaryUser": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"nickname": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/claimTemporaryUser": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"username": {
"type": "string",
"optional": true,
"max": 40
},
"email": {
"type": "email",
"max": 40
},
"password": {
"type": "string",
"max": 40
},
"emailOTP": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/user/forgetPassword": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "email"
}
}
}
}
}
}
}
},
"/user/resetPassword": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "email"
},
"password": {
"type": "string"
},
"otp": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/resolveToken": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/checkTokenValid": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"token": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/banUser": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/unbanUser": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/whoami": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/user/searchUserWithUniqueName": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"uniqueName": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/getUserInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/getUserInfoList": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userIds": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/user/findUserByEmail": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/findUserByUsername": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"username": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/updateUserField": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "any"
}
}
}
}
}
}
}
},
"/user/updateUserExtra": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"fieldName": {
"type": "string"
},
"fieldValue": {
"type": "any"
}
}
}
}
}
}
}
},
"/user/getUserSettings": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/user/setUserSettings": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"settings": {
"type": "object"
}
}
}
}
}
}
}
},
"/user/ensurePluginBot": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"botId": {
"type": "string"
},
"nickname": {
"type": "string"
},
"avatar": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/user/findOpenapiBotId": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"email": {
"type": "string"
}
}
}
}
}
}
}
},
"/user/ensureOpenapiBot": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"botId": {
"type": "string"
},
"nickname": {
"type": "string"
},
"avatar": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/user/generateUserToken": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"userId": {
"type": "string"
},
"nickname": {
"type": "string"
},
"email": {
"type": "string"
},
"avatar": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.agora/available": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.agora/generateJoinInfo": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"channelName": {
"type": "string"
},
"userId": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.agora/getChannelUserList": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"channelName": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.agora/webhook": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"noticeId": {
"type": "string"
},
"productId": {
"type": "number"
},
"eventType": {
"type": "number"
},
"notifyMs": {
"type": "number"
},
"payload": {
"type": "any"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.discover/all": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"page": {
"type": "number",
"default": 1
},
"size": {
"type": "number",
"default": 20
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.discover/join": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.getui/available": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.github.subscribe/add": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"textPanelId": {
"type": "string"
},
"repoName": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.github.subscribe/list": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.github.subscribe/delete": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"subscribeId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.github.subscribe/webhook.callback": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.iam/availableStrategies": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.iam/github.loginUrl": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.iam/github.redirect": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.linkmeta/fetch": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"url": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.livekit/available": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.livekit/url": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.livekit/generateToken": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"roomName": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.livekit/roomMembers": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"roomName": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.livekit/inviteCall": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"roomName": {
"type": "string"
},
"targetUserIds": {
"type": "array",
"items": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.livekit/webhook": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.prettyinvite/badge": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"inviteCode": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.simplenotify/addGroupSubscribe": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"textPanelId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.simplenotify/addUserSubscribe": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.simplenotify/list": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"type": {
"type": "enum",
"values": [
"user",
"group"
]
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.simplenotify/delete": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"subscribeId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.simplenotify/webhook.callback": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"subscribeId": {
"type": "string"
},
"text": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.tasks/all": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
},
"/plugin:com.msgbyte.tasks/add": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"assignee": {
"optional": true,
"type": "array",
"items": "string"
},
"description": {
"optional": true,
"type": "string"
},
"expiredAt": {
"optional": true,
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.tasks/done": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"taskId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.tasks/undone": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"taskId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.tasks/update": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"taskId": {
"type": "string"
},
"title": {
"optional": true,
"type": "string"
},
"assignee": {
"optional": true,
"type": "string"
},
"description": {
"optional": true,
"type": "string"
},
"expiredAt": {
"optional": true,
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.topic/list": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"page": {
"type": "number",
"optional": true
},
"size": {
"type": "number",
"optional": true
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.topic/create": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"content": {
"type": "string"
},
"meta": {
"type": "object",
"optional": true
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.topic/createComment": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"topicId": {
"type": "string"
},
"content": {
"type": "string"
},
"replyCommentId": {
"type": "string",
"optional": true
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.topic/delete": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
},
"panelId": {
"type": "string"
},
"topicId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.welcome/joinGroupCallback": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {
"groupId": {
"type": "string"
}
}
}
}
}
}
}
},
"/plugin:com.msgbyte.wxpusher/available": {
"post": {
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
}
}
}
}
}