(PDF)
  1. Sample APIs
(PDF)
  • PDF [Download] Whistle by Linwood Barclay
  • PDF [Download] Mark Twain by Ron Chernow
  • PDF [Download] Death on the Island by Eliza Reid
  • PDF [Download] Society of Lies by Lauren Ling Brown
  • PDF [Download] Fear the Flames by Olivia Rose Darling
  • PDF [Download] Wandering Wild by Lynette Noni
  • PDF [Download] Is a River Alive? by Robert Macfarlane
  • PDF [Download] Riding the High (Silver Pines Ranch, #3) by Paisley Hope
  • PDF [Download] A Simple Twist of Fate by April Asher
  • PDF [Download] Bad Publicity by Bianca Gillam
  • PDF [Download] Disappoint Me by Nicola Dinan
  • PDF [Download] His Face Is the Sun (Throne of Khetara, #1) by Michelle Jabès Corpora
  • PDF [Download] Tell Me How You Really Feel by Betty Cayouette
  • PDF [Download] Out of Air by Rachel Reiss
  • PDF [Download] Big Dumb Eyes: Stories from a Simpler Mind by Nate Bargatze
  • PDF [Download] Dream On, Ramona Riley (Clover Lake, #1) by Ashley Herring Blake
  • PDF [Download] Immaculate Conception by Ling Ling Huang
  • PDF [Download] The Busybody Book Club by Freya Sampson
  • PDF [Download] The Butcher's Daughter: The Hitherto Untold Story of Mrs. Lovett by Corinne Leigh Clark
  • PDF [Download] Tell Them You Lied by Laura Leffler
  • PDF [Download] Voyage of the Damned by Frances White
  • PDF [Download] The Last Sunrise by Anna Todd
  • PDF [Download] Come As You Are by Dahlia Adler
  • PDF [Download] Cruel Is the Light by Sophie Clark
  • PDF [Download] Anima Rising by Christopher Moore
  • Start your Apidog journey
  • Sample APIs
    • Find pet by ID
      GET
    • Add a new pet to the store
      POST
    • Update an existing pet
      PUT
    • Deletes a pet
      DELETE
    • Finds Pets by status
      GET
  1. Sample APIs

Finds Pets by status

GET
/pet/findByStatus
pet
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/findByStatus?status'
Response Response Example
200 - Success example
{
  "code": 0,
  "data": [
    {
      "name": "Hello Kitty",
      "photoUrls": [
        "http://dummyimage.com/400x400"
      ],
      "id": 3,
      "category": {
        "id": 71,
        "name": "Cat"
      },
      "tags": [
        {
          "id": 22,
          "name": "Cat"
        }
      ],
      "status": "sold"
    },
    {
      "name": "White Dog",
      "photoUrls": [
        "http://dummyimage.com/400x400"
      ],
      "id": 3,
      "category": {
        "id": 71,
        "name": "Dog"
      },
      "tags": [
        {
          "id": 22,
          "name": "Dog"
        }
      ],
      "status": "sold"
    }
  ]
}

Request

Query Params
status
string 
required
Status values that need to be considered for filter

Responses

🟢200OK
application/json
Body
array of:
id
integer <int64>
required
Pet ID
>= 1
category
object (Category) 
required
group
id
integer <int64>
optional
Category ID
>= 1
name
string 
optional
Category Name
name
string 
required
name
Example:
doggie
photoUrls
array[string]
required
image URL
tags
array[object (Tag) {2}] 
required
tag
id
integer <int64>
optional
Tag ID
>= 1
name
string 
optional
Tag Name
status
enum<string> 
required
Pet Sales Status
Allowed values:
availablependingsold
🟠400Invalid status value
Modified at 2025-05-07 19:30:45
Previous
Deletes a pet
Built with