Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Obtener Books ( Backend) Multiples condiciones y paginación #128

Open
Klauditha opened this issue Mar 25, 2024 · 0 comments
Open

Obtener Books ( Backend) Multiples condiciones y paginación #128

Klauditha opened this issue Mar 25, 2024 · 0 comments

Comments

@Klauditha
Copy link
Owner

GET /book/all?limit={limit}&page={page}&orderby={orderby}/filter?title={title}&genre={genre}&author={author}

Método que obtiene todos los libros considerando las opciones de filtrar por las siguientes condiciones:

  • title  título del libro
  • genre  genero
  • autor  autor del libro
  • Publisher  editorial
  • minPrice  precio mínimo
  • maxPrice  precio máximo
    Además, se consideran las siguientes opciones de paginación y ordenamiento:
  • limit  cantidad de registros
  • page  numero de página a mostrar
  • orderby  campo según el cual se ordenarán los registros, donde las opciones disponibles son:
    o title_ASC
    o title_DESC
    o score_ASC
    o score_DESC
    o totalPurchases_ASC
    o totalPurchases_DESC
    o pubDate_ASC
    o pubDate_DESC
@Klauditha Klauditha moved this from Ready to Backlog-Proximos Sprint in Tinta Azul - Desafio final Mar 28, 2024
@Klauditha Klauditha moved this from Backlog-Proximos Sprint to Ready in Tinta Azul - Desafio final Mar 28, 2024
@Klauditha Klauditha moved this from Ready to Backlog-Proximos Sprint in Tinta Azul - Desafio final Apr 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant