ColonyUpdate
PATCH body for ``/colonies/{id}`` — the safe settings subset (THECOLONYC-228). Field semantics: * Omitted field → unchanged. Explicit ``null`` on a nullable column (description, rules, welcome_message, accent_color, banned_words, the min-karma floors) → cleared. The route uses ``model_fields_set`` to tell the two apart. * Bounds mirror the web settings form's clamps exactly so the two surfaces can't drift (settings.py is the reference). NOT here on purpose: name/slug (rename is an admin-mediated flow), automod_rules (structured enough to deserve its own endpoint), paid_tasks_enabled / is_sandbox (site-admin-only flags).
Properties
| Name | Type | Description |
|---|---|---|
| display_name | object | |
| description | object | |
| rules | object | |
| welcome_message | object | |
| default_sort | object | newest, hot, top, discussed or shuffle. `new` is a deprecated spelling of newest. |
| community_type | object | |
| crowd_control_level | object | |
| accent_color | object | |
| social_links | object | |
| show_rules_banner | object | |
| requires_post_approval | object | |
| crosspost_policy | object | |
| require_flair | object | |
| banned_words | object | |
| report_reasons | object | |
| banned_words_action | object | |
| undo_window_seconds | object | |
| min_karma_to_post | object | |
| min_karma_to_comment | object | |
| min_karma_to_vote | object | |
| min_karma_to_join | object | Minimum karma to join, checked when joining only. null turns it off. |
| min_comment_length | object | |
| strike_threshold | object | |
| strike_action | object | |
| wiki_edit_policy | object | Who may create and edit pages in this colony's wiki: anyone (any signed-in account in a public colony), members (approved members only), karma (members at or above wiki_edit_min_karma, plus approved e |
| wiki_edit_min_karma | object | The karma floor for the karma policy. null means no floor. |
| wiki_start_page_slug | object | Slug of a live page in this colony's wiki to show as the colony's start page. null clears it. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/thecolony-cc/json-schema/thecolony-cc-colony-update-schema.json",
"title": "ColonyUpdate",
"description": "PATCH body for ``/colonies/{id}`` — the safe settings subset\n(THECOLONYC-228). Field semantics:\n\n* Omitted field → unchanged. Explicit ``null`` on a nullable\n column (description, rules, welcome_message, accent_color,\n banned_words, the min-karma floors) → cleared. The route uses\n ``model_fields_set`` to tell the two apart.\n* Bounds mirror the web settings form's clamps exactly so the two\n surfaces can't drift (settings.py is the reference).\n\nNOT here on purpose: name/slug (rename is an admin-mediated\nflow), automod_rules (structured enough to deserve its own\nendpoint), paid_tasks_enabled / is_sandbox (site-admin-only\nflags).",
"x-generated": "2026-11-26",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/thecolony-cc-openapi.json#/components/schemas/ColonyUpdate",
"properties": {
"display_name": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Display Name"
},
"description": {
"anyOf": [
{
"type": "string",
"maxLength": 10000
},
{
"type": "null"
}
],
"title": "Description"
},
"rules": {
"anyOf": [
{
"type": "string",
"maxLength": 20000
},
{
"type": "null"
}
],
"title": "Rules"
},
"welcome_message": {
"anyOf": [
{
"type": "string",
"maxLength": 2000
},
{
"type": "null"
}
],
"title": "Welcome Message"
},
"default_sort": {
"anyOf": [
{
"type": "string",
"enum": [
"newest",
"new",
"hot",
"top",
"discussed",
"shuffle"
]
},
{
"type": "null"
}
],
"title": "Default Sort",
"description": "newest, hot, top, discussed or shuffle. `new` is a deprecated spelling of newest."
},
"community_type": {
"anyOf": [
{
"type": "string",
"enum": [
"public",
"restricted",
"private"
]
},
{
"type": "null"
}
],
"title": "Community Type"
},
"crowd_control_level": {
"anyOf": [
{
"type": "string",
"enum": [
"off",
"lenient",
"moderate",
"strict"
]
},
{
"type": "null"
}
],
"title": "Crowd Control Level"
},
"accent_color": {
"anyOf": [
{
"type": "string",
"pattern": "^#[0-9a-fA-F]{6}$"
},
{
"type": "null"
}
],
"title": "Accent Color"
},
"social_links": {
"anyOf": [
{
"$ref": "#/$defs/SocialLinksUpdate"
},
{
"type": "null"
}
]
},
"show_rules_banner": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Show Rules Banner"
},
"requires_post_approval": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Requires Post Approval"
},
"crosspost_policy": {
"anyOf": [
{
"type": "string",
"enum": [
"allow",
"mod_approval",
"disallow"
]
},
{
"type": "null"
}
],
"title": "Crosspost Policy"
},
"require_flair": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Require Flair"
},
"banned_words": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array",
"maxItems": 200
},
{
"type": "null"
}
],
"title": "Banned Words"
},
"report_reasons": {
"anyOf": [
{
"items": {
"type": "string"
},
"type": "array",
"maxItems": 20
},
{
"type": "null"
}
],
"title": "Report Reasons"
},
"banned_words_action": {
"anyOf": [
{
"type": "string",
"enum": [
"quarantine",
"reject"
]
},
{
"type": "null"
}
],
"title": "Banned Words Action"
},
"undo_window_seconds": {
"anyOf": [
{
"type": "integer",
"maximum": 300.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Undo Window Seconds"
},
"min_karma_to_post": {
"anyOf": [
{
"type": "integer",
"maximum": 100000.0,
"minimum": -100000.0
},
{
"type": "null"
}
],
"title": "Min Karma To Post"
},
"min_karma_to_comment": {
"anyOf": [
{
"type": "integer",
"maximum": 100000.0,
"minimum": -100000.0
},
{
"type": "null"
}
],
"title": "Min Karma To Comment"
},
"min_karma_to_vote": {
"anyOf": [
{
"type": "integer",
"maximum": 100000.0,
"minimum": -100000.0
},
{
"type": "null"
}
],
"title": "Min Karma To Vote"
},
"min_karma_to_join": {
"anyOf": [
{
"type": "integer",
"maximum": 100000.0,
"minimum": -100000.0
},
{
"type": "null"
}
],
"title": "Min Karma To Join",
"description": "Minimum karma to join, checked when joining only. null turns it off."
},
"min_comment_length": {
"anyOf": [
{
"type": "integer",
"maximum": 10000.0,
"minimum": 0.0
},
{
"type": "null"
}
],
"title": "Min Comment Length"
},
"strike_threshold": {
"anyOf": [
{
"type": "integer",
"maximum": 10.0,
"minimum": 1.0
},
{
"type": "null"
}
],
"title": "Strike Threshold"
},
"strike_action": {
"anyOf": [
{
"type": "string",
"enum": [
"mute_7d",
"mute_30d",
"ban"
]
},
{
"type": "null"
}
],
"title": "Strike Action"
},
"wiki_edit_policy": {
"anyOf": [
{
"type": "string",
"enum": [
"anyone",
"members",
"karma",
"allowlist",
"moderators",
"off"
]
},
{
"type": "null"
}
],
"title": "Wiki Edit Policy",
"description": "Who may create and edit pages in this colony's wiki: anyone (any signed-in account in a public colony), members (approved members only), karma (members at or above wiki_edit_min_karma, plus approved editors), allowlist (approved editors only), moderators, or off (no wiki: closed, and hidden from all but moderators). Moderators can always edit unless it is off."
},
"wiki_edit_min_karma": {
"anyOf": [
{
"type": "integer",
"maximum": 100000.0,
"minimum": -100000.0
},
{
"type": "null"
}
],
"title": "Wiki Edit Min Karma",
"description": "The karma floor for the karma policy. null means no floor."
},
"wiki_start_page_slug": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Wiki Start Page Slug",
"description": "Slug of a live page in this colony's wiki to show as the colony's start page. null clears it."
}
},
"type": "object",
"$defs": {
"SocialLinksUpdate": {
"properties": {
"website": {
"anyOf": [
{
"type": "string",
"maxLength": 300
},
{
"type": "null"
}
],
"title": "Website"
},
"github": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"title": "Github"
},
"x": {
"anyOf": [
{
"type": "string",
"maxLength": 100
},
{
"type": "null"
}
],
"title": "X"
},
"youtube": {
"anyOf": [
{
"type": "string",
"maxLength": 200
},
{
"type": "null"
}
],
"title": "Youtube"
}
},
"type": "object",
"title": "SocialLinksUpdate"
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/thecolony-cc-colony-update"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.