Reputation: 391
I'm trying to use Restler versioning but there is something i don't get.
On the BMI example it's written that:
Only integers are supported for versioning. When not specified explicitly the version is assumed to be one.
But in your example, the v2 is explicitly specified with:
$r->setAPIVersion(2);
... and the default version when accessing /_011_versioning/bmi.json is still v1 !
So I don't get it, what the setAPIVersion() function really do ? Maybe I miss some documentation part (my English isn't that fluent)
Thanks you again for your quick and efficient support (not the first time I'm asking questions here).
Upvotes: 0
Views: 191
Reputation: 993
Upvotes: 2