# 現在のユーザーの報酬チェーンを取得する クライアントエンドポイント。現在のユーザー報酬チェーンを取得します。 注意すべてのプロジェクトには、応答で得られるアイテムの数に制限があります。初期値および最大値は、1応答あたり50アイテムです。ページごとにより多くのデータを取得するには、LIMITとOFFSETフィールドを使用してください。 Endpoint: GET /v2/project/{project_id}/user/reward_chain Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。 Example: 44056 ## Query parameters: - `limit` (integer) ページでの要素数の制限。 Example: 50 - `offset` (integer) リストが生成される要素番号(カウントは0から始まります)。 ## Response 200 fields (application/json): - `has_more` (boolean) ページ数がもっとあることを示す指標として使用されます。 Example: true - `items` (array) - `items.clan_type` (string,null) クランタイプ。 Enum: "clan", "guild", "faction", "community", "team", "squad", "alliance", "association", "coalition", "union", "group", "civilizations", "dynasty", "order", "league", "brotherhood", "kingdom", "organization", "house", "empire", "tribe", "cartel", null - `items.date_end` (string,null) 報酬チェープロモーションが終了する日付。「null」も可能です。date_endがnullの場合、報酬チェーンは時間制限がありません。 Example: "2020-04-15T18:16:00+05:00" - `items.date_start` (string) 報酬チェーンの開始日。 Example: "2020-04-15T18:16:00+05:00" - `items.description` (string,null) 報酬チェーンの説明。 Example: "Major weekly quest" - `items.image_url` (string,null) 画像URL。 Example: "https://image.example.com" - `items.long_description` (string,null) 報酬チェーンの長い説明。 Example: "You can get a lot of additional items just by shopping during the week" - `items.name` (string) 報酬チェーン名。 Example: "Weekly quest" - `items.order` (integer) 配列順序を定義します。 Example: 1 - `items.popup_header` (object,null) クラン報酬チェーンツールチップポップアップウィンドウのヘッダーのローカライズ付きオブジェクト。 小文字の2文字[言語コード](https://developers.xsolla.com/ja/doc/pay-station/features/localization/)。 - `items.popup_header.ar` (string,null) - `items.popup_header.bg` (string,null) - `items.popup_header.cn` (string,null) - `items.popup_header.cs` (string,null) - `items.popup_header.de` (string,null) Example: "Wie man Belohnungen freischaltet" - `items.popup_header.en` (string,null) Example: "How to unlock rewards" - `items.popup_header.es` (string,null) Example: "Cómo desbloquear recompensas" - `items.popup_header.fr` (string,null) Example: "Comment débloquer des récompenses" - `items.popup_header.he` (string,null) - `items.popup_header.it` (string,null) Example: "Come sbloccare ricompense" - `items.popup_header.ja` (string,null) Example: "報酬をアンロックする方法" - `items.popup_header.ko` (string,null) - `items.popup_header.pl` (string,null) - `items.popup_header.pt` (string,null) - `items.popup_header.ro` (string,null) - `items.popup_header.ru` (string,null) - `items.popup_header.th` (string,null) - `items.popup_header.tr` (string,null) - `items.popup_header.tw` (string,null) - `items.popup_header.vi` (string,null) - `items.popup_image_url` (string,null) クラン報酬チェーンのツールチップポップアップウィンドウの画像。 Example: "https://image.example.com" - `items.popup_instruction` (object,null) クラン報酬チェーンツールチップポップアップウィンドウに関する説明のローカライズ付きオブジェクト。 小文字の2文字[言語コード](https://developers.xsolla.com/ja/doc/pay-station/features/localization/)。 - `items.recurrent_schedule` (object,null) 報酬チェーンの定期リセット期間。 - `items.recurrent_schedule.interval_type` (any) - `items.recurrent_schedule.reset_next_date` (integer) 計算された報酬チェーンが次回にリセットされる日時Unixタイムスタンプ。例えば、報酬チェーンは2024年3月1日01:00(クアラルンプール時間 GMT+8)から毎月リセットされます。報酬チェーンが次回にリセットされる日時:2024年4月1日01:00(クアラルンプール時間 GMT+8)。これは、2024年3月31日17:00 GMT+0またはUnixタイムスタンプのフォーマットで1711904400000に相当します。 例:1711904400000 - `items.reward_chain_id` (integer) 報酬チェーンID。 Example: 9 - `items.steps` (array) - `items.steps.is_claimed` (boolean) ステップ報酬が請求されるかどうか。 - `items.steps.name` (string) ステップ名。 Example: "Level 1" - `items.steps.price` (object) - `items.steps.price.amount` (integer) ユーザーがそのステップに対して請求したバリューポイントの数。 Example: 100 - `items.steps.reward` (array) - `items.steps.reward.description` (string) アイテムの説明。 Example: "Super box with items" - `items.steps.reward.name` (string) アイテム名。 Example: "Super box" - `items.steps.reward.quantity` (integer) アイテム数量。 Example: 2 - `items.steps.reward.sku` (string) 一意のアイテムID。SKUには、小文字と大文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみが含まれます。 Example: "booster_mega_1" - `items.steps.reward.type` (string) アイテムタイプ。 Example: "bundle" - `items.steps.step_id` (integer) ステップID。 Example: 10 - `items.top_contributors` (array) - `items.top_contributors.contributed_amount` (integer) ユーザーが獲得したバリューポイントの額。 Example: 100 - `items.top_contributors.name` (string) 認証プロセス中にエクソーラに送信されるユーザーID。ユーザーIDは、ユーザーをエクソーラログインプロジェクトにリンクするために使用され、ニックネームとして表示されます。[ユーザーID](https://developers.xsolla.com/ja/solutions/web-shop/create-web-shop/set-up-authentication/?tabs=100-UserIDAuth&link=100-UserIDAuth)経由での認証を使用している場合は、[ウェブフック応答](https://developers.xsolla.com/ja/webhooks/operation/user-validation-in-webshop/)でnameパラメータを渡すことをお勧めします。このパラメータには、ニックネームとして使用されるユーザー名が含まれています。 Example: "Rocket" - `items.value_point` (object) - `items.value_point.amount` (integer) バリューポイントの量。 - `items.value_point.description` (string,null) バリューポイントの説明。 - `items.value_point.is_clan` (boolean) バリューポイントがクランリワードチェーンで使用されるかどうか。 Example: true - `items.value_point.long_description` (string,null) バリューポイントの長い説明。 - `items.value_point.name` (string) バリューポイント名。 - `items.value_point.sku` (string) 一意のバリューポイントID。 - `total_items_count` (integer) システム内の報酬チェーンの総数。 Example: 10