My Project
  1. Sample APIs
My Project
  • Start your Apidog journey
  • The Witch of the Forests Guide to Folklore Magick Connect to the wisdom of our elders. Embrace the p
  • epub download United States Currency by Kenneth E. Bressett Q David Bowers Patrick Perez
  • PDF DOWNLOAD Jurassic Park The Ultimate Visual History by James Mottram Sam Neill Laura Dern Je
  • All the Parts We Exile by Roza Nozari on Iphone New Format
  • DOWNLOAD PDF EPUB Talk to Strangers The Yes Theory Story by Matt Dahlia Derin Emre
  • PDF Download Now Youre Mine A Dark Stalker Romance by Morgan Bridges
  • Download Pdf I Hate Fairyland Book Three by Skottie Young Brett Bean
  • PDF Isaac Julien Lina Bo Bardi--A Marvellous Entanglement by Isaac Julien Giuliana Bruno Mark Nas
  • PDF DOWNLOAD You Dont Need to Forgive Trauma Recovery on Your Own Terms by Amanda Ann Gregory LCPC
  • PDF EPUB Download A Fortunes Redemption by Stella Bagwell Full Book
  • PDF Kindle The Inmate by Freida McFadden
  • pdf download CompTIA CySA Study Guide Exam CS0-003 by Mike Chapple David Seidl
  • PDF The Ojanox I Scream in the Dark by Daemon Manx
  • download pdf The Tower A Novel by Flora Carr
  • PDF Download Now It All Makes Sense How An ADHD Diagnosis Brought Clarity To My Life by Alex Partr
  • Read online The Order Labyrinth of Twisted Games by Logan St Clair
  • download pdf Zechariah by John MacArthur
  • Rivers of London Stray Cat Blues by Ben Aaronovitch Andrew Cartmel José María Beroy on Audiobook N
  • Download PDF Heaven and Hell by Jón Kalman Stefánsson Philip Roughton
  • pdf download Play Along by Liz Tomforde
  • PDF DOWNLOAD House of Flame and Shadow by Sarah J. Maas on Iphone
  • Download PDF Titans Vol. 2 The Dark-Winged Queen by Tom Taylor Lucas Meyer
  • PDF EPUB Download Our Fight A Memoir by Ronda Rousey Maria Burns Ortiz Full Book
  • Silver Throat by Siri Pettersen Tara Chace on Iphone New Format
  • epub download The Apothecary Diaries Volume 13 Light Novel by Natsu Hyuuga Touko Shino Kevin Stein
  • Download PDF Culinary Leverage A Journey Through the Heat by Douglas Keane
  • PDF Download The Great T. Rex Escape DC Batman Batwheels by Golden Books
  • PDF Everything You Need to Ace Science in One Big Fat Notebook The Complete Middle School Study Gui
  • Read Pdf High Density High Mountain Trackers HMT 2G 3 by Freya Barker
  • PDF DOWNLOAD The Soul Family by Alexx Shaw on Iphone
  • Virgil Abloh. Nike. ICONS by Virgil Abloh on Ipad
  • PDF EPUB Download Missing Baby Doe by B. J. Daniels Full Book
  • Playing the English A World-Class Repertoire by Nikolaos Ntirlis on Ipad
  • PDF EPUB Download Sue Tai-chan 5 by Konami Kanata Full Book
  • DOWNLOADS The Digger and the Flower Board Book by Joseph Kuefler
  • The Pale Flesh of Wood A Novel by Elizabeth A. Tucker on Ipad
  • Read Pdf Away by Megan E. Freeman
  • Read Pdf The Littlest Yak Home Is Where the Herd Is by Lu Fraser Kate Hindley
  • 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

Find pet by ID

GET
/pet/{petId}
pet
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET '/pet/1'
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"
    }
}

Request

Path Params
petId
string 
required
pet ID
Example:
1

Responses

🟢200OK
application/json
Body
code
integer 
required
status code
>= 0<= 0
data
object (Pet) 
required
pet details
id
integer <int64>
required
Pet ID
>= 1
category
object (Category) 
required
group
name
string 
required
name
Example:
doggie
photoUrls
array[string]
required
image URL
tags
array[object (Tag) {2}] 
required
tag
status
enum<string> 
required
Pet Sales Status
Allowed values:
availablependingsold
🟠404Record not found
🟠400Invalid input
Previous
Read Pdf The Littlest Yak Home Is Where the Herd Is by Lu Fraser Kate Hindley
Next
Add a new pet to the store
Built with