Documentation Home

Bird

The Birds API allows people to retrieve info about birds.

GET

/birds

DESCRIPTION

Returns all birds, filtered by the 'scientificName' and 'vernacularName' GET filters.

PARAMETERS

Parameter Type Required Description Values Default
scientificName GET Optional The scientific name to filter birds by. This filter is ANDed with the 'vernacularName' filter (if applied). Any text NULL
vernacularName GET Optional The vernacular name to filter birds by. This filter is ANDed with the 'scientificName' filter (if applied). Any text NULL

RESPONSE

Type: application/json

A JSON object that complies with the JSON API standard (www.jsonapi.org).

Status Code Meaning
200 Successfully queried birds.
401 Invalid API key provided.
405 Invalid request HTTP method.

Example Success Response

GET

/birds/:bird-id

DESCRIPTION

Returns info about the Bird entity associated with the given ID.

PARAMETERS

Parameter Type Required Description Values Default
bird-id URL_SLUG Required The ID of the Bird entity to retrieve. Any positive integer NULL

RESPONSE

Type: application/json

A JSON object that complies with the JSON API standard (www.jsonapi.org).

Status Code Meaning
200 Successfully queried specified bird.
401 Invalid API key provided.
404 No bird was found for the provided ID.
405 Invalid request HTTP method.

Example Success Response