mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Added pages API doc examples
Made some tweaks to related content and other examples while there.
This commit is contained in:
9
dev/api/requests/pages-create.json
Normal file
9
dev/api/requests/pages-create.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"book_id": 1,
|
||||
"name": "My API Page",
|
||||
"html": "<p>my new API page</p>",
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Not Bad Content"},
|
||||
{"name": "Rating", "value": "Average"}
|
||||
]
|
||||
}
|
9
dev/api/requests/pages-update.json
Normal file
9
dev/api/requests/pages-update.json
Normal file
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"chapter_id": 1,
|
||||
"name": "My updated API Page",
|
||||
"html": "<p>my new API page - Updated</p>",
|
||||
"tags": [
|
||||
{"name": "Category", "value": "API Examples"},
|
||||
{"name": "Rating", "value": "Alright"}
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user