| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- operationId: userCreate
- summary: Create
- security: []
- description: New user registration
- tags: [User]
- requestBody:
- content:
- application/json:
- schema:
- type: object
- required:
- - name
- - email
- - password
- - confirm_password
- properties:
- name:
- type: string
- description: Name of new user
- example: John Smith
- email:
- type: string
- format: email
- description: Email address of new user
- example: john.smith@mail.com
- password:
- type: string
- description: Password for user
- example: password123
- confirm_password:
- type: string
- description: Confirmation password
- example: password123
- url:
- type: string
- format: url
- description: User validation. Create hidden input, empty by default. Fails if it is anything other than an empty string.
- example: ""
- time:
- type: string
- format: date
- description: User validation. Create hidden input and autofill a date on page load. Server checks time from page load.
- example: 2026-05-24T15:33:03.365Z
- responses:
- "200":
- description: "New user created (always returns '{success: true}')"
- content:
- applicaton/json:
- schema:
- type: object
- properties:
- success:
- type: boolean
- "400":
- $ref: "#/components/responses/400"
- "500":
- $ref: "#/components/responses/500"
|