mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-07 23:03:00 +03:00
Input WYSIWYG: Updated API examples to align with changes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "My own book",
|
||||
"description": "This is my own little book",
|
||||
"default_template_id": 12,
|
||||
"description_html": "<p>This is <strong>my</strong> own little book created via the API</p>",
|
||||
"default_template_id": 2427,
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Top Content"},
|
||||
{"name": "Rating", "value": "Highest"}
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "My updated book",
|
||||
"description": "This is my book with updated details",
|
||||
"default_template_id": 12,
|
||||
"description_html": "<p>This is my book with <em>updated</em> details</p>",
|
||||
"default_template_id": 2427,
|
||||
"tags": [
|
||||
{"name": "Subject", "value": "Updates"}
|
||||
]
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"book_id": 1,
|
||||
"name": "My fantastic new chapter",
|
||||
"description": "This is a great new chapter that I've created via the API",
|
||||
"description_html": "<p>This is a <strong>great new chapter</strong> that I've created via the API</p>",
|
||||
"priority": 15,
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Top Content"},
|
||||
|
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"book_id": 1,
|
||||
"name": "My fantastic updated chapter",
|
||||
"description": "This is an updated chapter that I've altered via the API",
|
||||
"description_html": "<p>This is an <strong>updated chapter</strong> that I've altered via the API</p>",
|
||||
"priority": 16,
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Kinda Good Content"},
|
||||
|
@@ -1,5 +1,8 @@
|
||||
{
|
||||
"name": "My shelf",
|
||||
"description": "This is my shelf with some books",
|
||||
"books": [5,1,3]
|
||||
"description_html": "<p>This is <strong>my shelf</strong> with some books</p>",
|
||||
"books": [5,1,3],
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Learning"}
|
||||
]
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
{
|
||||
"name": "My updated shelf",
|
||||
"description": "This is my update shelf with some books",
|
||||
"description_html": "<p>This is my <em>updated shelf</em> with some books</p>",
|
||||
"books": [5,1,3]
|
||||
}
|
Reference in New Issue
Block a user