ccfe38e963
Remove the book attribute in responses because it is never returned by the API. Currently, Chapters Create does not return book_slug! (The example response is consistent with the inconsistent API behavior)
25 lines
No EOL
532 B
JSON
25 lines
No EOL
532 B
JSON
{
|
|
"id": 74,
|
|
"book_id": 1,
|
|
"slug": "my-fantastic-new-chapter",
|
|
"name": "My fantastic new chapter",
|
|
"description": "This is a great new chapter that I've created via the API",
|
|
"priority": 6,
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1,
|
|
"updated_at": "2020-05-22T22:59:55.000000Z",
|
|
"created_at": "2020-05-22T22:59:55.000000Z",
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Top Content",
|
|
"order": 0
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Highest",
|
|
"order": 1
|
|
}
|
|
]
|
|
} |