Created
June 18, 2017 11:58
-
-
Save wlk/287911382aa366e1b5cb9373d86a639f to your computer and use it in GitHub Desktop.
This file contains 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
{ | |
"data": { | |
"id": "1", | |
"type": "books", | |
"attributes": { | |
"date_published": "1954-07-29", | |
"title": "The Fellowship of the Ring", | |
"created_at": "2017-06-18 11:30:16", | |
"updated_at": "2017-06-18 11:30:16" | |
}, | |
"relationships": { | |
"chapters": { | |
"links": { | |
"self": "/v1/books/1/relationships/chapters", | |
"related": "/v1/books/1/chapters" | |
} | |
}, | |
"firstChapter": { | |
"links": { | |
"self": "/v1/books/1/relationships/firstChapter", | |
"related": "/v1/books/1/firstChapter" | |
} | |
}, | |
"series": { | |
"links": { | |
"self": "/v1/books/1/relationships/series", | |
"related": "/v1/books/1/series" | |
}, | |
"data": { | |
"id": "1", | |
"type": "series" | |
} | |
}, | |
"author": { | |
"links": { | |
"self": "/v1/books/1/relationships/author", | |
"related": "/v1/books/1/author" | |
}, | |
"data": { | |
"id": "1", | |
"type": "authors" | |
} | |
}, | |
"stores": { | |
"links": { | |
"self": "/v1/books/1/relationships/stores", | |
"related": "/v1/books/1/stores" | |
} | |
}, | |
"photos": { | |
"links": { | |
"self": "/v1/books/1/relationships/photos", | |
"related": "/v1/books/1/photos" | |
} | |
} | |
}, | |
"links": { | |
"self": "/v1/books/1" | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment