Skip to content

Is it possible to setup a redirect under the FindAll method #326

@joelrebel

Description

@joelrebel

Hey,

I'm looking to implement a 3xx redirect for the FindAll method, such that it redirects to a url with a paginated response.

For example, a GET api/v1/users should redirect to api/v1/users?page[offset]=0&page[limit]=10
do you recommend a way to have this done from within api2go, since handlers for these paths are being managed by api2go.

Thanks for any help :)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions