- API v1: π Removed with API v4: until Nextcloud 21
- API v2: π Removed with API v4: Nextcloud 21 only
- API v3: π Removed with API v4: Nextcloud 21 only
- API v4: Base endpoint
/ocs/v2.php/apps/spreed/api/v4: since Nextcloud 22
!!! note
At the moment, joining a room is only possible with cookies, as you need a
session.
-
Method:
GET -
Endpoint:
/call/{token} -
Response:
-
Status code:
200 OK403 ForbiddenWhen the conversation is read-only404 Not FoundWhen the conversation could not be found for the participant412 Precondition FailedWhen the lobby is active and the user is not a moderator
-
Data: Array of participants, each participant has at least:
-
| field | type | Added | Removed | Description |
|---|---|---|---|---|
actorType |
string | v3 | Actor type of the attendee (see Constants - Attendee types) | |
actorId |
string | v3 | The user id, guest random id or email address of the attendee | |
userId |
string | v1 | v3 | The user id replaced with actorType = users and actorId being the userId |
displayName |
string | v3 | The display name of the attendee | |
lastPing |
int | v1 | Timestamp of the last ping of the user (should be used for sorting) | |
sessionId |
string | v1 | 512 character long string |
- Method:
POST - Endpoint:
/call/{token} - Data:
| field | type | Description |
|---|---|---|
flags |
int | Flags what streams are provided by the participant (see Constants - Participant in-call flag) |
silent |
bool | Disable start call notifications for group/public calls |
- Response:
- Status code:
200 OK403 ForbiddenWhen the conversation is read-only404 Not FoundWhen the conversation could not be found for the participant404 Not FoundWhen the user did not join the conversation before412 Precondition FailedWhen the lobby is active and the user is not a moderator
- Status code:
- Required capability:
send-call-notification - Method:
POST - Endpoint:
/call/{token}/ring/{attendeeId} - Data:
| field | type | Description |
|---|---|---|
attendeeId |
int | The participant to notify |
- Response:
- Status code:
200 OK400 Bad RequestWhen the target participant is not a user (Guest, group, etc.)400 Bad RequestWhen the target participant is already in the call400 Bad RequestWhen the room has no call in process400 Bad RequestWhen the actor is not in the call403 ForbiddenWhen the current user is not a moderator404 Not FoundWhen the conversation could not be found for the participant412 Precondition FailedWhen the lobby is active and the user is not a moderator
- Status code:
- Method:
PUT - Endpoint:
/call/{token} - Data:
| field | type | Description |
|---|---|---|
flags |
int | Flags what streams are provided by the participant (see Constants - Participant in-call flag) |
- Response:
- Status code:
200 OK400 Bad RequestWhen the user is not in the call400 Bad RequestWhen the flags do not contain "in call"403 ForbiddenWhen the conversation is read-only404 Not FoundWhen the conversation could not be found for the participant404 Not FoundWhen the user did not join the conversation before412 Precondition FailedWhen the lobby is active and the user is not a moderator
- Status code:
-
Method:
DELETE -
Endpoint:
/call/{token} -
Response:
- Status code:
200 OK403 ForbiddenWhen the conversation is read-only404 Not FoundWhen the conversation could not be found for the participant404 Not FoundWhen the user did not join the conversation before412 Precondition FailedWhen the lobby is active and the user is not a moderator
- Status code: