- Start your Apidog journey
- Sample APIs
- Selamat datangGET
- List PerangkatGET
- 01-Office (Juniper)GET
- 101-Office-configGET
- 102-Office-interfacesGET
- 103-Office-vlansGET
- 104-Office-arp-tableGET
- 105-Office-interfaces_ipGET
- 106-Office-environmentGET
- 107-Office-usersGET
- 02-Branch (Cisco)GET
- 201-Branch-configGET
- 202-Branch-interfacesGET
- 203-Branch-interfaces_ipGET
- 204-Branch-arp_tableGET
- 205-Branch-mac_address_tableGET
- 206-Branch-snmpGET
- 207-Branch-environmentGET
- 03-Home (Mikrotik)GET
- 04-Ruko (Mikrotik)GET
- 401-Ruko-interfacesGET
- 402-Ruko-interfaces_ipGET
- 403-Ruko-get_mac_address_tableGET
- 404-Ruko-snmpGET
- 405-Ruko-usersGET
Find pet by ID
GET
/pet/{petId}
pet
Request
Path Params
petId
string
required
Example:
1
Responses
🟢200OK
application/json
Body
code
integer
required
>= 0<= 0
data
object (Pet)
required
id
integer <int64>
required
>= 1
category
object (Category)
required
name
string
required
Example:
doggie
photoUrls
array[string]
required
tags
array[object (Tag) {2}]
required
status
enum<string>
required
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"
}
}
🟠404Record not found
🟠400Invalid input
Modified at 2025-02-20 15:04:25