com.suibari.nagi.putPreferences

suibari.com

Documentation

同期対象の本人設定を書き込む。既読位置は単調マージ、配列・言語・コンテンツ表示設定・最後のブックマークフォルダは updatedAt による後勝ち。各項目は省略でき、送った分だけを更新する。

main procedure

同期対象の本人設定を書き込む。既読位置は単調マージ、配列・言語・コンテンツ表示設定・最後のブックマークフォルダは updatedAt による後勝ち。各項目は省略でき、送った分だけを更新する。

Input

Encodingapplication/json
chronicleReadYears array Optional

年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。

maxLength: 100 items
emojiFavorites array Optional

No description available.

maxLength: 32 items
emojiFavoritesUpdatedAt stringdatetime Optional

emojiFavorites を送るときは必須。保存済みより古ければ書き込まない。

feedTabs array Optional

No description available.

maxLength: 16 items
feedTabsUpdatedAt stringdatetime Optional

feedTabs を送るときは必須。保存済みより古ければ書き込まない。

languagePreferencesUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

lastBookmarkFolderId string Optional

No description available.

maxLength: 64 bytes
lastBookmarkFolderUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

moderationPreferencesUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

preferredName string Optional

botたんに呼んでほしい名前。空文字を送ると登録を解除し、表示名に戻す。送らなければ変更しない。

maxLength: 120 bytesmaxGraphemes: 40 graphemes
readPositions array Optional

No description available.

maxLength: 16 items
replyFreq integer Optional

botたんからの返信確率(0〜100%)。送らなければ変更しない。

minimum: 0maximum: 100

Output

Encodingapplication/json
chronicleReadYears array Optional

年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。

emojiFavorites array Required

No description available.

emojiFavoritesUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

feedTabs array Optional

No description available.

feedTabsUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

languagePreferencesUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

lastBookmarkFolderId string Optional

No description available.

lastBookmarkFolderUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

moderationPreferencesUpdatedAt stringdatetime Optional

An RFC 3339 formatted timestamp.

preferredName string Optional

botたんに呼んでほしい名前。省略時は未設定=表示名で呼ばれる。

readPositions array Required

マージ後の確定値。送った位置が負けた場合は保存済みの方が返る。

replyFreq integer Optional

botたんからの返信確率(0〜100%)。

Errors

AuthRequired
InvalidRequest
Try It

Requests are sent directly from your browser. Some servers may block requests due to CORS.

Base URL for XRPC calls (e.g., https://bsky.social)
Enter valid JSON for the request body
View raw schema
{
  "description": "同期対象の本人設定を書き込む。既読位置は単調マージ、配列・言語・コンテンツ表示設定・最後のブックマークフォルダは updatedAt による後勝ち。各項目は省略でき、送った分だけを更新する。",
  "errors": [
    {
      "name": "AuthRequired"
    },
    {
      "name": "InvalidRequest"
    }
  ],
  "input": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "chronicleReadYears": {
          "description": "年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。",
          "items": {
            "ref": "com.suibari.nagi.getChronicle#readYear",
            "type": "ref"
          },
          "maxLength": 100,
          "type": "array"
        },
        "emojiFavorites": {
          "items": {
            "type": "unknown"
          },
          "maxLength": 32,
          "type": "array"
        },
        "emojiFavoritesUpdatedAt": {
          "description": "emojiFavorites を送るときは必須。保存済みより古ければ書き込まない。",
          "format": "datetime",
          "type": "string"
        },
        "feedTabs": {
          "items": {
            "ref": "com.suibari.nagi.getPreferences#feedTab",
            "type": "ref"
          },
          "maxLength": 16,
          "type": "array"
        },
        "feedTabsUpdatedAt": {
          "description": "feedTabs を送るときは必須。保存済みより古ければ書き込まない。",
          "format": "datetime",
          "type": "string"
        },
        "languagePreferences": {
          "ref": "com.suibari.nagi.getPreferences#languagePreferences",
          "type": "ref"
        },
        "languagePreferencesUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "lastBookmarkFolderId": {
          "maxLength": 64,
          "nullable": true,
          "type": "string"
        },
        "lastBookmarkFolderUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "moderationPreferences": {
          "ref": "com.suibari.nagi.getPreferences#moderationPreferences",
          "type": "ref"
        },
        "moderationPreferencesUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "preferredName": {
          "description": "botたんに呼んでほしい名前。空文字を送ると登録を解除し、表示名に戻す。送らなければ変更しない。",
          "maxGraphemes": 40,
          "maxLength": 120,
          "type": "string"
        },
        "readPositions": {
          "items": {
            "ref": "com.suibari.nagi.getPreferences#readPosition",
            "type": "ref"
          },
          "maxLength": 16,
          "type": "array"
        },
        "replyFreq": {
          "description": "botたんからの返信確率(0〜100%)。送らなければ変更しない。",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "type": "object"
    }
  },
  "output": {
    "encoding": "application/json",
    "schema": {
      "properties": {
        "chronicleReadYears": {
          "description": "年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。",
          "items": {
            "ref": "com.suibari.nagi.getChronicle#readYear",
            "type": "ref"
          },
          "type": "array"
        },
        "emojiFavorites": {
          "items": {
            "type": "unknown"
          },
          "maxLength": 32,
          "type": "array"
        },
        "emojiFavoritesUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "feedTabs": {
          "items": {
            "ref": "com.suibari.nagi.getPreferences#feedTab",
            "type": "ref"
          },
          "maxLength": 16,
          "type": "array"
        },
        "feedTabsUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "languagePreferences": {
          "ref": "com.suibari.nagi.getPreferences#languagePreferences",
          "type": "ref"
        },
        "languagePreferencesUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "lastBookmarkFolderId": {
          "maxLength": 64,
          "type": "string"
        },
        "lastBookmarkFolderUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "moderationPreferences": {
          "ref": "com.suibari.nagi.getPreferences#moderationPreferences",
          "type": "ref"
        },
        "moderationPreferencesUpdatedAt": {
          "format": "datetime",
          "type": "string"
        },
        "preferredName": {
          "description": "botたんに呼んでほしい名前。省略時は未設定=表示名で呼ばれる。",
          "maxGraphemes": 40,
          "maxLength": 120,
          "type": "string"
        },
        "readPositions": {
          "description": "マージ後の確定値。送った位置が負けた場合は保存済みの方が返る。",
          "items": {
            "ref": "com.suibari.nagi.getPreferences#readPosition",
            "type": "ref"
          },
          "type": "array"
        },
        "replyFreq": {
          "description": "botたんからの返信確率(0〜100%)。",
          "maximum": 100,
          "minimum": 0,
          "type": "integer"
        }
      },
      "required": [
        "readPositions",
        "emojiFavorites"
      ],
      "type": "object"
    }
  },
  "type": "procedure"
}

Lexicon Garden

@