Site .create
POST /{namespace}/sites
Creates a Site.
- Noun
- Site
- Mode
do- Event
Site.created
Create makes a new Site from the inputs below. It is inherited: every Noun has get, list, create, update and delete.
Inputs
| Input | Type | Required | Description |
|---|---|---|---|
kind | string | required | One of api, mcp, cli, sdk, site, app, docs, or webhooks. |
path | string | Where it is mounted on its Domain, such as /. | |
conformsTo | json | The Standards it also speaks, each mapping the Standard’s operations onto the Product’s Verbs. | |
navigation | json | The menus that link its Pages. | |
brand | Brand | A Site renders one Brand’s name, voice and Theme. |
Outputs
| Output | Type | Required | Description |
|---|---|---|---|
site | Site | required | The Site. |
Effects
- Emits
Site.created. - Two-way:
try,send,do.
Refuses when
| Check | Error | Fix | Then call |
|---|---|---|---|
| The key is valid, but its scopes do not allow this operation. | forbidden | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | Site.create |
When it waits
| Gate | Default |
|---|---|
| Decision class | Low: two-way, nothing at stake |
| Delay window | None: it runs once review passes. |
| Limit | The call Limit of the Permission it runs under. |
| Over the Limit | It waits pending for an Approval from the Founder. Approved, it runs; refused, it ends refused with limit-exceeded; unanswered by its deadline, it ends canceled. |