^PDF^
  1. Sample APIs
^PDF^
  • PDF [Download] We Live Here Now by Sarah Pinborough
  • PDF [Download] Our Last Wild Days by Anna Bailey
  • PDF [Download] One in Four by Lucinda Berry
  • PDF [Download] Rebel in the Deep (Crimson Sails, #3) by Katee Robert
  • PDF [Download] Jilted by Vi Keeland
  • PDF [Download] Bad Friend: How Women Revolutionized Modern Friendship by Tiffany Watt Smith
  • PDF [Download] The Dark Maestro by Brendan Slocumb
  • PDF [Download] Awake in the Floating City by Susanna Kwan
  • PDF [Download] Fallen Court (Filthy Rich Fae, #2) by Geneva Lee
  • PDF [Download] Other People’s Summers by Sarah Morgan
  • PDF [Download] Overgrowth by Mira Grant
  • PDF [Download] 32 Days in May by Betty Corrello
  • PDF [Download] Run for the Hills by Kevin Wilson
  • PDF [Download] The Guest Cottage (Firefly Summer, #1) by Lori Foster
  • PDF [Download] Along Came Amor (Primas of Power, #3) by Alexis Daria
  • PDF [Download] All We Lost Was Everything by Sloan Harlow
  • PDF [Download] Nightshade by Michael Connelly
  • PDF [Download] Ride with Me (Lights Out, #2) by Simone Soltani
  • PDF [Download] Releasing 10 (Standard Edition) (Boys of Tommen, 6) by Chloe Walsh
  • PDF [Download] The Ladies Road Guide to Utter Ruin (The Ill-Mannered Ladies, #2) by Alison Goodman
  • PDF [Download] Home of the American Circus by Allison Larkin
  • PDF [Download] Sleep by Honor Jones
  • PDF [Download] Audre & Bash Are Just Friends by Tia Williams
  • PDF [Download] Speak to Me of Home by Jeanine Cummins
  • PDF [Download] Austen at Sea by Natalie Jenner
  • 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:43:05
Previous
Deletes a pet
Built with