mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-12-14 07:07:21 +08: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.
11 lines
220 B
JSON
11 lines
220 B
JSON
{
|
|
"chapter_id": 1,
|
|
"name": "My updated API Page",
|
|
"html": "<p>my new API page - Updated</p>",
|
|
"priority": 16,
|
|
"tags": [
|
|
{"name": "Category", "value": "API Examples"},
|
|
{"name": "Rating", "value": "Alright"}
|
|
]
|
|
}
|