Skip to content

Kindle 및 FireOS 푸시 오브젝트

kindle_push 오브젝트를 사용하면 메시징 엔드포인트를 통해 Kindle 및 FireOS 푸시 알림을 수정하거나 생성할 수 있습니다.

1
2
3
4
5
6
7
8
9
10
11
{
   "alert": (required, string) the notification message,
   "title": (required, string) the title that appears in the notification drawer,
   "extra": (optional, object) additional keys and values to be sent in the push,
   "message_variation_id": (optional, string) used when providing a campaign_id to specify which message variation this message should be tracked under (must be an Kindle/FireOS Push Message),
   "priority": (optional, integer) the notification priority value,
   "collapse_key": (optional, string) the collapse key for this message,
   // Specifying "default" in the sound field will play the standard notification sound
   "sound": (optional, string) the location of a custom notification sound within the app,
   "custom_uri": (optional, string) a web URL, or Deep Link URI
}

priority 매개변수는 -2에서 2 사이의 값을 허용하며, -2는 가장 낮은 우선순위를, 2는 가장 높은 우선순위를 나타냅니다. 0이 기본값입니다. 해당 정수 범위를 벗어나는 값을 전송하면 기본값인 0으로 설정됩니다.

New Stuff!