Skip to main content
POST
/
scene
/
save
save current world state as JSON
curl --request POST \
  --url http://localhost:3917/scene/save \
  --header 'Content-Type: application/json' \
  --data '
{
  "path": "<string>"
}
'
{
  "ok": true,
  "message": "<string>"
}

Body

application/json

Request body for POST /scene/save and POST /scene/load.

path
string
required

Filesystem path for the scene JSON.

Response

200 - application/json

World state written to the given path.

ok
boolean
required
message
string | null