API future

domruf dominikruf at gmail.com
Thu Sep 25 05:07:32 EDT 2014


> First of all: When you say API you refer to a "web service" API?
> 

Sorry I'm not sure what you mean by "web service" API.
For me API in this context is everything described in api.rst

> I would like to clean the browser URLs up a bit so they follow a nice 
> "object oriented" structure without any "name space collision". I 
would 
> also expect that pretty much all URLs had an option for returning the 
> essential data of the page as json/xml instead of html.

+1 I also think the URLs are a bit confusing. and it would be great if 
every page had a json representation.

> 
> The existing POST urls are also a bit unfortunate in some places - 
> especially when a POST returns a rendered page at a URL but there is 
no 
> GET at the same URL. Cleaning that up would probably also provide for 
a 
> better API for modification.

+1

> 
> I also saw a talk about morepath. It seemed very nice and fancy ... 
but 
> quite different from what we are doing now.
> 

I don't know morepath. But I added it to my read later list.

> Dominik and others: Can you say more this and what direction you think 
> we should move in?
> 
> /Mads
> 






More information about the kallithea-general mailing list