Skip to main content
POST
Load a level definition from a JSON file

Body

application/json

Level file format request.

path
string
required

Response

200 - application/json

Level JSON read from the (sandboxed, relative) path and spawned into the world; returns entities_created. Returns ok:false with an error on an invalid path, unreadable file, or malformed JSON.