forked from nextcloud/deck
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Julius Härtl <[email protected]>
- Loading branch information
1 parent
fdd248b
commit b494e9e
Showing
2 changed files
with
160 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# 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 | ||
|
||
PROPFIND`remote.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](https://github.com/nextcloud/activity/blob/master/docs/endpoint-v2.md) | ||
|
||
The deck app offers a filter `deck` to only request activity events that are relevant. |
Oops, something went wrong.