Settings
post Update Community Settings
posthttps://cache.showwcase.com/communities/:communityId/settings
Headers
Field | Description |
---|---|
X-API-KEY | An API key that represents the user who wants to take an action. Read more about API keys here. |
Each community setting is stored as a key/value pair.
This approach makes it very easy to add or remove settings as we’re not constrained by a schema ahead of time. It’s also very easy to query against or to load all of the community’s settings in one go.
You need to ensure that the name of the setting keys are consistent. Any discrepancies could mean some community settings were not enforced correctly.
Headers
Field | Description |
---|---|
Authorization | User's access token |
Body
Field | Type | Description |
---|---|---|
Rules | String |