Create
POST/pets
Body ParametersJSON
name: string
photoUrls: array of string
Returns
Create
curl http://localhost:4000/api/v3/pets \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $BARKEND_BEARER_TOKEN" \
-d '{
"name": "name",
"photoUrls": [
"string"
]
}'{
"name": "name",
"photoUrls": [
"string"
],
"id": 0,
"category": {
"id": 0,
"name": "name"
},
"status": "available",
"tags": [
{
"id": 0,
"name": "name"
}
]
}Returns Examples
{
"name": "name",
"photoUrls": [
"string"
],
"id": 0,
"category": {
"id": 0,
"name": "name"
},
"status": "available",
"tags": [
{
"id": 0,
"name": "name"
}
]
}