Skip to content
Get started

List

GET/pets
ReturnsExpand Collapse
name: string
photoUrls: array of string
id: optional number
category: optional Category { id, name }
id: optional number
name: optional string
status: optional "available" or "pending" or "sold"
Accepts one of the following:
"available"
"pending"
"sold"
tags: optional array of Tag { id, name }
id: optional number
name: optional string

List

curl http://localhost:4000/api/v3/pets \
    -H "Authorization: Bearer $BARKEND_BEARER_TOKEN"
[
  {
    "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"
      }
    ]
  }
]