Open victormalets opened 3 years ago
I don't know why it's not working, but you can find the schema descriptions here: https://github.com/Juriy/swapi/tree/master/resources/schemas
I don't know why it's not working, but you can find the schema descriptions here: https://github.com/Juriy/swapi/tree/master/resources/schemas
Thank you!
I have created a Postman Star Wars API Collection that largely follows the Python unit tests. Can confirm, the /schema/ path for all of the entities does not work (returns 404.)
→ People Schema
GET http://swapi.dev/api/people/schema/ [404 NOT FOUND, 311B, 407ms]
1. Status code is 200
→ Species Schema
GET http://swapi.dev/api/species/schema/ [404 NOT FOUND, 311B, 485ms]
2. Status code is 200
→ Vehicles Schema
GET http://swapi.dev/api/vehicles/schema/ [404 NOT FOUND, 311B, 418ms]
3. Status code is 200
→ Starships Schema
GET http://swapi.dev/api/starships/schema/ [404 NOT FOUND, 311B, 408ms]
4. Status code is 200
→ Films Schema
GET http://swapi.dev/api/films/schema/ [404 NOT FOUND, 311B, 401ms]
5. Status code is 200
→ Planets Schema
GET http://swapi.dev/api/planets/schema/ [404 NOT FOUND, 311B, 540ms]
6. Status code is 200
Hello!
I've noticed that all /api//schema queries return the 404 NOT FOUND error.
For example,
curl --location --request GET 'https://swapi.dev/api/people/schema'
returns this body and 404th status code:This behavior is actual for all resources:
I was hoping maybe you could help with that.