]> BookStack Code Mirror - bookstack/commit
API: Added examples for comments comments_api 5850/head
authorDan Brown <redacted>
Fri, 24 Oct 2025 14:14:25 +0000 (15:14 +0100)
committerDan Brown <redacted>
Fri, 24 Oct 2025 14:14:25 +0000 (15:14 +0100)
commita949900570c80c9c46c140a57c17e2d42738232e
treea55af0042164fbc436f29381f54447889a207ab4
parent9c4a9225af6f7fdcaf8494e8562197d831d25237
API: Added examples for comments

Tweaked comment repo to avoid returning a lot of extra data on API
update responses.
app/Activity/CommentRepo.php
dev/api/requests/comments-create.json [new file with mode: 0644]
dev/api/requests/comments-update.json [new file with mode: 0644]
dev/api/responses/comments-create.json [new file with mode: 0644]
dev/api/responses/comments-list.json [new file with mode: 0644]
dev/api/responses/comments-read.json [new file with mode: 0644]
dev/api/responses/comments-update.json [new file with mode: 0644]
dev/api/responses/pages-read.json