[Kimchi-devel] [Proposal] Introducing the version in REST API URI for kimchi/ginger plugins

Aline Manera alinefm at linux.vnet.ibm.com
Wed Aug 5 18:34:45 UTC 2015


Hi Chandra,

I don't see any benefit in adding the version in the URL. Instead of 
that, it scares me on how we will maintain it.

Once we move to wok and Kimchi as plugin, all the APIs will be 
automatically updated so everything will be in the same page.

Regards,
Aline Manera

On 17/07/2015 09:47, Chandra Sr Potula wrote:
>
> Hi Kimchi/Ginger Devel-Team,
>
> Thank you for creating WOK branch to separate the kimchi plugin from 
> the base frame work. It is a great idea.
>
> Along with the separation of kimchi plugin looks like there is a 
> transformation of REST API URIs as well. So thinking in those lines 
> will it be good idea even to introduce version to the REST API URIs ?
>
> Let me take one REST API URI to convey clear on what I am talking about.
>
> To retrieve the host repository information, current URI is: 
>  "/plugins/kimchi/host/repositories".
>
> *Recommendation*:
> New host repository URI can look like : 
> *"**/plugins/kimchi/v<version>/host/repositories" , *so that it is 
> easy to maintain REST API future enhancements at the same time do not 
> brake some body who is using the existing URI.
>
> Note* Adding version in the  URI above is just an example and we could 
> place the version in the URI best possible way.
>
> Thanks and Regards,
> *Chandra Shekhar Reddy Potula*
> Staff System Software Engineer
> IBM Systems & Technology Group, Systems Software Development
> System z Firmware Development
> ------------------------------------------------------------------------
> *Phone:* 91-080-4066-0786 | *Mobile:* 91-973-1122-221*
> E-mail:*_chandra.shekhar at in.ibm.com_ <mailto:chandra.shekhar at in.ibm.com> 	
> IBM
>
> ORR, Manyatha MD3 1F B247
> Bengaluru, Karnataka 560045
> India
>
>
>
> _______________________________________________
> Kimchi-devel mailing list
> Kimchi-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/kimchi-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150805/4d2469c3/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: image/gif
Size: 360 bytes
Desc: not available
URL: <http://lists.ovirt.org/pipermail/kimchi-devel/attachments/20150805/4d2469c3/attachment.gif>


More information about the Kimchi-devel mailing list