Register a device’s details, including the information necessary to deliver push notifications to it. Requires "push-admin" capability.
643 matches
19 actions
Platform
19 actions
- Enumerate all active channels of the applicationGETv1.0.0
- Get a device registrationGETv1.0.0
- Get message history for a channelGETv1.0.0
- Get metadata of a channelGETv1.0.0
- Get presence history of a channelGETv1.0.0
- Get presence of a channelGETv1.0.0
- Get the service timeGETv1.0.0
- List all channels with at least one subscribed deviceGETv1.0.0
- List channel subscriptionsGETv1.0.0
- List devices registered for receiving push notificationsGETv1.0.0
- Publish a message to a channelPOSTv1.0.0
- Publish a push notification to device(s)POSTv1.0.0
- Register a device for receiving push notificationsPOSTv1.0.0
- Retrieve usage statistics for an applicationGETv1.0.0
- Subscribe a device to a channelPOSTv1.0.0
- Unregister a single device for push notificationsDELETEv1.0.0
- Unregister matching devices for push notificationsDELETEv1.0.0
- Update a device registrationPATCHv1.0.0
- Update a device registrationPUTv1.0.0
Infrastructure/Platform
Register a device for receiving push notifications
v1.0.0Input
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 11
- 12
- 13
- 14
- 15
- 16
- 17
- 18
- 19
- 20
- 21
- 22
- 23
- 24
- 25
- 26
- 27
- 28
- 29
- 30
- 31
- 32
- 33
- 34
- 35
- 36
- 37
- 38
- 39
- 40
- 41
- 42
- 43
- 44
- 45
- 46
- 47
- 48
- 49
- 50
- 51
- 52
- 53
- 54
- 55
- 56
- 57
- 58
- 59
- 60
- 61
- 62
- 63
- 64
- 65
- 66
- 67
- 68
- 69
- 70
- 71
- 72
- 73
- 74
- 75
- 76
- 77
- 78
- 79
- 80
- 81
- 82
{
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "Optional trusted client identifier for the device."
},
"deviceSecret": {
"type": "string",
"description": "Secret value for the device."
},
"formFactor": {
"type": "string",
"description": "Form factor of the push device.",
"enum": [
"phone",
"tablet",
"desktop",
"tv",
"watch",
"car",
"embedded"
]
},
"id": {
"type": "string",
"description": "Unique identifier for the device generated by the device itself."
},
"metadata": {
"type": "object",
"description": "Optional metadata object for this device. The metadata for a device may only be set by clients with push-admin privileges and will be used more extensively in the future with smart notifications."
},
"platform": {
"type": "string",
"description": "Platform of the push device.",
"enum": [
"ios",
"android"
]
},
"push.recipient": {
"type": "object",
"description": "Push recipient details for a device.",
"properties": {
"clientId": {
"type": "string",
"description": "Client ID of recipient"
},
"deviceId": {
"type": "string",
"description": "Client ID of recipient"
},
"deviceToken": {
"type": "string",
"description": "when using APNs, specifies the required device token."
},
"registrationToken": {
"type": "string",
"description": "when using GCM or FCM, specifies the required registration token."
},
"transportType": {
"type": "string",
"description": "Defines which push platform is being used.",
"enum": [
"apns",
"fcm",
"gcm"
]
}
}
},
"push.state": {
"type": "string",
"description": "the current state of the push device.",
"enum": [
"Active",
"Failing",
"Failed"
]
}
}
}Output
- 1
- 2
- 3
- 4
{
"type": "object",
"additionalProperties": true
}