Skip to content
This repository has been archived by the owner on Apr 1, 2021. It is now read-only.
MartinAltmayer edited this page Jun 1, 2016 · 2 revisions

Routes overview

/tables: See #7

/tables/<name>: See #8

/tables/<name>/join: Parameter position, returns uuid.

/tables/<name>/<action>: Action must be one of call, fold, check, raise. If it is raise a query parameter amount must be given.

/stats: See #16

To authenticate, clients should send their uuid as body parameter. Some routes will send additional data to authorized clients, others will simply fail if client is not authorized.

Database tables

tables, uuids, stats. Store the data from the corresponding routes, or playerName and uuid in case of uuids. It may be easier to store sub-objects as JSON instead of using separate tables for one-to-many relations.

Clone this wiki locally