http://tools.ietf.org/html/draft-wilde-template-desc-00 -- erik wilde | mailto:dret@... - tel:+1-510-2061079 |...
19222
Doug Davis
duglin
Dec 8, 2012 10:46 pm
These may be of interest: http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven in particular bullet points #4 and #6 ...
19221
Erik Wilde
drethoo
Dec 8, 2012 6:21 pm
... nicholas did not really say what he means by "forms". but typically, forms are a combination of (1) a template (which may be runtime or baked into the...
19220
CÃat Ó GÃ...
keithgaughan
Dec 8, 2012 6:05 pm
You realise that URI templates and forms are, more-or-less, the same kind of thing, albeit with the former being more flexible in kinds of URI it can generate...
19219
Erik Wilde
drethoo
Dec 8, 2012 4:50 pm
hello nicholas. ... you are aware of RFC 6570, right? cheers, dret....
19218
Mike Kelly
mikekelly876...
Dec 8, 2012 3:56 pm
... Be useful if you explained why you think that. (you're probably wrong, by the way) Cheers, M...
19217
Philippe Mougin
pmougin2001
Dec 8, 2012 10:35 am
I use URI templates as a component of my hypermedia controls. They let me dynamically communicate to clients how to build certain URIs. They are more powerful...
19216
Nicholas Shanks
nickshanks
Dec 8, 2012 8:53 am
I think URI templating is detrimental to the web and should not receive any standards body endorsement. Can you present a use case which cannot be solved by...
19215
Erik Wilde
drethoo
Dec 7, 2012 8:45 pm
hello all. i just sumbitted an initial draft of "URI Template Descriptions" as draft-wilde-template-desc-00. however, it seems that there currently is a bit of...
19214
Eric J. Bowman
eric@...
Dec 5, 2012 12:31 pm
... I'd phrase it differently: "POST /cancel violates self-descriptiveness as user intent cannot be discerned by examining the request." This would hold true...
19213
Jan Algermissen
algermissen1971
Dec 4, 2012 10:45 pm
... Maybe of interest: http://tech.groups.yahoo.com/group/rest-discuss/message/18998 jan...
19212
Max Toro
maxtoroq
Dec 4, 2012 10:40 pm
Thank you very much for your responses Eric. The short answer is (if I understood correctly): POST /cancel is not REST because it lacks visibility, since it's...
19211
Eric J. Bowman
eric@...
Dec 3, 2012 4:18 pm
... Yes, such examples are out there, but in them, /cancel is NOT a resource in the REST sense so they must be some style of RPC... REST, not so much....
19210
Eric J. Bowman
eric@...
Dec 3, 2012 4:15 pm
... DELETE /orders/1 doesn't have to delete the resource, it can move it to, say, /canceled/1. In which case you're only changing one property of the order...
19209
Erik Wilde
drethoo
Dec 3, 2012 2:00 am
hello matt. ... this is a very good question. one important aspect is that it's always bad if clients are tested against just one implementation. server ...
19208
Matt McClure
matthewlmcclure
Dec 3, 2012 1:40 am
... This seems like a really important point. As I started reading about hypermedia APIs, the authors seemed to be evangelizing the benefit that server...
19207
Mike Schinkel
mikeschinkel
Dec 2, 2012 7:04 am
... +1 As an aside you'll find maintenance and validation easier if your status values are all lowercase (all upper would be okay too, but uglier.) Has nothing...
19206
Max Toro
maxtoroq
Dec 2, 2012 2:21 am
Did not choose DELETE because cancel does not delete the resource, it executes some logic which in the end sets it's status field to Canceled. The...
19205
Erik Wilde
drethoo
Dec 1, 2012 5:58 pm
hello max. ... i guess most people agree that the only reasonable answer to a question such as "is URI X RESTful" is: "tell me more about your design." i'd...
19204
Max Toro
maxtoroq
Dec 1, 2012 4:17 pm
Thanks for you answer Erik. I don't want to repeat myself, so please see my answer to Eric, I'd love to get your comments as well. Rather than good or bad I'd...
19203
Max Toro
maxtoroq
Dec 1, 2012 4:11 pm
... To clarify, /orders/1/cancel is used to modify a resource, using POST. A GET request would result in a Method Not Allowed response. This is also explained...
19202
Erik Mogensen
mogsie_oslo
Dec 1, 2012 1:30 pm
This post is mostly aimed at Max Toro, but Eric provided a nice entry point for me :-) ... Exactly. And we don't know what the author intends to identify just...
19201
Eric J. Bowman
eric@...
Dec 1, 2012 10:45 am
... They're configurable, and while this may have been a problem in the past, I don't believe it to be anything but an edge case, now. URIs are opaque and...
19200
Greg Young
gumboismadeo...
Dec 1, 2012 9:27 am
/CRMapp?order=1&query=status until intermediaries decide to ignore you because the ? ... They shouldn't but they do :) ... -- Le doute n'est pas une condition...
19199
Eric J. Bowman
eric@...
Dec 1, 2012 8:05 am
... This is why Roy's thesis is an invaluable tool, at least for me anyway as I've been at this since '93 and had a front-row seat at the transition from the...
19198
Eric J. Bowman
eric@...
Dec 1, 2012 7:09 am
... Well, what are you expecting to GET from /cancel, or are you just using that URL to invoke a procedure? If so, then there are a few places Roy's thesis...
19197
Eric J. Bowman
eric@...
Dec 1, 2012 5:40 am
Technically, of course, I mean "high probability of being a single packet" when arbitrarily small messages (including headers) have their payload compressed....
19196
Eric J. Bowman
eric@...
Dec 1, 2012 5:24 am
... Right, YMMV with compression, but the main point is that the bulk of the order is static data and therefore may be made highly persistent in the client...
19195
Max Toro
maxtoroq
Dec 1, 2012 1:15 am
What I'd love to get is an answer like: POST /orders/1/cancel is not REST compliant because chapter x of Fielding's dissertation explicitly or implicitly says...
19194
Will Hartung
gaminginparis
Nov 30, 2012 10:34 pm
... Unless your in a mobile environment where latency mutders you and compression is a secondary benefit. ... -- CONFIDENTIALITY NOTICE: The information...