Slide 19
Slide 19 text
@gheb_dev
LvL 3: Hateoas - Hypermedia As The Engine
Of Application State. We add links to describe
how to get to the information in the answer.
{
"@context": {
"comments": "http://api.example.com/vocab#comments"
},
"@id": "http://api.example.com/an-issue",
"title": "An exemplary issue linking to its comments",
"comments": { "@id": "http://api.example.com/an-issue/comments" }
}