New pet
Webhook
URL | Description |
---|---|
https://petstore.swagger.io/v2 | Default server |
https://petstore.swagger.io/sandbox | Sandbox server |
http://127.0.0.1:4010 | Prism Mock API (local) |
Information about a new pet in the systems
Request
- application/json
Body
Array [
]
- cat
- dog
- bee
category
Category
name string
Category name
Possible values: non-empty
sub
object
Test Sub Category
prop1 string
Dumb Property
name stringrequired
The name given to a pet
photoUrls url[]required
The list of URL to a cute photos featuring pet
Possible values: <= 20
friend
tags
Tag[]
required
Tags attached to the pet
Possible values: >= 1
name string
Tag name
Possible values: non-empty
status string
Pet status in the store
Enum Value | Description |
---|---|
available | When the pet is available |
pending | When the pet is being sold |
sold | When the pet has been sold. These descriptions can contain line breaks and also links |
Possible values: [available
, pending
, sold
]
petType
string
Type of a pet
Possible values: [cat
, dog
, bee
]
huntingSkill stringrequired
The measured skill for hunting
Possible values: [clueless
, lazy
, adventurous
, aggressive
]
Default value:
lazy
packSize int32required
The size of the pack the dog is from
Possible values: >= 1
Default value:
1
honeyPerDay numberrequired
Average amount of honey produced per day in ounces
Default value:
0
Responses
- 200
Return a 200 status to indicate that the data was received successfully
Loading...