[Pub] Generate device token request

Request Topic and Payload

Topic

things5-production/v1/devices/<device-id>/req/generate_device_token_req

Payload Representation

{
  "request_id": "87049f68-696f-4be8-a6cc-bf827c04ed0e",
  "type": "qr"
}

The request_id will be returned in the response. It can be used to match the request with the response. Should be random generated.

Payload Parameters

namedescriptionexample
request_idthe request id to be sent back by the device when sending the response
typetype of response that will be sent. Qr is only type supported right now