You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Open-IM-Server/cmd/open_im_api/docs/swagger.json

8544 lines
286 KiB

2 years ago
{
"swagger": "2.0",
"info": {
2 years ago
"description": "open-IM-Server 的API服务器文档, 文档中所有请求都有一个operationID字段用于链路追踪",
"title": "open-IM-Server API",
"contact": {},
"license": {
"name": "Apache 2.0",
"url": "http://www.apache.org/licenses/LICENSE-2.0.html"
},
"version": "1.0"
2 years ago
},
2 years ago
"basePath": "/",
2 years ago
"paths": {
2 years ago
"/auth/force_logout": {
2 years ago
"post": {
2 years ago
"description": "对应的平台强制登出",
2 years ago
"consumes": [
"application/json"
],
2 years ago
"produces": [
"application/json"
],
2 years ago
"tags": [
2 years ago
"鉴权认证"
2 years ago
],
2 years ago
"summary": "强制登出",
"operationId": "ForceLogout",
2 years ago
"parameters": [
{
"type": "string",
2 years ago
"description": "im token",
"name": "token",
"in": "header",
2 years ago
"required": true
2 years ago
},
{
2 years ago
"description": "platform为平台ID \u003cbr\u003e fromUserID为要执行强制登出的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ForceLogoutReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ForceLogoutResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/auth/parse_token": {
2 years ago
"post": {
2 years ago
"description": "解析当前用户token(token在请求头中传入)",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"鉴权认证"
2 years ago
],
2 years ago
"summary": "解析当前用户token",
2 years ago
"operationId": "ParseToken",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段\u003cbr\u003eplatform为平台ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ParseTokenReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.ParseTokenResp"
2 years ago
},
{
"type": "object",
"properties": {
"Data": {
2 years ago
"$ref": "#/definitions/api_struct.ExpireTime"
2 years ago
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/auth/user_register": {
2 years ago
"post": {
2 years ago
"description": "用户注册",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"鉴权认证"
2 years ago
],
2 years ago
"summary": "用户注册",
2 years ago
"operationId": "UserRegister",
2 years ago
"parameters": [
{
2 years ago
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID \u003cbr\u003e ex为拓展字段 \u003cbr\u003e gender为性别, 0为女, 1为男",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UserRegisterReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UserRegisterResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/auth/user_token": {
2 years ago
"post": {
2 years ago
"description": "获取用户的token",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"鉴权认证"
2 years ago
],
2 years ago
"summary": "用户登录",
"operationId": "UserToken",
2 years ago
"parameters": [
{
2 years ago
"description": "secret为openIM密钥, 详细见服务端config.yaml secret字段 \u003cbr\u003e platform为平台ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UserTokenReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UserTokenResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/add_black": {
2 years ago
"post": {
2 years ago
"description": "添加黑名单",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "添加黑名单",
"operationId": "AddBlack",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为设置的用户 \u003cbr\u003e toUserID为被设置的用户",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AddBlacklistReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AddBlacklistResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/add_friend": {
2 years ago
"post": {
2 years ago
"description": "添加好友",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "添加好友",
"operationId": "AddFriend",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "reqMsg为申请信息 \u003cbr\u003e fromUserID为申请用户 \u003cbr\u003e toUserID为被添加用户",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AddFriendReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AddFriendResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
2 years ago
}
2 years ago
}
}
},
2 years ago
"/friend/add_friend_response": {
2 years ago
"post": {
2 years ago
"description": "同意/拒绝好友请求",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "同意/拒绝好友请求",
"operationId": "AddFriendResponse",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID同意/拒绝的用户ID\u003cbr\u003etoUserID为申请用户D\u003cbr\u003ehandleMsg为处理信息\u003cbr\u003eflag为具体操作, 1为同意, 2为拒绝",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AddFriendResponseReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AddFriendResponseResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/delete_friend": {
2 years ago
"post": {
2 years ago
"description": "删除好友",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "删除好友",
"operationId": "DeleteFriend",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为操作用户\u003cbr\u003etoUserID为被删除用户",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteFriendReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteFriendResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/get_black_list": {
2 years ago
"post": {
2 years ago
"description": "获取黑名单列表",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "获取黑名单列表",
"operationId": "GetBlacklist",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID要获取黑名单的用户",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetBlackListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetBlackListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.PublicUserInfo"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/get_friend_apply_list": {
2 years ago
"post": {
2 years ago
"description": "删除好友",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "获取好友申请列表",
"operationId": "GetFriendApplyList",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为要获取申请列表的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetFriendApplyListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetFriendApplyListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.FriendRequest"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/get_friend_list": {
2 years ago
"post": {
2 years ago
"description": "获取用户的好友列表",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "获取用户的好友列表",
"operationId": "GetFriendList",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为要获取好友列表的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetFriendListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetFriendListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.FriendInfo"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/get_self_friend_apply_list": {
2 years ago
"post": {
2 years ago
"description": "获取自己的好友申请列表",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "获取自己的好友申请列表",
"operationId": "GetSelfFriendApplyList",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为自己的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetSelfApplyListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetSelfApplyListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.FriendRequest"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/import_friend": {
2 years ago
"post": {
2 years ago
"description": "批量加好友",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "批量加好友",
"operationId": "ImportFriend",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID批量加好友的用户ID\u003cbr\u003e friendUserIDList为",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ImportFriendReq"
2 years ago
}
}
],
"responses": {
"0": {
2 years ago
"description": "data列表中对象的result-1为添加该用户失败\u003cbr\u003e0为成功",
2 years ago
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ImportFriendResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/is_friend": {
2 years ago
"post": {
2 years ago
"description": "检查用户之间是否为好友",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "检查用户之间是否为好友",
"operationId": "IsFriend",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为请求用户\u003cbr\u003e toUserID为要检查的用户",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.IsFriendReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.IsFriendResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/remove_black": {
2 years ago
"post": {
2 years ago
"description": "把用户移除黑名单",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "把用户移除黑名单",
"operationId": "RemoveBlack",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID要获取黑名单的用户",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.RemoveBlackListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.RemoveBlackListResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/friend/set_friend_remark": {
2 years ago
"post": {
2 years ago
"description": "设置好友备注",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"好友相关"
2 years ago
],
2 years ago
"summary": "设置好友备注",
"operationId": "SetFriendRemark",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "fromUserID为设置的用户\u003cbr\u003e toUserID为被设置的用户\u003cbr\u003e remark为好友备注",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetFriendRemarkReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetFriendRemarkResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/cancel_mute_group": {
2 years ago
"post": {
2 years ago
"description": "取消禁言群组",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"群组相关"
2 years ago
],
2 years ago
"summary": "取消禁言群组",
"operationId": "CancelMuteGroup",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "groupID为群组ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CancelMuteGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CancelMuteGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/cancel_mute_group_member": {
2 years ago
"post": {
2 years ago
"description": "取消禁言群成员",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"群组相关"
2 years ago
],
2 years ago
"summary": "取消禁言群成员",
"operationId": "CancelMuteGroupMember",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "groupID为群组ID \u003cbr\u003e userID为要取消禁言的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CancelMuteGroupMemberReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CancelMuteGroupMemberResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/create_group": {
2 years ago
"post": {
2 years ago
"description": "创建群组",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"群组相关"
2 years ago
],
2 years ago
"summary": "创建群组",
"operationId": "CreateGroup",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "groupType这里填0代表普通群 \u003cbr\u003egroupName为群名称\u003cbr\u003e introduction为群介绍\u003cbr\u003e notification为群公共\u003cbr\u003eownerUserID为群主ID \u003cbr\u003e ex为群扩展字段 \u003cbr\u003e memberList中对象roleLevel为群员角色,1为普通用户 2为群主 3为管理员",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.CreateGroupResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/server_api_params.GroupInfo"
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/dismiss_group": {
2 years ago
"post": {
2 years ago
"description": "解散群组",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"群组相关"
2 years ago
],
2 years ago
"summary": "解散群组",
"operationId": "DismissGroup",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "groupID为要解散的群组ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DismissGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DismissGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/get_group_all_member_list": {
2 years ago
"post": {
2 years ago
"description": "获取全部群成员列表",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"群组相关"
2 years ago
],
2 years ago
"summary": "获取全部群成员列表",
"operationId": "GetGroupAllMemberList",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "GroupID为要获取群成员的群ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetGroupAllMemberReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetGroupAllMemberResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.GroupMemberFullInfo"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/get_group_members_info": {
2 years ago
"post": {
2 years ago
"description": "获取群成员信息",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"群组相关"
2 years ago
],
2 years ago
"summary": "获取群成员信息",
"operationId": "GetGroupMembersInfo",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "groupID为要获取的群ID \u003cbr\u003e memberList为要获取群成员的群ID列表",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetGroupMembersInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetGroupMembersInfoResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.GroupMemberFullInfo"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/group/get_groups_info": {
"post": {
"description": "通过群ID列表获取群信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "通过群ID列表获取群信息",
"operationId": "GetGroupsInfo",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "groupIDList为群ID列表",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetGroupInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetGroupInfoResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/get_joined_group_list": {
"post": {
"description": "获取用户加入群列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "获取用户加入群列表",
"operationId": "GetJoinedGroupList",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "fromUserID为要获取的用户ID",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetJoinedGroupListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetJoinedGroupListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.GroupInfo"
}
}
}
}
]
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/get_recv_group_applicationList": {
"post": {
"description": "获取用户收到的加群信息列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "获取用户收到的加群信息列表",
"operationId": "GetRecvGroupApplicationList",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "fromUserID为要获取的用户ID",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetGroupApplicationListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetGroupApplicationListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.GroupRequest"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/get_user_req_group_applicationList": {
"post": {
"description": "获取用户加群申请列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "获取用户加群申请列表",
"operationId": "GetUserReqGroupApplicationList",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "userID为要获取的用户ID",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserReqGroupApplicationListReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetGroupApplicationListResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.GroupRequest"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/group_application_response": {
"post": {
"description": "处理加群消息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "处理加群消息",
"operationId": "ApplicationGroupResponse",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "groupID为要处理的群ID \u003cbr\u003e fromUserID为要处理的用户ID \u003cbr\u003e handleMsg为处理结果信息 \u003cbr\u003e handleResult为处理结果 1为同意加群 2为拒绝加群",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ApplicationGroupResponseReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ApplicationGroupResponseResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/invite_user_to_group": {
"post": {
"description": "将用户拉入群组",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "将用户拉入群组",
"operationId": "InviteUserToGroup",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "groupID为要拉进的群组ID \u003cbr\u003e invitedUserIDList为要获取群成员的群ID列表 \u003cbr\u003e reason为原因",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.InviteUserToGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "result为结果码, -1为失败, 0为成功",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.InviteUserToGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/join_group": {
"post": {
"description": "加入群聊",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "加入群聊",
"operationId": "JoinGroup",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "reqMessage为申请进群信息\u003cbr\u003egroupID为申请的群ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.JoinGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.JoinGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/kick_group": {
"post": {
"description": "把用户踢出群组",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "把用户踢出群组",
"operationId": "KickGroupMember",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "GroupID为要操作的群ID \u003cbr\u003e kickedUserIDList为要踢出的群用户ID \u003cbr\u003e reason为原因",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.KickGroupMemberReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "result为结果码, -1为失败, 0为成功",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.KickGroupMemberResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/mute_group": {
"post": {
"description": "禁言群组",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "禁言群组",
"operationId": "MuteGroup",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "groupID为群组ID",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.MuteGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.MuteGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.MuteGroupResp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.MuteGroupResp"
2 years ago
}
}
}
}
},
"/group/mute_group_member": {
"post": {
"description": "禁言群成员",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "禁言群成员",
"operationId": "MuteGroupMember",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "groupID为群组ID \u003cbr\u003e userID为要禁言的用户ID \u003cbr\u003e mutedSeconds为禁言秒数",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.MuteGroupMemberReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DismissGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/quit_group": {
"post": {
2 years ago
"description": "当前用户退出群聊",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
2 years ago
"summary": "当前用户退出群聊",
2 years ago
"operationId": "QuitGroup",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "groupID为要退出的群ID",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.QuitGroupReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.QuitGroupResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/set_group_info": {
"post": {
"description": "设置群信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "设置群信息",
"operationId": "SetGroupInfo",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "groupID为要修改的群ID\u003cbr\u003egroupName为新的群名称\u003cbr\u003enotification为群介绍 \u003cbr\u003e introduction为群公告 \u003cbr\u003e needVerification为加群验证 0为申请需要同意 邀请直接进 1为所有人进群需要验证除了群主管理员邀请进群 2为直接进群",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetGroupInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetGroupInfoResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/set_group_member_info": {
"post": {
"description": "修改群成员信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "修改群成员信息",
"operationId": "SetGroupMemberInfo",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "除了operationID, userID, groupID其他参数可选\u003cbr\u003eex为拓展字段\u003cbr\u003efaceURL为群头像\u003cbr\u003enickName为群昵称\u003cbr\u003eroleLevel为群员角色,1为普通用户 2为群主 3为管理员",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetGroupMemberInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetGroupMemberInfoResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/group/transfer_group": {
"post": {
"description": "转让群主",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"群组相关"
],
"summary": "转让群主",
"operationId": "TransferGroupOwner",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "GroupID为要操作的群ID \u003cbr\u003e oldOwnerUserID为老群主ID \u003cbr\u003e newOwnerUserID为新群主ID",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.TransferGroupOwnerReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.TransferGroupOwnerResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/msg/batch_send_msg": {
2 years ago
"post": {
2 years ago
"description": "管理员批量发送群聊单聊消息 消息格式详细见\u003ca href=\"https://doc.rentsoft.cn/#/server_doc/admin?id=%e6%b6%88%e6%81%af%e7%b1%bb%e5%9e%8b%e6%a0%bc%e5%bc%8f%e6%8f%8f%e8%bf%b0\"\u003e消息格式\u003c/href\u003e",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"消息相关"
],
2 years ago
"summary": "管理员批量发送群聊单聊消息",
"operationId": "ManagementBatchSendMsg",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "该请求和消息结构体一样 \u003cbr\u003e recvIDList为接受消息的用户ID列表",
"name": "管理员批量发送单聊消息",
2 years ago
"in": "body",
"required": true,
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
2 years ago
},
{
"type": "object",
"properties": {
"content": {
"$ref": "#/definitions/Open_IM_internal_api_manage.TextElem"
}
}
}
]
}
},
{
"description": "该请求和消息结构体一样 \u003cbr\u003e recvIDList为接受消息的用户ID列表",
"name": "管理员批量发送OA通知",
"in": "body",
"required": true,
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgReq"
2 years ago
},
{
"type": "object",
"properties": {
"content": {
"$ref": "#/definitions/Open_IM_internal_api_manage.OANotificationElem"
}
}
}
]
2 years ago
}
}
],
"responses": {
"0": {
2 years ago
"description": "serverMsgID为服务器消息ID \u003cbr\u003e clientMsgID为客户端消息ID \u003cbr\u003e sendTime为发送消息时间",
2 years ago
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ManagementBatchSendMsgReq"
2 years ago
}
}
}
}
},
2 years ago
"/msg/clear_msg": {
2 years ago
"post": {
2 years ago
"description": "清空用户消息",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"消息相关"
],
2 years ago
"summary": "清空用户消息",
"operationId": "ClearMsg",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "userID为要清空的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CleanUpMsgReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CleanUpMsgResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/msg/del_msg": {
2 years ago
"post": {
2 years ago
"description": "根据seq列表删除消息",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"消息相关"
2 years ago
],
2 years ago
"summary": "根据seq列表删除消息",
"operationId": "DelMsg",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "userID为要删除的用户ID \u003cbr\u003e seqList为seq列表",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DelMsgReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DelMsgResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/msg/get_all_conversations": {
2 years ago
"post": {
2 years ago
"description": "获取用户所有会话",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"会话相关"
2 years ago
],
2 years ago
"summary": "获取用户所有会话",
"operationId": "GetAllConversations",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "ownerUserID为要获取的用户ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetAllConversationsReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetAllConversationsResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/msg/get_conversation": {
2 years ago
"post": {
2 years ago
"description": "根据会话ID获取会话",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"会话相关"
2 years ago
],
2 years ago
"summary": "根据会话ID获取会话",
"operationId": "GetConversation",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "ownerUserID为要获取的用户ID\u003cbr\u003econversationID为要获取的会话ID",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetConversationReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetConversationResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/msg/get_conversations": {
2 years ago
"post": {
2 years ago
"description": "根据会话ID列表获取会话",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"会话相关"
2 years ago
],
2 years ago
"summary": "根据会话ID列表获取会话",
"operationId": "GetConversations",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "ownerUserID为要获取的用户ID\u003cbr\u003econversationIDs为要获取的会话ID列表",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetConversationsReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetConversationsResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/msg/manage_send_msg": {
2 years ago
"post": {
2 years ago
"description": "管理员发送/撤回消息 消息格式详细见\u003ca href=\"https://doc.rentsoft.cn/#/server_doc/admin?id=%e6%b6%88%e6%81%af%e7%b1%bb%e5%9e%8b%e6%a0%bc%e5%bc%8f%e6%8f%8f%e8%bf%b0\"\u003e消息格式\u003c/href\u003e",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"消息相关"
2 years ago
],
2 years ago
"summary": "管理员发送/撤回消息",
"operationId": "ManagementSendMsg",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "该请求和消息结构体一样",
"name": "管理员发送文字消息",
2 years ago
"in": "body",
"required": true,
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgReq"
2 years ago
},
{
"type": "object",
"properties": {
"content": {
"$ref": "#/definitions/Open_IM_internal_api_manage.TextElem"
}
}
}
]
}
},
{
"description": "该请求和消息结构体一样",
"name": "管理员发送OA通知消息",
"in": "body",
"required": true,
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgReq"
2 years ago
},
{
"type": "object",
"properties": {
"content": {
"$ref": "#/definitions/Open_IM_internal_api_manage.OANotificationElem"
}
}
}
]
}
},
{
"description": "该请求和消息结构体一样",
"name": "管理员撤回单聊消息",
"in": "body",
"required": true,
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgReq"
2 years ago
},
{
"type": "object",
"properties": {
"content": {
"$ref": "#/definitions/Open_IM_internal_api_manage.RevokeElem"
}
}
}
]
}
}
],
2 years ago
"responses": {
"0": {
2 years ago
"description": "serverMsgID为服务器消息ID \u003cbr\u003e clientMsgID为客户端消息ID \u003cbr\u003e sendTime为发送消息时间",
2 years ago
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgResp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.ManagementSendMsgResp"
2 years ago
}
}
}
}
},
2 years ago
"/office/comment_one_work_moment": {
2 years ago
"post": {
2 years ago
"description": "评论一条工作圈",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"工作圈"
2 years ago
],
2 years ago
"summary": "评论一条工作圈",
"operationId": "CommentOneWorkMoment",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CommentOneWorkMomentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CommentOneWorkMomentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/create_one_work_moment": {
2 years ago
"post": {
2 years ago
"description": "用户创建一条工作圈",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"工作圈"
2 years ago
],
2 years ago
"summary": "创建一条工作圈",
"operationId": "CreateOneWorkMoment",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求 atUserList likeUserList permissionGroupList permissionUserList 字段中userName可以不填",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateOneWorkMomentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateOneWorkMomentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/create_tag": {
2 years ago
"post": {
2 years ago
"description": "创建标签",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"标签"
2 years ago
],
2 years ago
"summary": "创建标签",
"operationId": "CreateTag",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateTagReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateTagResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/delete_comment": {
2 years ago
"post": {
2 years ago
"description": "删除一条评论",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"工作圈"
2 years ago
],
2 years ago
"summary": "删除一条评论",
"operationId": "DeleteComment",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteCommentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteCommentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/delete_one_work_moment": {
2 years ago
"post": {
2 years ago
"description": "根据用户工作圈ID删除一条工作圈",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"工作圈"
2 years ago
],
2 years ago
"summary": "删除一条工作圈",
"operationId": "DeleteOneWorkMoment",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteOneWorkMomentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteOneWorkMomentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/delete_tag": {
2 years ago
"post": {
2 years ago
"description": "根据标签ID创建标签",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"标签"
2 years ago
],
2 years ago
"summary": "删除标签",
"operationId": "DeleteTag",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteTagReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteTagResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/get_send_tag_log": {
2 years ago
"post": {
2 years ago
"description": "分页获取发送历史记录",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"标签"
2 years ago
],
2 years ago
"summary": "获取发送历史记录",
"operationId": "GetTagSendLogs",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetTagSendLogsReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetTagSendLogsResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/get_user_friend_work_moments": {
2 years ago
"post": {
2 years ago
"description": "查询用户工作圈页面",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"工作圈"
],
2 years ago
"summary": "查询自己大工作圈页面",
"operationId": "GetUserFriendWorkMoments",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserFriendWorkMomentsReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserFriendWorkMomentsResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/get_user_tag_by_id": {
2 years ago
"post": {
2 years ago
"description": "通过标签id获取该用户的标签信息",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"标签"
],
2 years ago
"summary": "获取该用户的标签信息",
"operationId": "GetUserTagByID",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserTagByIDReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserTagByIDResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/get_user_tags": {
2 years ago
"post": {
2 years ago
"description": "用户获取自己的所有的标签",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"标签"
],
2 years ago
"summary": "获取用户标签信息",
"operationId": "GetUserTags",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserTagsReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserTagsResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/get_user_work_moments": {
2 years ago
"post": {
2 years ago
"description": "查询用户工作圈",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"工作圈"
2 years ago
],
2 years ago
"summary": "查询用户工作圈",
"operationId": "GetUserWorkMoments",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserWorkMomentsReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserWorkMomentsResp"
2 years ago
}
2 years ago
},
2 years ago
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/office/get_work_moment_by_id": {
"post": {
"description": "通过ID获取工作圈",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"工作圈"
],
"summary": "通过ID获取工作圈",
"operationId": "GetWorkMomentByID",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
2 years ago
"required": true
},
2 years ago
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetWorkMomentByIDReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetWorkMomentByIDResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/office/like_one_work_moment": {
"post": {
"description": "工作圈ID点赞一条工作圈",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"工作圈"
],
"summary": "点赞一条工作圈",
"operationId": "LikeOneWorkMoment",
"parameters": [
2 years ago
{
"type": "string",
2 years ago
"description": "im token",
"name": "token",
"in": "header",
2 years ago
"required": true
2 years ago
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.LikeOneWorkMomentReq"
2 years ago
}
2 years ago
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.LikeOneWorkMomentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/send_msg_to_tag": {
2 years ago
"post": {
2 years ago
"description": "对标签用户发送消息",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"标签"
2 years ago
],
2 years ago
"summary": "发送标签消息",
"operationId": "SendMsg2Tag",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SendMsg2TagReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SendMsg2TagResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/office/set_tag": {
2 years ago
"post": {
2 years ago
"description": "根据标签ID修改标签用户列表, 名称",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"标签"
2 years ago
],
2 years ago
"summary": "修改标签",
"operationId": "SetTag",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetTagReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetTagResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/organization/create_department": {
2 years ago
"post": {
2 years ago
"description": "创建部门",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"组织架构相关"
2 years ago
],
2 years ago
"summary": "创建部门",
"operationId": "CreateDepartment",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateDepartmentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.CreateDepartmentResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
2 years ago
"$ref": "#/definitions/server_api_params.Department"
2 years ago
}
}
}
]
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/organization/create_department_member": {
2 years ago
"post": {
2 years ago
"description": "创建部门用户",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"组织架构相关"
2 years ago
],
2 years ago
"summary": "创建部门用户",
"operationId": "CreateDepartmentMember",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateDepartmentMemberReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateDepartmentMemberResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/organization/create_organization_user": {
2 years ago
"post": {
2 years ago
"description": "组织架构导入用户",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"组织架构相关"
2 years ago
],
2 years ago
"summary": "组织架构导入用户",
"operationId": "CreateOrganizationUser",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateOrganizationUserReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.CreateOrganizationUserResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/organization/delete_department": {
2 years ago
"post": {
2 years ago
"description": "删除部门",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"组织架构相关"
2 years ago
],
2 years ago
"summary": "删除部门",
"operationId": "DeleteDepartment",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteDepartmentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteDepartmentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/organization/delete_organization_user": {
2 years ago
"post": {
2 years ago
"description": "删除组织架构中某个用户",
2 years ago
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
2 years ago
"组织架构相关"
2 years ago
],
2 years ago
"summary": "删除组织架构中某个用户",
"operationId": "DeleteOrganizationUser",
2 years ago
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
2 years ago
"description": "请求",
2 years ago
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteOrganizationUserReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteOrganizationUserResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
2 years ago
"/organization/delete_user_in_department": {
"post": {
"description": "删除部门中某个用户",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "删除部门中某个用户",
"operationId": "DeleteUserInDepartment",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteUserInDepartmentReq"
2 years ago
}
2 years ago
}
2 years ago
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.DeleteUserInDepartmentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/organization/get_department_member": {
"post": {
"description": "获取部门中所有成员",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "获取部门中所有成员",
"operationId": "GetDepartmentMember",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetDepartmentMemberReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetDepartmentMemberResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
2 years ago
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.UserDepartmentMember"
}
2 years ago
}
}
}
]
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/organization/get_sub_department": {
"post": {
"description": "获取子部门列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "获取子部门列表",
"operationId": "GetSubDepartment",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetSubDepartmentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetSubDepartmentResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.Department"
}
}
}
}
]
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/organization/get_user_in_department": {
"post": {
"description": "获取部门中的所有用户",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "获取部门中的所有用户",
"operationId": "GetUserInDepartment",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUserInDepartmentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetUserInDepartmentResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/server_api_params.UserInDepartment"
}
}
}
]
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/organization/update_department": {
"post": {
"description": "更新部门信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "更新部门信息",
"operationId": "UpdateDepartment",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateDepartmentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateDepartmentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/organization/update_organization_user": {
"post": {
"description": "更新组织架构中的用户",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "更新组织架构中的用户",
"operationId": "UpdateOrganizationUser",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateOrganizationUserReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateOrganizationUserResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/organization/update_user_in_department": {
"post": {
"description": "更新部门中某个用户",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"组织架构相关"
],
"summary": "更新部门中某个用户",
"operationId": "UpdateUserInDepartment",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateUserInDepartmentReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateUserInDepartmentResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/third/minio_upload": {
"post": {
"description": "minio上传文件(web api), 请注意本api请求为form并非json",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"第三方服务相关"
],
"summary": "minio上传文件(web api)",
"operationId": "MinioUploadFile",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"type": "file",
"description": "要上传的文件文件",
"name": "file",
"in": "formData",
"required": true
},
{
"type": "integer",
"description": "文件类型",
"name": "fileType",
"in": "formData",
"required": true
},
{
"type": "string",
"description": "操作唯一ID",
"name": "operationID",
"in": "formData",
"required": true
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.MinioUploadFileResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/account_check": {
"post": {
"description": "传入UserIDList检查列表账户注册状态并且返回结果",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "检查列表账户注册状态,并且返回结果",
"operationId": "AccountCheck",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求体",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AccountCheckReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.AccountCheckResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/get_all_users_uid": {
"post": {
"description": "获取所有用户uid列表",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "获取所有用户uid列表",
"operationId": "GetAllUsersUid",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求体",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetAllUsersUidReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetAllUsersUidResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/get_self_user_info": {
"post": {
"description": "传入ID获取自己的信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "获取自己的信息",
"operationId": "GetSelfUserInfo",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求体",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetSelfUserInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetSelfUserInfoResp"
2 years ago
},
{
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/server_api_params.UserInfo"
}
}
}
]
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/get_users_info": {
"post": {
"description": "根据用户列表批量获取用户信息",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "获取用户信息",
"operationId": "GetUsersInfo",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求体",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUsersInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
"allOf": [
{
2 years ago
"$ref": "#/definitions/api_struct.GetUsersInfoResp"
2 years ago
},
{
"type": "object",
"properties": {
"Data": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.PublicUserInfo"
}
}
}
}
]
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/get_users_online_status": {
"post": {
"description": "获取用户在线状态",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "获取用户在线状态",
"operationId": "GetUsersOnlineStatus",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求体",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUsersOnlineStatusReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.GetUsersOnlineStatusResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/set_global_msg_recv_opt": {
"post": {
"description": "设置全局免打扰",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "设置全局免打扰",
"operationId": "SetGlobalRecvMessageOpt",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "globalRecvMsgOpt为全局免打扰设置0为关闭 1为开启",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetGlobalRecvMessageOptReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.SetGlobalRecvMessageOptResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
},
"/user/update_user_info": {
"post": {
"description": "修改用户信息 userID faceURL等",
"consumes": [
"application/json"
],
"produces": [
"application/json"
],
"tags": [
"用户相关"
],
"summary": "修改用户信息",
"operationId": "UpdateUserInfo",
"parameters": [
{
"type": "string",
"description": "im token",
"name": "token",
"in": "header",
"required": true
},
{
"description": "请求体",
"name": "req",
"in": "body",
"required": true,
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateSelfUserInfoReq"
2 years ago
}
}
],
"responses": {
"0": {
"description": "",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.UpdateUserInfoResp"
2 years ago
}
},
"400": {
"description": "errCode为400 一般为参数输入错误, token未带上等",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger400Resp"
2 years ago
}
},
"500": {
"description": "errCode为500 一般为服务器内部错误",
"schema": {
2 years ago
"$ref": "#/definitions/api_struct.Swagger500Resp"
2 years ago
}
}
}
}
}
},
"definitions": {
"Open_IM_internal_api_manage.FileElem": {
"type": "object",
"properties": {
"fileName": {
"type": "string"
},
"filePath": {
"type": "string"
},
"fileSize": {
"type": "integer"
},
"sourceURL": {
"type": "string"
},
"uuid": {
"type": "string"
}
}
},
"Open_IM_internal_api_manage.OANotificationElem": {
"type": "object",
"required": [
"notificationName",
"notificationType",
"text"
],
"properties": {
"ex": {
"type": "string"
},
"fileElem": {
"$ref": "#/definitions/Open_IM_internal_api_manage.FileElem"
},
"mixType": {
"type": "integer"
},
"notificationFaceURL": {
"type": "string"
},
"notificationName": {
"type": "string"
},
"notificationType": {
"type": "integer"
},
"pictureElem": {
"$ref": "#/definitions/Open_IM_internal_api_manage.PictureElem"
},
"soundElem": {
"$ref": "#/definitions/Open_IM_internal_api_manage.SoundElem"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"videoElem": {
"$ref": "#/definitions/Open_IM_internal_api_manage.VideoElem"
}
}
},
"Open_IM_internal_api_manage.PictureBaseInfo": {
"type": "object",
"properties": {
"height": {
"type": "integer"
},
"size": {
"type": "integer"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"uuid": {
"type": "string"
},
"width": {
"type": "integer"
}
}
},
"Open_IM_internal_api_manage.PictureElem": {
"type": "object",
"properties": {
"bigPicture": {
"$ref": "#/definitions/Open_IM_internal_api_manage.PictureBaseInfo"
},
"snapshotPicture": {
"$ref": "#/definitions/Open_IM_internal_api_manage.PictureBaseInfo"
},
"sourcePath": {
"type": "string"
},
"sourcePicture": {
"$ref": "#/definitions/Open_IM_internal_api_manage.PictureBaseInfo"
}
}
},
"Open_IM_internal_api_manage.RevokeElem": {
"type": "object",
"required": [
"revokeMsgClientID"
],
"properties": {
"revokeMsgClientID": {
"type": "string"
}
}
},
"Open_IM_internal_api_manage.SoundElem": {
"type": "object",
"properties": {
"dataSize": {
"type": "integer"
},
"duration": {
"type": "integer"
},
"soundPath": {
"type": "string"
},
"sourceURL": {
"type": "string"
},
"uuid": {
"type": "string"
}
}
},
"Open_IM_internal_api_manage.TextElem": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
},
"Open_IM_internal_api_manage.VideoElem": {
"type": "object",
"properties": {
"duration": {
"type": "integer"
},
"snapshotHeight": {
"type": "integer"
},
"snapshotPath": {
"type": "string"
},
"snapshotSize": {
"type": "integer"
},
"snapshotURL": {
"type": "string"
},
"snapshotUUID": {
"type": "string"
},
"snapshotWidth": {
"type": "integer"
},
"videoPath": {
"type": "string"
},
"videoSize": {
"type": "integer"
},
"videoType": {
"type": "string"
},
"videoURL": {
"type": "string"
},
"videoUUID": {
"type": "string"
}
}
},
2 years ago
"api_struct.AccountCheckReq": {
2 years ago
"type": "object",
"required": [
"checkUserIDList",
"operationID"
],
"properties": {
"checkUserIDList": {
"type": "array",
"maxItems": 100,
"items": {
"type": "string"
}
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.AccountCheckResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/user.AccountCheckResp_SingleUserStatus"
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.AddBlacklistReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID",
"toUserID"
],
"properties": {
"fromUserID": {
"type": "string"
},
"operationID": {
"type": "string"
},
"toUserID": {
"type": "string"
}
}
},
2 years ago
"api_struct.AddBlacklistResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.AddFriendReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID",
"toUserID"
],
"properties": {
"fromUserID": {
"type": "string"
},
"operationID": {
"type": "string"
},
"reqMsg": {
"type": "string"
},
"toUserID": {
"type": "string"
}
}
},
2 years ago
"api_struct.AddFriendResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.AddFriendResponseReq": {
2 years ago
"type": "object",
"required": [
"flag",
"fromUserID",
"operationID",
"toUserID"
],
"properties": {
"flag": {
"type": "integer",
"enum": [
-1,
0,
1
]
},
"fromUserID": {
"type": "string"
},
"handleMsg": {
"type": "string"
},
"operationID": {
"type": "string"
},
"toUserID": {
"type": "string"
}
}
},
2 years ago
"api_struct.AddFriendResponseResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.ApplicationGroupResponseReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"groupID",
"handleResult",
"operationID"
],
"properties": {
"fromUserID": {
"description": "application from FromUserID",
"type": "string"
},
"groupID": {
"type": "string"
},
"handleResult": {
"type": "integer",
"enum": [
-1,
1
]
},
"handledMsg": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.ApplicationGroupResponseResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CancelMuteGroupMemberReq": {
2 years ago
"type": "object",
"required": [
"groupID",
"operationID",
"userID"
],
"properties": {
"groupID": {
"type": "string"
},
"operationID": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.CancelMuteGroupMemberResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CancelMuteGroupReq": {
2 years ago
"type": "object",
"required": [
"groupID",
"operationID"
],
"properties": {
"groupID": {
"type": "string"
},
"operationID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.CancelMuteGroupResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CleanUpMsgReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"userID"
2 years ago
],
"properties": {
2 years ago
"operationID": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.CleanUpMsgResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.Comment": {
2 years ago
"type": "object",
"properties": {
"content": {
"type": "string"
},
"contentID": {
"type": "string"
},
"createTime": {
"type": "integer"
},
"replyUserID": {
"type": "string"
},
"replyUserName": {
"type": "string"
},
"userID": {
"type": "string"
},
"userName": {
"type": "string"
}
}
},
2 years ago
"api_struct.CommentOneWorkMomentReq": {
2 years ago
"type": "object",
"required": [
"content",
"operationID",
"workMomentID"
],
"properties": {
"content": {
"type": "string"
},
"operationID": {
"type": "string"
},
"replyUserID": {
"type": "string"
},
"workMomentID": {
"type": "string"
}
}
},
2 years ago
"api_struct.CommentOneWorkMomentResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object"
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.Conversation": {
2 years ago
"type": "object",
"required": [
"conversationID",
"conversationType",
"ownerUserID"
],
"properties": {
"attachedInfo": {
"type": "string"
},
"conversationID": {
"type": "string"
},
"conversationType": {
"type": "integer"
},
"draftTextTime": {
"type": "integer"
},
"ex": {
"type": "string"
},
"groupAtType": {
"type": "integer"
},
"groupID": {
"type": "string"
},
"isNotInGroup": {
"type": "boolean"
},
"isPinned": {
"type": "boolean"
},
"isPrivateChat": {
"type": "boolean"
},
"ownerUserID": {
"type": "string"
},
"recvMsgOpt": {
"type": "integer",
"enum": [
0,
1,
2
]
},
"unreadCount": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateDepartmentMemberReq": {
2 years ago
"type": "object",
"required": [
"operationID"
],
"properties": {
"departmentID": {
"type": "string"
},
"ex": {
"type": "string"
},
"leader": {
"type": "integer"
},
"operationID": {
"type": "string"
},
"order": {
"type": "integer"
},
"position": {
"type": "string"
},
"status": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateDepartmentMemberResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateDepartmentReq": {
2 years ago
"type": "object",
"required": [
"operationID"
],
"properties": {
"createTime": {
"type": "integer"
},
"departmentID": {
"type": "string"
},
"departmentType": {
"type": "integer"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"memberNum": {
"type": "integer"
},
"name": {
"type": "string"
},
"operationID": {
"type": "string"
},
"order": {
"type": "integer"
},
"parentID": {
"type": "string"
},
"subDepartmentNum": {
"type": "integer"
}
}
},
2 years ago
"api_struct.CreateDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateGroupReq": {
2 years ago
"type": "object",
"required": [
"operationID"
],
"properties": {
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"groupID": {
"type": "string"
},
"groupName": {
"type": "string"
},
"groupType": {
"type": "integer"
},
"introduction": {
"type": "string"
},
"memberList": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.GroupAddMemberInfo"
2 years ago
}
},
"notification": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
},
2 years ago
"ownerUserID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.CreateGroupResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateOneWorkMomentReq": {
2 years ago
"type": "object",
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"workMoment": {
"$ref": "#/definitions/office.WorkMoment"
2 years ago
}
}
},
2 years ago
"api_struct.CreateOneWorkMomentResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
"type": "object"
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateOrganizationUserReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID"
2 years ago
],
"properties": {
2 years ago
"birth": {
"type": "integer"
2 years ago
},
2 years ago
"createTime": {
"type": "integer"
},
"email": {
2 years ago
"type": "string"
},
2 years ago
"englishName": {
"type": "string"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"gender": {
"type": "integer"
},
"mobile": {
"type": "string"
},
"nickname": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
},
2 years ago
"telephone": {
"type": "string"
},
"userID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.CreateOrganizationUserResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.CreateTagReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID",
"tagName",
"userIDList"
2 years ago
],
"properties": {
2 years ago
"operationID": {
2 years ago
"type": "string"
},
2 years ago
"tagName": {
"description": "tag名称",
2 years ago
"type": "string"
},
2 years ago
"userIDList": {
"description": "用户ID列表",
"type": "array",
"items": {
"type": "string"
}
2 years ago
}
}
},
2 years ago
"api_struct.CreateTagResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DelMsgReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"seqList",
2 years ago
"userID"
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"seqList": {
"type": "array",
"items": {
"type": "integer"
}
},
2 years ago
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.DelMsgResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteCommentReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"contentID",
"operationID",
"workMomentID"
2 years ago
],
"properties": {
2 years ago
"contentID": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
2 years ago
},
"workMomentID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.DeleteCommentResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
"type": "object"
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteDepartmentReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"departmentID",
"operationID"
2 years ago
],
"properties": {
2 years ago
"departmentID": {
2 years ago
"type": "string"
},
2 years ago
"operationID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteFriendReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"fromUserID",
2 years ago
"operationID",
2 years ago
"toUserID"
2 years ago
],
"properties": {
2 years ago
"fromUserID": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
},
2 years ago
"toUserID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteFriendResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteOneWorkMomentReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID",
"workMomentID"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"workMomentID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteOneWorkMomentResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
"type": "object"
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteOrganizationUserReq": {
2 years ago
"type": "object",
2 years ago
"required": [
"operationID",
"userID"
],
2 years ago
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"userID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.DeleteOrganizationUserResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteTagReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"tagID"
2 years ago
],
"properties": {
2 years ago
"operationID": {
2 years ago
"type": "string"
},
2 years ago
"tagID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.DeleteTagResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteUserInDepartmentReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"departmentID",
2 years ago
"operationID",
"userID"
],
"properties": {
2 years ago
"departmentID": {
2 years ago
"type": "string"
},
2 years ago
"operationID": {
"type": "string"
2 years ago
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.DeleteUserInDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.DismissGroupReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
"operationID"
2 years ago
],
"properties": {
2 years ago
"groupID": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.DismissGroupResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.ExpireTime": {
2 years ago
"type": "object",
"properties": {
"expireTimeSeconds": {
"type": "integer"
}
}
},
2 years ago
"api_struct.ForceLogoutReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID",
2 years ago
"platform"
2 years ago
],
"properties": {
"fromUserID": {
2 years ago
"type": "string",
"maxLength": 64,
"minLength": 1
2 years ago
},
"operationID": {
"type": "string"
},
2 years ago
"platform": {
"type": "integer",
"maximum": 8,
"minimum": 1
2 years ago
}
}
},
2 years ago
"api_struct.ForceLogoutResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetAllConversationsReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"ownerUserID"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"ownerUserID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.GetAllConversationsResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.Conversation"
2 years ago
}
2 years ago
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetAllUsersUidReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetAllUsersUidResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
"type": "array",
"items": {
"type": "string"
}
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetBlackListReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"fromUserID",
2 years ago
"operationID"
],
"properties": {
2 years ago
"fromUserID": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetBlackListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetConversationReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"conversationID",
2 years ago
"operationID",
2 years ago
"ownerUserID"
2 years ago
],
"properties": {
2 years ago
"conversationID": {
"type": "string"
2 years ago
},
"operationID": {
"type": "string"
},
2 years ago
"ownerUserID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.GetConversationResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
2 years ago
"$ref": "#/definitions/api_struct.Conversation"
2 years ago
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetConversationsReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"conversationIDs",
"operationID",
"ownerUserID"
2 years ago
],
"properties": {
2 years ago
"conversationIDs": {
"type": "array",
"items": {
"type": "string"
}
},
2 years ago
"operationID": {
"type": "string"
2 years ago
},
"ownerUserID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.GetConversationsResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.Conversation"
2 years ago
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetDepartmentMemberReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"departmentID",
2 years ago
"operationID"
],
"properties": {
2 years ago
"departmentID": {
2 years ago
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetDepartmentMemberResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetFriendApplyListReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID"
],
"properties": {
"fromUserID": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetFriendApplyListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetFriendListReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID"
],
"properties": {
"fromUserID": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetFriendListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupAllMemberReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"count",
2 years ago
"groupID",
2 years ago
"offset",
2 years ago
"operationID"
],
"properties": {
2 years ago
"count": {
"type": "integer"
},
2 years ago
"groupID": {
"type": "string"
},
2 years ago
"offset": {
"type": "integer"
},
2 years ago
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupAllMemberResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupApplicationListReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID"
],
"properties": {
"fromUserID": {
"description": "作为管理员或群主收到的 进群申请",
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupApplicationListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupInfoReq": {
2 years ago
"type": "object",
"required": [
"groupIDList",
"operationID"
],
"properties": {
"groupIDList": {
"type": "array",
"items": {
"type": "string"
}
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupMembersInfoReq": {
2 years ago
"type": "object",
"required": [
"groupID",
"memberList",
"operationID"
],
"properties": {
"groupID": {
"type": "string"
},
"memberList": {
"type": "array",
"items": {
"type": "string"
}
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetGroupMembersInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetJoinedGroupListReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID"
],
"properties": {
"fromUserID": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetJoinedGroupListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetSelfApplyListReq": {
2 years ago
"type": "object",
"required": [
"fromUserID",
"operationID"
],
"properties": {
"fromUserID": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetSelfApplyListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetSelfUserInfoReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"userID"
],
"properties": {
"operationID": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetSelfUserInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetSubDepartmentReq": {
2 years ago
"type": "object",
"required": [
"departmentID",
"operationID"
],
"properties": {
"departmentID": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetSubDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetTagSendLogsReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"pageNumber",
"showNumber"
],
"properties": {
"operationID": {
"type": "string"
},
"pageNumber": {
"type": "integer"
},
"showNumber": {
"type": "integer"
}
}
},
2 years ago
"api_struct.GetTagSendLogsResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"currentPage": {
"type": "integer"
},
"logs": {
"type": "array",
"items": {
"$ref": "#/definitions/office.TagSendLog"
}
},
"showNumber": {
"type": "integer"
}
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserFriendWorkMomentsReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"pageNumber",
"showNumber"
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"pageNumber": {
"type": "integer"
},
"showNumber": {
"type": "integer"
}
}
},
2 years ago
"api_struct.GetUserFriendWorkMomentsResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"currentPage": {
"type": "integer"
},
"showNumber": {
"type": "integer"
},
"workMoments": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.WorkMoment"
2 years ago
}
}
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserInDepartmentReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"userID"
],
"properties": {
"operationID": {
"type": "string"
},
"userID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.GetUserInDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserReqGroupApplicationListReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"userID"
],
"properties": {
"operationID": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserTagByIDReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"tagID"
],
"properties": {
"operationID": {
"type": "string"
},
"tagID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserTagByIDResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"tag": {
"$ref": "#/definitions/office.Tag"
}
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserTagsReq": {
2 years ago
"type": "object",
"required": [
"operationID"
],
"properties": {
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUserTagsResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"tags": {
"type": "array",
"items": {
"$ref": "#/definitions/office.Tag"
}
}
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.GetUserWorkMomentsReq": {
2 years ago
"type": "object",
2 years ago
"required": [
"operationID",
"pageNumber",
"showNumber"
],
2 years ago
"properties": {
2 years ago
"operationID": {
2 years ago
"type": "string"
},
2 years ago
"pageNumber": {
2 years ago
"type": "integer"
},
2 years ago
"showNumber": {
"type": "integer"
2 years ago
},
"userID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.GetUserWorkMomentsResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"currentPage": {
"type": "integer"
},
"showNumber": {
"type": "integer"
},
"workMoments": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.WorkMoment"
2 years ago
}
}
}
2 years ago
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.GetUsersInfoReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"userIDList"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"userIDList": {
"type": "array",
"items": {
"type": "string"
}
2 years ago
}
}
},
2 years ago
"api_struct.GetUsersInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetUsersOnlineStatusReq": {
2 years ago
"type": "object",
2 years ago
"required": [
"operationID",
"userIDList"
],
2 years ago
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"userIDList": {
"type": "array",
"maxItems": 200,
"items": {
"type": "string"
}
2 years ago
}
}
},
2 years ago
"api_struct.GetUsersOnlineStatusResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"type": "array",
"items": {
"$ref": "#/definitions/pbRelay.GetUsersOnlineStatusResp_SuccessResult"
}
2 years ago
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GetWorkMomentByIDReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"workMomentID"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"workMomentID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.GetWorkMomentByIDResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
"type": "object",
"properties": {
"workMoment": {
2 years ago
"$ref": "#/definitions/api_struct.WorkMoment"
2 years ago
}
}
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.GroupAddMemberInfo": {
2 years ago
"type": "object",
"required": [
2 years ago
"roleLevel",
"userID"
2 years ago
],
"properties": {
2 years ago
"roleLevel": {
2 years ago
"type": "integer",
"enum": [
1,
3
]
2 years ago
},
"userID": {
2 years ago
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.ImportFriendReq": {
2 years ago
"type": "object",
"required": [
"friendUserIDList",
"fromUserID",
"operationID"
],
"properties": {
"friendUserIDList": {
"type": "array",
"items": {
"type": "string"
}
2 years ago
},
2 years ago
"fromUserID": {
2 years ago
"type": "string"
},
2 years ago
"operationID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.ImportFriendResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.UserIDResult"
2 years ago
}
2 years ago
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.InviteUserToGroupReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
"invitedUserIDList",
"operationID"
2 years ago
],
"properties": {
2 years ago
"groupID": {
"type": "string"
},
"invitedUserIDList": {
"type": "array",
"items": {
"type": "string"
}
},
2 years ago
"operationID": {
"type": "string"
},
2 years ago
"reason": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.InviteUserToGroupResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.UserIDResult"
2 years ago
}
2 years ago
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.IsFriendReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"fromUserID",
2 years ago
"operationID",
2 years ago
"toUserID"
2 years ago
],
"properties": {
2 years ago
"fromUserID": {
"type": "string"
},
2 years ago
"operationID": {
"type": "string"
},
2 years ago
"toUserID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.IsFriendResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
2 years ago
"$ref": "#/definitions/api_struct.Response"
2 years ago
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.JoinGroupReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
2 years ago
"operationID"
],
"properties": {
2 years ago
"groupID": {
"type": "string"
},
2 years ago
"inviterUserID": {
"type": "string"
},
"joinSource": {
"type": "integer"
},
2 years ago
"operationID": {
"type": "string"
2 years ago
},
"reqMessage": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.JoinGroupResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.KickGroupMemberReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
"kickedUserIDList",
"operationID"
2 years ago
],
"properties": {
2 years ago
"groupID": {
"type": "string"
},
"kickedUserIDList": {
"type": "array",
"items": {
"type": "string"
}
},
2 years ago
"operationID": {
"type": "string"
},
2 years ago
"reason": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.KickGroupMemberResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.UserIDResult"
2 years ago
}
2 years ago
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.LikeOneWorkMomentReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"workMomentID"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
},
2 years ago
"workMomentID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.LikeOneWorkMomentResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"type": "object"
2 years ago
},
"errCode": {
"type": "integer"
},
2 years ago
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.ManagementBatchSendMsgReq": {
2 years ago
"type": "object",
2 years ago
"required": [
"contentType",
"operationID",
"sendID",
"sessionType"
],
2 years ago
"properties": {
2 years ago
"businessOperationID": {
"type": "string"
},
2 years ago
"contentType": {
"type": "integer"
},
"groupID": {
2 years ago
"type": "string"
},
2 years ago
"isOnlineOnly": {
"type": "boolean"
},
2 years ago
"notOfflinePush": {
"type": "boolean"
},
2 years ago
"offlinePushInfo": {
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
},
"operationID": {
"type": "string"
},
"recvIDList": {
"type": "array",
"items": {
"type": "string"
}
},
"sendID": {
2 years ago
"type": "string"
},
2 years ago
"senderFaceURL": {
2 years ago
"type": "string"
},
2 years ago
"senderNickname": {
"type": "string"
},
"senderPlatformID": {
"type": "integer"
},
"sessionType": {
"type": "integer"
}
}
},
2 years ago
"api_struct.ManagementSendMsgReq": {
2 years ago
"type": "object",
"required": [
"contentType",
"operationID",
"sendID",
"sessionType"
],
"properties": {
2 years ago
"businessOperationID": {
"type": "string"
},
2 years ago
"contentType": {
"type": "integer"
},
"groupID": {
"type": "string"
},
"isOnlineOnly": {
"type": "boolean"
},
2 years ago
"notOfflinePush": {
"type": "boolean"
},
2 years ago
"offlinePushInfo": {
"$ref": "#/definitions/server_api_params.OfflinePushInfo"
},
"operationID": {
"type": "string"
},
"recvID": {
"type": "string"
},
"sendID": {
"type": "string"
},
"senderFaceURL": {
"type": "string"
},
"senderNickname": {
"type": "string"
},
"senderPlatformID": {
"type": "integer"
},
"sessionType": {
"type": "integer"
}
}
},
2 years ago
"api_struct.ManagementSendMsgResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"$ref": "#/definitions/server_api_params.UserSendMsgResp"
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.MinioUploadFileResp": {
2 years ago
"type": "object",
"properties": {
"data": {
"type": "object",
"properties": {
"URL": {
"type": "string"
},
"newName": {
"type": "string"
},
"snapshotName": {
"type": "string"
},
"snapshotURL": {
"type": "string"
}
}
},
"errCode": {
"type": "integer"
},
"errMsg": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.MuteGroupMemberReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
"mutedSeconds",
2 years ago
"operationID",
2 years ago
"userID"
2 years ago
],
"properties": {
2 years ago
"groupID": {
2 years ago
"type": "string"
},
2 years ago
"mutedSeconds": {
2 years ago
"type": "integer"
},
2 years ago
"operationID": {
"type": "string"
},
"userID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.MuteGroupReq": {
2 years ago
"type": "object",
2 years ago
"required": [
"groupID",
"operationID"
],
2 years ago
"properties": {
2 years ago
"groupID": {
"type": "string"
2 years ago
},
2 years ago
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.MuteGroupResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.ParseTokenReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID"
2 years ago
],
"properties": {
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.ParseTokenResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.QuitGroupReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
2 years ago
"operationID"
],
"properties": {
2 years ago
"groupID": {
"type": "string"
},
2 years ago
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.QuitGroupResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.RemoveBlackListReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"fromUserID",
2 years ago
"operationID",
2 years ago
"toUserID"
2 years ago
],
"properties": {
2 years ago
"fromUserID": {
2 years ago
"type": "string"
},
2 years ago
"operationID": {
"type": "string"
2 years ago
},
2 years ago
"toUserID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.RemoveBlackListResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.Response": {
2 years ago
"type": "object",
"properties": {
"isFriend": {
"type": "boolean"
}
}
},
2 years ago
"api_struct.SendMsg2TagReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"content",
2 years ago
"operationID",
2 years ago
"senderPlatformID"
2 years ago
],
"properties": {
2 years ago
"content": {
"type": "string"
},
"groupList": {
"type": "array",
"items": {
"type": "string"
}
},
2 years ago
"operationID": {
"type": "string"
},
2 years ago
"senderPlatformID": {
"type": "integer"
},
"tagList": {
"type": "array",
"items": {
"type": "string"
}
},
"userList": {
2 years ago
"type": "array",
"items": {
"type": "string"
}
}
}
},
2 years ago
"api_struct.SendMsg2TagResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetFriendRemarkReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"fromUserID",
2 years ago
"operationID",
2 years ago
"toUserID"
2 years ago
],
"properties": {
2 years ago
"fromUserID": {
"type": "string"
},
2 years ago
"operationID": {
"type": "string"
},
2 years ago
"remark": {
"type": "string"
},
"toUserID": {
"type": "string"
2 years ago
}
}
},
2 years ago
"api_struct.SetFriendRemarkResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetGlobalRecvMessageOptReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID"
2 years ago
],
"properties": {
2 years ago
"globalRecvMsgOpt": {
"type": "integer",
"enum": [
0,
1,
2
]
2 years ago
},
2 years ago
"operationID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.SetGlobalRecvMessageOptResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetGroupInfoReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"groupID",
"operationID"
2 years ago
],
"properties": {
2 years ago
"applyMemberFriend": {
"type": "integer"
},
2 years ago
"ex": {
2 years ago
"type": "string"
},
2 years ago
"faceURL": {
"type": "string"
},
"groupID": {
"type": "string"
},
"groupName": {
"type": "string"
},
"introduction": {
"type": "string"
},
2 years ago
"lookMemberInfo": {
"type": "integer"
},
2 years ago
"needVerification": {
"type": "integer"
},
"notification": {
"type": "string"
},
"operationID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.SetGroupInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetGroupMemberInfoReq": {
2 years ago
"type": "object",
"required": [
"groupID",
"operationID",
"userID"
],
"properties": {
"ex": {
"type": "string"
},
"groupID": {
"type": "string"
},
"nickname": {
"type": "string"
},
"operationID": {
"type": "string"
},
"roleLevel": {
"type": "integer",
"maximum": 3,
"minimum": 1
},
"userGroupFaceUrl": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetGroupMemberInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetTagReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"tagID"
],
"properties": {
"increaseUserIDList": {
"type": "array",
"items": {
"type": "string"
}
},
"newName": {
"type": "string"
},
"operationID": {
"type": "string"
},
"reduceUserIDList": {
"type": "array",
"items": {
"type": "string"
}
},
"tagID": {
"type": "string"
}
}
},
2 years ago
"api_struct.SetTagResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.Swagger400Resp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer",
"example": 400
},
"errMsg": {
"type": "string",
"example": "err msg"
}
}
},
2 years ago
"api_struct.Swagger500Resp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer",
"example": 500
},
"errMsg": {
"type": "string",
"example": "err msg"
}
}
},
2 years ago
"api_struct.TransferGroupOwnerReq": {
2 years ago
"type": "object",
"required": [
"groupID",
"newOwnerUserID",
"oldOwnerUserID",
"operationID"
],
"properties": {
"groupID": {
"type": "string"
},
"newOwnerUserID": {
"type": "string"
},
"oldOwnerUserID": {
"type": "string"
},
"operationID": {
"type": "string"
}
}
},
2 years ago
"api_struct.TransferGroupOwnerResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.UpdateDepartmentReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"departmentID",
"operationID"
2 years ago
],
"properties": {
2 years ago
"createTime": {
"type": "integer"
},
"departmentID": {
"type": "string"
},
"departmentType": {
"type": "integer"
},
2 years ago
"ex": {
2 years ago
"type": "string"
},
2 years ago
"faceURL": {
2 years ago
"type": "string"
},
2 years ago
"memberNum": {
"type": "integer"
},
"name": {
2 years ago
"type": "string"
2 years ago
},
"operationID": {
"type": "string"
},
2 years ago
"order": {
"type": "integer"
2 years ago
},
2 years ago
"parentID": {
2 years ago
"type": "string"
},
2 years ago
"subDepartmentNum": {
"type": "integer"
2 years ago
}
}
},
2 years ago
"api_struct.UpdateDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
2 years ago
"type": "integer"
},
2 years ago
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.UpdateOrganizationUserReq": {
2 years ago
"type": "object",
"required": [
2 years ago
"operationID"
2 years ago
],
"properties": {
2 years ago
"birth": {
"type": "integer"
2 years ago
},
2 years ago
"createTime": {
"type": "integer"
},
"email": {
2 years ago
"type": "string"
},
2 years ago
"englishName": {
2 years ago
"type": "string"
},
2 years ago
"ex": {
"type": "string"
2 years ago
},
2 years ago
"faceURL": {
2 years ago
"type": "string"
2 years ago
},
"gender": {
2 years ago
"type": "integer"
},
2 years ago
"mobile": {
2 years ago
"type": "string"
2 years ago
},
"nickname": {
2 years ago
"type": "string"
},
2 years ago
"operationID": {
2 years ago
"type": "string"
},
2 years ago
"telephone": {
2 years ago
"type": "string"
2 years ago
},
2 years ago
"userID": {
2 years ago
"type": "string"
}
}
},
2 years ago
"api_struct.UpdateOrganizationUserResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.UpdateSelfUserInfoReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"userID"
2 years ago
],
"properties": {
2 years ago
"birth": {
"type": "integer"
2 years ago
},
2 years ago
"email": {
"type": "string",
"maxLength": 64
},
"ex": {
"type": "string",
"maxLength": 1024
},
"faceURL": {
"type": "string",
"maxLength": 1024
},
"gender": {
"type": "integer",
"enum": [
0,
1,
2
]
},
"nickname": {
"type": "string",
"maxLength": 64,
"minLength": 1
2 years ago
},
"operationID": {
"type": "string"
},
2 years ago
"phoneNumber": {
"type": "string",
"maxLength": 32
2 years ago
},
2 years ago
"userID": {
"type": "string",
"maxLength": 64,
"minLength": 1
2 years ago
}
}
},
2 years ago
"api_struct.UpdateUserInDepartmentReq": {
2 years ago
"type": "object",
"required": [
"operationID"
],
"properties": {
"departmentID": {
"type": "string"
},
"ex": {
"type": "string"
},
"leader": {
"type": "integer"
},
"operationID": {
"type": "string"
},
"order": {
"type": "integer"
},
"position": {
"type": "string"
},
"status": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.UpdateUserInDepartmentResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.UpdateUserInfoResp": {
2 years ago
"type": "object",
"properties": {
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.UserIDResult": {
2 years ago
"type": "object",
"properties": {
"result": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.UserRegisterReq": {
2 years ago
"type": "object",
"required": [
"operationID",
2 years ago
"platform",
"secret",
2 years ago
"userID"
],
"properties": {
"birth": {
"type": "integer"
},
"email": {
"type": "string",
"maxLength": 64
},
"ex": {
"type": "string",
"maxLength": 1024
},
"faceURL": {
"type": "string",
"maxLength": 1024
},
"gender": {
"type": "integer",
"enum": [
0,
1,
2
]
},
"nickname": {
"type": "string",
"maxLength": 64,
"minLength": 1
},
"operationID": {
"type": "string"
},
"phoneNumber": {
"type": "string",
"maxLength": 32
},
2 years ago
"platform": {
"type": "integer",
"maximum": 7,
"minimum": 1
},
"secret": {
"type": "string",
"maxLength": 32
},
2 years ago
"userID": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
},
2 years ago
"api_struct.UserRegisterResp": {
2 years ago
"type": "object",
"properties": {
"data": {
2 years ago
"$ref": "#/definitions/api_struct.UserTokenInfo"
2 years ago
},
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
},
2 years ago
"api_struct.UserTokenInfo": {
2 years ago
"type": "object",
"properties": {
"expiredTime": {
"type": "integer"
},
"token": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"api_struct.UserTokenReq": {
2 years ago
"type": "object",
"required": [
"operationID",
"platform",
"secret",
"userID"
],
"properties": {
"operationID": {
"type": "string"
},
"platform": {
"type": "integer",
"maximum": 8,
"minimum": 1
},
"secret": {
"type": "string",
"maxLength": 32
},
"userID": {
"type": "string",
"maxLength": 64,
"minLength": 1
}
}
},
2 years ago
"api_struct.UserTokenResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"data": {
2 years ago
"$ref": "#/definitions/api_struct.UserTokenInfo"
2 years ago
},
2 years ago
"errCode": {
"type": "integer"
},
"errMsg": {
"type": "string"
}
}
2 years ago
},
2 years ago
"api_struct.WorkMoment": {
2 years ago
"type": "object",
"properties": {
"atUsers": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.WorkMomentUser"
2 years ago
}
},
"comments": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.Comment"
2 years ago
}
},
"content": {
"type": "string"
},
"createTime": {
"type": "integer"
},
"faceURL": {
"type": "string"
},
"likeUsers": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.WorkMomentUser"
2 years ago
}
},
2 years ago
"permission": {
"type": "integer"
},
"permissionUsers": {
"type": "array",
"items": {
2 years ago
"$ref": "#/definitions/api_struct.WorkMomentUser"
2 years ago
}
},
"userID": {
"type": "string"
},
"userName": {
"type": "string"
},
"workMomentID": {
"type": "string"
}
}
},
2 years ago
"api_struct.WorkMomentUser": {
2 years ago
"type": "object",
"properties": {
"userID": {
"type": "string"
},
"userName": {
"type": "string"
}
}
},
"internal_api_manage.FileElem": {
"type": "object",
"properties": {
"fileName": {
"type": "string"
},
"filePath": {
"type": "string"
},
"fileSize": {
"type": "integer"
},
"sourceURL": {
"type": "string"
},
"uuid": {
"type": "string"
}
}
},
"internal_api_manage.OANotificationElem": {
"type": "object",
"required": [
"notificationName",
"notificationType",
"text"
],
"properties": {
"ex": {
"type": "string"
},
"fileElem": {
"$ref": "#/definitions/internal_api_manage.FileElem"
},
"mixType": {
"type": "integer"
},
"notificationFaceURL": {
"type": "string"
},
"notificationName": {
"type": "string"
},
"notificationType": {
"type": "integer"
},
"pictureElem": {
"$ref": "#/definitions/internal_api_manage.PictureElem"
},
"soundElem": {
"$ref": "#/definitions/internal_api_manage.SoundElem"
},
"text": {
"type": "string"
},
"url": {
"type": "string"
},
"videoElem": {
"$ref": "#/definitions/internal_api_manage.VideoElem"
}
}
},
"internal_api_manage.PictureBaseInfo": {
"type": "object",
"properties": {
"height": {
"type": "integer"
},
"size": {
"type": "integer"
},
"type": {
"type": "string"
},
"url": {
"type": "string"
},
"uuid": {
"type": "string"
},
"width": {
"type": "integer"
}
}
},
"internal_api_manage.PictureElem": {
"type": "object",
"properties": {
"bigPicture": {
"$ref": "#/definitions/internal_api_manage.PictureBaseInfo"
},
"snapshotPicture": {
"$ref": "#/definitions/internal_api_manage.PictureBaseInfo"
},
"sourcePath": {
"type": "string"
},
"sourcePicture": {
"$ref": "#/definitions/internal_api_manage.PictureBaseInfo"
}
}
},
"internal_api_manage.RevokeElem": {
"type": "object",
"required": [
"revokeMsgClientID"
],
"properties": {
"revokeMsgClientID": {
"type": "string"
}
}
},
"internal_api_manage.SoundElem": {
"type": "object",
"properties": {
"dataSize": {
"type": "integer"
},
"duration": {
"type": "integer"
},
"soundPath": {
"type": "string"
},
"sourceURL": {
"type": "string"
},
"uuid": {
"type": "string"
}
}
},
"internal_api_manage.TextElem": {
"type": "object",
"required": [
"text"
],
"properties": {
"text": {
"type": "string"
}
}
},
"internal_api_manage.VideoElem": {
"type": "object",
"properties": {
"duration": {
"type": "integer"
},
"snapshotHeight": {
"type": "integer"
},
"snapshotPath": {
"type": "string"
},
"snapshotSize": {
2 years ago
"type": "integer"
},
2 years ago
"snapshotURL": {
"type": "string"
2 years ago
},
2 years ago
"snapshotUUID": {
2 years ago
"type": "string"
},
2 years ago
"snapshotWidth": {
"type": "integer"
},
"videoPath": {
2 years ago
"type": "string"
},
2 years ago
"videoSize": {
"type": "integer"
},
"videoType": {
2 years ago
"type": "string"
2 years ago
},
"videoURL": {
2 years ago
"type": "string"
},
2 years ago
"videoUUID": {
2 years ago
"type": "string"
}
}
},
"office.Comment": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"contentID": {
"type": "string"
},
"createTime": {
"type": "integer"
},
"faceURL": {
"type": "string"
},
"replyUserID": {
"type": "string"
},
"replyUserName": {
"type": "string"
},
"userID": {
"type": "string"
},
"userName": {
"type": "string"
}
}
},
"office.PermissionGroup": {
"type": "object",
"properties": {
"groupID": {
"type": "string"
},
"groupName": {
"type": "string"
}
}
},
"office.Tag": {
"type": "object",
"properties": {
"tagID": {
"type": "string"
},
"tagName": {
"type": "string"
},
"userList": {
"type": "array",
"items": {
"$ref": "#/definitions/office.TagUser"
}
}
}
},
"office.TagSendLog": {
"type": "object",
"properties": {
"content": {
"type": "string"
},
"sendTime": {
"type": "integer"
},
"userList": {
"type": "array",
"items": {
"$ref": "#/definitions/office.TagUser"
}
}
}
},
"office.TagUser": {
"type": "object",
"properties": {
"userID": {
"type": "string"
},
"userName": {
"type": "string"
}
}
},
"office.WorkMoment": {
"type": "object",
"properties": {
"atUserList": {
"type": "array",
"items": {
"$ref": "#/definitions/office.WorkMomentUser"
}
},
"comments": {
"type": "array",
"items": {
"$ref": "#/definitions/office.Comment"
}
},
"content": {
"type": "string"
},
"createTime": {
"type": "integer"
},
"faceURL": {
"type": "string"
},
"likeUserList": {
"type": "array",
"items": {
"$ref": "#/definitions/office.WorkMomentUser"
}
},
"permission": {
"type": "integer"
},
"permissionGroupList": {
"type": "array",
"items": {
"$ref": "#/definitions/office.PermissionGroup"
}
},
"permissionUserList": {
"type": "array",
"items": {
"$ref": "#/definitions/office.WorkMomentUser"
}
},
"userID": {
"type": "string"
},
"userName": {
"type": "string"
},
"workMomentID": {
"type": "string"
}
}
},
"office.WorkMomentUser": {
"type": "object",
"properties": {
"userID": {
"type": "string"
},
"userName": {
"type": "string"
}
}
},
"pbRelay.GetUsersOnlineStatusResp_SuccessDetail": {
"type": "object",
"properties": {
"platform": {
"type": "string"
},
"status": {
"type": "string"
}
}
},
"pbRelay.GetUsersOnlineStatusResp_SuccessResult": {
"type": "object",
"properties": {
"detailPlatformStatus": {
"type": "array",
"items": {
"$ref": "#/definitions/pbRelay.GetUsersOnlineStatusResp_SuccessDetail"
}
},
"status": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"server_api_params.Department": {
"type": "object",
"properties": {
"createTime": {
"type": "integer"
},
"departmentID": {
"type": "string"
},
"departmentType": {
"type": "integer"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"memberNum": {
"type": "integer"
},
"name": {
"type": "string"
},
"order": {
"type": "integer"
},
"parentID": {
"type": "string"
},
"subDepartmentNum": {
"type": "integer"
}
}
},
"server_api_params.DepartmentMember": {
"type": "object",
"properties": {
"departmentID": {
"type": "string"
},
"ex": {
"type": "string"
},
"leader": {
"type": "integer"
},
"order": {
"type": "integer"
},
"position": {
"type": "string"
},
"status": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
"server_api_params.FriendInfo": {
"type": "object",
"properties": {
"addSource": {
"type": "integer"
},
"createTime": {
"type": "integer"
},
"ex": {
"type": "string"
},
"friendUser": {
"$ref": "#/definitions/server_api_params.UserInfo"
},
"operatorUserID": {
"type": "string"
},
"ownerUserID": {
"type": "string"
},
"remark": {
"type": "string"
}
}
},
"server_api_params.FriendRequest": {
"type": "object",
"properties": {
"createTime": {
"type": "integer"
},
"ex": {
"type": "string"
},
"fromFaceURL": {
"type": "string"
},
"fromGender": {
"type": "integer"
},
"fromNickname": {
"type": "string"
},
"fromUserID": {
"type": "string"
},
"handleMsg": {
"type": "string"
},
"handleResult": {
"type": "integer"
},
"handleTime": {
"type": "integer"
},
"handlerUserID": {
"type": "string"
},
"reqMsg": {
"type": "string"
},
"toFaceURL": {
"type": "string"
},
"toGender": {
"type": "integer"
},
"toNickname": {
"type": "string"
},
"toUserID": {
"type": "string"
}
}
},
2 years ago
"server_api_params.GroupInfo": {
"type": "object",
"properties": {
2 years ago
"applyMemberFriend": {
"type": "integer"
},
2 years ago
"createTime": {
"type": "integer"
},
"creatorUserID": {
"type": "string"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"groupID": {
"type": "string"
},
"groupName": {
"type": "string"
},
"groupType": {
"type": "integer"
},
"introduction": {
"type": "string"
},
2 years ago
"lookMemberInfo": {
"type": "integer"
},
2 years ago
"memberCount": {
"type": "integer"
},
"needVerification": {
2 years ago
"type": "integer"
2 years ago
},
"notification": {
"type": "string"
},
2 years ago
"notificationUpdateTime": {
"type": "integer"
},
"notificationUserID": {
"type": "string"
},
2 years ago
"ownerUserID": {
"type": "string"
},
"status": {
"type": "integer"
}
}
},
"server_api_params.GroupMemberFullInfo": {
"type": "object",
"properties": {
"appMangerLevel": {
"type": "integer"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"groupID": {
"type": "string"
},
2 years ago
"inviterUserID": {
"type": "string"
},
2 years ago
"joinSource": {
"type": "integer"
},
"joinTime": {
"type": "integer"
},
"muteEndTime": {
"type": "integer"
},
"nickname": {
"type": "string"
},
"operatorUserID": {
"type": "string"
},
"roleLevel": {
"type": "integer"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"server_api_params.GroupRequest": {
"type": "object",
"properties": {
"ex": {
"type": "string"
},
"groupInfo": {
"$ref": "#/definitions/server_api_params.GroupInfo"
},
"handleMsg": {
"type": "string"
},
"handleResult": {
"type": "integer"
},
"handleTime": {
"type": "integer"
},
"handleUserID": {
"type": "string"
},
2 years ago
"inviterUserID": {
"type": "string"
},
"joinSource": {
"type": "integer"
},
2 years ago
"reqMsg": {
"type": "string"
},
"reqTime": {
"type": "integer"
},
"userInfo": {
"$ref": "#/definitions/server_api_params.PublicUserInfo"
}
}
},
"server_api_params.OfflinePushInfo": {
"type": "object",
"properties": {
"desc": {
"type": "string"
},
"ex": {
"type": "string"
},
"iOSBadgeCount": {
"type": "boolean"
},
"iOSPushSound": {
"type": "string"
},
"title": {
"type": "string"
}
}
},
"server_api_params.OrganizationUser": {
"type": "object",
"properties": {
"birth": {
"type": "integer"
},
"createTime": {
"type": "integer"
},
"email": {
"type": "string"
},
"englishName": {
"type": "string"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"gender": {
"type": "integer"
},
"mobile": {
"type": "string"
},
"nickname": {
"type": "string"
},
"telephone": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
"server_api_params.PublicUserInfo": {
"type": "object",
"properties": {
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"gender": {
"type": "integer"
},
"nickname": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
"server_api_params.UserDepartmentMember": {
"type": "object",
"properties": {
"departmentMember": {
"$ref": "#/definitions/server_api_params.DepartmentMember"
},
"organizationUser": {
"$ref": "#/definitions/server_api_params.OrganizationUser"
}
}
},
"server_api_params.UserInDepartment": {
"type": "object",
"properties": {
"departmentMemberList": {
"type": "array",
"items": {
"$ref": "#/definitions/server_api_params.DepartmentMember"
}
},
"organizationUser": {
"$ref": "#/definitions/server_api_params.OrganizationUser"
}
}
},
2 years ago
"server_api_params.UserInfo": {
"type": "object",
"properties": {
"appMangerLevel": {
"type": "integer"
},
"birth": {
"type": "integer"
},
"createTime": {
"type": "integer"
},
"email": {
"type": "string"
},
"ex": {
"type": "string"
},
"faceURL": {
"type": "string"
},
"gender": {
"type": "integer"
},
"globalRecvMsgOpt": {
"type": "integer"
},
"nickname": {
"type": "string"
},
"phoneNumber": {
"type": "string"
},
"userID": {
"type": "string"
}
}
},
2 years ago
"server_api_params.UserSendMsgResp": {
2 years ago
"type": "object",
"properties": {
2 years ago
"clientMsgID": {
2 years ago
"type": "string"
},
2 years ago
"sendTime": {
"type": "integer"
},
"serverMsgID": {
2 years ago
"type": "string"
}
}
2 years ago
},
2 years ago
"user.AccountCheckResp_SingleUserStatus": {
2 years ago
"type": "object",
"properties": {
2 years ago
"accountStatus": {
"type": "string"
},
"userID": {
"type": "string"
2 years ago
}
}
2 years ago
}
}
}