Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • Genesys Backend Genesys Backend
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 29
    • Issues 29
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Genesys PGRGenesys PGR
  • Genesys BackendGenesys Backend
  • Issues
  • #309
Closed
Open
Issue created Aug 28, 2018 by Matija Obreza@mobrezaOwner

API v1: Requests

We're adding the UI for Requests in genesys-ui#38 (closed) and the existing requests API doesn't use "standard" parameter names for pagination and sorting.

Implement a new version of the RequestsController in org.genesys2.server.api.v1 package.

  • Copy existing controller
@RestController("requestApi1")
@PreAuthorize("isAuthenticated()")
@RequestMapping(RequestsController.API_BASE) // = ApiBaseController.APIv1_BASE + "/request";
@Api(tags = { "requests" })
  • Update list method to use the standard method signature and argument names (see InstituteController#list)
  • Add RequestFilter and implement missing list methods using filters.
Assignee
Assign to
Time tracking