GET Item Upgrades
https://pd.{shard}.a.pvp.net/contract-definitions/v3/item-upgrades
Get details for item upgrades
Headers:
-
X-Riot-ClientPlatform: {client platform}
-
X-Riot-ClientVersion: {client version}
-
X-Riot-Entitlements-JWT: {entitlement token}
-
Authorization: Bearer {auth token}
URL Parameters:
Other Variables:
-
client platform
A string representing the platform of the client. Base-64 encoded JSON with the following fields:
{ "platformType": "PC", "platformOS": "Windows", "platformOSVersion": "10.0.19042.1.256.64bit", "platformChipset": "Unknown" }
ew0KCSJwbGF0Zm9ybVR5cGUiOiAiUEMiLA0KCSJwbGF0Zm9ybU9TIjogIldpbmRvd3MiLA0KCSJwbGF0Zm9ybU9TVmVyc2lvbiI6ICIxMC4wLjE5MDQyLjEuMjU2LjY0Yml0IiwNCgkicGxhdGZvcm1DaGlwc2V0IjogIlVua25vd24iDQp9
is a value that works. -
client version
-
entitlement token
Can be obtained locally with the Entitlements Token endpoint or remotely using Riot auth and the Entitlement endpoint -
auth token
Can be obtained locally with the Entitlements Token endpoint or remotely by first using the Auth Cookies endpoint then using the cookies with the Auth Request endpoint
Response:
type ItemUpgradesResponse = {
Definitions: {
/** UUID */
ID: string;
Item: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
};
RequiredEntitlement: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
};
ProgressionSchedule: {
Name: string;
/** Currency ID */
ProgressionCurrencyID: string;
ProgressionDeltaPerLevel: number[] | null;
};
RewardSchedule: {
/** UUID */
ID: string;
Name: string;
Prerequisites: null;
RewardsPerLevel: {
EntitlementRewards: {
Amount: number;
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
}[];
WalletRewards: null;
CounterRewards: null;
}[] | null;
};
Sidegrades: {
/** UUID */
SidegradeID: string;
Options: {
/** UUID */
OptionID: string;
Cost: {
WalletCosts: {
/** Currency ID */
CurrencyID: string;
AmountToDeduct: number;
}[];
};
Rewards: {
Amount: number;
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
}[];
}[];
Prerequisites: {
RequiredEntitlements: {
/** Item Type ID */
ItemTypeID: string;
/** Item ID */
ItemID: string;
}[];
};
}[] | null;
}[];
};