Skip to content
This repository was archived by the owner on Dec 2, 2022. It is now read-only.
This repository was archived by the owner on Dec 2, 2022. It is now read-only.

api iconsistency #14

@Holmeron

Description

@Holmeron

When fetching
curl -X GET -H "Content-Type: application/json" https://ghibliapi.herokuapp.com/people/34277bec-7401-43fa-a00a-5aee64b45b08
it returns
{ "id": "34277bec-7401-43fa-a00a-5aee64b45b08", "name": "Eboshi", "gender": "Female", "age": "Unspecified/Adult", "eye_color": "Hazel", "hair_color": "Black", "films": [ "https://ghibliapi.herokuapp.com/films/0440483e-ca0e-4120-8c50-4c8cd9b965d6" ], "species": "https://ghibliapi.herokuapp.com/species/af3910a6-429f-4c74-9ad5-dfe1c4aa04f2", "url": "https://ghibliapi.herokuapp.com/people/34277bec-7401-43fa-a00a-5aee64b45b08" }

it returns an array of films, with one link, but a string for species.
It's a very low priority issue, and I locally handle the issue, but I guess the fewer iconsistencies, the better.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions