My Project
  1. Sample APIs
My Project
  • (DOWNLOAD) (PDF) The Teacher by Freida McFadden
  • (DOWNLOAD) (PDF) Chase Our Forever (Sutten Mountain, #3) by Kat Singleton
  • (DOWNLOAD) (PDF) Nothing Like the Movies (Better Than the Movies, #2) by Lynn Painter
  • (DOWNLOAD) (PDF) Wrath of the Triple Goddess (Percy Jackson and the Olympians, #7) by Rick Riordan
  • (DOWNLOAD) (PDF) Nexus A Brief History of Information Networks from the Stone Age to AI by Yuval Noah Harari
  • (DOWNLOAD) (PDF) Skin of a Sinner by Avina St. Graves
  • (DOWNLOAD) (PDF) The Nightmare Before Kissmas (Royals and Romance, #1) by Sara Raasch
  • (DOWNLOAD) (PDF) The Striker (Gods of the Game, #1) by Ana Huang
  • (DOWNLOAD) (PDF) Intermezzo by Sally Rooney
  • (DOWNLOAD) (PDF) Five Brothers by Penelope Douglas
  • (DOWNLOAD) (PDF) The War God's Favorite (The Dragon Empire Saga) by Jenny Fox
  • (DOWNLOAD) (PDF) More Days at the Morisaki Bookshop (Days at the Morisaki Bookshop, #2) by Satoshi Yagisawa
  • (DOWNLOAD) (PDF) Iron Flame (The Empyrean, #2) by Rebecca Yarros
  • (DOWNLOAD) (PDF) I Hope This Doesn't Find You by Ann Liang
  • (DOWNLOAD) (PDF) Kill Switch (Devil's Night, #3) by Penelope Douglas
  • (DOWNLOAD) (PDF) The Boyfriend by Freida McFadden
  • (DOWNLOAD) (PDF) Losers Part I (Losers, #1) by Harley Laroux
  • (DOWNLOAD) (PDF) Greek Lessons by Han Kang
  • (DOWNLOAD) (PDF) Powerless (The Powerless Trilogy, #1) by Lauren Roberts
  • (DOWNLOAD) (PDF) Just for the Summer (Part of Your World, #3) by Abby Jimenez
  • (DOWNLOAD) (PDF) The Dixon Rule (Campus Diaries, #2) by Elle Kennedy
  • (DOWNLOAD) (PDF) God of Fury (Legacy of Gods, #5) by Rina Kent
  • [DOWNLOAD] [PDF] Wild Love (Rose Hill, #1) by Elsie Silver
  • [DOWNLOAD] [PDF] Wildfire (Maple Hills, #2) by Hannah Grace
  • [DOWNLOAD] [PDF] Reckless (The Powerless Trilogy, #2) by Lauren Roberts
  • [DOWNLOAD] [PDF] Daydream (Maple Hills, #3) by Hannah Grace
  • [DOWNLOAD] [PDF] The Striker (Gods of the Game, #1) by Ana Huang
  • [DOWNLOAD] [PDF] All Fours by Miranda July
  • [DOWNLOAD] [PDF] Hideaway (Devil's Night) by Penelope Douglas
  • [DOWNLOAD] [PDF] Don't Let the Forest In by C.G. Drews
  • [DOWNLOAD] [PDF] The Chalice of the Gods (Percy Jackson and the Olympians, #6) by Rick Riordan
  • [DOWNLOAD] [PDF] Welcome to the Hyunam-Dong Bookshop by Hwang Bo-Reum
  • [DOWNLOAD] [PDF] Caught Up (Windy City, #3) by Liz Tomforde
  • [DOWNLOAD] [PDF] The God of the Woods by Liz Moore
  • [DOWNLOAD] [PDF] The Seven Year Slip by Ashley Poston
  • [DOWNLOAD] [PDF] Play Along (Windy City, #4) by Liz Tomforde
  • [DOWNLOAD] [PDF] Tell Me Lies by Carola Lovering
  • [DOWNLOAD] [PDF] Camera Shy (Lessons in Love, #1) by Kay Cove
  • [DOWNLOAD] [PDF] Lights Out by Navessa Allen
  • [DOWNLOAD] [PDF] A Song to Drown Rivers by Ann Liang
  • [DOWNLOAD] [PDF] A Reign of Rose (The Sacred Stones, #3) by Kate Golden
  • [DOWNLOAD] [PDF] The Housemaid Is Watching (The Housemaid, #3) by Freida McFadden
  • [DOWNLOAD] [PDF] When Haru Was Here by Dustin Thao
  • [DOWNLOAD] [PDF] Goldfinch (The Plated Prisoner, #6) by Raven Kennedy
  • [DOWNLOAD] [PDF] The Poisoner by I.V. Ophelia
  • [DOWNLOAD] [PDF] Chase Our Forever (Sutten Mountain, #3) by Kat Singleton
  • [DOWNLOAD] [PDF] The Way I Am Now (The Way I Used to Be, #2) by Amber Smith
  • [DOWNLOAD] [PDF] The Sunshine Court (All For the Game, #4) by Nora Sakavic
  • [DOWNLOAD] [PDF] Co-Intelligence Living and Working with AI by Ethan Mollick
  • [DOWNLOAD] [PDF] The Tearsmith by Erin Doom
  • 🐶 Walk through Apidog
  • 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

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

Request samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/pet' \
--data-urlencode 'name=Hello Kitty' \
--data-urlencode 'status=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
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"
  }
}
Modified at 2024-11-02 03:13:45
Previous
Find pet by ID
Next
Update an existing pet
Built with