[Sub] Device token generate response

Request Topic and Payload

Topic

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

Payload Representation

{
  "data": "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=",
  "errors": [],
  "expiration_time": 1500000000030,
  "request_id": "87049f68-696f-4be8-a6cc-bf827c04ed0"
}

Payload Parameters

typedescriptionexample
datadata containing the session_id. if qr type was requested it's a base64 format string. Otherwise an encoded json
expiration_timeExpiration time of the session_id1500000000030
request_idThe request id sent in the authentication_qr_req87049f68-696f-4be8-a6cc-bf827c04ed0e
errorsarray of strings.