Skip to content
This repository has been archived by the owner on Apr 11, 2024. It is now read-only.

Commit

Permalink
<modify> changed spec to untag the required flags
Browse files Browse the repository at this point in the history
  • Loading branch information
timakin committed Jul 4, 2017
1 parent 8c43b50 commit 04ab774
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions SPEC.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ The JSON below is the request-body example.
"token" : ["xxx"],
"platform" : 1,
"message" : "Hello, iOS!",
"title": "Greeting",
"subtitle": "greeting",
"badge" : 1,
"sound" : "default",
"content_available" : false,
Expand All @@ -37,9 +39,7 @@ The JSON below is the request-body example.
{
"token" : ["yyy"],
"platform" : 2,
"title": "Greeting",
"message" : "Hello, Android!",
"subtitle": "greeting",
"collapse_key" : "update",
"delay_while_idle" : true,
"time_to_live" : 10
Expand All @@ -54,9 +54,9 @@ The request-body must has the `notifications` array. There is the parameter tabl
|-----------------|------------|-----------------------------------------|--------|-------|----------------|
|token |string array|device tokens |o | | |
|platform |int |platform(iOS,Android) |o | |1=iOS, 2=Android|
|title |string |title for notification |o | |only iOS |
|message |string |message for notification |o | | |
|subtitle |string |subtitle for notification |o | |only iOS |
|title |string |title for notification |- | |only iOS |
|subtitle |string |subtitle for notification |- | |only iOS |
|badge |int |badge count |- |0 |only iOS |
|sound |string |sound type |- | |only iOS |
|expiry |int |expiration for notification |- |0 |only iOS. |
Expand Down

0 comments on commit 04ab774

Please sign in to comment.