v1

latestSwagger 2.0raw.githubusercontent.com2018-12-0670110154.0 KB
applications

Creates a new application

Creates a new application.

post/applications

Request body

namestring required

The unique name of the entity

descriptionstring

Description of this application

androidSnsApplicationArnstring

(For the SNS Push action) The SNS ARN of the GCM application for sending Push notifications.

iosSnsApplicationArnstring

(For the SNS Push action) The SNS ARN of the IOS application for sending Push notifications.

nightTimeStartMillisnumber

Start of night, defined a milliseconds since 12:00AM (e.g. 22:00 is 79200000)

nightTimeEndMillisnumber

End of night, defined a milliseconds since 12:00AM (e.g. 9AM is 32400000)

nightDeliveryAllowedboolean

If set to false, no deliveries will be performed at night (defined by nightTimeStartMillis and nightTimeEndMillis).

Response

The application was created successfully

namestring required

The unique name of the entity

descriptionstring

Description of this application

androidSnsApplicationArnstring

(For the SNS Push action) The SNS ARN of the GCM application for sending Push notifications.

iosSnsApplicationArnstring

(For the SNS Push action) The SNS ARN of the IOS application for sending Push notifications.

nightTimeStartMillisnumber

Start of night, defined a milliseconds since 12:00AM (e.g. 22:00 is 79200000)

nightTimeEndMillisnumber

End of night, defined a milliseconds since 12:00AM (e.g. 9AM is 32400000)

nightDeliveryAllowedboolean

If set to false, no deliveries will be performed at night (defined by nightTimeStartMillis and nightTimeEndMillis).

idstring required

System wide unique identifier of the entity

supportsSNSPushboolean

True if application is setup for SNS pushes, false otherwise. If it's null/unspecified, the application may or may not be setup for SNS Pushes.