My Project
  1. Sample APIs
My Project
  • Start your Apidog journey
  • ANTES QUE NADA MARTIN CAPARROS ePub gratis
  • PIERDE GRASA GANA VIDA leer el libro
  • EL JUEGO DE LA ATENCIÓN ePub gratis
  • EL HIJO DEL TALLADOR DE MÁSCARAS Alyson Richman ePub gratis
  • QUIEN MATO A MI PADRE leer epub gratis
  • Pdf ePub Mobi EL ASNO Y LA NAVE - Chris Wickham descargar ebook gratis
  • EL MONTE DE LAS FURIAS leer el libro pdf
  • 1822 IÑIGO SALVADOR ePub gratis
  • Descargar PDF EPUB VIVIR EL CAMINO DEL ARTISTA
  • MOSCÚ X leer el libro
  • PDF Kindle LOOPS descargar gratis
  • EL FRACASO DE LA REPÚBLICA DE WEIMAR leer epub VOLKER ULLRICH
  • Descargar LA IRA DE LOS HUMILLADOS SERIE KOSTAS JARITOS 16 Petros Márkaris Gratis - EPUB PDF y MOBI
  • UN PASEO POR ORIENTE Shine RTVE ePub gratis
  • SIMBOLO. EL SENTIDO DE LA RENUNCIA leer epub REINHOLD MESSNER
  • EL LIBRO DE OTRO LUGAR leer epub KEANU REEVES
  • HISTORIA TOTAL DE LA SEGUNDA GUERRA MUNDIAL EBOOK Olivier Wieviorka Descargar libro PDF EPUB
  • PALABRAS DEL EGEO ePub gratis
  • LOS ILUSOS NUEVA VERSION leer epub gratis
  • ACABA CON EL SIBO EBOOK MIREIA VELASCO Descargar libro PDF EPUB
  • ePub LES ILLES INTERIORS descargar gratis
  • pdf descargar LOS CRÍMENES DEL CARRUSEL
  • Descargar pdf DINERO
  • Pdf ePub Mobi EN EL AMOR Y EN LA GUERRA LA CATEDRAL DEL MAR 3 - Ildefonso Falcones descargar ebook
  • Descargar ebook LANELL DEL NIBELUNG Descarga Libros Gratis PDF - EPUB
  • Descargar ebook COM ENGEGAR A LA MERDA DE MANERA EDUCADA Descarga Libros Gratis PDF - EPUB
  • Descargar pdf EL MITO DEL VOTANTE RACIONAL
  • PDF GINSENG ROOTS descargar gratis
  • epub descargar MAPA DE CARRETERAS DE ESPAÑA Y PORTUGAL 1340.000 2025
  • pdf descargar WILD SIDE ROSE HILL 3
  • pdf descargar PECHO FRÍO
  • LO POCO QUE RECUERDO ePub gratis
  • LOS DIÁLOGOS ePub gratis
  • Pdf ePub Mobi AHORA QUE VUELVO A VIVIR - Tamara Gorro descargar ebook gratis
  • MEDIO MUNDO TRILOGIA EL MAR QUEBRADO 2 EBOOK JOE ABERCROMBIE Descargar libro PDF EPUB
  • 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-13 22:32:30
Previous
Find pet by ID
Next
Update an existing pet
Built with