Have you read this article?
THETA V Bluetooth API Access Using Web Bluetooth API
The command is a POST.
POST /osc/commands/execute
{
"name": "camera.setOptions",
"parameters": {
"options": {
"fileFormat": {
"type": "jpeg",
"width": 2048,
"height": 1024
}
}
}
}