mirror of
https://github.com/PokeAPI/pokeapi
synced 2024-11-22 03:13:06 +00:00
Update docs and readme to show that /location/ and /location-area/ only take an id, not a name.
This commit is contained in:
parent
54048c1359
commit
2bf7a9667b
2 changed files with 4 additions and 4 deletions
|
@ -1580,7 +1580,7 @@ Targets moves can be directed at during battle. Targets can be pokémon, environ
|
|||
## Locations
|
||||
Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes.
|
||||
|
||||
### GET api/v2/location/{id or name}
|
||||
### GET api/v2/location/{id}
|
||||
|
||||
###### example response
|
||||
|
||||
|
@ -1630,7 +1630,7 @@ Locations that can be visited within the games. Locations make up sizable portio
|
|||
## Location Areas
|
||||
Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible pokemon encounters.
|
||||
|
||||
### GET api/v2/location-area/{id or name}
|
||||
### GET api/v2/location-area/{id}
|
||||
|
||||
###### example response
|
||||
|
||||
|
|
|
@ -1537,7 +1537,7 @@ Targets moves can be directed at during battle. Targets can be Pokémon, environ
|
|||
## Locations
|
||||
Locations that can be visited within the games. Locations make up sizable portions of regions, like cities or routes.
|
||||
|
||||
### GET api/v2/location/{id or name}
|
||||
### GET api/v2/location/{id}
|
||||
|
||||
###### Example response
|
||||
|
||||
|
@ -1586,7 +1586,7 @@ Locations that can be visited within the games. Locations make up sizable portio
|
|||
## Location Areas
|
||||
Location areas are sections of areas, such as floors in a building or cave. Each area has its own set of possible Pokémon encounters.
|
||||
|
||||
### GET api/v2/location-area/{id or name}
|
||||
### GET api/v2/location-area/{id}
|
||||
|
||||
###### Example response
|
||||
|
||||
|
|
Loading…
Reference in a new issue