Skip to content

V1: Races #8

@jiano

Description

@jiano

INDEX /races
Returns a list of all currently active races

GET /races/:id
:id is the id of the active race
QUERY STRING
lower : :string - (optional) Any value here sets player name keys in json to lowercase

PUT /races/:id
Changes the state of a race
BODY
filename : :string - Any value with flag a race as needing a filename
game : :string - Set the game abbreviation of the race
goal : :string - Set the race goal/description
state : :int - Set the race state, 2 - Entry Close, 3 - In Progress, 4 - Complete, 5 - Race Over
record : :string - Record the race
rematch : :string - Clear entrants list, and set race state to Entry Open

POST /races
Creates a new race
BODY
game : :string - Game abbrevation of the game to be raced

DELETE /races/:id
Deletes a race

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions