Public

Laird's Dice - Public

v0.0.1OAS 3.0

Public routes for Laird’s Dice. See project readme.md.

API Base URL
  • Server 1:https://kong-c5ef7d27e8uscmywg.kongcloud.tech/v1[Laird's Dice - Public]
Additional Information

Server information

Get top-level information about the server, basic server stats.

get
https://kong-c5ef7d27e8uscmywg.kongcloud.tech/v1/

Response

200 application/json

Top-level server information

tablesinteger(int32)required

Number of tables

>= 0<= 2147483647

get/
 
200 application/json

Leaderboard

Get the players and information about how they compare to each other.

get
https://kong-c5ef7d27e8uscmywg.kongcloud.tech/v1/leaderboard

Query Parameters

page_sizeinteger

The maximum number of items to include per page. The last page of a collection may include fewer items.

page_numberinteger

Determines which page of the entities to retrieve.

Response

200 application/json

List of Players and stats

metaobjectrequired

returns the pagination information

* Additional properties are NOT allowed.
Show Child Parameters
dataobjectrequired
Show Child Parameters
get/leaderboard
 
200 application/json

Nickname

string

Match pattern:^[a-zA-Z0-9\-_]{3,20}$

>= 3 characters<= 24 characters

Example

PaginatedMeta

object

returns the pagination information

* Additional properties are NOT allowed.
pageobjectrequired

Contains pagination query parameters and the total number of objects returned.

Show Child Parameters
Example
[{"type":"1","uri":"2","data":"3","name":"4","tags":"5"},"model","/schemas/PageMeta",{"type":"6","description":"7","required":"8","properties":"9","title":"4"},"PageMeta",[],"object","Contains pagination query parameters and the total number of objects returned.",["10","11","12"],{"number":"13","size":"14","total":"15"},"number","size","total",{"type":"10"},{"type":"10"},{"type":"10"}]
[{"type":"1","uri":"2","data":"3","name":"4","tags":"5"},"model","/schemas/GameCount",{"type":"6","description":"7","format":"8","minimum":0,"title":"4"},"GameCount",[],"integer","Count of games","i32"]