mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-10-01 01:36:00 -04:00
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.
44 lines
797 B
JSON
44 lines
797 B
JSON
{
|
|
"id": 358,
|
|
"book_id": 1,
|
|
"chapter_id": 0,
|
|
"name": "My API Page",
|
|
"slug": "my-api-page",
|
|
"html": "<p id=\"bkmrk-my-new-api-page\">my new API page</p>",
|
|
"raw_html": "<p id=\"bkmrk-my-new-api-page\">my new API page</p>",
|
|
"priority": 15,
|
|
"created_at": "2020-11-28T15:01:39.000000Z",
|
|
"updated_at": "2020-11-28T15:01:39.000000Z",
|
|
"created_by": {
|
|
"id": 1,
|
|
"name": "Admin",
|
|
"slug": "admin"
|
|
},
|
|
"updated_by": {
|
|
"id": 1,
|
|
"name": "Admin",
|
|
"slug": "admin"
|
|
},
|
|
"owned_by": {
|
|
"id": 1,
|
|
"name": "Admin",
|
|
"slug": "admin"
|
|
},
|
|
"draft": false,
|
|
"markdown": "",
|
|
"revision_count": 1,
|
|
"template": false,
|
|
"editor": "wysiwyg",
|
|
"tags": [
|
|
{
|
|
"name": "Category",
|
|
"value": "Not Bad Content",
|
|
"order": 0
|
|
},
|
|
{
|
|
"name": "Rating",
|
|
"value": "Average",
|
|
"order": 1
|
|
}
|
|
]
|
|
} |