Devices

All devices have a universal unique identifier (UUID), and a type, and have one or more Physical sensors.

List devices: GET /devices

All the users devices that have sensors will be listed.

URLhttps://api.sense-os.nl/devices
MethodGET
Need AuthTrue

Request Headers

NameDefaultTypeStyleRequired
Accept*xsd:stringheaderTrue

Request Parameters

NameDescriptionType

Read device: GET /devices/{id}

Returns the details of a device that has sensors.

URLhttps://api.sense-os.nl/devices/{id}
MethodGET
Need AuthTrue

Request Headers

NameDefaultTypeStyleRequired
Accept*xsd:stringheaderTrue

Request Parameters

NameDescriptionType

List sensors of device: GET /devices/{id}/sensors

Returns the sensors that are physically connected to the device.

URLhttps://api.sense-os.nl/devices/{id}/sensors
MethodGET
Need AuthTrue

Request Headers

NameDefaultTypeStyleRequired
Accept*xsd:stringheaderTrue

Request Parameters

NameDescriptionType
pageThis parameter specifies which page of the results must be retrieved. The page offset starts at 0. xsd:integer
per_pageThis parameter specifies the amount of items that must be received at once. The maximum amount is 1000 items and the default amount is 100 items. xsd:integer
detailsTo get all the related data as device, environment and owner the parameter details=full can be used. If only a list of sensor id's is needed then details=no can be used. xsd:integer