Skip to content
Robin Penea edited this page May 7, 2014 · 1 revision

// Login page

  • POST /login {username, password}

// Home page

  • GET /users/{userId}/cups

// Profile page

  • GET /users/{userId}
  • PUT /users/{userId}
  • PUT /users/{userId/password

// Create cup page

  • POST /cups/
  • GET /users/

// Cup page

  • GET /cups/{cupId}/games/
  • GET /cups/{cupId}/users/
  • POST /cups/{cupId}/users/ # Create user in cup
  • DELETE /cups/{cupId}/users/{userId}
  • GET /cups/{cupId}/leaderboard

// Create game page

  • POST /cups/{cupId}/games/
  • GET /cups/{cupId}/users/

// Game page

  • GET /games/{gameId}/users/
  • POST /games/{gameId}/users/
  • DELETE /games/{gameId}/users/{userId}
  • GET /games/{gameId}/scores/
  • DELETE /games/{gameId}/scores/{scoreId}

// Create score page

  • POST /games/{gameId}/scores/
Clone this wiki locally