9ca1139ab0
Review of #4313 - Made constructor changes while reviewing some classes. - Updated API examples for consistency. - Tweaked formatting for some array changes. - Simplified added tests. - Tweaked chapter/page repo priority handling to be simpler. Performed manual API endpoint testing of page/chapter create/update.
26 lines
No EOL
584 B
JSON
26 lines
No EOL
584 B
JSON
{
|
|
"id": 75,
|
|
"book_id": 1,
|
|
"slug": "my-fantastic-updated-chapter",
|
|
"name": "My fantastic updated chapter",
|
|
"description": "This is an updated chapter that I've altered via the API",
|
|
"priority": 16,
|
|
"created_at": "2020-05-22T23:03:35.000000Z",
|
|
"updated_at": "2020-05-22T23:07:20.000000Z",
|
|
"created_by": 1,
|
|
"updated_by": 1,
|
|
"owned_by": 1,
|
|
"book_slug": "bookstack-demo-site",
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Kinda Good Content",
|
|
"order": 0
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Medium",
|
|
"order": 1
|
|
}
|
|
]
|
|
} |