Documentation Index
Fetch the complete documentation index at: https://mintlify.com/akibanks/api-tienda-vinilos/llms.txt
Use this file to discover all available pages before exploring further.
POST /registro creates a new user account with the cliente role. Usernames must be unique across the system; the provided value is trimmed of surrounding whitespace before any lookup or storage. Passwords are hashed with bcrypt at 10 rounds before being written to the database — the plaintext password is never persisted.
Endpoint details
| Property | Value |
|---|---|
| Method | POST |
| Path | /registro |
| Auth | None required |
| Rate limit | 10 requests per 15 minutes |
Request body
The desired username. Must be unique across the system. Leading and trailing
whitespace is trimmed automatically before validation and storage.
The account password. Must be at least 6 characters long. Stored as a
bcrypt hash (10 rounds) — never in plaintext.
Example request
Responses
201 Created
The account was created successfully. The new user is assigned thecliente role by default.
A human-readable confirmation message. Value is always
"Usuario creado exitosamente." on success.400 Bad Request — Missing fields
Returned whennombre_usuario (after trimming) or password is absent or empty.
400 Bad Request — Password too short
Returned when the supplied password is fewer than 6 characters.409 Conflict — Username already taken
Returned when another account already exists with the same (trimmed) username.429 Too Many Requests — Rate limit exceeded
Returned when the caller has sent more than 10 registration requests within a 15-minute window.500 Internal Server Error
Returned when an unexpected server-side error occurs (e.g., a database connectivity failure).A placeholder email address in the format
{username}@vinylvibes.local is
generated and stored internally (e.g., juan@vinylvibes.local). The API does
not require or accept a real email address during registration, and this
placeholder is never exposed in any response.