Skip to content

Instantly share code, notes, and snippets.

@simistern
Last active November 20, 2020 16:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save simistern/5ad6f8006d0de2868efac8b7989f1f84 to your computer and use it in GitHub Desktop.
Save simistern/5ad6f8006d0de2868efac8b7989f1f84 to your computer and use it in GitHub Desktop.
ketting example
{
"_links": {
"self": {
"href": "/author/4554"
},
"curries": [
{
"name": "ns",
"href": "http://booklistapi.com/rels/{rel}",
"templated": true
}
]
},
"_embedded": {
"ns:books": [
{
"_links": {
"self": {
"href": "/books/123"
}
},
"Title": "RESTful Web APIs",
"Price": "$31.92"
},
{
"_links": {
"self": {
"href": "/books/366"
}
},
"Title": "RESTful Web Services",
"Price": "$79.78"
},
{
"_links": {
"self": {
"href": "/books/865"
}
},
"Title": "Ruby Cookbook",
"Price": "$34.35"
}
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment