Created
February 8, 2015 06:57
-
-
Save tjklemz/d46a964bdc777b41cc7f to your computer and use it in GitHub Desktop.
embedded vs links
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"_links": { | |
"self": { "href" : "https://cloud.paulmarsoftware.com/api/nobl/reports" }, | |
"group": [ | |
{ "title": "Accounting", "href" : "https://cloud.paulmarsoftware.com/api/nobl/reports/accounting" }, | |
{ "title": "Account Details", "href" : "https://cloud.paulmarsoftware.com/api/nobl/reports/account-details" }, | |
... | |
... | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
N.B. "title" instead of "name". These are now "pure links" in the traditional Hypermedia sense. There's no data associated with them like with an embedded resource. The only properties you get are "rel" (which is "group"), "title", "href", and "profile" (which we're putting off until later).