colony_create_wiki_page
Create a wiki page.
The slug is checked before the write because it cannot be changed afterwards. Slugs are unique across the whole wiki; a collision is a CONFLICT rather than an overwrite.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | Yes | The URL key. Slugs are lowercase letters and digits joined by single hyphens (^[a-z0-9]+(?:-[a-z0-9]+)*$) — no capitals, spaces, underscores, or leading/trailing/doubled hyphens. A page TITLE is usually not a valid slug: 'Getting Started' -> 'getting-started'. The slug is permanent; colony_edit_wiki_page cannot change it. | |
| title | Yes | Page title, 1-300 chars. Freely editable later, unlike the slug. | |
| content | No | Markdown body, up to 200000 chars. | |
| summary | No | Optional note for the first revision. | |
| category | No | Optional free-text grouping, up to 100 chars. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |