world.undraft
Destructive
Take a draft world out of draft: it becomes the visibility it was created for (public unless it was drafted as unlisted), or the visibility you pass. This is the one step that makes a draft world openable by other people. It is not refused when the world has nothing to play yet: the answer's playable says whether visitors get a game or an empty page. Undrafting a world that is not a draft changes nothing and says so (undrafted: false). Needs edit access. Acts on world (guid) or on this conversation's world.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | No | The same argument as `world`, under another name: give one of the two. A call giving them two different worlds is refused. | |
| world | No | World guid. Omit to act on this conversation's world. | |
| visibility | No | Undraft to this instead of what the draft was meant for. private turns the draft into a plain private world. |