Astarte.API.Pairing.Devices.info
You're seeing just the function
info
, go back to Astarte.API.Pairing.Devices module for more information.
Link to this function
info(client, device_id)
Specs
info(client :: Astarte.API.client(), device_id :: String.t()) :: Astarte.API.result()
Get the transports info for a device.
client
is a Pairing API client created with Astarte.API.Pairing.client/3
.
device_id
is the device id of the device requesting its information.
Return values
{:ok, result}
if the HTTP request can be performed.result
will be a map withstatus
,headers
andbody
.{:error, reason}
if the HTTP request can't be performed.