Skip to content

OCP Device Action Services

p44 edited this page Nov 17, 2014 · 1 revision

These services are provided to get information about and act upon the Actions available to the gateway Devices in the OCP system.

GET

GET /v1/ocp/customers/{cid}/devices/{did}/actions/enabled

This service provides a list of actions that are available for the Customer and Device specified.

GET /v1/ocp/customers/{cid}/devices/actions/enabled

This service provides a list of Device Ids and actions that are available for the Customer specified.

PUT

PUT /v1/ocp/customers/{cid}/devices/{did}/action/optreboot

This service Executes the OptReboot action for the Customer and Device specified.

PUT /v1/ocp/customers/{cid}/devices/{did}/action/reset_wireless

This service Executes the Reset Wireless (soft reboot of the gateway Device) action for the Customer and Device specified.

Clone this wiki locally