On Sun, Apr 2, 2017 at 8:58 PM, Warren Young <war...@etr-usa.com> wrote:

> In a conversation off-list, I had an idea that might solve several
> existing problems.  What if the current HTTP URL interface of Fossil were
> expanded to be able to do everything that Fossil internally can do, such
> that it eventually implements REST API interface that is functionally
> equivalent to fossil CLI + Fossil UI?
>

Very briefly before bed:

a) that's essentially what the JSON API is, with the notable exception of
missing blob support (since JSON has no definition for blobs).

b) CGI does not specify certain methods which REST conventionally relies
on, most notably PUT. A strictly-REST-compliant API is not, IMO, possible
with fossil unless it is limited to server mode (as opposed to CGI mode).

-- 
----- stephan beal
http://wanderinghorse.net/home/stephan/
"Freedom is sloppy. But since tyranny's the only guaranteed byproduct of
those who insist on a perfect world, freedom will have to do." -- Bigby Wolf
_______________________________________________
fossil-users mailing list
fossil-users@lists.fossil-scm.org
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users

Reply via email to