com.suibari.nagi.getCards

suibari.com

Documentation

指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawStatus(本日引けるか)を含む。

main query

指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawStatus(本日引けるか)を含む。

Parameters

actor string Required

対象ユーザーの DID。

Output

Encodingapplication/json
anniversaryCards array Optional

所持している記念日カード(取得の古い順)。図鑑とは別枠で、ownedCount / totalCount には含めない。

cards array Required

全カード定義に所持情報(owned / comment / acquiredAt)を合成したもの。

drawStatus unknown Optional

actor がビューア本人のときのみ。myNagi / reaction の各取得枠と nextDrawAt。旧クライアント互換の canDraw / todayCardId は通常枠を表す。

ownedCount integer Required

No description available.

pendingAnniversary array Optional

actor がビューア本人のときのみ。本日が記念日で、まだ受け取っていないぶん。drawCard の source=anniversary で一括して受け取る。

totalCount integer Required

No description available.

Errors

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://api.bsky.social)
Parameters
対象ユーザーの DID。
View raw schema
{
  "type": "query",
  "errors": [
    {
      "name": "InvalidRequest"
    }
  ],
  "output": {
    "schema": {
      "type": "object",
      "required": [
        "cards",
        "ownedCount",
        "totalCount"
      ],
      "properties": {
        "cards": {
          "type": "array",
          "items": {
            "type": "unknown"
          },
          "description": "全カード定義に所持情報(owned / comment / acquiredAt)を合成したもの。"
        },
        "drawStatus": {
          "type": "unknown",
          "description": "actor がビューア本人のときのみ。myNagi / reaction の各取得枠と nextDrawAt。旧クライアント互換の canDraw / todayCardId は通常枠を表す。"
        },
        "ownedCount": {
          "type": "integer"
        },
        "totalCount": {
          "type": "integer"
        },
        "anniversaryCards": {
          "type": "array",
          "items": {
            "type": "unknown"
          },
          "description": "所持している記念日カード(取得の古い順)。図鑑とは別枠で、ownedCount / totalCount には含めない。"
        },
        "pendingAnniversary": {
          "type": "array",
          "items": {
            "type": "unknown"
          },
          "description": "actor がビューア本人のときのみ。本日が記念日で、まだ受け取っていないぶん。drawCard の source=anniversary で一括して受け取る。"
        }
      }
    },
    "encoding": "application/json"
  },
  "parameters": {
    "type": "params",
    "required": [
      "actor"
    ],
    "properties": {
      "actor": {
        "type": "string",
        "description": "対象ユーザーの DID。"
      }
    }
  },
  "description": "指定ユーザーの全肯定カードコレクション。未所持のカードも定義だけ返す(コレクション表示のため)。所持状況は公開情報。自分自身を指定したときだけ drawStatus(本日引けるか)を含む。"
}

Lexicon Garden

@