Skip to content

Instantly share code, notes, and snippets.

@chrisvfritz
Last active September 23, 2015 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save chrisvfritz/f3e6690ad1f512ded7c9 to your computer and use it in GitHub Desktop.
Save chrisvfritz/f3e6690ad1f512ded7c9 to your computer and use it in GitHub Desktop.
{
"data": [
{
...
"relationships": {
"events": [
// These can be ordered here
{ "type": "type1-events", "id": "89734" },
{ "type": "type2-events", "id": "83692" },
{ "type": "type3-events", "id": "36493" }
]
}
}
],
"included": {
"type1-events": {
"89734": { ... }
},
"type2-events": {
"83692": { ... }
},
"type3-events": {
"36493": { ... }
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment