Skip to main content

Creates list of users with given input list

POST 

/user/createWithList

Request

Body

array

required

List of user object

  • Array [

  • pet

    object

    oneOf

    A pet

    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

  • Array [

  • name string

    Tag name

    Possible values: non-empty

  • ]

  • status string

    Pet status in the store

    Enum ValueDescription
    availableWhen the pet is available
    pendingWhen the pet is being sold
    soldWhen 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
    username string

    User supplied username

    Possible values: >= 4 characters

    firstName string

    User first name

    Possible values: non-empty

    lastName string

    User last name

    Possible values: non-empty

    email email

    User email address

    password password

    User password, MUST contain a mix of upper and lower case letters, as well as digits

    Possible values: >= 8 characters, Value must match regular expression /(?=.*[a-z])(?=.*[A-Z])(?=.*[0-9])/

    phone string

    User phone number in international format

    Possible values: Value must match regular expression /^\+(?:[0-9]-?){6,14}[0-9]$/

    userStatus int32

    User status

  • ]

Responses

successful operation

Loading...