Download OpenAPI specification:
name required | string (Name) [ 2 .. 100 ] characters |
email required | string <email> (Email) |
password required | string (Password) [ 8 .. 24 ] characters |
{- "email": "enrique@gmail.com",
- "name": "Enrique Pérez",
- "password": "Contraseña@Segura123"
}
{- "email": "enrique@gmail.com",
- "id": 1,
- "name": "Enrique",
- "registration_date": "21/11/2002"
}
user_id required | integer (User Id) |
Name (string) or Name (null) (Name) | |
Email (string) or Email (null) (Email) | |
Password (string) or Password (null) (Password) |
{- "email": "enrique@gmail.com",
- "name": "Enrique Pérez",
- "password": "Contraseña@Segura123"
}
{- "email": "enrique@gmail.com",
- "id": 1,
- "name": "Enrique",
- "registration_date": "21/11/2002"
}
title required | string (Title) [ 1 .. 100 ] characters |
Year Publication (integer) or Year Publication (null) (Year Publication) | |
author_id required | integer (Author Id) |
{- "title": "Clean Code",
- "year_publication": 2008,
- "author_id": 1
}
{- "author_id": 1,
- "id": 1,
- "title": "Clean Code",
- "user_borrow_id": 2,
- "year_publication": 2008
}
Title (string) or Title (null) (Title) Example: title=Clean Code | |
Author Name (string) or Author Name (null) (Author Name) Example: author_name=Robert Martin | |
Year (integer) or Year (null) (Year) Example: year=2008 |
[- {
- "author_name": "Robet Martin",
- "id": 1,
- "title": "Clean Code",
- "user_borrow_id": 2,
- "year_publication": 2008
}
]
book_id required | integer (Book Id) |
Title (string) or Title (null) (Title) | |
Year Publication (integer) or Year Publication (null) (Year Publication) | |
Author Id (integer) or Author Id (null) (Author Id) |
{- "title": "Refactoring",
- "year_publication": 1999,
- "author_id": 1
}
{- "author_id": 1,
- "id": 1,
- "title": "Clean Code",
- "user_borrow_id": 2,
- "year_publication": 2008
}