My Project
  1. Sample APIs
My Project
  • Start your Apidog journey
  • Read pdf Executive Presence 2.0 Leadership in an
  • Read pdf Hollywood Blackout The Battle for Inclu
  • Otherworldly Maidens Monster Girls from Another Wo
  • Read Pdf End of August A Novel by Paige Dinneny
  • The Mirror Man A novel by Lars Kepler Alexandra C
  • Online Read Ebook La felicidad by Gabriel Rolón
  • epub download Deep End by Ali Hazelwood
  • PDF Download Start Making Sense How Existential
  • Read pdf The Weird and Wonderful World of Bats D
  • The Train That Took You Away Absolutely page-turni
  • epub download Do Interesting Notice. Collect. Shar
  • Pdf ePub Everything Under the Sun The Complete Gu
  • PDF DOWNLOAD The Museum of Witchcraft by Diane P
  • Pdf ePub Wings of Starlight by Allison Saft downl
  • SPIDER-MAN BY JOE KELLY OMNIBUS KEN LASHLEY COVER
  • DOWNLOAD PDF EPUB The Ashes and the Star-Cursed
  • PDF EPUB Download The Dollhouse Academy A Novel by
  • Read pdf Improvise Freely Throw away the ruleboo
  • Download PDF The Modern Gurgenidze A Counterpunchi
  • DOWNLOADS Johnny Careless A Novel by Kevin Wade
  • PDF Kindle Pet Shop of Horrors Collectors Edition
  • Read Pdf The North Light by Hideo Yokoyama
  • PDF Kindle Mary Ellen Mark Photofile by Caroline
  • Overcoming Anticipatory Anxiety A CBT Guide for Mo
  • Read online When the Naughty Step Makes Things Wor
  • Read Pdf The Ballad of Songbirds and Snakes by S
  • PDF Oyster Perpetual Submariner The Watch that Un
  • Download PDF 2034 A Novel of the Next World War by
  • DOWNLOADS Night Sky Almanac 2025 A stargazers guid
  • Online Read Ebook The Years Best Sports Writing 20
  • 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

Add a new pet to the store

POST
/pet
pet
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/pet' \
--data-urlencode 'name=Hello Kitty' \
--data-urlencode 'status=sold'
Response Response 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

Body Params application/x-www-form-urlencoded
name
string 
required
Pet Name
Example:
Hello Kitty
status
string 
required
Pet Sales Status
Example:
sold

Responses

🟢201OK
application/json
Body
code
integer 
required
>= 0<= 0
data
object (Pet) 
required
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
Previous
Find pet by ID
Next
Update an existing pet
Built with