API to send a command to a device

Hi,
I would like to modify a virtual ressource from an API.
Which API is dedicated ?

I would like to use the Event API to create an event on :command Stream, but I don’t how to get the stream Id of :command for a device.

Hi Romuald,
You can find the answers to your questions here: https://docs.octave.dev/docs/from-a-rest-api-call#temporarily-changing-a-value-via-an-event

Hi
My processus are manage by automate.
So, I need to get the :command stream Id by API not on the UI.

Hi Romuald,

This should work for you

https://octave-api.sierrawireless.io/v5.0//stream/?filter=path=="//devices/<device_name>/<stream_name>"

Example:
https://octave-api.sierrawireless.io/v5.0/iot_solutions/stream/?filter=path=="/iot_solutions/devices/fx30_jdj/:command"

1 Like