Storyden
Admin

Admin Settings Update

Update non-env configuration settings for installation.

Update non-env configuration settings for installation.

PATCH/admin
storyden-session<token>

In: cookie

Request Body

application/json

title?string
description?string
content?string

The body text of a post within a thread. The type is either a string or an object, depending on what was used during creation. Strings can be used for basic plain text or markdown content and objects are used for more complex types such as Slate.js editor documents.

accent_colour?string
authentication_mode?string
Value in"handle" | "email" | "phone"
services?
metadata?

The settings metadata may be used by frontends to store arbitrary vendor-specific configuration data specific to the frontend itself.

Response Body

application/json

application/json

curl -X PATCH "https://loading/api/admin" \  -H "Content-Type: application/json" \  -d '{}'
{
  "title": "string",
  "description": "string",
  "content": "string",
  "accent_colour": "string",
  "authentication_mode": "handle",
  "capabilities": [
    "gen_ai"
  ],
  "services": {
    "rate_limiting": {
      "rate_limit": 0,
      "rate_limit_period": 0,
      "rate_limit_bucket": 0,
      "rate_limit_guest_cost": 0,
      "cost_overrides": {
        "property1": 0,
        "property2": 0
      }
    },
    "moderation": {
      "thread_body_length_max": 0,
      "reply_body_length_max": 0,
      "word_block_list": [
        "string"
      ],
      "word_report_list": [
        "string"
      ]
    }
  },
  "metadata": {}
}
Empty
Empty
{
  "error": "string",
  "message": "string",
  "suggested": "string",
  "metadata": {}
}