Hi,

This patch introduces new 'api_url_for' helper to support handling
matrix parameters as 'driver' and 'provider'.

Eg. you have URL 'http://example.org/api;driver=ec2/hardware_profiles',
then all links inside API both in XML and HTML media type should contain
this matrix parameters.

This patch also ships DEFAULT_URI_PREFIX constant which replaces commonly
and 'wrongly' used hardcoded '/api' prefix in url_for helper and in Sinatra
route definitions.
>From now, you should be able to deploy Deltacloud API on whatever URI you
want, just by changing this constant.

  -- Michal

Reply via email to