Ping Resource

get

Test service providing an indication that the service is available.

Command Device (by ID) with Command Name

get

Issue the GET command referenced by the command to the device/sensor (referenced by database-generated ID) to which it is associated thorugh the Device Service. ServiceException (HTTP 503) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if no device exists for the ID provided. Throws LockedException (HTTP 423) if the device or service is locked (admin state) or disabled (operating state).

put

Issues the PUT command referenced by the command to the device/sensor (referenced by database-generated ID) to which it is associated through the Device Service. ServiceException (HTTP 503) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if no device exists by the ID provided. Throws LockedException (HTTP 423) if the device or service is locked (admin state).

post

Issues the PUT command referenced by the command to the device/sensor (referenced by database generated ID) to which it is associated through the device service. ServiceException (HTTP 503) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if no device exists for the ID provided. Throws LockedException (HTTP 423) if the device or service is locked (admin state).

Command all operational Devices for the service with command name.

get

Issues the get command referenced by the command to all operational device(s)/sensor(s) that are associated to the device service and have this command. ServiceException (HTTP 503) for unanticipated or unknown issues encountered. Throws LockedException (HTTP 423) if the device service is locked (admin state).

put

Issues the PUT command referenced by the command to all operational device(s)/sensor(s) that are associated to the device service and have this command. ServiceException (HTTP 503) for unanticipated or unknown issues encountered. Throws LockedException (HTTP 423) if the device service is locked (admin state).

post

Issues the put command referenced by the command to all operational device(s)/sensor(s) that are associated to the Device Service and have this command. ServiceException (HTTP 503) for unanticipated or unknown issues encountered. Throws LockedException (HTTP 423) if the device service is locked (admin state).

Update Callback

post

Add the object referred to by the database ID. Returns ServiceException (HTTP 503) for unknown or unanticipated issues. Returns NotFoundException (HTTP 404) if the object cannot be found by the ID provided in metadata.

put

Update the object referred to by the database ID. Returns ServiceException (HTTP 503) for unknown or unanticipated issues. Returns NotFoundException (HTTP 404) if the object cannot be found by the id provided.

delete

Delete the object referred to by the database ID. Returns ServiceException (HTTP 503) for unknown or unanticipated issues. Returns NotFoundException (HTTP 404) if the object cannot be found by the ID provided.

Run device discovery request for all registered Provision Watchers

post

Run the discovery request for a Device Service. Does not do anything unlesss the driver functionality is instrumented. Returns ServiceException (HTTP 503) for unknown or unanticipated issues.

Set the Device Service data transformation state

Example--http://localhost:49990/api/v1/debug/transformData/false (sets the device service to not transform data to or from the devices)

get

Tells the Device Service to pass data modified or unmodified to and from the devices. Returns ServiceException (HTTP 503) for unknown or unanticipated issues.