Skip to content

MessageCenter

Message center unified message dispatch. Enables centralized message distribution across multiple users from a single api


Send the messages of message center

POST
/api/v1/message/center/push

授权

UserHttpBearer

Use existing opaque tokens for authentication

类型HTTP (bearer)

请求体

application/json
JSON
{
"broadcast": true,
"messageId": "string",
"mediaType": "string",
"sendBy": 0,
"sendByName": "string",
"title": "string",
"content": "string",
"receiveObjectType": "string",
"receiveObjectIds": [
0
]
}

响应

OK

*/*
JSON
{
"code": "string",
"msg": "string",
"data": {
},
"datetime": "string",
"ext": {
"additionalProperties": {
}
}
}

试验场

服务器
授权
主体

示例

cURL
JavaScript
PHP
Python

Released under the GPL-3.0 License.