+

Search Tips | Advanced Search

For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


Push Application (POST)

Creates a new server application for the push service.


Description

The applicationId is an unique application ID for this application. Application is a parent resource for devices, subscriptions, tags and messages. The application must be created before accessing any of the child resources. If the application is deleted, all the children are deleted. The application holds the configurations, such as the Apple Push Notification Service (APNS) and Google Cloud Message (GCM) configuration, which is required by the push service to send messages. The API first creates the application and then sets the APNS and GCM settings.


Method

POST


Path

/apps/


Example


Header Parameters

Some header parameters are optional.


Produces

application/json


Payload

The details of the application.


JSON Example


Payload Properties

The payload has the following properties:


Response

The details of the application.


JSON Example


Response Properties

The response has the following properties:


Errors

400

401

405

406

500

Parent topic: REST API for the MobileFirst Server push service