From 13a5f6790e902aa47c0d6d789a9a6fdbb3908536 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 26 Feb 2024 11:57:09 +0100 Subject: feat(federation): Implement polls Signed-off-by: Joas Schilling --- docs/poll.md | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'docs') 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}` -- cgit v1.2.3