How to add v1 when specifying the URL of an API? I'm creating an API service using Services (Drupal 7) and would like to create an URL like /api/avu/v1/{id}.

I have api in Path to endpoint and in hook_services_resources() I have $resources['avu'] with 

"args" =&gt; array(
   array(
     "name" =&gt; "id",
     "optional" =&gt; false,
     "source" =&gt; array("path" =&gt; 0),
     "type" =&gt; "int",
     "description" =&gt; "The id of the course to retrieve."
   )
),


So /api/avu/{id} works but I can't figure out how to add v1.
All I had to do was to add another argument and clear the cache.

"args" =&gt; array(
   array(
     "name" =&gt; "version",
     "optional" =&gt; false,
     "source" =&gt; array("path" =&gt; 0),
     "type" =&gt; "string",
     "description" =&gt; "The API version."
   ),
   array(
     "name" =&gt; "id",
     "optional" =&gt; false,
     "source" =&gt; array("path" =&gt; 1),
     "type" =&gt; "int",
     "description" =&gt; "The id of the course to retrieve."
   )
),