Device Subscriptions (1.0.0)
Download OpenAPI specification:Download
Team Mobile Platform: team-mobile-platform@newstore.com URL: https://www.newstore.com
This api is used by the Associate App
Create subscription to send notifications based on topics
Creates a subscription for push notifications
Authorizations:
oauth2
Request Body schema: application/json
user_id required | string Identifier of the user who wants to subscribe to a new topic. |
app_name required | string Identifier of the app name where this topic makes sense. |
topic_name required | string Identifier topic name for this subscription |
topic_value required | string Identifier topic value for this subscription which can be 'True' or 'False' |
Responses
Request samples
- Payload
Content type
application/json
{- "user_id": "string",
- "app_name": "string",
- "topic_name": "string",
- "topic_value": "string"
}
Response samples
- 201
- 400
- 422
- default
Content type
application/json
{- "user_id": "string",
- "app_name": "string",
- "topic_name": "string",
- "topic_value": "string"
}