[fossil-users] API docs for libfossil prototype are online

2013-07-31 Thread Stephan Beal
Hi, all, FYI: i've posted the API docs for the libfossil prototype code here: http://fossil.wanderinghorse.net/repos/f2/doxygen/ Feedback is always welcomed. i'll try to get those regenerated when there are significant code changes. To build them locally: # cd doc # make doc (requires 'doxyge

Re: [fossil-users] API?

2012-08-17 Thread Nico Williams
On Fri, Aug 17, 2012 at 11:24 PM, Stephan Beal wrote: >> Let's put it this way. To return 200 for a POST that actually failed >> is very strange -- the response entity had better, at the very least, >> not be cacheable if you'll do that. Arg, I meant 201 code. > i would hope that no POSTs are c

Re: [fossil-users] API?

2012-08-17 Thread Stephan Beal
On Sat, Aug 18, 2012 at 5:45 AM, Nico Williams wrote: > codes. But what's the problem with returning both, an HTTP status > code and an application-specific one in the response entity? Doing so > would leave you with a RESTful API and your clients can just ignore > the HTTP result codes. > It j

Re: [fossil-users] API?

2012-08-17 Thread Nico Williams
On Fri, Aug 17, 2012 at 10:26 PM, Stephan Beal wrote: > On Sat, Aug 18, 2012 at 5:17 AM, Nico Williams > wrote: >> What's not RESTful about it? At first glance I see it uses GET and >> POST appropriately, not using GET to create things, using POST to >> create/modify things. It doesn't use DELE

Re: [fossil-users] API?

2012-08-17 Thread Stephan Beal
On Sat, Aug 18, 2012 at 5:17 AM, Nico Williams wrote: > That's very nice. Thanks! > :-D > What's not RESTful about it? At first glance I see it uses GET and > POST appropriately, not using GET to create things, using POST to > create/modify things. It doesn't use DELETE, but then that's beca

Re: [fossil-users] API?

2012-08-17 Thread Nico Williams
On Fri, Aug 17, 2012 at 7:03 PM, Stephan Beal wrote: > On Sat, Aug 18, 2012 at 1:31 AM, Miles Fidelman > wrote: >> Is there any kind of RESTful API for accessing Fossil repositories? > > https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/view That's very nice. Thank

Re: [fossil-users] API?

2012-08-17 Thread Miles Fidelman
Stephan Beal wrote: n Sat, Aug 18, 2012 at 1:31 AM, Miles Fidelman mailto:mfidel...@meetinghouse.net>> wrote: Hi Folks, Is there any kind of RESTful API for accessing Fossil repositories? https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/view That's abo

Re: [fossil-users] API?

2012-08-17 Thread Stephan Beal
n Sat, Aug 18, 2012 at 1:31 AM, Miles Fidelman wrote: > Hi Folks, > > Is there any kind of RESTful API for accessing Fossil repositories? > https://docs.google.com/document/d/1fXViveNhDbiXgCuE7QDXQOKeFzf2qNUkBEgiUvoqFN4/view That's about the closest thing there is. It's not REST, but it's REST-i

[fossil-users] API?

2012-08-17 Thread Miles Fidelman
Hi Folks, Is there any kind of RESTful API for accessing Fossil repositories? Thanks, Miles Fidelman -- In theory, there is no difference between theory and practice. In practice, there is. Yogi Berra ___ fossil-users mailing list fossil-user