# 現在のユーザーインベントリーを取得する クライアントエンドポイント。現在のユーザーインベントリを取得します。 注意すべてのプロジェクトには、回答で得られるアイテムの数に制限があります。初期値および最大値は、1応答あたり50アイテムです。ページごとにより多くのデータを取得するには、LIMITとOFFSETフィールドを使用してください。 Endpoint: GET /v2/project/{project_id}/user/inventory/items Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、ドメインページのプロジェクト名の横にあります。 Example: 44056 ## Query parameters: - `limit` (integer) ページでの要素数の制限。 Example: 50 - `offset` (integer) リストが生成される要素番号(カウントは0から始まります)。 - `platform` (string) ユーザーがプレイするパブリッシングプラットフォーム。 Enum: "playstation_network", "xbox_live", "xsolla", "pc_standalone", "nintendo_shop", "google_play", "app_store_ios", "android_standalone", "ios_standalone", "android_other", "ios_other", "pc_other" ## Response 200 fields (application/json): - `items` (array) Example: [{"attributes":[],"description":"Big Rocket - short description","groups":[],"image_url":"https://picture.bigrocket.png","instance_id":null,"name":"Rocket","quantity":null,"remaining_uses":1,"sku":"com.xsolla.instanciated_item_1","type":"virtual_good","virtual_item_type":"non_consumable"},{"attributes":[],"description":"description","groups":[],"image_url":"http://image.png","instance_id":null,"name":"SHOTGUN FOR TRUE RAIDERS","quantity":2,"remaining_uses":1,"sku":"com.xsolla.shotgun_raider_1","type":"virtual_good","virtual_item_type":"non_consumable"},{"attributes":[{"external_id":"stack_size","name":"Stack size","values":[{"external_id":"stack_size_value_99c25352ab6e34a0e0755fc2a9daa7a76021dce2","value":5}]},{"external_id":"licensed","name":"Licensed","values":[{"external_id":"licensed_value_d75d8034dd2f82cb3d2789f5ec1837a6c350b505","value":true}]}],"description":null,"groups":[],"image_url":null,"instance_id":null,"name":"HEADPHONES","quantity":5,"remaining_uses":1,"sku":"com.xsolla.headphones_for_pro_1","type":"virtual_good","virtual_item_type":"non_consumable"},{"attributes":[],"description":null,"groups":[],"image_url":null,"instance_id":null,"name":"UNIQUE DIAMONDS","quantity":100,"remaining_uses":1,"sku":"com.xsolla.platform_currency_1","type":"virtual_currency"}] - `items.attributes` (array) アイテムに対応する属性と値のリスト。カタログのフィルタリングに使用できます。 Example: {"value":{"external_id":"genre","name":"Жанр","values":[{"external_id":"genre_e3364991f92e751689a68b96598a5a5a84010b85","value":"Casual"},{"external_id":"genre_eba07bfd0f982940773cba3744d97264dd58acd7","value":"Strategy"},{"external_id":"genre_b8d0c6d8f0524c2b2d79ebb93aa3cd0e8b5199a8","value":"Mobile"}]}} - `items.attributes.external_id` (string) 一意の属性ID。external_idには、小文字と大文字のラテン英数字、ダッシュ、およびアンダースコアのみが含まれます。 Example: "attribute_1" - `items.attributes.name` (string) 属性名。 Example: "Genre" - `items.attributes.values` (array) - `items.attributes.values.external_id` (string) 属性の一意の値ID。external_idには、英小文字、ダッシュ、およびアンダースコアのみが含まれます。 Example: "attribute_value" - `items.attributes.values.value` (string) 属性値。 Example: "Strategy" - `items.description` (string) アイテム説明。 Example: "Big Rocket - short description" - `items.groups` (array) アイテムが所属するグループ。 Example: [{"external_id":"accessory","name":"Accessory"}] - `items.groups.external_id` (string) Example: "accessory" - `items.groups.name` (string) Example: "Accessory" - `items.image_url` (string) 画像URL。 Example: "https://picture.bigrocket.png" - `items.name` (string) アイテム名。 Example: "Rocket" - `items.quantity` (integer,null) アイテム数量。 - `items.remaining_uses` (integer,null) 消耗品のプロパティを定義します:消耗品の場合は残りの使用回数、非消耗品の場合はnull。 Example: 1 - `items.sku` (string) 一意のアイテムID。SKUには、小文字と大文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみが含まれます。 Example: "com.xsolla.instanciated_item_1" - `items.type` (string) アイテムタイプ:consumable/expiration/permanent/lootboxes/physical。 Example: "virtual_good" - `items.virtual_item_type` (string,null) 仮想アイテムタイプ。 Enum: "consumable", "non_consumable", "non_renewing_subscription" - `items.instance_id` (null) 非推奨のパラメータです。常にはnullです。