-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This endpoint is for pushing a device token that can be used later to send push notifications to the device. BACK-2506
- Loading branch information
Showing
3 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
title: Apple Device Token | ||
description: >- | ||
An opaque token used to send push notifications to an Apple-branded device. | ||
type: object | ||
required: | ||
- token | ||
- environment | ||
properties: | ||
token: | ||
description: >- | ||
Base64-encoded opaque blob of data, as received from Apple. | ||
type: string | ||
maxLength: 8192 | ||
environment: | ||
description: >- | ||
The Apple-defined environment determines which server URLs to communicate with. | ||
type: string | ||
enum: | ||
- production | ||
- sandbox |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
title: Device Token | ||
description: >- | ||
An opaque device token used to identify a mobile device for push notifications. | ||
type: object | ||
properties: | ||
- type: object | ||
properties: | ||
apple: | ||
type: object | ||
properties: | ||
token: | ||
type: string | ||
environments: | ||
type: string | ||
enum: | ||
- production | ||
- sandbox |