WorldAPI ReferenceWorldsIdMutate
Apply batch mutations to world state
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 POST "https://api.molroo.io/worlds/uuid/mutate" \ -H "Content-Type: application/json" \ -d '{ "operations": [ { "op": "add_entity", "name": "string", "type": "persona" } ] }'{
"result": {
"results": [
{
"op": "string",
"ok": true,
"data": "string",
"error": "string"
}
]
}
}{
"error": {
"code": "string",
"message": "string"
}
}{
"error": {
"code": "string",
"message": "string"
}
}