valorant-api-types
Version:
A collection of documented endpoints and return types for the unofficial Valorant API
28 lines • 973 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.currentGameLoadoutsEndpoint = void 0;
const zod_1 = require("zod");
const commonTypes_1 = require("../../commonTypes");
exports.currentGameLoadoutsEndpoint = {
name: 'Current Game Loadouts',
description: 'Get the current game loadout info for all players in the match',
queryName: 'CoreGame_FetchMatchLoadouts',
category: 'Current Game Endpoints',
type: 'glz',
suffix: 'core-game/v1/matches/{current game match id}/loadouts',
riotRequirements: {
token: true,
entitlement: true,
clientPlatform: true,
clientVersion: true
},
responses: {
'200': zod_1.z.object({
Loadouts: zod_1.z.array(zod_1.z.object({
CharacterID: commonTypes_1.characterIDSchema,
Loadout: commonTypes_1.loadoutsSchema
}))
})
}
};
//# sourceMappingURL=CurrentGameLoadouts.js.map