Skip to content

Instantly share code, notes, and snippets.

@florent37
Created March 18, 2019 11:00
Show Gist options
  • Save florent37/076d310dcb9b4359ce482b0582d27219 to your computer and use it in GitHub Desktop.
Save florent37/076d310dcb9b4359ce482b0582d27219 to your computer and use it in GitHub Desktop.
{
"data": {
"type": "articles",
"id": "id",
"attributes": {
"title": "title"
},
"relationships": {
"author": {
"data": {
"type": "people",
"id": "id"
}
}
}
},
"included": [
{
"type": "people",
"id": "id",
"attributes": {
"firstName": "John"
}
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment