I have api with two different versions v1 and v2 both of them have same end points. But the way i handle sessions is different, what will be the clean way of handling routes file and to know which api version user is using. I am using laravel 4.1
Example routes:
/v1/getsome/1
/v2/getsome/1
Thanks in advance