Push Notification Activations
Required feature (one of):
Section:
Group Push Notification Activations. Base URL:https://instance_name.meiro.io/api/.
Push Notification Activation [/push_notifications/{push_notification_id}/manual_activation]
Run Manual Export of Push Notification to segment [POST]
Required feature (one of):
-
push_notifications/edit
-
Attributes
- segment_ids:
Segment IDs(array[number])
- segment_ids:
-
Request (application/json)
-
Headers
X-Access-Token: 1234567890abcdef
-
-
Response 201 (application/json)
{
"push_notification_export": {
"id": 100,
"user_id": 200,
"segment_ids": [300],
"segment_name": "segment name example",
"name": "export example",
"status": "running",
"stats": {
"statuses_history": {
"waiting": "2017-01-01 15:35:00",
"running": "2017-01-01 15:35:00",
"finished": "2017-01-01 15:35:00"
}
},
"created": "2017-01-01 15:35:00"
}
}- Response 425 (application/json)
{
"message": "Channels are under heavy load right now, try again later"
}Push Notification Test Activation [/push_notifications/{push_notification_id}/activations]
Run Manual Export of push notification to testing devices [POST]
Required feature (one of):
-
push_notifications/edit
-
Attributes (PushNotificationChannelTest)
-
Request (application/json)
-
Headers
X-Access-Token: 1234567890abcdef
-
-
Response 201 (application/json)
{
"message": "ok"
}