Juriy / swapi

SWAPI - Star Wars API service
https://swapi.dev
BSD 3-Clause "New" or "Revised" License
286 stars 91 forks source link

Starships 404s #13

Closed freddyh closed 3 years ago

freddyh commented 4 years ago

https://swapi.dev/api/starships/1/ and https://swapi.dev/api/starships/4/ are returning 404s

Juriy commented 3 years ago

Generally speaking for APIs it is perfectly normal to have 404s for some IDs: clients should not rely that every ID in a sequence has an entity attached to it. Moreover most modern APIs discourage the use of numeric IDs (generating pseudorandom strings instead), which makes iteration impossible.