The section is structured as follows:
Get a video URL by sending a message to a VideoProvider feature of a thing with ID com.mycompany.example:gateway-001:da:device:Cameras:1.
Below is an example of how this can be accomplished via the Bosch IoT Things API.
Use the API docs of Bosch IoT Things
Authorize with a fresh Suite OAuth token.
See Device provisioning
Send a message TO a specific feature of a specific thing
Set the thingId to com.mycompany.example:gateway-001:da:device:Cameras:1
Note: The thingId can be taken from Things dashboard.
Set the featureId to VideoProvider
Note: The featureId can be taken from Things dashboard.
Set the messageSubject to getVideoURL
Note: The getVideoURL is the operation name of respective functional item with ID da:item:Cameras:1:Configuration in gateway runtime. Use WebAdmin console in gateway runtime to get it.
Set the body
The operation arguments are to be set in the request body:
Your response body should look similar to following snippet:
Check the result
Open the URL in a video player, from a PC in the same network as the camera edge device. In case everything was successful, you should see the video streamed by the camera.