Skip to content

Instantly share code, notes, and snippets.

@antoniogarrote
Created September 8, 2016 16:21
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 antoniogarrote/711c12b3f34820c325d199ec7b8bbc6d to your computer and use it in GitHub Desktop.
Save antoniogarrote/711c12b3f34820c325d199ec7b8bbc6d to your computer and use it in GitHub Desktop.
{
"@context": { "@vocab": "http://todosapp.com/api/vocab#" },
"@id": "http://todosapp.com/api/version_5/users/1#self",
"resource_type": "User",
"name": "John Doo",
"email": "john.doo@test.com",
"described_by": { "@id": "http://todosapp.com/api/version_5/spec.raml" },
"todos": {
"@id": "http://todosapp.com/api/version_4/todos#self",
"operations": [
{
"method": "GET",
"returns": "Collection"
},
{
"method": "POST",
"expects": "TodoTemplate",
"returns": "Todo"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment