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

Starships/Vehicles/Planets skip first element #49

Open
jkingster opened this issue Jun 28, 2022 · 1 comment
Open

Starships/Vehicles/Planets skip first element #49

jkingster opened this issue Jun 28, 2022 · 1 comment

Comments

@jkingster
Copy link

It seems the first element of starships is missing, not sure if intentional or not.

Tested Routes:
https://swapi.dev/api/starships/1/?format=json
https://swapi.dev/api/starships/1/

It seems when doing the ALL route:
https://swapi.dev/api/starships/

It returns the first element: CR90 corvette under index 0.

However this does not exist under the 1 ID, it exists under 2:
https://swapi.dev/api/starships/2/?format=json

Is this intended behavior?

@jkingster jkingster changed the title Starships skip first element Starships/Vehicles skip first element Jun 28, 2022
@jkingster
Copy link
Author

jkingster commented Jun 28, 2022

After checking out vehicles, it seems the first 1-3 elements are skipped and the first actual element is under 4.
https://swapi.dev/api/vehicles/4/?format=json This also applies to the resource planets as well. ;/

@jkingster jkingster changed the title Starships/Vehicles skip first element Starships/Vehicles/Planets skip first element Jun 28, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant