Retrieve a push notification message
Recupere uma mensagem de notificação 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.
-
ID da mensagem
GET /groups/{groupId}/apps/{appId}/push/notifications/{messageId}
curl \
--request GET 'https://services.cloud.mongodb.com/api/admin/v3.0/groups/{groupId}/apps/{appId}/push/notifications/{messageId}' \
--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"
}