Xsolla-logoXsolla Developers
前往发布商帐户

获取奖励链Server-sideAdmin

get/v2/project/{project_id}/admin/reward_chain/id/{reward_chain_id}

获取特定奖励链。

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

项目ID。您可以在您的发布商帐户项目名称旁边找到。

Example: 44056
reward_chain_id
required
integer

奖励链ID。

Example: 101
Responses
200

已成功收到指定的奖励链。

401

基本认证未通过或错误。确保您使用了基本认证或正确的凭据。

404

未找到奖励链。

Request samples
curl -i -X GET \
  -u <merchant_id_or_project_id>:<api_key> \
  'https://store.xsolla.com/api/v2/project/{project_id}/admin/reward_chain/id/{reward_chain_id}'
Response samples
application/json
{
  • "clan_type": "guild",
  • "date_end": "2021-04-15T18:16:00+05:00",
  • "date_start": "2020-04-15T18:16:00+05:00",
  • "description": {
    },
  • "is_enabled": true,
  • "long_description": {
    },
  • "name": {
    },
  • "order": 1,
  • "popup_header": {
    },
  • "popup_instruction": {
    },
  • "recurrent_schedule": {
    },
  • "reward_chain_id": 1,
  • "steps": [],
  • "value_point": {
    }
}