> +import org.jclouds.rest.annotations.MapBinder; > +import org.jclouds.rest.annotations.PayloadParam; > +import org.jclouds.rest.annotations.PATCH; > +import org.jclouds.rest.annotations.ResponseParser; > + > + > +import org.jclouds.rest.binders.BindToJsonPayload; > + > +/** > + * The Azure Resource Manager API includes operations for managing resource > groups in your subscription. > + * > + * @see <a > href="https://msdn.microsoft.com/en-us/library/azure/dn790546.aspx">docs</a> > + */ > +@Path("/subscriptions/{subscriptionid}") > + > +@QueryParams(keys = "api-version", values = "2015-01-01")
Better declare this value when building the api metadata, using the "apiVersion" method from the builder. Then use a variable here to reference that value, like in the [ChefApi](https://github.com/jclouds/jclouds/blob/master/apis/chef/src/main/java/org/jclouds/chef/ChefApi.java#L97). This serves two purposes: * Properly "describe" this API by setting the api version in its metadata. * Allow users to override that value on-the-fly, by using the "apiVersion" method in the context builder when creating the context. This will be useful as soon as new versions of the api are released. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/jclouds/jclouds-labs/pull/250/files/f7cc1b437f11378e105bba552e3cfee9d7491872#r57577529
