Skip to content
This repository has been archived by the owner on Mar 3, 2022. It is now read-only.

This is not "Truly Restful" #11

Open
inadarei opened this issue Mar 23, 2013 · 2 comments
Open

This is not "Truly Restful" #11

inadarei opened this issue Mar 23, 2013 · 2 comments

Comments

@inadarei
Copy link

I would drop "truly RESTful API" mentioned couple times. Especially since you mention Roy's name in the same document. I don't want to speak for Roy, but considering his writing he would not call these guidelines RESTful at all. Case in point:
http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven

Your document adheres to what a lot of people commonly call REST and what I used to call "pragmatic REST" years ago, but it's not Hypermedia APIs, which is what Roy would call "true REST".

@mstade
Copy link

mstade commented Apr 22, 2013

👍

I agree. At best, this is level 2 but arguably, because of how the verbs are mapped to CRUD operations and ignore some of the semantics of the verbs (see #13 for further discussion) it's really just level 1.

@NoahKunin
Copy link
Contributor

I think this is more a problem with the presentation. I don't read this to say these verbs will always map to these CRUD OPs on every API the WH releases. It's just an example, from an outside source at that.

The only declared exceptions are the section above, under Pragmatic REST. Some copy above the verb table could go a long way to clarify. I'll put in a pull request later for some clarifying text above that table.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants