更新推送通知 已弃用

PUT /groups/{groupId}/apps/{appId}/push/notifications/{messageId}

更新推送通知消息。

路径参数

响应

  • 200 application/json

    已成功更新。

    隐藏响应属性 显示响应属性 对象
    • allowed_ips 字符串
    • appId 字符串
    • 标签 字符串
    • message 字符串
    • topic 字符串
    • 已创建 字符串
    • 已发送 字符串
    • 字符串

      值为 sentdraft

PUT /groups/{groupId}/apps/{appId}/push/ 通知/{messageId}
curl \
 --request PUT 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/push/notifications/{messageId}' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
响应示例 (200)
{
  "allowed_ips": "string",
  "appID": "string",
  "label": "string",
  "message": "string",
  "topic": "string",
  "created": "string",
  "sent": "string",
  "state": "sent"
}