BONUS 100% VIRAL SLOT PRAGMATIC DEP0SIT 50 BONUS 50 100 DI DEPAN TO 5X
  1. Sample APIs
BONUS 100% VIRAL SLOT PRAGMATIC DEP0SIT 50 BONUS 50 100 DI DEPAN TO 5X
  • BONUS 100% VIRAL SLOT PRAGMATIC DEP0SIT 50 BONUS 50 100 DI DEPAN TO 5X
  • 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<= 5000
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 Kity",
    "photoUrls": [
      "http://dummyimage.com/400x400"
    ],
    "id": 3,
    "category": {
      "id": 71,
      "name": "Cat"
    },
    "tags": [
      {
        "id": 22,
        "name": "Cat"
      }
    ],
    "status": "sold"
  }
}
Modified at 2022-10-29 14:53:14
Previous
Find pet by ID
Next
Update an existing pet
Built with