WorldAPI ReferenceWorldsIdSnapshot
Import world snapshot
Path Parameters
id*string
World ID
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
curl -X PUT "https://api.molroo.io/worlds/uuid/snapshot" \ -H "Content-Type: application/json" \ -d '{ "snapshot": { "id": "string", "entities": [ { "id": "string", "type": "persona", "name": "string", "spaceId": "string", "relationships": [ { "targetId": "string", "relationship": { "type": "stranger", "strength": 0, "trust": 0 } } ] } ], "spaces": [ { "id": "string", "name": "string" } ], "environment": { "property1": null, "property2": null }, "createdAt": 0, "property1": null, "property2": null } }'{
"result": {
"ok": true
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}