Lists all fighters
[
{
"fighter_UID": 1,
"fighter_name": "Bob",
"fighter_player_UID": 1,
"stat_atk": 5,
"stat_def": 5,
"stat_tej": 5,
"rec_wins": 0,
"rec_losses": 0
}
]Searches fighters and returns all fighters who have :pattern in their name. See /api/v0/fighter/list formatting.
Lists all players.
[
{
"player_UID": 1,
"player_name": "Mr. Smith"
},
{
"player_UID": 2,
"player_name": "Big Bubba"
}
]Lists all fighters in player by playerUID in :player. See /api/v0/player/list formatting.
Returns a single fighter's information. :fighter is the fighter's ID number. See /api/v0/fighter/list formatting (returns only one fighter).
Adds a fighter to the database. Must contain form data and the body must contain: player_name: The name of the player this fighter will belong to fightername: The complete name of the fighter