Competier
  1. ladder
Competier
  • api-key
    • Creates and returns a new api key, invalidating the previous one.
      POST
  • ladder
    • Adds a ladder to an account.
      POST
    • Deletes a ladder from an account, including all its entries, ratings and results.
      DELETE
    • Gets ladders of an account.
      GET
  • ladder-entry
    • Adds a self-managed entry to a ladder.
      POST
    • Deletes a ladder-entry from a ladder, including all its ratings and results.
      DELETE
    • Gets ladder entries.
      GET
  • result
    • Adds a game result for a played game.
      POST
    • Deletes a game result by rolling it back, reverting rating changes.
      DELETE
    • Gets game results.
      GET
  • invite
    • Adds an invite.
      POST
    • Accepts an invite.
      PUT
    • Deletes an invite.
      DELETE
    • Gets invites.
      GET
  • account
    • Updates account data.
      PATCH
  • credit
    • Fetches credit info.
      GET
  • matchmaking
  • bulk
  1. ladder

Adds a ladder to an account.

POST
/v1/ladder
Adds a ladder to an account. A ladder is a type of competition in which players are rated based on their performance over an arbitrary timespan, f.e. the chess FIDE rating.

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "name": "My Ladder",
    "ratingAlgorithm": "Glicko-1",
    "glickoCValue": 18.13,
    "glicko2RValue": 0.5,
    "playersCanEnterResults": false,
    "allowFullResultHistory": true
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.competier.net/v1/ladder' \
--header 'Content-Type: application/json' \
--data-raw '{
    "name": "My Ladder",
    "ratingAlgorithm": "Glicko-1",
    "glickoCValue": 18.13,
    "glicko2RValue": 0.5,
    "playersCanEnterResults": false,
    "allowFullResultHistory": true
}'

Responses

🟢200OK
application/json
Body

Example
{
    "id": 0,
    "name": "My Ladder",
    "ratingAlgorithm": "Glicko-1",
    "glickoCValue": 18.13,
    "glicko2RValue": 0.5,
    "playersCanEnterResults": false,
    "allowFullResultHistory": true
}
🟠400Bad request
🟠401Unauthorized
🟠429Too Many Requests
Modified at 2024-06-16 11:54:03
Previous
Creates and returns a new api key, invalidating the previous one.
Next
Deletes a ladder from an account, including all its entries, ratings and results.
Built with