full diff

com.suibari.nagi.getChronicle

suibari.com +3 −3
From
bafyreibggjjdhsjwsbfqrqaatc4tilhvhh3pfbbhixvkyn55wzeoocddeq indexed 2026-09-25 02:44 UTC View this version
To
bafyreid57jpr2hb76aqm4tkwaf6hwb67mmxb3zvwzax2komtcsc2opj6hu indexed 2026-11-11 23:53 UTC View this version

Compatibility

backward compatible No changes detected.

Changes

11{
22 "$type": "com.atproto.lexicon.schema",
33 "defs": {
44 "main": {
55 "description": "自分年表。Nagi にやってきた日・botたんと出会った日・記念日カード・「はじめて」の記録・日記から抜いた出来事・そのころのニュースを、1本の時系列で返す。日記と同じく**本人だけが読む**ので、actor が認証した DID と一致しなければ 403(件数も日付も返さない)。",
66 "output": {
77 "encoding": "application/json",
88 "schema": {
99 "properties": {
1010 "cursor": {
11 "description": "次の年。これ以上さかのぼれないときは省略する。",
11 "description": "次の(より新しい)年。今年のページでは省略する。",
1212 "type": "string"
1313 },
1414 "hasMore": {
1515 "type": "boolean"
1616 },
1717 "items": {
18 "description": "その年の節目。新しい順。同じ日に複数あるときは kind の固定優先度で決定論的に並ぶ。",
18 "description": "その年の節目。古い順(日付の昇順)。同じ日に複数あるときは kind の固定優先度で決定論的に並ぶ。",
1919 "items": {
2020 "type": "unknown"
2121 },
2222 "type": "array"
2323 },
2424 "revision": {
2525 "description": "その年の全内容のSHA-256。表示言語や取得順序には依存しない。",
2626 "maxLength": 64,
2727 "type": "string"
2828 },
2929 "year": {
3030 "minimum": 2020,
3131 "type": "integer"
3232 }
3333 },
3434 "required": [
3535 "items",
3636 "hasMore",
3737 "year",
3838 "revision"
3939 ],
4040 "type": "object"
4141 }
4242 },
4343 "parameters": {
4444 "properties": {
4545 "actor": {
4646 "description": "年表の持ち主。認証した DID と一致しなければならない。",
4747 "format": "did",
4848 "type": "string"
4949 },
5050 "cursor": {
51 "description": "次に返す年(\"2025\")。年表は年見出しでまとまるので、ページ境界を見出し境界に一致させている。将来1年の件数が有界でなくなったら、日付とイベントIDの複合カーソルへ移すこと。",
51 "description": "次に返す年(\"2025\")。省略時は本人の起点の年(いちばん古い節目の年)を返し、ページは古い年から今年へ進む。起点の年から今年(JST 4:00区切り)までの4桁の年だけを受け付け、それ以外は400。年表は年見出しでまとまるので、ページ境界を見出し境界に一致させている。将来1年の件数が有界でなくなったら、日付とイベントIDの複合カーソルへ移すこと。",
5252 "type": "string"
5353 },
5454 "lang": {
5555 "default": "ja",
5656 "description": "ニュースの表示言語。en は英訳が揃っているものだけ英語になる。",
5757 "enum": [
5858 "ja",
5959 "en"
6060 ],
6161 "type": "string"
6262 },
6363 "limit": {
6464 "default": 50,
6565 "description": "互換性のため受理するが適用しない。既読は年単位なので必ずその年の全項目を返す。",
6666 "maximum": 100,
6767 "minimum": 1,
6868 "type": "integer"
6969 }
7070 },
7171 "required": [
7272 "actor"
7373 ],
7474 "type": "params"
7575 },
7676 "type": "query"
7777 },
7878 "readYear": {
7979 "properties": {
8080 "revision": {
8181 "maxLength": 64,
8282 "type": "string"
8383 },
8484 "year": {
8585 "minimum": 2020,
8686 "type": "integer"
8787 }
8888 },
8989 "required": [
9090 "year",
9191 "revision"
9292 ],
9393 "type": "object"
9494 }
9595 },
9696 "id": "com.suibari.nagi.getChronicle",
9797 "lexicon": 1
9898}

Compare other versions