Hi,
There are different ways more or less restful (but that’s more a question of taste):
1. in the path as you proposed initially
2. as a query parameter
3. in a HTTP header (X-Version, or better X-Accept-Version, with a response containing X-Version and Vary)
1 is probably the most used because it’s easy, but as suggested, I would prefer 2 (but again it’s a matter of taste).
3 is the most powerful because you can select the version on the server side and write the VARY header to explain on which criteria you did. However, it’s harder to test in a browser as you need a REST client to pass the header.
Clement