Référence API
Game

Game API

Endpoints Pterodactyl pour la boutique Game et la gestion de serveurs.

17 routes accessibles aux clients depuis l'extérieur.

Serveurs de jeu — client

Préfixe : /api/game

MéthodeRouteHandler
GET/api/game/me/serverslistMyServers
GET/api/game/servers/:identifiergetServer
POST/api/game/servers/:identifier/powerpower
POST/api/game/servers/:identifier/commandcommand
GET/api/game/servers/:identifier/websocketwebsocket
POST/api/game/servers/:identifier/reinstallreinstall
GET/api/game/servers/:identifier/startupgetStartup
POST/api/game/servers/:identifier/startup/variablesetVariable
POST/api/game/servers/:identifier/accept-eulaacceptEula
GET/api/game/servers/:identifier/allocationslistAllocations
POST/api/game/servers/:identifier/allocationsaddAllocation
POST/api/game/servers/:identifier/allocations/:allocId/primarysetPrimaryAllocation
DELETE/api/game/servers/:identifier/allocations/:allocIdremoveAllocation
POST/api/game/servers/:identifier/cancelcancelClient
DELETE/api/game/servers/:identifiercancel

Boutique Game

Préfixe : /api/game/store

MéthodeRouteHandler
GET/api/game/store/offerslistOffers
POST/api/game/store/orderorder