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

Implement HAL Specification #49

Open
paulstatezny opened this issue Apr 29, 2014 · 5 comments
Open

Implement HAL Specification #49

paulstatezny opened this issue Apr 29, 2014 · 5 comments

Comments

@paulstatezny
Copy link
Contributor

Implement HAL Specification

Related resource URLs in API responses.

http://stateless.co/hal_specification.html

@bjyoungblood
Copy link
Contributor

@bobeagan bobeagan added this to the Sprint ∞ milestone Jul 2, 2014
@bobeagan bobeagan added S-New and removed enhancement labels Jul 2, 2014
@paulstatezny
Copy link
Contributor Author

⏬ ☀️ 3️⃣

@zpchavez
Copy link
Contributor

🍍 5️⃣ ⭕

@paulstatezny paulstatezny added S-Open and removed S-New labels Jul 30, 2014
@baohx2000
Copy link
Contributor

Returning resource links is heavily used in many rest api abstractions like OData http://www.odata.org/documentation/odata-version-4-0/

@bobeagan bobeagan removed the X-05 label Feb 18, 2015
@baohx2000
Copy link
Contributor

TL;DR - hal is oversimplified IMO

hal seems to contain a lot of redundant or unnecessary data pertaining to related records which it assumes the user wants. Some of this of data should be accessible via an api metadata api call instead. Also, it seems to want you to define any other apis for paging & searching within the result data. This should be part of the api standardization/abstraction, not a one-off for each resource.

A good api standardization/abstraction includes methodologies for object & relation definition (metadata), paging, resource cacheing, filtering, and result data filtering (specifying what will be in the response). Of course, that's just the request side of things. Of course, there should also be standardization for creating/patching/deleting records, and a method for performing batch requests.

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

No branches or pull requests

5 participants