com.suibari.nagi.getPreferences

端末をまたいで同期する本人の設定(既読位置、お気に入り絵文字、フィードタブ、投稿・翻訳言語、コンテンツ表示、通知、最後のブックマークフォルダ)を返す。他ユーザーからは参照できない。

Repository @suibari.com did:plc:uixgxpiqf4i63p6rgpu7ytmx namespace authority
Details · query
Kindquery
Authoritynagi.suibari.com
Commit rev3n32bfau3y52d
Indexed

Showing version bafyreifnw3mestlqzh5743eq7vn3eladudcigdxbutl67qzxdzr2ps4ehi. Show the latest

Query

query · GET

Output

application/json

今年のアドベントカレンダーの既読と、開封演出を見終えた自分のカードの日。

Reference

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

Reference

emojiFavorites

requiredarray

お気に入り絵文字パレット。表示順そのまま。要素は #unicodeFavorite または #customFavorite。

  • maxLength: 32
itemsunknown

emojiFavoritesUpdatedAt

string · datetime

省略時は、この利用者のお気に入りがまだ一度も同期されていないことを表す。

フィードのタブ。表示順そのまま。

  • maxLength: 16
itemsref
Reference

feedTabsUpdatedAt

string · datetime

省略時は、この利用者がまだ一度もタブをカスタムしていないことを表す(クライアントは既定タブを使う)。

  • maxLength: 64

lastBookmarkFolderUpdatedAt

string · datetime

省略時は、この利用者がまだ一度も通知設定を保存していないことを表す(すべて既定)。

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

  • maxLength: 120
  • maxGraphemes: 40

readPositions

requiredarray
itemsref
Reference

replyFreq

integer

botたんからの返信確率(0〜100%)。Bluesky側のfreq設定と共用。

  • minimum: 0
  • maximum: 100

お気に入りタグ。# を除いた小文字の正規形で、表示順そのまま。

  • maxLength: 32
itemsstring
  • maxLength: 64

tagFavoritesUpdatedAt

string · datetime

省略時は、この利用者のお気に入りタグがまだ一度も同期されていないことを表す。

Errors

AuthRequired

No description in schema.

#adventRead

object

Properties

lastSeenDay

requiredinteger
  • minimum: 0
  • maximum: 25

openedDays

requiredarray
  • maxLength: 25
itemsinteger

year

requiredinteger

#customFavorite

object

Bluemoji のスナップショット。url などは表示のたびに再解決されるので、権威は uri のみ。

Properties

emoji

requiredunknown

kind

requiredstring
  • const: "custom"

#diaryDay

object

日記の「1日」を決める設定。本人にだけ返す。PDS レコードには書かない。

Properties

current

requiredref
Reference

Nagi を開いたときにブラウザから届いたタイムゾーン。

  • maxLength: 64

本人が選んだタイムゾーン。あれば自動検出より優先する。

  • maxLength: 64
Reference

startHour

requiredinteger

本人が選んだ区切りの時刻(18〜23, 0〜6)。既定は22。

  • minimum: 0
  • maximum: 23

#diaryDayCurrent

object

今開いている日に使っている設定。effectiveFrom はその設定が有効になった日(言語からの推定のままなら省略)。

Properties

  • maxLength: 10

startHour

requiredinteger
  • minimum: 0
  • maximum: 23

timezone

requiredstring
  • maxLength: 64

#diaryDayPending

object

まだ有効になっていない変更。effectiveFrom の日の日記から反映される。

Properties

effectiveFrom

requiredstring
  • maxLength: 10

startHour

requiredinteger
  • minimum: 0
  • maximum: 23

timezone

requiredstring
  • maxLength: 64

#feedTab

object

フィードのタブ1枚。必要なフィールドは kind ごとに異なる(list / custom は source、hashtag / search は query、bsky は uri または source=following)。

Properties

id

requiredstring
  • maxLength: 64

kind

requiredstring
  • maxLength: 32
  • knownValues: list | global | custom | hashtag | search | bsky

label

string

表示名のスナップショット。権威は query / uri 側。

  • maxLength: 64

query

string

kind が search のときは自由文の保存クエリ、hashtag のときはタグ(先頭の # を除いた小文字)。

  • maxLength: 128

source

string

kind が list / custom のときの参照先(list=home, custom=recommended。affirmation は旧クライアントが書く値で、recommended として読む)。kind が bsky のときは following(Bluesky のホームタイムライン)だけを取り、uri と排他。

  • maxLength: 32
  • knownValues: home | recommended | affirmation | following

uri

string · at-uri

kind が bsky のときの app.bsky.feed.generator の AT-URI。source が following なら持たない。

  • maxLength: 512

#languagePreferences

object

Properties

autoTranslate

requiredboolean

post

requiredstring
  • maxLength: 16

provider

requiredstring
  • knownValues: kagi | deepl | google

translation

requiredstring
  • maxLength: 16

#moderationPreferences

object

Properties

automatic

requiredstring
  • knownValues: warn | hide | ignore

selfAi

requiredstring
  • knownValues: warn | hide | ignore

selfNsfw

requiredstring
  • knownValues: warn | hide | ignore

#notificationPreference

object

list は通知欄に出すか、push はプッシュ通知するか。

Properties

list

requiredboolean

push

requiredboolean

#notificationPreferences

object

通知の種別ごとの設定。Bluesky の app.bsky.notification.defs#preferences に倣う。省略したカテゴリは list / push とも true。botInteraction は botたんからの返信・メンション・リアクション(その3種別では人からのものと分けて扱う)。seasonal は季節の特別なお知らせ(アドベントカレンダーなど期間限定の催し)。bluesky で始まるカテゴリは Bluesky の通知の Push で、省略時は list / push とも false。list は使わない。

#readPosition

object

「ここまで読んだ」位置。新旧の比較は (indexedAt, uri) の辞書順で行う。

Properties

indexedAt

requiredstring · datetime

section

requiredstring
  • maxLength: 32
  • knownValues: bot | community | list | channels | news

uri

requiredstring · at-uri
  • maxLength: 2048

#unicodeFavorite

object

Properties

emoji

requiredstring
  • maxLength: 64

kind

requiredstring
  • const: "unicode"

Similar lexicons

semantic match

Lexicons whose schemas describe something close to this one. Check them before publishing a new one that overlaps.

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