Publish a message to all the subscribers of a topic
- topic: The topic to publish the message to
- message: The message to be published
Register a device with AWS SNS, return the endpointArn upon success
- token: The device token identifying the device
- type: The type of the device, currenly either 'ios' or 'android'
Create a new topic for endpoints to subscribe to
- name: The internal name of the topic, no spaces allowed
- display_name: The human readable name
Remove a topic and all its subscriptions
- topic: The internal name of the topic to remove
Subscribe an endpoint to a topic
- topic: The internal topic name
- protocol: The protocol to use, should just be 'application' for now
- endpointArn: The endpoint that should be subscribed to the topic
Get a json object of all the topics currently registered on the server