list

@GetMapping(produces = ["application/json"])
open fun list(@RequestParam(name = "page", required = false, defaultValue = "0") page: Int, @RequestParam(name = "perPage", required = false, defaultValue = "20") perPage: Int, @PathVariable pathVariables: Map<String, String>, request: HttpServletRequest): Paged<D>(source)

Default implementation for listing entities with given pagination

Return

Paged of DTOs of entities

Parameters

page

Number of the 0-based page of entities to list

perPage

Number of entities to list per page

pathVariables

Path variables of the request

request

HTTP request