{"authentication":{"description":"Pass your API key in the \u0027key\u0027 header","header":"key","type":"API Key"},"name":"AwanysMC API","version":"3.3.1","endpoints":[{"description":"Health check (no auth required)","response":{"status":"ok"},"method":"GET","auth":false,"path":"/health"},{"description":"Detailed server status","response":{"version":"3.3.0","uptime":3600,"players":{"max":100,"online":0},"tps":20.0,"status":"online","memory":{"unit":"MB","max":4096,"used":1024}},"method":"GET","auth":true,"path":"/v1/server/status"},{"response":{"success":true},"path":"/v1/auth/request","auth":true,"method":"POST","body":{"username":"string (required)"},"errors":[{"status":400,"error":"player_offline"}],"description":"Request verification code (sends to player in-game)"},{"response":{"username":"string","uuid":"string (player UUID)","success":true,"token":"string (64 char hex)"},"path":"/v1/auth/verify","auth":true,"method":"POST","body":{"username":"string (required)","code":"string (required, 6 digits)"},"errors":[{"status":401,"error":"invalid_code"},{"status":404,"error":"player_not_found"}],"description":"Verify code and get auth token"},{"response":{"balance":100.0},"params":{"player_name":"string (Minecraft username)"},"path":"/v1/coins/{player_name}","auth":true,"method":"GET","errors":[{"status":404,"error":"player not found"}],"description":"Get player\u0027s coin balance"},{"method":"POST","errors":[{"status":404,"error":"player not found"},{"status":400,"error":"amount is null"}],"body":{"amount":"number or string (required)"},"params":{"player_name":"string (Minecraft username)"},"path":"/v1/coins/{player_name}/add","auth":true,"response_online":{"queued":false,"balance":200.0,"success":true},"response_offline":{"pending":100.0,"queued":true,"success":true},"description":"Add coins to player (queued if offline)"}],"baseUrl":"http:api.mc.awanys.mrstanda.dev"}