Skip to main content
POST
/
camera
/
view
apply a named view preset (top, front, right, etc.)
curl --request POST \
  --url http://localhost:3917/camera/view \
  --header 'Content-Type: application/json' \
  --data '{
  "view": "top"
}'
{
  "ok": true,
  "message": "<string>"
}

Body

application/json

Named view preset (default "perspective"). One of: top, front, back, right, left, perspective.

The body is of type any.

Response

200 - application/json

Camera moved to the preset; ok is false with a message for an unknown view name.

ok
boolean
required
message
string | null