-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Closed
Labels
questionv3Changes to integrate in a possible new API versionChanges to integrate in a possible new API version
Description
Right now the encounters endpoint lives at https://pokeapi.co/api/v2/pokemon/{id}/encounters
For a given id, the URL returns a list, rather than a hash. On the other hand, the endpoint URLs (eg. /api/v2/pokemon) return very similar data, but prefix that data with results: Would it make sense to do this here? Unfortunately, that's not a backwards-compatible change.
I suggest this because I believe it would make it easier for API clients to handle the response - see eg.
PokeAPI/pokebase#10
Metadata
Metadata
Assignees
Labels
questionv3Changes to integrate in a possible new API versionChanges to integrate in a possible new API version