Estado do convidado (sala de espera)
POST/api/studio/guest/session
- Auth
- Öffentlich
- 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.
Sem login: o `secret` da entrada. `waiting` enquanto o anfitrião não admite; `admitted` (com `onStage`) depois; `removed` quando foi recusado, expulso ou o link foi revogado antes de ele entrar. Sala apagada, outra comunidade ou segredo desconhecido: 404 `guestNotFound`.
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
| Name | Typ | Beschreibung |
|---|---|---|
secretPflicht | string | min 16, max 128 |
Antworten
| Status | Beschreibung |
|---|---|
200 | Estado. |
400 | Requisição inválida — falha de validação. |
404 | Recurso não encontrado. |
429 | Muitas tentativas. |
curl-Beispiel
curl -X POST "https://api.memberfy.net/api/studio/guest/session" \
-H "X-CommunityId: $COMMUNITY_ID" \
-H "Content-Type: application/json" \
-d '{"secret":"string"}'