Update docs and readme to show that /location/ and /location-area/ only take an id, not a name.

This commit is contained in:
smasher164 2016-03-16 19:29:53 -04:00
parent 54048c1359
commit 2bf7a9667b
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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