KGLOBAL KARMAkarma.slikz.dev

API

JSON API für EvoSC und öffentliche Karma-Daten.

Public

GET/api/v1/health
GET/api/v1/stats
GET/api/v1/maps/top?limit=20&q=...
GET/api/v1/maps/{uid}/voters

EvoSC Server API

POST/api/v1/servers/register
POST/api/v1/server/heartbeat
POST/api/v1/map/state
POST/api/v1/vote

Authentifizierung: X-GlobalKarma-Server + Bearer API-Key. Das EvoSC-Modul registriert sich automatisch.

Karma-Berechnung

+++ = 100\n++ = 80\n+ = 60\n- = 40\n-- = 20\n--- = 0\n\nkarma = floor(weighted_sum / total_votes)\nstars = karma / 20