Skip to content

addBird

POST
/birds
curl --request POST \
--url https://example.com/api/birds \
--header 'Content-Type: application/json' \
--data '"Aubrey"'

Creates a new bird

Bird to add

Media typeapplication/json
One of:

Bird name

string
Example
Aubrey

Animal response

Media typeapplication/json
object
name
required
string
tag
string
id
required
integer format: int64
Examplegenerated
{
"name": "example",
"tag": "example",
"id": 1
}

Unexpected error

Media typeapplication/json
object
code
required
integer format: int32
message
required
string
Examplegenerated
{
"code": 1,
"message": "example"
}