curl --request POST \
--url https://api.example.com/api/devices/configure_stream \
--header 'Content-Type: application/json' \
--data '
{
"bus_info": "<string>",
"stream_format": {
"width": 123,
"height": 123,
"interval": {
"numerator": 123,
"denominator": 123
}
},
"enabled": true,
"endpoints": [
{
"host": "<string>",
"port": 123
}
]
}
'