Net-API Multi-vendor | Demo Pameran Karya ITC UNSIA 2025
  1. Sample APIs
Net-API Multi-vendor | Demo Pameran Karya ITC UNSIA 2025
  • Start your Apidog journey
  • 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
  • Selamat datang
    GET
  • List Perangkat
    GET
  • 01-Office (Juniper)
    GET
  • 101-Office-config
    GET
  • 102-Office-interfaces
    GET
  • 103-Office-vlans
    GET
  • 104-Office-arp-table
    GET
  • 105-Office-interfaces_ip
    GET
  • 106-Office-environment
    GET
  • 107-Office-users
    GET
  • 02-Branch (Cisco)
    GET
  • 201-Branch-config
    GET
  • 202-Branch-interfaces
    GET
  • 203-Branch-interfaces_ip
    GET
  • 204-Branch-arp_table
    GET
  • 205-Branch-mac_address_table
    GET
  • 206-Branch-snmp
    GET
  • 207-Branch-environment
    GET
  • 03-Home (Mikrotik)
    GET
  • 04-Ruko (Mikrotik)
    GET
  • 401-Ruko-interfaces
    GET
  • 402-Ruko-interfaces_ip
    GET
  • 403-Ruko-get_mac_address_table
    GET
  • 404-Ruko-snmp
    GET
  • 405-Ruko-users
    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

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 2025-02-20 15:04:25
Previous
Find pet by ID
Next
Update an existing pet
Built with