| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- operationId: userCreate
- summary: Create
- security: []
- description: 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 of new user
- example: john.smith@mail.com
- password:
- type: string
- description: Password for new user
- example: johnsmith123
- confirm_password:
- type: string
- description: Confirmation of password
- example: johnsmith123
- url:
- type: string
- format: url
- description: Honeypot. If it contains anything other than 'https://' then return success without creating account.
- example: https://
- time:
- type: string
- format: date
- description: Honeypot. Must be within 10 minutes of submission.
- example: 2026-05-07T22:40:54.963Z
- responses:
- "200":
- description: "New user created (always returns '{success: true}')"
- content:
- application/json:
- schema:
- type: object
- properties:
- success:
- type: boolean
- "400":
- $ref: "#/components/responses/400"
- "500":
- $ref: "#/components/responses/500"
|