PUT Registers a mobile device to receive push notifications by establishing the link between the device ID and the Drillster user.
The caller must be an authenticated user.
Identifies the mobile platform the request is coming from. Supported values are
The actual device address, represented as a string.
For iOS, this string will typically look like this:
For Android, the address has a shape like this:
Content-Length: 0). Not all HTTP clients do this automatically. For more information, please see RFC 2616.
A NoContent (204) response indicating that the device address was successfully linked to the Drillster user account.
The following error situations are possible:
||400 (Bad request)||No platform was specified.|
||400 (Bad request)||The supplied platform is not supported.|
||400 (Bad request)||No device token (address) was specified.|