allieIsOkay / allieIsOkay/koroibos
Add oldest query parameter for Olympians endpoint
Open
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
As a user,
I can submit a request to the endpoint /api/v1/olympians with a query parameter of age=oldest and receive the oldest Olympian in the system, formatted identically to the normal index.
Sample response:
``` JSON
{
"olympians": [
{
"name": "Julie Brougham",
"team": "New Zealand",
"age": 62,
"sport": "Equestrianism"
"total_medals_won": 0
}
]
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.