pingpong.js
base path: {server}/api/v1/players
Request: GET /api/v1/players
Response: [{Players}]
Player Object format:
{
playerID: <int (unique)>,
name: <string>,
nickname: <string>,
elo: <int>
}
Not implemented yet
Request: POST /api/v1/players
Request Body:
{
playerName: <string | required>
nickname: <string | optional>
}
Response: true
on success, false
on failure
Request: DELETE /api/v1/players/<playerID | int>
Response: true
on success, false
on failure
Request: DELETE /api/v1/players
Response: true
on success, false
on failure