Content deleted Content added
|
|
==Example==
<source>
General Resource { "_links": { "self": { "href": "<nowiki>http://example.com/api/book/hal-cookbook</nowiki>" } }, "id": "hal-cookbook", "name": "HAL Cookbook" }
</source>
<source>
Embedded resource { "_links": {"self": {"href": "<nowiki>http://example.com/api/book/hal-cookbook"}}</nowiki>, "_embedded": { "author": { "_links": {"self": {"href": "<nowiki>http://author-example.com</nowiki>"}}, "id": "shahadat", "name": "Shahadat Hossain Khan" } } "id": "hal-cookbook", "name": "HAL Cookbook" }
</source>
<source>
Collections { "_links": { "self": {"href": "<nowiki>http://example.com/api/book/hal-cookbook</nowiki>"}, "next": {"href": "<nowiki>http://example.com/api/book/hal-case-study</nowiki>"}, "prev": {"href": "<nowiki>http://example.com/api/book/json-and-beyond</nowiki>"}, "first": {"href": "<nowiki>http://example.com/api/book/catalog</nowiki>"}, "last": {"href": "<nowiki>http://example.com/api/book/upcoming-books</nowiki>"} }, "_embedded": { "author": { "_links": {"self": {"href": "<nowiki>http://author-example.com</nowiki>"}}, "id": "shahadat", "name": "Shahadat Hossain Khan" } } "id": "hal-cookbook", "name": "HAL Cookbook" }
</source>
==See also==
|