Skip to content

Instantly share code, notes, and snippets.

@KellyRice
Created September 14, 2012 15:03
Show Gist options
  • Save KellyRice/3722482 to your computer and use it in GitHub Desktop.
Save KellyRice/3722482 to your computer and use it in GitHub Desktop.
Kinvey REST Relations
GET /appdata/:appKey/:collectionName/:id?resolve_depth=2&retainReferences=false HTTP/1.1
Host: baas.kinvey.com
Authorization: [user credentials]
HTTP/1.1 200 OK
Content-Type: application/json
{
"_id": "HPBook6",
"title": "Harry Potter and the Half-Blood Prince",
"language": "English",
"released": "07/25/2006",
"author":
{
"_id": "JoJKR",
"last_name": "Rowling"
"first_name": "Joanne",
"nationality": "British",
"occupation": "novelist",
"location":
{
"_id": "GeteTown",
"city": "Yate",
"state": "Gloucestershire",
"country": "England"
}
"website": "www.jkrowling.com",
"_kmd":
{
"lmt": "2012-08-24T11:31:19.631Z"
},
"_acl":
{
"creator": "503bc180605ae2d6f010007"
}
},
"publisher":
{
"_id": "SCHL",
"company": "Scholastic",
"founded": "1920",
"industry": "Books, Printing, and Publishing",
"ticker": "NASDAQ:SCHL",
"location":
{
"_id": "TheBigApple",
"city": "New York",
"state": "New York",
"country": "USA"
},
"website": "www.scholastic.com",
"_kmd":
{
"lmt": "2012-08-21T12:10:29.131Z"
},
"_acl":
{
"creator": "503bc180605ae2d6f010007"
}
},
"_kmd":
{
"lmt": "2012-08-30T21:43:41.125Z"
},
"_acl":
{
"creator": "503bc9806065332d6f000005"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment