ARNweb API

GET /system

Returns json object containing general information about the server.

GET /chat

Returns json object containing general information about the chat server.

GET /tanks

Returns json object containing status information about the TanksJS-Server instance.

Socket /socket.io/

Socket.io instance that serves both ARNweb chat and a TanksJS server.

Use the following namespaces to access them accordingly:


/socket.io/tanks

TanksJS-server instance, see TanksJS-Server for more information.


/socket.io/chat

Simple chat backend server for ARNweb Chat.
Use the following communication steps to make your own client:

Server -> Client
user_identify { }

Server <- Client
user_login { "username", "mailHash" }

Server <- Client
message_send { "username", "mailHash", "message" }

Server -> Client
message_receive { "username", "mailHash", "message" }

GET /:game/:host

Returns json object containing information about the requested game server.

Powered by node-GameDig, more info on npm.

cURL /curl

Returns hello world to cURL requests.