summaryrefslogtreecommitdiffstats
path: root/docs/participant.md
diff options
context:
space:
mode:
authorMario Đanić <mario@lovelyhq.com>2020-01-30 22:38:42 +0100
committerGitHub <noreply@github.com>2020-01-30 22:38:42 +0100
commit95eeaf769b9682af80995ea3d131ae383b80f570 (patch)
treeec3a635d121fbd267ccf93e2dad2f3960c4e7433 /docs/participant.md
parent56eeb09cb44b756f2cef9ada73055b4d419d4248 (diff)
Clarify circles support when adding participants
Diffstat (limited to 'docs/participant.md')
-rw-r--r--docs/participant.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/participant.md b/docs/participant.md
index 4c4a8c4f1..c5f937b5a 100644
--- a/docs/participant.md
+++ b/docs/participant.md
@@ -33,13 +33,13 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
field | type | Description
------|------|------------
- `newParticipant` | string | User, group or email to add
+ `newParticipant` | string | User, group, email or circle to add
`source` | string | Source of the participant(s) as returned by the autocomplete suggestion endpoint (default is `users`)
* Response:
- Header:
+ `200 OK`
- + `400 Bad Request` When the source type is unknown, currently `users`, `groups` and `emails` are supported
+ + `400 Bad Request` When the source type is unknown, currently `users`, `groups`, `emails` are supported. `circles` are supported with `circles-support` capability
+ `400 Bad Request` When the conversation is a one-to-one conversation
+ `403 Forbidden` When the current user is not a moderator or owner
+ `404 Not Found` When the conversation could not be found for the participant