readclubiz
  1. Sample APIs
readclubiz
  • [Download] PDF The Tenant by Freida McFadden
  • PDF [Download] My Friends by Fredrik Backman
  • PDF [Download] One Golden Summer by Carley Fortune
  • PDF [Download] The Knight and the Moth (The Stonewater Kingdom, #1) by Rachel Gillig
  • PDF [Download] Rewind It Back (Windy City, #5) by Liz Tomforde
  • PDF [Download] The Love Haters by Katherine Center
  • PDF [Download] A Curse Carved in Bone (Saga of the Unfated, #2) by Danielle L. Jensen
  • PDF [Download] The Missing Half by Ashley Flowers
  • PDF [Download] The Names by Florence Knapp
  • PDF [Download] A Fate Forged in Fire by Hazel McBride
  • PDF [Download] The Devils (The Devils, #1) by Joe Abercrombie
  • PDF [Download] It's a Love Story by Annabel Monaghan
  • PDF [Download] The Emperor of Gladness by Ocean Vuong
  • PDF [Download] Parents Weekend by Alex Finlay
  • PDF [Download] The Man Made of Smoke by Alex North
  • PDF [Download] What Sleeps Within the Cove (Of Flesh & Bone, #4) by Harper L. Woods
  • PDF [Download] Left of Forever by Tarah DeWitt
  • PDF [Download] Never Flinch (Holly Gibney, #4) by Stephen King
  • PDF [Download] When Devils Sing by Xan Kaur
  • PDF [Download] What Happens in Amsterdam by Rachel Lynn Solomon
  • PDF [Download] The Original Daughter by Jemimah Wei
  • PDF [Download] The Memory Collectors by Dete Meserve
  • PDF [Download] The Thrashers by Julie Soto
  • PDF [Download] The Starving Saints by Caitlin Starling
  • PDF [Download] Heart of the Sun by Mia Sheridan
  • 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 18:40:55
Previous
Deletes a pet
Built with