DocumentationAPI reference

Rust · 0.1.0

UserSetting_GeneralSetting

Application protocol schema. Field names and inherited descriptions are kept in their original language.

Where this schema is used

These links are derived from direct references in the protocol snapshot. Follow the calling operation for authentication, accepted fields and runtime behavior; a reusable resource schema is not by itself a complete write request.

Referenced by these component schemas:

Shape and fields

object

General user settings configuration.

FieldType / requirementDescription
localestringThe preferred locale of the user.
memoVisibilitystringThe default visibility of the memo.
themestringThe preferred theme of the user. This references a CSS file in the web/public/themes/ directory. If not set, the default theme will be used.
saveMediaMetadatabooleanWhether the official client should save metadata from future media uploads.

Complete schema

Use this complete JSON definition for constraints and nested structure. A field's presence here does not mean it is writable by every caller.

{
  "type": "object",
  "properties": {
    "locale": {
      "type": "string",
      "description": "The preferred locale of the user."
    },
    "memoVisibility": {
      "type": "string",
      "description": "The default visibility of the memo."
    },
    "theme": {
      "type": "string",
      "description": "The preferred theme of the user.\n This references a CSS file in the web/public/themes/ directory.\n If not set, the default theme will be used."
    },
    "saveMediaMetadata": {
      "type": "boolean",
      "description": "Whether the official client should save metadata from future media uploads."
    }
  },
  "description": "General user settings configuration."
}