Skip to main content

New pet

Webhook 

Information about a new pet in the systems

Request

Body

    category

    Category

    name string

    Possible values: non-empty

    Category name

    sub

    object

    Test Sub Category

    prop1 string

    Dumb Property

    name stringrequired

    The name given to a pet

    photoUrls url[]required

    Possible values: <= 20

    The list of URL to a cute photos featuring pet

    friend

    tags

    Tag[]

    required

    Possible values: >= 1

    Tags attached to the pet

  • Array [

  • name string

    Possible values: non-empty

    Tag name

  • ]

  • status string

    Possible values: [available, pending, sold]

    Pet status in the store

    petType

    string

    Possible values: [cat, dog, bee]

    Type of a pet

    huntingSkill stringrequired

    Possible values: [clueless, lazy, adventurous, aggressive]

    Default value: lazy

    The measured skill for hunting

Responses

Return a 200 status to indicate that the data was received successfully

Loading...