Updated docsv2.md (1/?)

This commit is contained in:
PoroCYon 2016-03-01 17:44:58 +01:00
parent 5952580cd6
commit 72f8d1e3c0

View file

@ -50,14 +50,14 @@
<td> <td>
<ul> <ul>
<li><a href="#pal-park-areas">Pal Park Areas</a></li> <li><a href="#pal-park-areas">Pal Park Areas</a></li>
<li><a href="#pokedexes">Pokedexes</a></li> <li><a href="#pokedexes">Pokédexes</a></li>
<li><a href="#pokemon">Pokemon</a></li> <li><a href="#pokemon">Pokémon</a></li>
<li><a href="#pokemon-colors">Pokemon Colors</a></li> <li><a href="#pokemon-colors">Pokémon Colors</a></li>
<li><a href="#pokemon-forms">Pokemon Forms</a></li> <li><a href="#pokemon-forms">Pokémon Forms</a></li>
<li><a href="#pokemon-habitats">Pokemon Habitats</a></li> <li><a href="#pokemon-habitats">Pokémon Habitats</a></li>
<li><a href="#pokemon-shapes">Pokemon Shapes</a></li> <li><a href="#pokemon-shapes">Pokémon Shapes</a></li>
<li><a href="#pokemon-species">Pokemon Species</a></li> <li><a href="#pokemon-species">Pokémon Species</a></li>
<li><a href="#pokeathlon-stats">Pokeathlon Stats</a></li> <li><a href="#pokeathlon-stats">Pokéathlon Stats</a></li>
<li><a href="#regions">Regions</a></li> <li><a href="#regions">Regions</a></li>
<li><a href="#stats">Stats</a></li> <li><a href="#stats">Stats</a></li>
<li><a href="#super-contest-effects">Super Contest Effects</a></li> <li><a href="#super-contest-effects">Super Contest Effects</a></li>
@ -71,7 +71,7 @@
</table> </table>
## Resource Lists ## Resource Lists
Calling any api endpoint without a resource id or name will return a paginated list of available resources for that api. By default, a list 'page' will contain up to 20 resources. If you would like to change this just add a 'limit' query param, e.g. `limit=60`. Calling any API endpoint without a resource ID or name will return a paginated list of available resources for that API. By default, a list 'page' will contain up to 20 resources. If you would like to change this just add a 'limit' query param, e.g. `limit=60`.
### GET api/v2/{endpoint} ### GET api/v2/{endpoint}
@ -91,12 +91,11 @@ Calling any api endpoint without a resource id or name will return a paginated l
#### APIResourceList #### APIResourceList
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | -------- | ----------- | --------- |
| count | The total number of resources abailable from this api | integer | | count | The total number of resources abailable from this API | integer |
| next | The url for the next 'page' in the list | string | | next | The url for the next 'page' in the list | string |
| previous | The url for the previous page in the list | boolean | | previous | The url for the previous page in the list | boolean |
| results | I list of non-named api resources | list [APIResource](#apiresource) | | results | I list of non-named API resources | list [APIResource](#apiresource) |
###### example response for named resources ###### example response for named resources
@ -115,18 +114,16 @@ Calling any api endpoint without a resource id or name will return a paginated l
#### NamedAPIResourceList #### NamedAPIResourceList
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | -------- | ----------- | --------- |
| count | The total number of resources abailable from this api | integer | | count | The total number of resources abailable from this API | integer |
| next | The url for the next 'page' in the list | string | | next | The url for the next 'page' in the list | string |
| previous | The url for the previous page in the list | boolean | | previous | The url for the previous page in the list | boolean |
| results | I list of named api resources | list [NamedAPIResource](#namedapiresource) | | results | I list of named API resources | list [NamedAPIResource](#namedapiresource) |
<h1 id="berries-section">Berries</h1> <h1 id="berries-section">Berries</h1>
## Berries ## Berries
Berries are small fruits that can provide HP and status condition restoration, stat enhancement, and even damage negation when eaten by pokemon. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Berry) for greater detail. Berries are small fruits that can provide HP and status condition restoration, stat enhancement, and even damage negation when eaten by Pokémon. Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Berry) for greater detail.
### GET api/v2/berry/{id or name} ### GET api/v2/berry/{id or name}
@ -170,7 +167,7 @@ Berries are small fruits that can provide HP and status condition restoration, s
#### Berry #### Berry
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | ------------------ | ----------- | --------- |
| id | The identifier for this berry resource | integer | | id | The identifier for this berry resource | integer |
| name | The name for this berry resource | string | | name | The name for this berry resource | string |
| growth_time | Time it takes the tree to grow one stage, in hours. Berry trees go through four of these growth stages before they can be picked. | integer | | growth_time | Time it takes the tree to grow one stage, in hours. Berry trees go through four of these growth stages before they can be picked. | integer |
@ -187,11 +184,10 @@ Berries are small fruits that can provide HP and status condition restoration, s
#### BerryFlavorMap #### BerryFlavorMap
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | ------- | ----------- | --------- |
| potency | How powerful the referenced flavor is for this berry | integer | | potency | How powerful the referenced flavor is for this berry | integer |
| flavor | The referenced berry flavor | [NamedAPIResource](#namedapiresource) ([BerryFlavor](#berry-flavors)) | | flavor | The referenced berry flavor | [NamedAPIResource](#namedapiresource) ([BerryFlavor](#berry-flavors)) |
## Berry Firmnesses ## Berry Firmnesses
### GET api/v2/berry-firmness/{id or name} ### GET api/v2/berry-firmness/{id or name}
@ -222,16 +218,14 @@ Berries are small fruits that can provide HP and status condition restoration, s
#### BerryFirmness #### BerryFirmness
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | ------- | ----------- | --------- |
| id | The identifier for this berry firmness resource | integer | | id | The identifier for this berry firmness resource | integer |
| name | The name for this berry firmness resource | string | | name | The name for this berry firmness resource | string |
| berries | A list of the berries with this firmness | list [NamedAPIResource](#namedapiresource) ([Berry](#berries)) | | berries | A list of the berries with this firmness | list [NamedAPIResource](#namedapiresource) ([Berry](#berries)) |
| names | The name of this berry firmness listed in different languages | list [Name](#resourcename) | | names | The name of this berry firmness listed in different languages | list [Name](#resourcename) |
## Berry Flavors ## Berry Flavors
Flavors determine whether a pokemon will benefit or suffer from eating a berry based on their [nature](#natures). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Flavor) for greater detail. Flavors determine whether a Pokémon will benefit or suffer from eating a berry based on their [nature](#natures). Check out [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Flavor) for greater detail.
### GET api/v2/berry-flavor/{id or name} ### GET api/v2/berry-flavor/{id or name}
@ -268,7 +262,7 @@ Flavors determine whether a pokemon will benefit or suffer from eating a berry b
#### BerryFlavor #### BerryFlavor
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | ------------ | ----------- | --------- |
| id | The identifier for this berry flavor resource | integer | | id | The identifier for this berry flavor resource | integer |
| name | The name for this berry flavor resource | string | | name | The name for this berry flavor resource | string |
| berries | A list of the berries with this flavor | list [FlavorBerryMap](#flavorberrymap) | | berries | A list of the berries with this flavor | list [FlavorBerryMap](#flavorberrymap) |
@ -598,7 +592,7 @@ Evolution chains are essentially family trees. They start with the lowest stage
| is_baby | Whether or not this link is for a baby pokemon. This would only ever be true on the base link. | boolean | | is_baby | Whether or not this link is for a baby pokemon. This would only ever be true on the base link. | boolean |
| species | The pokemon species at this point in the evolution chain | [NamedAPIResource](#namedapiresource) ([PokemonSpecies](#pokemon-species)) | | species | The pokemon species at this point in the evolution chain | [NamedAPIResource](#namedapiresource) ([PokemonSpecies](#pokemon-species)) |
| evolution_details | All details regarding the specific details of the referenced pokemon species evolution | [EvolutionDetail](#evolutiondetail) | | evolution_details | All details regarding the specific details of the referenced pokemon species evolution | [EvolutionDetail](#evolutiondetail) |
| evolves_to | A List of chain objects. | [ChainLink](#chainlink) | | evolves_to | A List of chain objects. | list [ChainLink](#chainlink) |
#### EvolutionDetail #### EvolutionDetail
@ -612,7 +606,7 @@ Evolution chains are essentially family trees. They start with the lowest stage
| known_move_type | The evolving pokemon species must know a move with this type during the evolution trigger event in order to evolve into this pokemon species | [NamedAPIResource](#namedapiresource) ([Type](#types)) | | known_move_type | The evolving pokemon species must know a move with this type during the evolution trigger event in order to evolve into this pokemon species | [NamedAPIResource](#namedapiresource) ([Type](#types)) |
| location | The location the evolution must be triggered at. | [NamedAPIResource](#namedapiresource) ([Location](#locations)) | | location | The location the evolution must be triggered at. | [NamedAPIResource](#namedapiresource) ([Location](#locations)) |
| min_level | The minimum required level of the evolving pokemon species to evolve into this pokemon species | integer | | min_level | The minimum required level of the evolving pokemon species to evolve into this pokemon species | integer |
| min_hapiness | The minimum required level of happiness the evolving pokemon species to evolve into this pokemon species | integer | | min_happiness | The minimum required level of happiness the evolving pokemon species to evolve into this pokemon species | integer |
| min_beauty | The minimum required level of beauty the evolving pokemon species to evolve into this pokemon species | integer | | min_beauty | The minimum required level of beauty the evolving pokemon species to evolve into this pokemon species | integer |
| min_affection | The minimum required level of affection the evolving pokemon species to evolve into this pokemon species | integer | | min_affection | The minimum required level of affection the evolving pokemon species to evolve into this pokemon species | integer |
| needs_overworld_rain | Whether or not it must be raining in the overworld to cause evolution this pokemon species | boolean | | needs_overworld_rain | Whether or not it must be raining in the overworld to cause evolution this pokemon species | boolean |
@ -829,7 +823,7 @@ Versions of the games, e.g., Red, Blue or Yellow.
| id | The identifier for this version resource | integer | | id | The identifier for this version resource | integer |
| name | The name for this version resource | string | | name | The name for this version resource | string |
| names | The name of this version listed in different languages | list [Name](#resourcename) | | names | The name of this version listed in different languages | list [Name](#resourcename) |
| version_group | The version group this version belongs to | list [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) | | version_group | The version group this version belongs to | [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) |
## Version Groups ## Version Groups
@ -912,22 +906,22 @@ An item is an object in the games which the player can pick up, keep in their ba
"url": "http://pokeapi.co/api/v2/item-category/34/" "url": "http://pokeapi.co/api/v2/item-category/34/"
}, },
"effect_entries": [{ "effect_entries": [{
"effect": "Used in battle\n: [Catches]{mechanic:catch} a wild Pokémon without fail.\n\n If used in a trainer battle, nothing happens and the ball is lost.", "effect": "Used in battle\n: [Catches]{mechanic:catch} a wild Pokémon without fail.\n\n If used in a trainer battle, nothing happens and the ball is lost.",
"short_effect": "Catches a wild Pokémon every time.", "short_effect": "Catches a wild Pokémon every time.",
"language": { "language": {
"name": "en", "name": "en",
"url": "http://pokeapi.co/api/v2/language/9/" "url": "http://pokeapi.co/api/v2/language/9/"
} }
}], }],
"flavor_text_entries": [{ "flavor_text_entries": [{
"text": "野生の ポケモンを 必ず\n捕まえãことが できã\n最高 性能の ボールã€", "text": "The best Poké Ball with the ultimate level of performance. With it, you will catch any wild Pokémon without fail.",
"version_group": { "version_group": {
"name": "x-y", "name": "x-y",
"url": "http://pokeapi.co/api/v2/version-group/15/" "url": "http://pokeapi.co/api/v2/version-group/15/"
}, },
"language": { "language": {
"name": "ja-kanji", "name": "en",
"url": "http://pokeapi.co/api/v2/language/11/" "url": "http://pokeapi.co/api/v2/language/9/"
} }
}], }],
"game_indices": [{ "game_indices": [{
@ -1034,11 +1028,10 @@ Item attributes define particular aspects of items, e.g. "usable in battle" or "
| ---- | ----------- | --------- | | ---- | ----------- | --------- |
| id | The identifier for this item attribute resource | integer | | id | The identifier for this item attribute resource | integer |
| name | The name for this item attribute resource | string | | name | The name for this item attribute resource | string |
| items | A list of items that have this attribute | list [Item](#items) | | items | A list of items that have this attribute | list [NamedAPIResource](#namedapiresource) ([Item](#items)) |
| names | The name of this item attribute listed in different languages | list [Name](#resourcename) | | names | The name of this item attribute listed in different languages | list [Name](#resourcename) |
| descriptions | The description of this item attribute listed in different languages | list [Description](#description) | | descriptions | The description of this item attribute listed in different languages | list [Description](#description) |
## Item Categories ## Item Categories
Item categories determine where items will be placed in the players bag. Item categories determine where items will be placed in the players bag.
@ -1078,8 +1071,7 @@ Item categories determine where items will be placed in the players bag.
| name | The name for this item category resource | string | | name | The name for this item category resource | string |
| items | A list of items that are a part of this category | list [Item](#items) | | items | A list of items that are a part of this category | list [Item](#items) |
| names | The name of this item category listed in different languages | list [Name](#resourcename) | | names | The name of this item category listed in different languages | list [Name](#resourcename) |
| pocket | The pocket items in this category would be put in | list [NamedAPIResource](#namedapiresource) ([ItemPocket](#item-pockets)) | | pocket | The pocket items in this category would be put in | [NamedAPIResource](#namedapiresource) ([ItemPocket](#item-pockets)) |
## Item Fling Effects ## Item Fling Effects
The various effects of the move "Fling" when used with different items. The various effects of the move "Fling" when used with different items.
@ -1151,7 +1143,7 @@ Pockets within the players bag used for storing items by category.
| ---- | ----------- | --------- | | ---- | ----------- | --------- |
| id | The identifier for this item pocket resource | integer | | id | The identifier for this item pocket resource | integer |
| name | The name for this item pocket resource | string | | name | The name for this item pocket resource | string |
| categories | A list of item categories that are relevent to this item pocket | list [ItemCategory](#item-categories) | | categories | A list of item categories that are relevent to this item pocket | list [NamedAPIResource](#namedapiresource) ([ItemCategory](#item-categories)) |
| names | The name of this item pocket listed in different languages | list [Name](#resourcename) | | names | The name of this item pocket listed in different languages | list [Name](#resourcename) |
@ -1284,8 +1276,8 @@ Moves are the skills of pokemon in battle. In battle, a Pokémon uses one move
| past_values | A list of move resource value changes across ersion groups of the game | list [PastMoveStatValues](#pastmovestatvalues) | | past_values | A list of move resource value changes across ersion groups of the game | list [PastMoveStatValues](#pastmovestatvalues) |
| stat_changes | A list of stats this moves effects and how much it effects them | list [MoveStatChange](#movestatchange) | | stat_changes | A list of stats this moves effects and how much it effects them | list [MoveStatChange](#movestatchange) |
| contest_effect | The effect the move has when used in a super contest | [NamedAPIResource](#namedapiresource) ([ContestEffect](#contest-effects)) | | contest_effect | The effect the move has when used in a super contest | [NamedAPIResource](#namedapiresource) ([ContestEffect](#contest-effects)) |
| target | The type of target that will recieve the effects of the attack | [MoveTarget](#move-targets) | | target | The type of target that will recieve the effects of the attack | [NamedAPIResource](#namedapiresource) ([MoveTarget](#move-targets)) |
| type | The elemental type of this move | [Type](#types) | | type | The elemental type of this move | [NamedAPIResource](#namedapiresource) ([Type](#types)) |
#### ContestComboSets #### ContestComboSets
@ -1323,7 +1315,7 @@ Moves are the skills of pokemon in battle. In battle, a Pokémon uses one move
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | ---- | ----------- | --------- |
| change | The amount of change | integer | | change | The amount of change | integer |
| stat | The stat being affected | [NamedAPIResource](#namedapiresource) [Stat](#stats) | | stat | The stat being affected | [NamedAPIResource](#namedapiresource) ([Stat](#stats)) |
#### PastMoveStatValues #### PastMoveStatValues
@ -1334,10 +1326,9 @@ Moves are the skills of pokemon in battle. In battle, a Pokémon uses one move
| power | The base power of this move with a value of 0 if it does not have a base power | integer | | power | The base power of this move with a value of 0 if it does not have a base power | integer |
| pp | Power points. The number of times this move can be used | integer | | pp | Power points. The number of times this move can be used | integer |
| effect_entries | The effect of this move listed in different languages | list [VerboseEffect](#verboseeffect) | | effect_entries | The effect of this move listed in different languages | list [VerboseEffect](#verboseeffect) |
| type | The elemental type of this move | [Type](#types) | | type | The elemental type of this move | [NamedAPIResource](#namedapiresource) ([Type](#types)) |
| version group | The version group in which these move stat values were in effect | [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) | | version group | The version group in which these move stat values were in effect | [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) |
## Move Ailments ## Move Ailments
Move Ailments are status conditions caused by moves used during battle. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/http://bulbapedia.bulbagarden.net/wiki/Status_condition) for greater detail. Move Ailments are status conditions caused by moves used during battle. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/http://bulbapedia.bulbagarden.net/wiki/Status_condition) for greater detail.
@ -1374,7 +1365,6 @@ Move Ailments are status conditions caused by moves used during battle. See [Bul
| moves | A list of moves that cause this ailment | list [NamedAPIResource](#namedapiresource) ([Move](#moves)) | | moves | A list of moves that cause this ailment | list [NamedAPIResource](#namedapiresource) ([Move](#moves)) |
| names | The name of this move ailment listed in different languages | list [Name](#resourcename) | | names | The name of this move ailment listed in different languages | list [Name](#resourcename) |
## Move Battle Styles ## Move Battle Styles
Styles of moves when used in the Battle Palace. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Battle_Frontier_(Generation_III)) for greater detail. Styles of moves when used in the Battle Palace. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Battle_Frontier_(Generation_III)) for greater detail.
@ -1501,7 +1491,7 @@ Methods by which pokemon can learn moves.
} }
}], }],
"descriptions": [{ "descriptions": [{
"description": "Wird gelernt, wenn ein Pokémon ein bestimmtes Level erreicht.", "description": "Wird gelernt, wenn ein Pokémon ein bestimmtes Level erreicht.",
"language": { "language": {
"name": "de", "name": "de",
"url": "http://pokeapi.co/api/v2/language/6/" "url": "http://pokeapi.co/api/v2/language/6/"
@ -1526,7 +1516,6 @@ Methods by which pokemon can learn moves.
| names | The name of this move learn method listed in different languages | list [Name](#resourcename) | | names | The name of this move learn method listed in different languages | list [Name](#resourcename) |
| version_groups | A list of version groups where moves can be learned through this method | list [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) | | version_groups | A list of version groups where moves can be learned through this method | list [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) |
## Move Targets ## Move Targets
Targets moves can be directed at during battle. Targets can be pokemon, environments or even other moves. Targets moves can be directed at during battle. Targets can be pokemon, environments or even other moves.
@ -1539,7 +1528,7 @@ Targets moves can be directed at during battle. Targets can be pokemon, environm
"id": 1, "id": 1,
"name": "specific-move", "name": "specific-move",
"descriptions": [{ "descriptions": [{
"description": "Eine spezifische Fähigkeit. Wie diese Fähigkeit genutzt wird hängt von den genutzten Fähigkeiten ab.", "description": "Eine spezifische Fähigkeit. Wie diese Fähigkeit genutzt wird, hängt von den genutzten Fähigkeiten ab.",
"language": { "language": {
"name": "de", "name": "de",
"url": "http://pokeapi.co/api/v2/language/6/" "url": "http://pokeapi.co/api/v2/language/6/"
@ -1550,7 +1539,7 @@ Targets moves can be directed at during battle. Targets can be pokemon, environm
"url": "http://pokeapi.co/api/v2/move/68/" "url": "http://pokeapi.co/api/v2/move/68/"
}], }],
"names": [{ "names": [{
"name": "Spezifische Fähigkeit", "name": "Spezifische Fähigkeit",
"language": { "language": {
"name": "de", "name": "de",
"url": "http://pokeapi.co/api/v2/language/6/" "url": "http://pokeapi.co/api/v2/language/6/"
@ -1571,8 +1560,6 @@ Targets moves can be directed at during battle. Targets can be pokemon, environm
| moves | A list of moves that that are directed at this target | list [NamedAPIResource](#namedapiresource) ([Move](#moves)) | | moves | A list of moves that that are directed at this target | list [NamedAPIResource](#namedapiresource) ([Move](#moves)) |
| names | The name of this move target listed in different languages | list [Name](#resourcename) | | names | The name of this move target listed in different languages | list [Name](#resourcename) |
<h1 id="locations-section">Locations</h1> <h1 id="locations-section">Locations</h1>
## Locations ## Locations
@ -1700,6 +1687,19 @@ Location areas are sections of areas, such as floors in a building or cave. Each
| location | The region this location can be found in | [NamedAPIResource](#namedapiresource) ([Region](#regions)) | | location | The region this location can be found in | [NamedAPIResource](#namedapiresource) ([Region](#regions)) |
| names | The name of this location area listed in different languages | list [Name](#resourcename) | | names | The name of this location area listed in different languages | list [Name](#resourcename) |
| pokemon_encounters | A list of pokemon that can be encountered in this area along with version specific details about the encounter | list [PokemonEncounter](#pokemonencounter) | | pokemon_encounters | A list of pokemon that can be encountered in this area along with version specific details about the encounter | list [PokemonEncounter](#pokemonencounter) |
#### EncounterMethodRate
| Name | Description | Data Type |
| ---- | ----------- | --------- |
| encounter_method | The method in which Pokémon may be encountered in an area. | [EncounterMethod](#encountermehtod) |
| version_details | The chance of the encounter to occur on a version of the game. | list [EncounterVersionDetails](#encounterversiondetails) |
#### EncounterVersionDetails
| Name | Description | Data Type |
| ------- | ----------- | --------- |
| rate | The chance of an encounter to occur. | integer |
| version | The version of the game in which the encounter can occur with the given chance. | [NamedAPIResource](#namedapiresource) ([Version](#version)) |
#### PokemonEncounter #### PokemonEncounter
@ -1806,8 +1806,8 @@ A region is an organized area of the pokemon world. Most often, the main differe
| locations | A list of locations that can be found in this region | [NamedAPIResource](#namedapiresource) ([Location](#locations)) | | locations | A list of locations that can be found in this region | [NamedAPIResource](#namedapiresource) ([Location](#locations)) |
| main_generation | The generation this region was introduced in | [NamedAPIResource](#namedapiresource) ([Generation](#generations)) | | main_generation | The generation this region was introduced in | [NamedAPIResource](#namedapiresource) ([Generation](#generations)) |
| names | The name of this region listed in different languages | list [Name](#resourcename) | | names | The name of this region listed in different languages | list [Name](#resourcename) |
| pokedexes | A list of pokedexes that catalogue pokemon in this region | [NamedAPIResource](#namedapiresource) ([Pokedex](#pokedexes)) | | pokedexes | A list of pokedexes that catalogue pokemon in this region | list [NamedAPIResource](#namedapiresource) ([Pokedex](#pokedexes)) |
| version_groups | A list of version groups where this region can be visited | [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) | | version_groups | A list of version groups where this region can be visited | list [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) |
<h1 id="pokemon-section">Pokemon</h1> <h1 id="pokemon-section">Pokemon</h1>
@ -1837,8 +1837,8 @@ Abilities provide passive effects for pokemon in battle or in the overworld. Pok
} }
}], }],
"effect_entries": [{ "effect_entries": [{
"effect": "This Pokémon's damaging moves have a 10% chance to make the target [flinch]{mechanic:flinch} with each hit if they do not already cause flinching as a secondary effect.\n\nThis ability does not stack with a held item.\n\nOverworld: The wild encounter rate is halved while this Pokémon is first in the party.", "effect": "This Pokémon's damaging moves have a 10% chance to make the target [flinch]{mechanic:flinch} with each hit if they do not already cause flinching as a secondary effect.\n\nThis ability does not stack with a held item.\n\nOverworld: The wild encounter rate is halved while this Pokémon is first in the party.",
"short_effect": "Has a 10% chance of making target Pokémon [flinch]{mechanic:flinch} with each hit.", "short_effect": "Has a 10% chance of making target Pokémon [flinch]{mechanic:flinch} with each hit.",
"language": { "language": {
"name": "en", "name": "en",
"url": "http://pokeapi.co/api/v2/language/9/" "url": "http://pokeapi.co/api/v2/language/9/"
@ -1954,8 +1954,8 @@ Characteristics indicate which stat contains a Pokémon's highest IV. A Pokémon
| ---- | ----------- | --------- | | ---- | ----------- | --------- |
| id | The identifier for this characteristic resource | integer | | id | The identifier for this characteristic resource | integer |
| gene_modulo | The remainder of the highest stat/IV divided by 5 | integer | | gene_modulo | The remainder of the highest stat/IV divided by 5 | integer |
| possible_values | The possible values of the highest stat that would result in a pokemon recieving this characteristic when divided by 5 | [integer] | | possible_values | The possible values of the highest stat that would result in a pokemon recieving this characteristic when divided by 5 | list integer |
| descriptions | The descriptions of this characteristic listed in different languages | list [Description](#description) | | descriptions | The descriptions of this characteristic listed in different languages | list ([Description](#description)) |
## Egg Groups ## Egg Groups
@ -1993,7 +1993,7 @@ Egg Groups are categories which determine which Pokémon are able to interbreed.
| id | The identifier for this egg group resource | integer | | id | The identifier for this egg group resource | integer |
| name | The name for this egg group resource | string | | name | The name for this egg group resource | string |
| names | The name of this egg group listed in different languages | list [Name](#resourcename) | | names | The name of this egg group listed in different languages | list [Name](#resourcename) |
| pokemon_species | A list of all pokemon species that are members of this egg group | [NamedAPIResource](#namedapiresource) ([PokemonSpecies](#pokemon-species)) | | pokemon_species | A list of all pokemon species that are members of this egg group | list [NamedAPIResource](#namedapiresource) ([PokemonSpecies](#pokemon-species)) |
## Genders ## Genders
@ -2242,7 +2242,7 @@ Pokeathlon Stats are different attributes of a pokemons performance in pokeathlo
## Pokemon ## Pokemon
Pokemon are the creatures that inhabit the world of the pokemon games. They can be caught using pokeball's and trained by battling with other pokemon. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pokémon_(species)) for greater detail. Pokemon are the creatures that inhabit the world of the pokemon games. They can be caught using Pokéballs and trained by battling with other pokemon. See [Bulbapedia](http://bulbapedia.bulbagarden.net/wiki/Pokémon_(species)) for greater detail.
### GET api/v2/pokemon/{id or name} ### GET api/v2/pokemon/{id or name}
@ -2382,7 +2382,7 @@ Pokemon are the creatures that inhabit the world of the pokemon games. They can
| game_indices | A list of game indices relevent to pokemon item by generation | list [VersionGameIndex](#versiongameindex) | | game_indices | A list of game indices relevent to pokemon item by generation | list [VersionGameIndex](#versiongameindex) |
| held_items | A list of items this pokemon may be holding when encountered | list [NamedAPIResource](#namedapiresource) ([Item](#items)) | | held_items | A list of items this pokemon may be holding when encountered | list [NamedAPIResource](#namedapiresource) ([Item](#items)) |
| location_area_encounters | A list of location areas as well as encounter details pertaining to specific versions | list [LocationAreaEncounter](#locationareaencounter) | | location_area_encounters | A list of location areas as well as encounter details pertaining to specific versions | list [LocationAreaEncounter](#locationareaencounter) |
| moves | A list of moves along with learn methods and level details pertaining to specific version groups | [NamedAPIResource](#namedapiresource) ([Move](#moves)) | | moves | A list of moves along with learn methods and level details pertaining to specific version groups | list [NamedAPIResource](#namedapiresource) ([Move](#moves)) |
| sprites | A set of sprites used to depict this pokemon in the game | [PokemonSprites](#pokemonsprites) | | sprites | A set of sprites used to depict this pokemon in the game | [PokemonSprites](#pokemonsprites) |
| species | The species this pokemon belongs to | [NamedAPIResource](#namedapiresource) ([PokemonSpecies](#pokemon-species)) | | species | The species this pokemon belongs to | [NamedAPIResource](#namedapiresource) ([PokemonSpecies](#pokemon-species)) |
| stats | A list of base stat values for this pokemon | list [NamedAPIResource](#namedapiresource) ([Stat](#stats)) | | stats | A list of base stat values for this pokemon | list [NamedAPIResource](#namedapiresource) ([Stat](#stats)) |
@ -2502,8 +2502,8 @@ Some pokemon have the ability to take on different forms. At times, these differ
| Name | Description | Data Type | | Name | Description | Data Type |
| ---- | ----------- | --------- | | ---- | ----------- | --------- |
| id | The identifier for this pokemon color resource | integer | | id | The identifier for this pokemon form resource | integer |
| name | The name for this pokemon color resource | string | | name | The name for this pokemon form resource | string |
| order | The order in which forms should be sorted within all forms. Multiple forms may have equal order, in which case they should fall back on sorting by name. | integer | | order | The order in which forms should be sorted within all forms. Multiple forms may have equal order, in which case they should fall back on sorting by name. | integer |
| form_order | The order in which forms should be sorted within a species' forms | integer | | form_order | The order in which forms should be sorted within a species' forms | integer |
| is_default | True for exactly one form used as the default for each pokemon | boolean | | is_default | True for exactly one form used as the default for each pokemon | boolean |
@ -3028,12 +3028,10 @@ Languages for translations of api resource information.
| id | The identifier for this language resource | integer | | id | The identifier for this language resource | integer |
| name | The name for this language resource | string | | name | The name for this language resource | string |
| official | Whether or not the games are published in this language | boolean | | official | Whether or not the games are published in this language | boolean |
| is639 | The two-letter code of the country where this language is spoken. Note that it is not unique. | string | | iso639 | The two-letter code of the country where this language is spoken. Note that it is not unique. | string |
| iso3166 | The two-letter code of the language. Note that it is not unique. | string | | iso3166 | The two-letter code of the language. Note that it is not unique. | string |
| names | The name of this language listed in different languages | list [Name](#resourcename) | | names | The name of this language listed in different languages | list [Name](#resourcename) |
## Common Models ## Common Models
#### APIResource #### APIResource
@ -3134,5 +3132,3 @@ Languages for translations of api resource information.
| text | The localized name for an api resource in a specific language | string | | text | The localized name for an api resource in a specific language | string |
| language | The language this name is in | [NamedAPIResource](#namedapiresource) ([Language](#languages)) | | language | The language this name is in | [NamedAPIResource](#namedapiresource) ([Language](#languages)) |
| version_group | The version group which uses this flavor text | [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) | | version_group | The version group which uses this flavor text | [NamedAPIResource](#namedapiresource) ([VersionGroup](#version-groups)) |