Created
March 6, 2012 13:07
-
-
Save darrelmiller/1986176 to your computer and use it in GitHub Desktop.
Tekpub - all productions
This file contains hidden or 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
GET /user/95/allproductions | |
=> | |
200 OK | |
Content-Type: application/hal+json | |
{ | |
"_links" : { | |
"self" : { "href" : "/user/95/allproductions" }, | |
}, | |
"name" : "Joe", | |
"_embedded" : { | |
"urn:tekpub:production" : [ | |
{ "_links": { | |
"self": { "href": "/production/22" }, | |
}, | |
"allowed" : "true", | |
"title" : "Rails runs rings round ReST resource representations" | |
}, | |
{ "_links": { | |
"self": { "href": "/production/74" }, | |
}, | |
"allowed" : "false", | |
"title" : "Surfing the waves beats surfing an API" | |
} | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment