My Project
  1. Sample APIs
My Project
  • Start your Apidog journey
  • LAS TINIEBLAS DEL CORAZÓN Albert Sánchez Piñol ePub gratis
  • Descargar CIENCIA Y DESARROLLO DE LA HIPERTROFIA MUSCULAR BRAD SCHOENFELD Gratis - EPUB PDF y MOBI
  • Kindle SONÓ UN VIOLÍN EN PARÍS descargar gratis
  • SER UN ESTOICO ePub gratis
  • epub descargar VOY A SER MAMÁ Y AHORA QUE
  • PDF Kindle CAÍDA LIBRE descargar gratis
  • Descargar pdf EL MENSAJE DE LAS LÁGRIMAS
  • pdf descargar BLACKWATER I. LA RIADA
  • pdf descargar UNA MUJER EDUCADA
  • Pdf ePub Mobi EL SANTUARIO 2ª ED. - EDWARD FREDERIC BENSON descargar ebook gratis
  • Descargar ROMA DE CERCA 2025 7ª ED. LONELY PLANET Duncan Garwood Gratis - EPUB PDF y MOBI
  • Kindle VERMUTS I BARBUTS descargar gratis
  • Descargar PDF EPUB LA MAGIA DE VIVIR
  • pdf descargar PIENSA COMO UN FILOSOFO GRIEGO
  • A MORTE É ASSIM edición en portugués ELLEN DUTHIE ANNA JUAN CANTAVELLA ePub gratis
  • PDF Kindle INTRODUCCION A LA PROGRAMACION PARALELA descargar gratis
  • Kindle LOS 200 PRIMEROS CASOS DE MORTADELO Y FILEMÓN descargar gratis
  • Descargar PDF L UNIVERS GROC
  • epub descargar EL INCIDENTE
  • Descargar MY LIFE GROWING UP NATIVE IN AMERICA edición en inglés Gratis - EPUB PDF y MOBI
  • Descargar HISTORIA DE COLOMBIA LO QUE NECESITAS SABER MABEL PAOLA LÓPEZ JEREZ ERIC DUVAN BARBOSA AM
  • MARIDOS Y AMANTES Beatriz Williams ePub gratis
  • 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
Modified at 2025-06-11 02:14:00
Previous
Find pet by ID
Next
Update an existing pet
Built with