3 endpoints are provided:
/ship/skipper/raceIt is possible to query the whole list of ships /ship or to query one specific ship by its id /ship?id=n.
It is possible to query the whole list of skippers /skipper or a specific skipper by id /skipper?id=n.
It is possible to get the list of all races /race, to get the list of races for a given name /race?name=nom, to enumerate all race names /race?enum, or to get all information for a race given its id /race?id=n.
| Endpoint | Parameter | Value | Output | Example |
|---|---|---|---|---|
| /ship | List all ships | /ship | ||
| /ship | id | n: int | Info on ship n | /ship?id=12 |
| /skipper | List all skippers | /skipper | ||
| /skipper | id | n: int | Info on skipper n | /skipper?id=12 |
| /race | List all races | /race | ||
| /race | enum | List all race names | /race?enum=1 | |
| /race | name | s: string | List races with name s | /race?name=Rhum |
| /race | id | n: int | Info on race n | /race?id=12 |