+

Search Tips | Advanced Search

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


Register Application with Push Service (POST)

Registers an application with the push server.


Description

Creates a new server application for a push service. The applicationId is a unique identifier for this application. The application is a parent resource for devices, subscriptions, tags, and messages. The application must be created before it can access 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) or 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 credentials.


Roles

Users in the following roles are authorized to perform this operation:


Method

POST


Path

/management-apis/2.0/runtimes/runtime-name/notifications/applications


Example


Path Parameters


Query Parameters

Query parameters are optional.


Consumes

application/json


Produces

application/json, application/xml, text/xml


Payload


JSON Example


Payload Properties

The payload has the following properties:


Errors

400

403

404

409

415

500

Parent topic: REST API for the MobileFirst Server administration service