Skip to content

Pokemon.location_area_encounters URL is not consistent with other URLs #270

Description

@jahed

Under a Pokemon resource (e.g. https://pokeapi.co/api/v2/pokemon/427), the URL to the encounters resource is not full. Meaning, unlike other URLs in the API, the client needs to ensure it requests it by prefixing the protocol and host.

For example:

{
    location_area_encounters: "/api/v2/pokemon/427/encounters",
}

Ideally it should be

{
    location_area_encounters: "http://pokeapi.co/api/v2/pokemon/427/encounters",
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions