path パラメータ
-
Atlas Project/Group ID。
-
アプリケーションの ObjectID。App Services API プロジェクトとアプリケーション ID のセクションでは、この値を見つける方法が示されています。
GET /groups/{groupId}/apps/{appId}/push/notifications を取得する
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"
}
]