Search the web
Sign In
New User? Sign Up
rest-discuss · REST Discussion Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
REST API specification templates   Message List  
Reply | Forward Message #8578 of 14020 |
Hello,

I was wondering if there is some kind of standard way to describe a
RESTful API? Has somebody done this already and can give examples?
I myself have some ideas:

* You can use UML class diagrams to describe the representations
resources and/or schemas (but these are harder to read and can be
generated from the diagram)
* You can use UML sequence diagrams to describe dynamic behavior. So
how the API is supposed to be used.
* How do we describe the possible operations on resources?
It is not always wanted to change resources or maybe custom errors
must be returned.

PS We use the RESTful protocol for inter-system communication, we do
NOT use it for WorldWideWeb access.

regards,
Roger van de Kimmenade




Fri May 25, 2007 7:14 am

rogervdkimme...
Offline Offline
Send Email Send Email

Forward
Message #8578 of 14020 |
Expand Messages Author Sort by Date

Hello, I was wondering if there is some kind of standard way to describe a RESTful API? Has somebody done this already and can give examples? I myself have...
rogervdkimmenade
rogervdkimme...
Offline Send Email
May 25, 2007
7:15 am

... Whether the protocol is for internal or external consumption is moot; a protocol is a protocol is a protocol. There is no standard way, but there are ...
Keith Gaughan
keithgaughan
Offline Send Email
May 25, 2007
8:50 am

Is this the sort of thing you're looking for? http://www.google.com/search?q=WADL --Chuck...
Chuck Hinson
chucking24
Online Now Send Email
May 25, 2007
4:18 pm

Hi all, I profit that Chuck talk about WADL to ask if there is a place for a description language in the REST architectural style ? One REST principle is the...
BenoƮt Fleury
benoit_f4y
Offline Send Email
May 26, 2007
7:45 am

Hi Benoit, ... I think the key thing is that "hypertext as the engine of state transition information". The goal is to use HTML (or XML) as the mechanism for...
Ernest Prabhakar
sandhyaprabh...
Offline Send Email
May 26, 2007
2:41 pm

... This is a contradiction in terms. REST is defined by two properties: 1. Server state is exposed as a set of resources that have a uniform interface and are...
A. Pagaltzis
a22pag
Offline Send Email
May 26, 2007
9:44 pm

... Aristotle, I think that you are right on the money. I am putting together a new talk for the user community here in the UK and that has led me to think a...
Alan Dean
alan_james_dean
Offline Send Email
May 26, 2007
10:26 pm

... Sigh. This is the problem I discussed when I first started following the rest-discuss list; people's insistence on interpretting the URI opacity axiom to...
Mike Schinkel
mikeschinkel
Offline Send Email
May 27, 2007
1:32 am

... No one said you *should* create obtuse URI spaces; the point is that the layout of your URI space has no effect on whether your application is RESTful. The...
A. Pagaltzis
a22pag
Offline Send Email
May 27, 2007
1:46 am

... Agreed. But from past experience many people *interpret* that it means you should create obtuse URLs. It's called dogma, and is sadly appears around any...
Mike Schinkel
mikeschinkel
Offline Send Email
May 27, 2007
2:12 am

... Well, now that you know better you too can join the league of justice and help correct these wrongs....
Mike Dierken
mdierken
Offline Send Email
May 27, 2007
5:01 am

... So just exactly what do you propose? -- -Mike Schinkel http://www.mikeschinkel.com/blogs/ http://www.welldesignedurls.org http://atlanta-web.org -...
Mike Schinkel
mikeschinkel
Offline Send Email
May 27, 2007
6:28 am

You could write in your blog about when it is appropriate to use non-obtuse URLs and when it's appropriate to generate URLs on the client and what situations a...
Mike Dierken
mdierken
Offline Send Email
May 27, 2007
9:23 pm

... To my mind it's always appropriate to use non-obtuse URIs. However, degrees of obtuseness are often in the eyes of the beholder. This is one of the reasons...
Jon Hanna
hack_poet
Offline Send Email
May 27, 2007
10:52 pm

... Two replies to that: 1.) Can I assume you haven't been reading my URL blog? (of course, I assume someone hasn't until they tell me otherwise.) There I have...
Mike Schinkel
mikeschinkel
Offline Send Email
May 28, 2007
4:06 am

... OK, I'll bite: The argument you make here seems to be for hackable, human-readable URLs. I prefer them myself to meaningless, opaque strings. But I don't...
Stefan Tilkov
stilkov
Offline Send Email
May 30, 2007
8:41 am

... +1...
Alan Dean
alan_james_dean
Offline Send Email
May 30, 2007
8:54 am

About the same thing that picking good class names has to do with Object-Oriented Programming. --Chuck...
Chuck Hinson
chucking24
Online Now Send Email
May 30, 2007
1:28 pm

Not quite. OO systems target humans and therefore benefit from semantics encoded into names. REST targets machines and relies on discovery through contextual...
Steve Bjorg
steve_bjorg
Offline Send Email
May 30, 2007
2:16 pm

... 1. Humans tend to come into the process at some point, even when the intention is that they don't. 2. Relative URI-reference syntax depends on a structure...
Jon Hanna
hack_poet
Offline Send Email
May 30, 2007
2:44 pm

... +1 -- -Mike Schinkel http://www.mikeschinkel.com/blogs/ http://www.welldesignedurls.org http://atlanta-web.org - http://t.oolicio.us...
Mike Schinkel
mikeschinkel
Offline Send Email
May 30, 2007
3:23 pm

... Earlier in the thread I gave a hypothetical example for educational purposes, see http://tech.groups.yahoo.com/group/rest-discuss/message/8615 This was in...
Alan Dean
alan_james_dean
Offline Send Email
May 30, 2007
4:32 pm

... semantics (hypermedia). I thought the web at large *was* REST, so more than just for machines. At least that's what Roy Fielding said about eight months...
Mike Schinkel
mikeschinkel
Offline Send Email
May 30, 2007
4:16 pm

... Well... it's not all REST is it? I mean there are plenty of non-RESTfull sites out there which clearly can't be RESTfull. The thing is... those tend to be...
Nic James Ferrier
nferrier_tap...
Offline Send Email
May 30, 2007
4:37 pm

... Web sites which 'clearly can't be restful?' I think this begs the question as to whether you can provide some examples... You mention that they 'tend to be...
Elias Sinderson
elias95060
Offline Send Email
May 30, 2007
5:07 pm

... No. I don't mean that. Though that would be another example. I mean applications that don't conform at all to REST. There are quite a few. Hotmail for...
Nic James Ferrier
nferrier_tap...
Offline Send Email
May 30, 2007
7:27 pm

... or gMail, or Yahoo! mail ... Virtually every e-commerce site ... It's probably easier to list the RESTful ones! ... Not necessarily. It is relatively easy...
Alan Dean
alan_james_dean
Offline Send Email
May 30, 2007
7:58 pm

... Interesting view. I think AJAX works best when you have a RESTfull description of how something holds together. In other words AJAX just helps integrate...
Nic James Ferrier
nferrier_tap...
Offline Send Email
May 30, 2007
8:40 pm

... I would agree - done right. But isn't that always the catch? The hardest thing about REST isn't the architectural style itself, it isn't the URI-space: it...
Alan Dean
alan_james_dean
Offline Send Email
May 30, 2007
8:54 pm
First  | < Prev  |  Last 
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help