[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Web Services API: URL naming proposal



On Fri, Nov 18, 2011 at 04:10:59PM +0100, Håvard Sørli wrote:
> On 18. nov. 2011 14:52, Chris Travers wrote:
> > Figure i will wade in here.  Hopefully others will follow.
> > On Sun, Nov 13, 2011 at 10:45 AM, Erik Huelsmann<..hidden..>  wrote:
> 
> > i don;t think that would be a problem. I don't like store though
> > because it is pretty unclear.  I would suggest a base path of:
> >
> > http://myhost/ledgersmb/webservices/company_name/
> 
> I assume this will also work:
>  > http://myhost/webservices/company_name/
> 
> Could we make it shorter:
> http://myhost/ledgersmb/api/company_name/
> http://myhost/api/company_name/
> 
> It there are only one company, could we use only
> http://myhost/ledgersmb/api/
> http://myhost/api

All of these abbreviations could be handled by customisations in the web
server config. It's what happens below the /webservices/ level which is
more important I think.

Pete
-- 
Openstrike - improving business through open source
http://www.openstrike.co.uk/ or call 01722 770036 / 07092 020107

Attachment: pgpBsCgvjb_Ol.pgp
Description: PGP signature