Files
deck/docs/API-Nextcloud.md
Julius Härtl b494e9e1b0 Change level of api docs
Signed-off-by: Julius Härtl <jus@bitgrid.net>
2018-11-06 19:08:54 +01:00

769 B

Nextcloud APIs

Comments

Comments are stored using the Nextcloud Comments API. You can use the WebDAV endpoint of Nextcloud to fetch, update and delete comments.

List comments

PROPFINDremote.php/dav/comments/deckCard/{cardId}

Create comment

POST remote.php/dav/comments/deckCard/{cardId}

Update comment

PROPPATCH remote.php/dav/comments/deckCard/{cardId}/{commentId}

Delete comment

DELETE remote.php/dav/comments/deckCard/{cardId}/{commentId}

Activity

The Nextcloud activity app provides an API to fetch activities filtered for deck: Activity app API documentation

The deck app offers a filter deck to only request activity events that are relevant.