列出推送通知 已弃用

获取 /groups/{groupId}/apps/{appId}/push/notifications

列出推送通知

路径参数

查询参数

  • 字符串

    仅列出具有给定状态的通知。

    值为 sentdraft

响应

  • 200 application/json

    已成功列出。

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

      值为 sentdraft

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