world.create
Create a new world you own and return its guid + url. Use this to start a fresh build. By default the new world is a DRAFT meant to be public: only its owner (and members) can open it until you call world.undraft, and then it becomes public. Pushing commits does not make a draft public; world.undraft does. Build for a user who wants to share the result as a draft, and undraft it when they say it is ready. Pass visibility (or public) without draft to create a world that is public, unlisted or private from the start.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | World name (a scratch name is generated if omitted). | |
| draft | No | Create the world as a draft (the default when visibility and public are both omitted). false with no visibility creates a private world. | |
| public | No | Older form of visibility: true = public, false = private. visibility wins when both are given. | |
| visibility | No | Who can open the world. Without draft: the world is this from the start (private stays private until someone changes it). With draft: true: what the draft becomes when undrafted (public or unlisted). |