Get a Custom Device data source
GET/api/v1/orgs/{orgId}/devices/{deviceId}/data-source
Retrieve the data source that defines how this custom device connects and sends data.
If the device exists but has no DataSource configured yet, returns 200 with a default-valued object
instead of 404: dataSourceId is 00000000-0000-0000-0000-000000000000 and every other field is
null.
Parameters
orgId(string, required, path): Organization identifier.deviceId(UUID, required, path): Custom device identifier.
Responses
200 OK: Returns the data source, or a default-valued object if none is configured yet (see above).404 Not Found: The device itself does not exist in this org.
Request
Responses
- 200
- 404
OK
Not Found - the device does not exist.