You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 :)
The text was updated successfully, but these errors were encountered:
No this is currently not supported by api2go directly. I think if we want to support this, we should add more customization options into the Response. You could already set the status code, but not the content where to redirect to
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 toapi/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 :)
The text was updated successfully, but these errors were encountered: