DocumentationAPI reference

Rust · 0.1.0

InstanceSetting_TagMetadata

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

Metadata for a tag.

FieldType / requirementDescription
backgroundColorallOf
Color
Optional background color for the tag label. When unset, the default tag color is used.
blurContentbooleanWhether memos with this tag should have their content blurred.

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": {
    "backgroundColor": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Color"
        }
      ],
      "description": "Optional background color for the tag label.\n When unset, the default tag color is used."
    },
    "blurContent": {
      "type": "boolean",
      "description": "Whether memos with this tag should have their content blurred."
    }
  },
  "description": "Metadata for a tag."
}