[pylons-discuss] Re: API versioning with routes using Pyramid

2017-05-03 Thread Oleg Borisenko
Thanks, that's looks like just what we need! On Wednesday, May 3, 2017 at 1:36:51 AM UTC+3, Sadegh Nikaein wrote: > > whats your routing system? url dispatch or traversal ? > if use url dispatch take look at route prefix >

[pylons-discuss] Re: API versioning with routes using Pyramid

2017-05-02 Thread Sadegh Nikaein
whats your routing system? url dispatch or traversal ? if use url dispatch take look at route prefix -- You received this message because you are subscribed to the Goog

[pylons-discuss] Re: API versioning with routes using Pyramid

2017-04-24 Thread Jonathan Vanasco
We typically handle it like this... For these routes/files /v2/veryimportantroute <> views/api/v2.py /v3/veryimportantroute <> views/api/v3.py we tend to proxy the actual API functions to something like lib.api.veryimportantroute.py def v2() def v3() the url routing is