Listar notificações push
Liste notificações por push.
parâmetros de caminho
-
Uma ID de projeto/grupo do Atlas.
-
O ObjectID do seu aplicativo. A seção de ID de projeto e aplicativo do App Services API mostra como localizar esse valor.
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"
Exemplos de resposta (200)
[
{
"allowed_ips": "string",
"appID": "string",
"label": "string",
"message": "string",
"topic": "string",
"created": "string",
"sent": "string",
"state": "sent"
}
]