X-Git-Url: http://source.bookstackapp.com/bookstack/blobdiff_plain/a04a800258b726876ff2badffe903b247aa0f676..refs/pull/2791/head:/app/Http/Controllers/Api/PageApiController.php diff --git a/app/Http/Controllers/Api/PageApiController.php b/app/Http/Controllers/Api/PageApiController.php index 0b3323ccd..fd4a16eff 100644 --- a/app/Http/Controllers/Api/PageApiController.php +++ b/app/Http/Controllers/Api/PageApiController.php @@ -47,7 +47,8 @@ class PageApiController extends ApiController return $this->apiListingResponse($pages, [ 'id', 'book_id', 'chapter_id', 'name', 'slug', 'priority', 'draft', 'template', - 'created_at', 'updated_at', 'created_by', 'updated_by', + 'created_at', 'updated_at', + 'created_by', 'updated_by', 'owned_by', ]); } @@ -59,6 +60,8 @@ class PageApiController extends ApiController * * Any HTML content provided should be kept to a single-block depth of plain HTML * elements to remain compatible with the BookStack front-end and editors. + * Any images included via base64 data URIs will be extracted and saved as gallery + * images against the page during upload. */ public function create(Request $request) {