]> BookStack Code Mirror - bookstack/commit
API: Added comment CUD endpoints, drafted tests
authorDan Brown <redacted>
Thu, 23 Oct 2025 09:21:33 +0000 (10:21 +0100)
committerDan Brown <redacted>
Thu, 23 Oct 2025 09:21:33 +0000 (10:21 +0100)
commitcbf27d70c823c696a831f1945e4a7b869af8ce65
treeedfcd565b3cfeae51681e2a5a060a3a18a78736d
parent3ad1e31fcccd38bf864d54f4f813c81fb4574c4c
API: Added comment CUD endpoints, drafted tests

Move some checks and made some tweaks to the repo to support consistency
between API and UI.
app/Activity/CommentRepo.php
app/Activity/Controllers/CommentApiController.php
app/Activity/Controllers/CommentController.php
app/Http/ApiController.php
app/Permissions/Permission.php
tests/Activity/CommentsApiTest.php [new file with mode: 0644]
tests/Api/BooksApiTest.php