Skip to content

Instantly share code, notes, and snippets.

@bogsio
Created July 25, 2014 11:02
Show Gist options
  • Save bogsio/0a6ff915a7f052d4ad54 to your computer and use it in GitHub Desktop.
Save bogsio/0a6ff915a7f052d4ad54 to your computer and use it in GitHub Desktop.
TPT3 - json with foreign keys
{
"meta":{
"limit":20,
"next":null,
"offset":0,
"previous":null,
"total_count":2
},
"objects":[
{
"id":1,
"resource_uri":"/api/v1/item/1/",
"text":"Learn TastyPie",
"todo_list":"/api/v1/list/1/"
},
{
"id":2,
"resource_uri":"/api/v1/item/2/",
"text":"Finish this tut",
"todo_list":"/api/v1/list/1/"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment