{"openapi":"3.1.0","info":{"title":"1up-servers public API","version":"0.217.1"},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","description":"An API key created in the Integrations tab, sent as Authorization: Bearer 1up_live_…"}}},"paths":{"/api/v1/servers":{"get":{"operationId":"getServerDashboard","summary":"Read the servers of the account with their live metrics and the plan allowance","tags":["servers"],"parameters":[],"responses":{"200":{"description":"Successful response","headers":{"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"planId":{"type":"string"},"planAccent":{"type":"string","enum":["slate","sky","lime","pink","amber","violet","green","orange"]},"quotas":{"type":"object","properties":{"servers":{"type":"object","properties":{"value":{"type":["number","null"]},"unlimited":{"type":"boolean"}},"required":["value","unlimited"],"additionalProperties":false},"slots":{"type":"object","properties":{"value":{"type":["number","null"]},"unlimited":{"type":"boolean"}},"required":["value","unlimited"],"additionalProperties":false},"ramMb":{"type":"object","properties":{"value":{"type":["number","null"]},"unlimited":{"type":"boolean"}},"required":["value","unlimited"],"additionalProperties":false},"diskMb":{"type":"object","properties":{"value":{"type":["number","null"]},"unlimited":{"type":"boolean"}},"required":["value","unlimited"],"additionalProperties":false}},"required":["servers","slots","ramMb","diskMb"],"additionalProperties":false},"unlimitedHours":{"type":"boolean"},"uptimePercent30d":{"type":["number","null"]},"serversUsed":{"type":"number"},"canCreateServer":{"type":"boolean"},"free":{"type":["object","null"],"properties":{"sessionSecondsLimit":{"type":"number"},"sessionSecondsLeft":{"type":"number"},"monthlySecondsLimit":{"type":"number"},"monthlySecondsUsed":{"type":"number"},"resetsAt":{"type":"string","format":"date-time"},"sessionEndsAt":{"type":["string","null"],"format":"date-time"},"exhausted":{"type":["string","null"],"enum":["day","month",null]}},"required":["sessionSecondsLimit","sessionSecondsLeft","monthlySecondsLimit","monthlySecondsUsed","resetsAt","sessionEndsAt","exhausted"],"additionalProperties":false},"servers":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"gameSlug":{"type":"string"},"gameVersion":{"type":"string"},"regionCode":{"type":"string"},"regionPingMs":{"type":["number","null"]},"planId":{"type":"string"},"planAccent":{"type":"string","enum":["slate","sky","lime","pink","amber","violet","green","orange"]},"state":{"type":"string","enum":["creating","queued","starting","online","stopping","off","crash","suspended","trashed"]},"isFree":{"type":"boolean"},"safeMode":{"type":"boolean"},"safeModeReason":{"type":["string","null"],"enum":["ram_mb","disk_mb","servers",null]},"address":{"type":["object","null"],"properties":{"host":{"type":"string"},"port":{"type":"number"}},"required":["host","port"],"additionalProperties":false},"players":{"type":"object","properties":{"online":{"type":["number","null"]},"slots":{"type":["number","null"]},"names":{"type":"array","items":{"type":"string"}}},"required":["online","slots","names"],"additionalProperties":false},"resources":{"type":"object","properties":{"cpuPercent":{"type":["number","null"]},"cpuLimitMillicores":{"type":["number","null"]},"memoryUsedMb":{"type":["number","null"]},"memoryLimitMb":{"type":["number","null"]},"diskUsedMb":{"type":["number","null"]},"diskLimitMb":{"type":["number","null"]},"tps":{"type":["number","null"]},"tickMs":{"type":["number","null"]}},"required":["cpuPercent","cpuLimitMillicores","memoryUsedMb","memoryLimitMb","diskUsedMb","diskLimitMb","tps","tickMs"],"additionalProperties":false},"trashedAt":{"type":["string","null"],"format":"date-time"},"purgeAfter":{"type":["string","null"],"format":"date-time"},"uptimeSeconds":{"type":["number","null"]},"onlineSince":{"type":["string","null"],"format":"date-time"},"lastBackupAt":{"type":["string","null"],"format":"date-time"},"lastSessionAt":{"type":["string","null"],"format":"date-time"}},"required":["id","name","slug","gameSlug","gameVersion","regionCode","regionPingMs","planId","planAccent","state","isFree","safeMode","safeModeReason","address","players","resources","trashedAt","purgeAfter","uptimeSeconds","onlineSince","lastBackupAt","lastSessionAt"],"additionalProperties":false}},"trashed":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"gameSlug":{"type":"string"},"gameVersion":{"type":"string"},"regionCode":{"type":"string"},"regionPingMs":{"type":["number","null"]},"planId":{"type":"string"},"planAccent":{"type":"string","enum":["slate","sky","lime","pink","amber","violet","green","orange"]},"state":{"type":"string","enum":["creating","queued","starting","online","stopping","off","crash","suspended","trashed"]},"isFree":{"type":"boolean"},"safeMode":{"type":"boolean"},"safeModeReason":{"type":["string","null"],"enum":["ram_mb","disk_mb","servers",null]},"address":{"type":["object","null"],"properties":{"host":{"type":"string"},"port":{"type":"number"}},"required":["host","port"],"additionalProperties":false},"players":{"type":"object","properties":{"online":{"type":["number","null"]},"slots":{"type":["number","null"]},"names":{"type":"array","items":{"type":"string"}}},"required":["online","slots","names"],"additionalProperties":false},"resources":{"type":"object","properties":{"cpuPercent":{"type":["number","null"]},"cpuLimitMillicores":{"type":["number","null"]},"memoryUsedMb":{"type":["number","null"]},"memoryLimitMb":{"type":["number","null"]},"diskUsedMb":{"type":["number","null"]},"diskLimitMb":{"type":["number","null"]},"tps":{"type":["number","null"]},"tickMs":{"type":["number","null"]}},"required":["cpuPercent","cpuLimitMillicores","memoryUsedMb","memoryLimitMb","diskUsedMb","diskLimitMb","tps","tickMs"],"additionalProperties":false},"trashedAt":{"type":["string","null"],"format":"date-time"},"purgeAfter":{"type":["string","null"],"format":"date-time"},"uptimeSeconds":{"type":["number","null"]},"onlineSince":{"type":["string","null"],"format":"date-time"},"lastBackupAt":{"type":["string","null"],"format":"date-time"},"lastSessionAt":{"type":["string","null"],"format":"date-time"}},"required":["id","name","slug","gameSlug","gameVersion","regionCode","regionPingMs","planId","planAccent","state","isFree","safeMode","safeModeReason","address","players","resources","trashedAt","purgeAfter","uptimeSeconds","onlineSince","lastBackupAt","lastSessionAt"],"additionalProperties":false}}},"required":["planId","planAccent","quotas","unlimitedHours","uptimePercent30d","serversUsed","canCreateServer","free","servers","trashed"],"additionalProperties":false}}}},"400":{"description":"The request failed validation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"401":{"description":"The API key is missing, revoked or expired","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"403":{"description":"The API key does not grant the scope of the operation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"429":{"description":"The caller exhausted the rate limit of the route","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}},"security":[{"apiKey":["servers:read"]}],"x-scope":"servers:read"}},"/api/v1/servers/:serverId/overview":{"get":{"operationId":"getServerOverview","summary":"Read the overview of one server with its resources, players, console and activity","tags":["servers"],"parameters":[{"name":"serverId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","headers":{"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"server":{"type":"object","properties":{"id":{"type":"string"},"name":{"type":"string"},"slug":{"type":"string"},"gameSlug":{"type":"string"},"gameVersion":{"type":"string"},"regionCode":{"type":"string"},"regionPingMs":{"type":["number","null"]},"planId":{"type":"string"},"planAccent":{"type":"string","enum":["slate","sky","lime","pink","amber","violet","green","orange"]},"state":{"type":"string","enum":["creating","queued","starting","online","stopping","off","crash","suspended","trashed"]},"isFree":{"type":"boolean"},"safeMode":{"type":"boolean"},"safeModeReason":{"type":["string","null"],"enum":["ram_mb","disk_mb","servers",null]},"address":{"type":["object","null"],"properties":{"host":{"type":"string"},"port":{"type":"number"}},"required":["host","port"],"additionalProperties":false},"players":{"type":"object","properties":{"online":{"type":["number","null"]},"slots":{"type":["number","null"]},"names":{"type":"array","items":{"type":"string"}}},"required":["online","slots","names"],"additionalProperties":false},"resources":{"type":"object","properties":{"cpuPercent":{"type":["number","null"]},"cpuLimitMillicores":{"type":["number","null"]},"memoryUsedMb":{"type":["number","null"]},"memoryLimitMb":{"type":["number","null"]},"diskUsedMb":{"type":["number","null"]},"diskLimitMb":{"type":["number","null"]},"tps":{"type":["number","null"]},"tickMs":{"type":["number","null"]}},"required":["cpuPercent","cpuLimitMillicores","memoryUsedMb","memoryLimitMb","diskUsedMb","diskLimitMb","tps","tickMs"],"additionalProperties":false},"trashedAt":{"type":["string","null"],"format":"date-time"},"purgeAfter":{"type":["string","null"],"format":"date-time"},"uptimeSeconds":{"type":["number","null"]},"onlineSince":{"type":["string","null"],"format":"date-time"},"lastBackupAt":{"type":["string","null"],"format":"date-time"},"lastSessionAt":{"type":["string","null"],"format":"date-time"}},"required":["id","name","slug","gameSlug","gameVersion","regionCode","regionPingMs","planId","planAccent","state","isFree","safeMode","safeModeReason","address","players","resources","trashedAt","purgeAfter","uptimeSeconds","onlineSince","lastBackupAt","lastSessionAt"],"additionalProperties":false},"online":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"boolean"},"sessionMs":{"type":["number","null"]},"pingMs":{"type":["number","null"]},"steam":{"type":"object","properties":{"steamId":{"type":"string","pattern":"^7656119\\d{10}$"},"avatarUrl":{"type":["string","null"]},"createdYear":{"type":["integer","null"]},"hoursPlayed":{"type":["integer","null"],"minimum":0},"vac":{"type":["object","null"],"properties":{"bans":{"type":"integer","minimum":1},"gameBans":{"type":"integer","minimum":0},"daysSinceLastBan":{"type":"integer","minimum":0}},"required":["bans","gameBans","daysSinceLastBan"],"additionalProperties":false}},"required":["steamId","avatarUrl","createdYear","hoursPlayed","vac"],"additionalProperties":false}},"required":["name","op","sessionMs","pingMs"],"additionalProperties":false}},"lastBackup":{"type":["object","null"],"properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"sizeBytes":{"type":"number"},"name":{"type":["string","null"]}},"required":["id","at","sizeBytes","name"],"additionalProperties":false},"nextTask":{"type":["object","null"],"properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"kind":{"type":"string","enum":["backup","message","command","power","restart","wipe"]},"name":{"type":"string"}},"required":["id","at","kind","name"],"additionalProperties":false},"free":{"type":["object","null"],"properties":{"sessionSecondsLimit":{"type":"number"},"sessionSecondsLeft":{"type":"number"},"monthlySecondsLimit":{"type":"number"},"monthlySecondsUsed":{"type":"number"},"resetsAt":{"type":"string","format":"date-time"},"sessionEndsAt":{"type":["string","null"],"format":"date-time"},"exhausted":{"type":["string","null"],"enum":["day","month",null]}},"required":["sessionSecondsLimit","sessionSecondsLeft","monthlySecondsLimit","monthlySecondsUsed","resetsAt","sessionEndsAt","exhausted"],"additionalProperties":false},"unlimitedHours":{"type":"boolean"},"queuePosition":{"type":["number","null"]},"queueEtaSeconds":{"type":["number","null"]},"console":{"type":"array","items":{"type":"string"}},"activity":{"type":"array","items":{"oneOf":[{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"actor":{"type":["string","null"]},"kind":{"type":"string","enum":["state","progress","failure"]},"state":{"type":"string","enum":["creating","queued","starting","online","stopping","off","crash","suspended","trashed"]},"step":{"type":["string","null"]}},"required":["id","at","actor","kind","state","step"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"actor":{"type":["string","null"]},"kind":{"type":"string","enum":["join","leave"]}},"required":["id","at","actor","kind"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"actor":{"type":["string","null"]},"kind":{"type":"string","enum":["backup"]},"name":{"type":["string","null"]},"origin":{"type":"string","enum":["manual","daily","pre_restore","pre_version_change","pre_world_change","pre_migration","archive"]},"failed":{"type":"boolean"},"sizeBytes":{"type":"integer","minimum":0}},"required":["id","at","actor","kind","name","origin","failed","sizeBytes"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string"},"at":{"type":"string","format":"date-time"},"actor":{"type":["string","null"]},"kind":{"type":"string","enum":["command"]},"command":{"type":"string"}},"required":["id","at","actor","kind","command"],"additionalProperties":false}]}},"billingSuspension":{"type":["object","null"],"properties":{"failedChargeAt":{"type":"string","format":"date-time"},"retentionDays":{"type":"integer","minimum":0}},"required":["failedChargeAt","retentionDays"],"additionalProperties":false}},"required":["server","online","lastBackup","nextTask","free","unlimitedHours","queuePosition","queueEtaSeconds","console","activity","billingSuspension"],"additionalProperties":false}}}},"400":{"description":"The request failed validation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"401":{"description":"The API key is missing, revoked or expired","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"403":{"description":"The API key does not grant the scope of the operation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"429":{"description":"The caller exhausted the rate limit of the route","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}},"security":[{"apiKey":["servers:read"]}],"x-scope":"servers:read"}},"/api/v1/servers/:serverId/power":{"post":{"operationId":"runServerPowerAction","summary":"Queue a start, a stop or a restart of the server","tags":["servers"],"parameters":[{"name":"serverId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"action":{"type":"string","enum":["start","stop","restart"]}},"required":["action"],"additionalProperties":false}}}},"responses":{"202":{"description":"Successful response","headers":{"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"serverId":{"type":"string"},"state":{"type":"string","enum":["creating","queued","starting","online","stopping","off","crash","suspended","trashed"]}},"required":["serverId","state"],"additionalProperties":false}}}},"400":{"description":"The request failed validation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"401":{"description":"The API key is missing, revoked or expired","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"403":{"description":"The API key does not grant the scope of the operation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"429":{"description":"The caller exhausted the rate limit of the route","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}},"security":[{"apiKey":["servers:power"]}],"x-scope":"servers:power"}},"/api/v1/servers/:serverId/console/commands":{"post":{"operationId":"runServerConsoleCommand","summary":"Run one command of the catalogue on the server through RCON","tags":["console"],"parameters":[{"name":"serverId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","properties":{"command":{"type":"string","maxLength":256}},"required":["command"],"additionalProperties":false}}}},"responses":{"200":{"description":"Successful response","headers":{"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"command":{"type":"string"},"reply":{"type":"string"},"at":{"type":"string","format":"date-time"}},"required":["command","reply","at"],"additionalProperties":false}}}},"400":{"description":"The request failed validation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"401":{"description":"The API key is missing, revoked or expired","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"403":{"description":"The API key does not grant the scope of the operation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"429":{"description":"The caller exhausted the rate limit of the route","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}},"security":[{"apiKey":["console:write"]}],"x-scope":"console:write"}},"/api/v1/servers/:serverId/players":{"get":{"operationId":"listServerPlayers","summary":"Read the online, whitelist, operator and banned lists of a server","tags":["players"],"parameters":[{"name":"serverId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Successful response","headers":{"Cache-Control":{"schema":{"type":"string"}}},"content":{"application/json":{"schema":{"type":"object","properties":{"whitelistEnabled":{"type":"boolean"},"online":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"op":{"type":"boolean"},"sessionMs":{"type":["number","null"]},"pingMs":{"type":["number","null"]},"steam":{"type":"object","properties":{"steamId":{"type":"string","pattern":"^7656119\\d{10}$"},"avatarUrl":{"type":["string","null"]},"createdYear":{"type":["integer","null"]},"hoursPlayed":{"type":["integer","null"],"minimum":0},"vac":{"type":["object","null"],"properties":{"bans":{"type":"integer","minimum":1},"gameBans":{"type":"integer","minimum":0},"daysSinceLastBan":{"type":"integer","minimum":0}},"required":["bans","gameBans","daysSinceLastBan"],"additionalProperties":false}},"required":["steamId","avatarUrl","createdYear","hoursPlayed","vac"],"additionalProperties":false}},"required":["name","op","sessionMs","pingMs"],"additionalProperties":false}},"whitelist":{"type":"array","items":{"type":"string"}},"ops":{"type":"array","items":{"type":"string"}},"banned":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string"},"reason":{"type":["string","null"]}},"required":["name","reason"],"additionalProperties":false}},"slots":{"type":["number","null"]}},"required":["whitelistEnabled","online","whitelist","ops","banned","slots"],"additionalProperties":false}}}},"400":{"description":"The request failed validation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"401":{"description":"The API key is missing, revoked or expired","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"403":{"description":"The API key does not grant the scope of the operation","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}},"429":{"description":"The caller exhausted the rate limit of the route","content":{"application/json":{"schema":{"type":"object","properties":{"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"},"requestId":{"type":"string"},"details":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string"},"message":{"type":"string"}},"required":["path","message"],"additionalProperties":false}}},"required":["code","message"],"additionalProperties":false}},"required":["error"],"additionalProperties":false}}}}},"security":[{"apiKey":["servers:read"]}],"x-scope":"servers:read"}}}}