mirror of
https://github.com/BeamMP/BeamMP-Server.git
synced 2026-04-07 16:26:04 +00:00
http: add /players
This commit is contained in:
15
openapi.yml
15
openapi.yml
@@ -13,6 +13,21 @@ servers:
|
||||
port:
|
||||
default: "8000"
|
||||
paths:
|
||||
/players:
|
||||
get:
|
||||
summary: list of players on this server
|
||||
responses:
|
||||
"200":
|
||||
description: OK
|
||||
content:
|
||||
"application/json":
|
||||
schema:
|
||||
type: array
|
||||
example:
|
||||
- "LionKor"
|
||||
- "Titch"
|
||||
items:
|
||||
type: string
|
||||
/config:
|
||||
get:
|
||||
summary: describes server configuration
|
||||
|
||||
Reference in New Issue
Block a user