My Project
  1. Sample APIs
My Project
  • Start your Apidog journey
  • Pdf ePub You with a View by Jessica Joyce download ebook
  • PDF Download The Marvel Art of David Nakayama by David Nakayama
  • DOWNLOADS More Sticks and Stones Falling From the Sky by Andrew Daniels
  • Online Read Ebook Yona of the Dawn Vol. 43 by Mizuho Kusanagi
  • Download Pdf Assassins Apprentice Volume 2 Graphic Novel by Jody Houser Robin Hobb Ryan Kelly Jor
  • PDF Download My Weirdtastic School 6 Ms. Greene Is Mean by Dan Gutman Jim Paillot
  • Read online Tearmoon Empire Volume 14 by Nozomu Gilse Gilse Madeleine Gilse
  • Download PDF A Long Time Gone A Novel by Joshua Moehling
  • PDF Download All Fours by Miranda July
  • Foolish Puckboy by Eden Finley Saxon James on Ipad
  • Sugar Apple Fairy Tale Vol. 7 light novel by Miri Mikawa Aki Nicole Wilder on Ipad
  • Download PDF Barbie Word Search Quips Quotes and Coloring Book by Editors of Thunder Bay Press
  • Insight Guides Iceland Travel Guide with Free eBook by Insight Guides on Iphone New Format
  • Read online Mastering Elliott Wave by Eric Hall Glenn Neely
  • PDF EPUB Download Fairy Tale by Stephen King Full Book
  • download pdf The Pasta Queen The Art of Italian Cooking by Nadia Caterina Munno Anna Francese Gass
  • Download Pdf Moon Cape Cod Marthas Vineyard Nantucket Best Beaches Coastal Towns Clambakes Lobs
  • Soldiers of the Imperium by Steve Lyons on Iphone New Format
  • DOWNLOADS Were Pregnant The First Time Dads Pregnancy Handbook by Adrian Kulp
  • Read pdf Bocchi the Rock Vol. 5 by Aki Hamazi
  • Cold Nights Warm Hearts by Nora Roberts on Audiobook New
  • PDF EPUB Download Never Lie by Freida McFadden Full Book
  • PDF EPUB Download The Delicate Beast by Roger Celestin Full Book
  • Smoke on the Water An Amos Walker Mystery by Loren D. Estleman on Audiobook New
  • download pdf The Survivor How I Made it Through Six Concentration Camps and Became a Nazi Hunter by
  • PDF Beach Read by Emily Henry
  • The Cannibal Owl by Aaron Gwyn on Ipad
  • DOWNLOADS Girls against God by Jenny Hval
  • Read online Artificial Condition The Murderbot Diaries by Martha Wells
  • 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
Previous
Deletes a pet
Built with