mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-06-10 13:43:38 +08:00
Default chapter templates: Updated api docs and tests
Also applied minor tweaks to some wording and logic. During review of #4750
This commit is contained in:
@ -3,6 +3,7 @@
|
||||
"name": "My fantastic new chapter",
|
||||
"description_html": "<p>This is a <strong>great new chapter</strong> that I've created via the API</p>",
|
||||
"priority": 15,
|
||||
"default_template_id": 25,
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Top Content"},
|
||||
{"name": "Rating", "value": "Highest"}
|
||||
|
@ -3,6 +3,7 @@
|
||||
"name": "My fantastic updated chapter",
|
||||
"description_html": "<p>This is an <strong>updated chapter</strong> that I've altered via the API</p>",
|
||||
"priority": 16,
|
||||
"default_template_id": 2428,
|
||||
"tags": [
|
||||
{"name": "Category", "value": "Kinda Good Content"},
|
||||
{"name": "Rating", "value": "Medium"}
|
||||
|
@ -11,6 +11,7 @@
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"description_html": "<p>This is a <strong>great new chapter<\/strong> that I've created via the API<\/p>",
|
||||
"default_template_id": 25,
|
||||
"tags": [
|
||||
{
|
||||
"name": "Category",
|
||||
|
@ -5,6 +5,7 @@
|
||||
"name": "Content Creation",
|
||||
"description": "How to create documentation on whatever subject you need to write about.",
|
||||
"description_html": "<p>How to create <strong>documentation</strong> on whatever subject you need to write about.</p>",
|
||||
"default_template_id": 25,
|
||||
"priority": 3,
|
||||
"created_at": "2019-05-05T21:49:56.000000Z",
|
||||
"updated_at": "2019-09-28T11:24:23.000000Z",
|
||||
|
@ -11,6 +11,7 @@
|
||||
"updated_by": 1,
|
||||
"owned_by": 1,
|
||||
"description_html": "<p>This is an <strong>updated chapter<\/strong> that I've altered via the API<\/p>",
|
||||
"default_template_id": 2428,
|
||||
"tags": [
|
||||
{
|
||||
"name": "Category",
|
||||
|
Reference in New Issue
Block a user