Register a new mobile app.
POST {{baseUrl}}/mobileApps
A mobile app developer should use this api to register a mobile app with the Notification Service. This resource represents a mobile app in Notification Service. Either an iOS or Android configuration can be chosen for the app. Registration of the mobile app allows the developer to configure necessary push notification provider credentials. App Configuration details are masked and not displayed in response owing to security reasons.
Request Body
{"name"=>"<string>", "type"=>"<string>", "android"=>{"fcmServerKey"=>"<string>"}, "ios"=>{"fcmServerKey"=>"<string>", "bundleId"=>"<string>", "apnsSslCertificate"=>"<string>", "apnsAppPrivateKey"=>"<string>", "production"=>false}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"id":"04f92378-7vvt-6720-5j10-kk9976befc1a","type":"iOS","name":"Voith_Service_App","android":{"fcmServerKey":"XXXXXXXXXXXXXXXXXXXXXXXXX"},"ios":{"fcmServerKey":"XXXXXXXXXXXXXXXXXXXXXXXXX","bundleId":"in eu","apnsSslCertificate":"XXXXXXXXXXXXXXXXXXXXXXXXX","apnsAppPrivateKey":"XXXXXXXXXXXXXXXXXXXXXXXXX","production":false}}