com.suibari.nagi.putPreferences
同期対象の本人設定を書き込む。既読位置は単調マージ、配列・言語・コンテンツ表示設定・最後のブックマークフォルダは updatedAt による後勝ち。各項目は省略でき、送った分だけを更新する。
Details · procedure
| Kind | procedure |
|---|---|
| Authority | nagi.suibari.com |
| Indexed |
Procedure
procedure · POSTInput
application/jsonchronicleReadYears
array年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。
maxLength: 100
detectedTimezone
stringNagi を開いたときにブラウザが検出したタイムゾーン(IANA 名)。手動で選んでいる間は送らない。UTC や Etc/* は受け取っても使わない。
maxLength: 64
diaryDay
object日記の1日の区切り。送った項目だけを変える。
emojiFavorites
arraymaxLength: 32
emojiFavoritesUpdatedAt
string · datetimeemojiFavorites を送るときは必須。保存済みより古ければ書き込まない。
feedTabs
arraymaxLength: 16
feedTabsUpdatedAt
string · datetimefeedTabs を送るときは必須。保存済みより古ければ書き込まない。
languagePreferencesUpdatedAt
string · datetimelastBookmarkFolderId
stringmaxLength: 64
lastBookmarkFolderUpdatedAt
string · datetimemoderationPreferencesUpdatedAt
string · datetimepreferredName
stringbotたんに呼んでほしい名前。空文字を送ると登録を解除し、表示名に戻す。送らなければ変更しない。
maxLength: 120maxGraphemes: 40
readPositions
arraymaxLength: 16
replyFreq
integerbotたんからの返信確率(0〜100%)。送らなければ変更しない。
minimum: 0maximum: 100
Output
application/jsonchronicleReadYears
array年ごとの既読ハッシュ。過去の版は蓄積せず、現在の年表内容と一致する版だけを保存する。
maxLength: 32
emojiFavoritesUpdatedAt
string · datetimefeedTabs
arraymaxLength: 16
feedTabsUpdatedAt
string · datetimelanguagePreferencesUpdatedAt
string · datetimelastBookmarkFolderId
stringmaxLength: 64
lastBookmarkFolderUpdatedAt
string · datetimemoderationPreferencesUpdatedAt
string · datetimepreferredName
stringbotたんに呼んでほしい名前。省略時は未設定=表示名で呼ばれる。
maxLength: 120maxGraphemes: 40
マージ後の確定値。送った位置が負けた場合は保存済みの方が返る。
replyFreq
integerbotたんからの返信確率(0〜100%)。
minimum: 0maximum: 100
Errors
AuthRequired
No description in schema.
InvalidRequest
No description in schema.
Similar lexicons
semantic matchLexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.
-
端末をまたいで同期する本人の設定(既読位置、お気に入り絵文字、フィードタブ、投稿・翻訳言語、コンテンツ表示、最後のブックマークフォルダ)を返す。他ユーザーからは参照できない。