core-command API documentation version 1.1.x
http://localhost:48082/api
Welcome
Welcome to the Core Command Microservice API Documentation.
Ping Resource
Example - http://localhost:48082/api/v1/ping
Config Resource
Example - http://localhost:48082/api/v1/config
Metrics Resource
Example - http://localhost:48082/api/v1/metrics
Issue command
Issue the get command referenced by the command id to the device/sensor (also referenced by database generated id) it is associated to via the device service. ServiceException (HTTP 500) 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 is locked (admin state).
Issue the put command referenced by the command id to the device/sensor (also referenced by database generated id) it is associated to via the device service. ServiceException (HTTP 500) 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 is locked (admin state).
Device & their commands by id
Retrieve a device (by database generated id) and its command offerings. Throws ServiceException (HTTP 500) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if no device exists by the id provided.
Device & their commands by name
Retrieve a device (by name) and its command offerings. Throws ServiceException (HTTP 500) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if no device exists by the name provided.
Devices & their commands
Example - http://localhost:48082/api/v1/device
Retrieve a list of (all) devices and their command offerings. Throws ServiceException (HTTP 500) for unanticipated or unknown issues encountered.
Issue command
Issue the get command referenced by the command name to the device/sensor (also referenced by name). It is associated to via the device service. ServiceException (HTTP 500) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if device with given name does not exist or device doesn't have command with the given commandname. Throws LockedException (HTTP 423) if device adminState is locked.
Issue the put command referenced by the command name to the device/sensor (also referenced by name) it is associated to via the device service. ServiceException (HTTP 500) for unanticipated or unknown issues encountered. Throws NotFoundException (HTTP 404) if device with given name does not exist or device doesn't have command with the given commandname. Throws LockedException (HTTP 423) if device adminState is locked.
Edgex API Version
Example - http://localhost:48082/api/version