Lista os anfitriões do evento
GET/api/events/{id}/hosts
- Auth
- Requires a token
- API key:
- events:read
- X-CommunityId
X-CommunityIdSend the X-CommunityId of the community the operation happens in.
Endpoint descriptions come straight from the API specification and are in Portuguese for now. The interface around them is translated.
Para a equipe (owner, admin, moderador, financeiro) e os anfitriões do próprio evento. Os anfitriões também vêm em `hosts` no detalhe e na lista.
Parameters
| Name | In | Type | Description |
|---|---|---|---|
idrequired | path | string (uuid) |
Headers
| Name | Type | Description |
|---|---|---|
X-CommunityIdrequired | string (uuid) |
Responses
| Status | Description |
|---|---|
200 | Os anfitriões |
403 | Nem equipe nem anfitrião deste evento |
404 | Evento não encontrado nesta comunidade |
curl example
curl -X GET "https://api.memberfy.net/api/events/<id>/hosts" \
-H "Authorization: Bearer $TOKEN" \
-H "X-CommunityId: $COMMUNITY_ID"