mirror of
https://github.com/BookStackApp/BookStack.git
synced 2025-11-04 13:31:45 +03:00
API: Added examples for comments
Tweaked comment repo to avoid returning a lot of extra data on API update responses.
This commit is contained in:
5
dev/api/requests/comments-create.json
Normal file
5
dev/api/requests/comments-create.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"page_id": 2646,
|
||||
"html": "<p>Can the title be updated?</p>",
|
||||
"content_ref": "bkmrk-page-title:7341676876991010:3-14"
|
||||
}
|
||||
4
dev/api/requests/comments-update.json
Normal file
4
dev/api/requests/comments-update.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"html": "<p>Can this comment be updated??????</p>",
|
||||
"archived": true
|
||||
}
|
||||
Reference in New Issue
Block a user