Skip to content
This repository was archived by the owner on May 8, 2022. It is now read-only.

REST API Documentation

iona edited this page Apr 26, 2020 · 3 revisions

Introduction

To communicate with the server, the client can send http requests for resources (list of lobbies, players, detailed information about fleets, planets ...). This section will detail this API by URI.

REST API of Kalaxia API documentation

http://your.kalaxia-server.com


/lobbies

/lobbies

  • get: Retrieve the list of currently live lobbies.
  • post: Create a lobby, returning its ID.

/lobbies/{lobbyId}

  • get: Retrieve details about a lobby indexed by lobbyId.

/lobbies/{lobbyId}/players

  • get: Retrieve the list of players currently connected to the lobby.
  • post: Join a lobby.

Clone this wiki locally