Find pet by ID
GET
/pet/{petid}Request
Path Params
petid
string
required
Query Params
id
string
optional
Example:
{{Userid}}
Request samples
Responses
OK(200)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
code
integer
required
status code
>= 0<= 0
data
#/definitions/635879required
pet details
id
string
required
Default:
uuid_generate_v4()
tenant_id
string
required
name
string
required
<= 255 characters
mode
string
required
<= 255 characters
icon
string
optional
<= 255 characters
icon_background
string
optional
<= 255 characters
app_model_config_id
string
optional
status
string
required
<= 255 characters
Default:
'normal'
enable_site
boolean
required
enable_api
boolean
required
api_rpm
integer
required
>= -2147483648<= 2147483647
api_rph
integer
required
>= -2147483648<= 2147483647
is_demo
boolean
required
Default:
false
is_public
boolean
required
Default:
false
created_at
string
required
Default:
CURRENT_TIMESTAMP(0)
updated_at
string
required
Default:
CURRENT_TIMESTAMP(0)
is_universal
boolean
required
Default:
false
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 10 months ago