Skip to content

Server API

AntonVonDelta edited this page Mar 12, 2021 · 20 revisions

The server side accepts the following requests:

Login/Identification

  • /login
    • This is used by the client to receive a new cookie from the server and to initiate the graphics on the server side. Without this cookie no other request made by the client can succeed.
    • After a period of inactivity the cookie WILL expire on the server side. This will invalidate any other new requests performed by the client. The client should acquire a new cookie by calling again /login

Scene rendering

  • /move?direction={direction}&amount={amount}
    • direction has the following possible values:
      • 0 -> pozitive Z axis
      • 1 -> negative Z axis

Clone this wiki locally