Proposed REST-API change -- PLEASE READ

Charles Crouch ccrouch at redhat.com
Fri Aug 10 17:24:06 UTC 2012



----- Original Message -----
> Hi,
> 
> the current REST api lives below http://localhost:7080/rest/1
> 
> I would like to move that to http://localhost:7080/rest/
> and then offer a common starting point at http://localhost:7080/rest/
> for json, html, xml content types.
> 
> My original though about the /1 was
> a) to expose this as the 1st version of the api - meanwhile I think
> this is wrong and versioning should be done
> via content negotiation

Can you give an example of how versioning will be handled via content negotiation?

> b) to separate out the static content from the resteasy content.
> 
> I know that existing code relies on the /1 part, but changing that
> should be fairly trivial in most
> cases.
> 
>   Heiko
> 
> --
> Reg. Adresse: Red Hat GmbH, Technopark II, Haus C,
> Werner-von-Siemens-Ring 14, D-85630 Grasbrunn
> Handelsregister: Amtsgericht München HRB 153243
> Geschaeftsführer:  Mark Hegarty, Charlie Peters, Michael Cunningham,
> Charles Cachera
> 
> _______________________________________________
> rhq-devel mailing list
> rhq-devel at lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/rhq-devel
> 
> 
> 


More information about the rhq-devel mailing list