Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get all available drivers in a session #4

Open
ndv99 opened this issue Aug 3, 2022 · 0 comments
Open

Get all available drivers in a session #4

ndv99 opened this issue Aug 3, 2022 · 0 comments
Assignees
Labels
API ready API endpoint is complete for this issue Requires frontend component This issue requires a frontend component to be created

Comments

@ndv99
Copy link
Owner

ndv99 commented Aug 3, 2022

No description provided.

@ndv99 ndv99 added Requires API endpoint This issue requires an API endpoint to be implemented Requires frontend component This issue requires a frontend component to be created labels Aug 3, 2022
@ndv99 ndv99 self-assigned this Sep 29, 2022
@ndv99 ndv99 moved this from Todo to In Progress in OpenF1 Sep 29, 2022
ndv99 added a commit that referenced this issue Sep 30, 2022
# This PR is for API changes

## Changes

List the changes you made in this PR.
- Added an API endpoint to get a list of drivers in a session
  
## QA

### API

If there are no errors, you should be able to get a Heroku preview
deployment in the message reading "This branch was successfully
deployed".

### QA Steps

1. Once the heroku preview deployment is ready, open Postman (or other
API testing software), and make a query to <preview
url>/api/sessionDrivers?year=2022&event=Italy&session=1
2. Ensure that the response contains all drivers who participated in
Practice 1 in Italy 2022
3. Change the year, event, and session a few times and ensure that the
correct data is returned.

Example response:
```json
{
    "drivers": [
        {
            "name": "Max Verstappen",
            "abbreviation": "VER"
        },
        {
            "name": "Carlos Sainz",
            "abbreviation": "SAI"
        },
        ...
    ]
}
```

## Related issues

Linked to #4
@ndv99 ndv99 added API ready API endpoint is complete for this issue and removed Requires API endpoint This issue requires an API endpoint to be implemented API ready API endpoint is complete for this issue labels Oct 1, 2022
@ndv99 ndv99 moved this from In Progress to Todo in OpenF1 Oct 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API ready API endpoint is complete for this issue Requires frontend component This issue requires a frontend component to be created
Projects
Status: Todo
Development

No branches or pull requests

1 participant