Skip to content

The community form's limits and choices​

GET
/communities/form-rules

Every limit and option the owner's Create and Settings forms hold to (lengths, counts, the link cap, the co-leader cap, the plan's price limits and quick picks, and each setting's choices), read from the same constants the server validates with. The plan's limits are null on a build without paid communities.

Responses​

OK

application/json
JSON
{
"data": {
"name": {
"min": 0,
"max": 0
},
"slug": {
"min": 0,
"max": 0
},
"city": {
"max": 0
},
"languages": {
"max_items": 0,
"max_length": 0
},
"about": {
"max": 0
},
"guidelines": {
"max_items": 0,
"max_length": 0
},
"links": {
"max": 0,
"label_max": 0
},
"co_leaders": {
"max_leaders": 0,
"max_people": 0
},
"owned_max": 0,
"perks": {
"max_items": 0,
"max_length": 0
},
"price": {
"min_cents": 0,
"max_cents": 0,
"yearly_max_cents": 0,
"presets_cents": [
0
],
"default_cents": 0,
"yearly_months": 0
},
"processing_fee": {
"percentage": 0,
"fixed_cents": 0
},
"currency": "string",
"kinds": [
"string"
],
"visibilities": [
"string"
],
"join_approvals": [
"string"
],
"memberships": [
"string"
],
"share_policies": [
"string"
],
"add_policies": [
"string"
],
"default_alerts": [
"string"
],
"co_leader_roles": [
"string"
],
"additionalProperties": "string"
},
"additionalProperties": "string"
}

Playground​

Samples​

Powered by VitePress OpenAPI

Built with VitePress