ibm-mobile-services

How to register a userId to Bluemix Push Notifications services?

给你一囗甜甜゛ 提交于 2019-12-01 08:40:33
问题 the REST API documentation for Bluemix Push Notification services states that the possible push notification targets are deviceIds, platforms, tagNames and userIds. I don't understand how you register a userId for a device ? I don't see any REST service that seem to take a userId in its inputs... Thanks for your help, Sebastien 回答1: There is a deviceId that you can set from the REST API when using the POST devices call to register a device. In the DeviceRegResponseModel is userId (string,