injected service use to handle the product related operations
injected logger used to handle the logging
request context [headers, body, params, query].
200 Status Ok
This handler gets all the products regardless of the publication status.
This handler is used to get a list of products by applying the following steps in sequence:
Parse the query to get the pagination options (util.parsePaginatedListQuery)
Check if the pagination options are valid
Get the products list (productService.listPaginatedProducts)
Return the products list
400 NBError Bad Request
500 NBError Internal Server Error
Generated using TypeDoc
List all products (regardless of publication status) handler