Desliga a chamada de vídeo
POST/api/chat/calls/{id}/end
- Auth
- Token erforderlich
- API-Schlüssel:
- Kein API-Schlüssel möglich
- X-CommunityId
X-CommunityIdSende die X-CommunityId der Community, in der die Operation stattfindet.
Die Beschreibungen der Endpoints stammen aus der API-Spezifikation und sind vorerst auf Portugiesisch. Die Oberfläche drumherum ist übersetzt.
Qualquer uma das duas pessoas. Atendida: encerra a sala para as duas e a conversa ganha "Chamada de vídeo · N min" (`call.outcome: completed`). Ainda tocando: vale como cancelar/recusar (chamada perdida). A sala que fica vazia, chega ao teto de duração ou ao saldo zero também encerra a chamada sozinha.
Parameter
| Name | Ort | Typ | Beschreibung |
|---|---|---|---|
idPflicht | path | string (uuid) |
Header
| Name | Typ | Beschreibung |
|---|---|---|
X-CommunityIdoptional | string (uuid) | ID da comunidade em que a operação acontece. Obrigatório na maioria dos endpoints com escopo de comunidade. |
Request-Body application/json
Die Spezifikation deklariert die Felder dieses Bodys nicht (zum Beispiel ein Multipart-Upload). Siehe die Anleitung zum Thema.
Antworten
| Status | Beschreibung |
|---|---|
200 | Encerrada. |
404 | Recurso não encontrado. |
409 | `callNotActive`. |
curl-Beispiel
curl -X POST "https://api.memberfy.net/api/chat/calls/<id>/end" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID" \
-H "Content-Type: application/json" \
-d '{}'