UNPKG

valorant-api-types

Version:

A collection of documented endpoints and return types for the unofficial Valorant API

30 lines 1.07 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.nameServiceEndpoint = void 0; const zod_1 = require("zod"); const commonTypes_1 = require("../../commonTypes"); exports.nameServiceEndpoint = { name: 'Name Service', description: 'Get a player\'s name and tagline by their PUUID. Supports retrieving multiple players in one request.', queryName: 'NameService_GetPlayerInfo', category: 'PVP Endpoints', type: 'pd', method: 'PUT', suffix: 'name-service/v2/players', riotRequirements: { token: true, entitlement: true, clientVersion: true, clientPlatform: true }, responses: { '200': zod_1.z.array(zod_1.z.object({ DisplayName: zod_1.z.string(), Subject: commonTypes_1.playerUUIDSchema, GameName: zod_1.z.string(), TagLine: zod_1.z.string(), })) }, body: zod_1.z.array(commonTypes_1.playerUUIDSchema).describe("PUUID(s) to retrieve the name data for") }; //# sourceMappingURL=NameService.js.map