summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2024-02-26 11:57:09 +0100
committerJoas Schilling <coding@schilljs.com>2024-03-14 16:16:32 +0100
commit13a5f6790e902aa47c0d6d789a9a6fdbb3908536 (patch)
treeb930d782ac2e55728f955e107b3ad384dab26924 /docs
parent8b1f7915ba0cdf5fdb29cebbafd9186bb799f29d (diff)
feat(federation): Implement polls
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/poll.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/poll.md b/docs/poll.md
index 8d41e105f..7ea130a3a 100644
--- a/docs/poll.md
+++ b/docs/poll.md
@@ -4,6 +4,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## Create a poll in a conversation
+* Federation capability: `federation-v1`
* Method: `POST`
* Endpoint: `/poll/{token}`
* Data:
@@ -31,6 +32,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## Get state or result of a poll
+* Federation capability: `federation-v1`
* Method: `GET`
* Endpoint: `/poll/{token}/{pollId}`
@@ -48,6 +50,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## Vote on a poll
+* Federation capability: `federation-v1`
* Method: `POST`
* Endpoint: `/poll/{token}/{pollId}`
* Data:
@@ -72,6 +75,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
## Close a poll
+* Federation capability: `federation-v1`
* Method: `DELETE`
* Endpoint: `/poll/{token}/{pollId}`