You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
					
						
							1.9 KiB
						
					
					
				
			
		
		
		
			
			
			
		
		
	
	
							1.9 KiB
						
					
					
				Call API
Base endpoint is: /ocs/v2.php/apps/spreed/api/v1
Get list of connected participants
- 
Method: GET
- 
Endpoint: /call/{token}
- 
Response: - 
Header: - 200 OK
- 403 ForbiddenWhen the conversation is read-only
- 404 Not FoundWhen the conversation could not be found for the participant
- 412 Precondition FailedWhen the lobby is active and the user is not a moderator
 
- 
Data: Array of participants, each participant has at least: field type Description userIdstring Is empty for guests lastPingint Timestamp of the last ping of the user (should be used for sorting) sessionIdstring 512 character long string 
 
- 
Join a call
- 
Method: POST
- 
Endpoint: /call/{token}
- 
Data: field type Description flagsint Flags what streams are provided by the participant (see Constants - Participant in-call flag) 
- 
Response: - Header:
- 200 OK
- 403 ForbiddenWhen the conversation is read-only
- 404 Not FoundWhen the conversation could not be found for the participant
- 404 Not FoundWhen the user did not join the conversation before
- 412 Precondition FailedWhen the lobby is active and the user is not a moderator
 
 
- Header:
Leave a call (but staying in the conversation for future calls and chat)
- 
Method: DELETE
- 
Endpoint: /call/{token}
- 
Response: - Header:
- 200 OK
- 403 ForbiddenWhen the conversation is read-only
- 404 Not FoundWhen the conversation could not be found for the participant
- 404 Not FoundWhen the user did not join the conversation before
- 412 Precondition FailedWhen the lobby is active and the user is not a moderator
 
 
- Header: