### Get all matches
GET http://localhost:8080/matches/

### Get matches by players --> TODO
GET http://localhost:8080/matches/players/1/2

### Get matches by date
GET http://localhost:8080/matches/date/2025-06-02

### Get matches by country
GET http://localhost:8080/matches/country/France

### Get matches by city
GET http://localhost:8080/matches/city/Paris

### Get active matches
GET http://localhost:8080/matches/active

### Get finished matches
GET http://localhost:8080/matches/over

### Get not started matches
GET http://localhost:8080/matches/not-started

### Get match by ID
GET http://localhost:8080/matches/2

### Create new match
POST http://localhost:8080/matches/create-match
Content-Type: application/json

{
  "weapon": "Épée",
  "country": "France",
  "city": "Paris",
  "player1ID": 1,
  "player2ID": 2,
  "refereeID": 1,
  "score1": 0,
  "score2": 0,
  "date": "2025-06-02",
  "state": "NOT STARTED"
}

### Update match
PUT http://localhost:8080/matches/update-match/4
Content-Type: application/json

{

  "weapon": "Épée",
  "country": "France",
  "city": "Paris",
  "player1ID": 1,
  "player2ID": 2,
  "refereeID": 1,
  "score1": 5,
  "score2": 3,
  "date": "2025-06-02",
  "state": "OVER"
}

### Delete match
DELETE http://localhost:8080/matches/delete-match/3

### Get all referees
GET http://localhost:8080/referees/

### Get referee by ID
GET http://localhost:8080/referees/1

### Get referees by name
GET http://localhost:8080/referees/name/Smith

### Get referees by firstname
GET http://localhost:8080/referees/firstname/John

### Get referees by qualification
GET http://localhost:8080/referees/qualification/NATIONAL

### Create new referee
POST http://localhost:8080/referees/create-referee
Content-Type: application/json

{
  "name": "Smith",
  "firstName": "John",
  "qualification": "NATIONAL"
}

### Update referee
PUT http://localhost:8080/referees/update-referee/6
Content-Type: application/json

{
  "name": "Smith",
  "firstName": "John",
  "qualification": "INTERNATIONAL"
}

### Delete referee
DELETE http://localhost:8080/referees/delete-referee/5

### Get all players
GET http://localhost:8080/players/

### Get player by ID
GET http://localhost:8080/players/10

### Get players by name
GET http://localhost:8080/players/name/Doe

### Get players by firstname
GET http://localhost:8080/players/firstname/Jane

### Create new player
POST http://localhost:8080/players/create-player
Content-Type: application/json

{
  "name": "Doe",
  "firstName": "Jane",
  "club": "Paris Escrime Club"
}

### Update player
PUT http://localhost:8080/players/update-player/10
Content-Type: application/json

{
  "name": "Doe",
  "firstName": "Jane",
  "club": "Un autre club"
}

### Delete player
DELETE http://localhost:8080/players/delete-player/10

