com.suibari.nagi.getCards
指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawStatus(本日引けるか)を含む。
Details · query
| Kind | query |
|---|---|
| Authority | nagi.suibari.com |
| Indexed |
Showing version bafyreieklhpzon6jinb6onhr3yghxjlb76tumf2lvpehkauhfsnxet3z3q. Show the latest
Checks
Validunlimited-stringdefs.main.parameters.properties.actorNo maxLength, maxGraphemes or format limits this string.
{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawStatus(本日引けるか)を含む。",
"errors": [
{
"name": "InvalidRequest"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"anniversaryCards": {
"description": "所持している記念日カード(取得の古い順)。図鑑とは別枠で、ownedCount / totalCount には含めない。",
"items": {
"type": "unknown"
},
"type": "array"
},
"cards": {
"description": "全カード定義に所持情報(owned / comment / acquiredAt)を合成したもの。",
"items": {
"type": "unknown"
},
"type": "array"
},
"drawStatus": {
"description": "actor がビューア本人のときのみ。myNagi / reaction の各取得枠と nextDrawAt。旧クライアント互換の canDraw / todayCardId は通常枠を表す。",
"type": "unknown"
},
"ownedCount": {
"type": "integer"
},
"pendingAnniversary": {
"description": "actor がビューア本人のときのみ。本日が記念日で、まだ受け取っていないぶん。drawCard の source=anniversary で一括して受け取る。",
"items": {
"type": "unknown"
},
"type": "array"
},
"totalCount": {
"type": "integer"
}
},
"required": [
"cards",
"ownedCount",
"totalCount"
],
"type": "object"
}
},
"parameters": {
"properties": {
"actor": {
"description": "対象ユーザーの DID。",
"type": "string"
}
},
"required": [
"actor"
],
"type": "params"
},
"type": "query"
}
},
"id": "com.suibari.nagi.getCards",
"lexicon": 1
}