mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-08-06 12:02:45 +03:00
added template to chapter API controller
This commit is contained in:
@@ -21,6 +21,7 @@ class ChapterApiController extends ApiController
|
|||||||
'description_html' => ['string', 'max:2000'],
|
'description_html' => ['string', 'max:2000'],
|
||||||
'tags' => ['array'],
|
'tags' => ['array'],
|
||||||
'priority' => ['integer'],
|
'priority' => ['integer'],
|
||||||
|
'default_template_id' => ['nullable', 'integer'],
|
||||||
],
|
],
|
||||||
'update' => [
|
'update' => [
|
||||||
'book_id' => ['integer'],
|
'book_id' => ['integer'],
|
||||||
@@ -29,6 +30,7 @@ class ChapterApiController extends ApiController
|
|||||||
'description_html' => ['string', 'max:2000'],
|
'description_html' => ['string', 'max:2000'],
|
||||||
'tags' => ['array'],
|
'tags' => ['array'],
|
||||||
'priority' => ['integer'],
|
'priority' => ['integer'],
|
||||||
|
'default_template_id' => ['nullable', 'integer'],
|
||||||
],
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user