Hi, Context: ******** I'm using XHTML for the representation of some resources, in a Restful machine-to-machine context. In particular, I'm using it for...
Hi guys, I'm currently developing an HTTP interface (can't dare to call it REST) for a few clients and I have a question for y'all. I have a resource,...
... I think that makes sense. Personally, I am not a friend of the type parameter (I prefer to let content negotiation handle the selection), but for your use...
17939
Eric J. Bowman
eric@...
Nov 9, 2011 6:06 pm
... XForms is also very useful for constructing URLs on the client. ... Consensus will need to be reached, eventually, but I'd suggest that URI templates be...
17940
Eric J. Bowman
eric@...
Nov 9, 2011 6:11 pm
... Why not? Looks like long-standing best-practice to me. -Eric...
On Wed, Nov 9, 2011 at 6:56 PM, Jan Algermissen ... Uh jan, good point, I forgot to think about negotiation, since I'm used to it with "canonical" types...
17942
Eric J. Bowman
eric@...
Nov 9, 2011 6:48 pm
... Upon receiving this representation, the user-agent knows the shared URI it can use for server-driven negotiation; and is also informed of the number,...
... There's already an adequate solution to that problem - you can define the inputs up-front against the link relation in question. e.g. the link relation...
17944
Eric J. Bowman
eric@...
Nov 9, 2011 7:41 pm
... I don't see invalid markup as an adequate solution -- @href takes a URI, not a template; section 1.4 of the URI-template draft states that URI templates...
... You're focusing on a side issue. Let's change it to this for now: <a rel="circle" hreft="/circle/radius;{radius}" /> Is that (and the description of the...
hello. ... agreeing with eric here: it's nice to have server-driven content negotiation and have "gateway resources" supporting it, but it's also nice to have...
17947
Eric J. Bowman
eric@...
Nov 10, 2011 12:19 am
... No, it is not adequate. The definition of rel='circle' still doesn't tell me what the range of allowable values is for the application domain, or what...
... Yes, it's an incomplete example. The definition could be extended to include that information, right? ... This would be a self-documenting API to you, but...
17949
Eric J. Bowman
eric@...
Nov 10, 2011 3:02 am
... No, not if we're talking about REST's uniform interface. A generic description of rel='circle' could conceivably require a positive integer, but...
Personally I'm a fan of the MediaRSS extension for image and video content. Basically it's a "beefed-up" link. http://www.rssboard.org/media-rss <media:content...
... care to share which one? I've been working on a js-jquery implementation at https://github.com/marc-portier/uri-templates/ myself ... good question, and an...
... Those application domains can extend and/or over-ride the description to suit their specific requirements. ... Right, a system-wide description of a rel...
We're building what will hopefully be a fairly RESTful API with hyperlinked resources and collection resources representing one to many relationships. The...
A media type like HAL[1] is designed for linking to and embedding resources via hypertext. It doesn't force you to model everything as a collection but you can...
Jim: I don't have any research results (interesting area....), but will pass along my own experience and personal preferences in case they give you some...
Marc, thanks for answering. ... It's a Java library developed by a colleague. It isn't publicly available (yet). ... In my context, this isn't necessarily...
Eric, Mike, Thanks for the insightful remarks. Dynamically communicating constraints on allowable values for expansions in a declarative way is sure an...
hello philippe. ... indeed it is. have you considered dependencies in your scenario? one use case we have all of the time is the "GET initial form; GET list of...
Erik: in one recent case, a client decided to handle these UI list dependencies by sending all the data in the form and letting local scripts to the filtering...
hello ... you're talking about feeds here, or their logical equivalent, including the options for embedding or referencing entries, right? you can feed those...
hello mike. ... yes, for small pick lists, including the allowable values is an option and is a good option to avoid additional requests. ... the problem is...
Is there a consensus? An absolute URL is, I guess, easier to consume by a client, whereas a relative link is also going to need some sort of (equivalent to...
17964
Eric J. Bowman
eric@...
Nov 11, 2011 12:26 am
... Yes, that URI allocation scheme design is off-topic to REST. ;-) Pragmatically speaking, decent URIs make it easier to develop and maintain RESTful...
... ah ok, since you mentioned XHTML I just assumed browser-client and expanded further to assume javascript, sorry for that ... Well, that surely *is* an...