Last active
August 29, 2015 14:19
-
-
Save DracoBlue/32b2e006dbb32e6faf3f to your computer and use it in GitHub Desktop.
HAL Editors for https://github.com/DracoBlue/hateoas-notes
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
{ | |
"title": "Apples", | |
"tags": ["fruits"], | |
"id": "4ec92e34-34fb-47c1-a2b9-139866eb431a", | |
"_links": { | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a"}, | |
"up": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes"}, | |
"https://hateoas-notes.herokuapp.com/rels/owner": { | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1", | |
} | |
} | |
} |
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
{ | |
"title": "Apples", | |
"tags": ["fruits"], | |
"id": "4ec92e34-34fb-47c1-a2b9-139866eb431a", | |
"_links": { | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a"}, | |
"up": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes"}, | |
"https://hateoas-notes.herokuapp.com/rels/owner": { | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1" | |
}, | |
"https://hateoas-notes.herokuapp.com/rels/editors": [{ | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1" | |
},{ | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/ae86f7a8-8s7d-8s7d-8s7d-ae86f7a88s7d" | |
}] | |
} | |
} |
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
{ | |
"title": "Apples", | |
"tags": ["fruits"], | |
"id": "4ec92e34-34fb-47c1-a2b9-139866eb431a", | |
"_links": { | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a"}, | |
"up": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes"}, | |
"https://hateoas-notes.herokuapp.com/rels/owner": { | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1" | |
}, | |
}, | |
"_embedded": { | |
"https://hateoas-notes.herokuapp.com/rels/editors": [{ | |
"_links": { | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a/editors/61a4552c-d73e-4176-a912-adf404f5b6d1"}, | |
"https://hateoas-notes.herokuapp.com/rels/user": { | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1" | |
} | |
} | |
},{ | |
"_links": { | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a/editors/ae86f7a8-8s7d-8s7d-8s7d-ae86f7a88s7d"}, | |
"https://hateoas-notes.herokuapp.com/rels/user": { | |
"href": "https://hateoas-notes.herokuapp.com/api/hal/users/ae86f7a8-8s7d-8s7d-8s7d-ae86f7a88s7d" | |
} | |
} | |
}] | |
} | |
} |
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": { | |
"first": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a/editors?offset=0&limit=20"}, | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a/editors?offset=0&limit=20"}, | |
"up": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a"}, | |
"last": {"href": "https://hateoas-notes.herokuapp.com/api/hal/notes/4ec92e34-34fb-47c1-a2b9-139866eb431a/editors?offset=0&limit=20"}, | |
"https://hateoas-notes.herokuapp.com/rels/user": [{"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1"}] | |
}, | |
"_embedded": { | |
"https://hateoas-notes.herokuapp.com/rels/user": [ | |
{ | |
"username": "test", | |
"id": "61a4552c-d73e-4176-a912-adf404f5b6d1", | |
"passwordHash": "5baa61e4c9b93f3f0682250b6cf8331b7ee68fd8", | |
"_links": { | |
"self": {"href": "https://hateoas-notes.herokuapp.com/api/hal/users/61a4552c-d73e-4176-a912-adf404f5b6d1"}, | |
"up": {"href": "https://hateoas-notes.herokuapp.com/api/hal/users"} | |
} | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment