API ReferenceEvents
GET /events/:id
Obter detalhes de um evento
GET
/events/:idAuth: accessTokenRetorna os dados completos de um evento, incluindo contagem de participantes.
Request
Esta requisição não tem corpo.
Response
200
{
"id": "uuid",
"title": "string",
"description": "string | null",
"date": "ISO 8601",
"location": "string | null",
"isOnline": false,
"maxParticipants": "number | null",
"coverUrl": "string | null",
"createdAt": "ISO 8601",
"ownerId": "uuid",
"participantsCount": 12
}Erros
| Código | Descrição |
|---|---|
| 401 | Não autenticado |
| 404 | Evento não encontrado |
Exemplos
curl -X GET 'https://geeksocialapi.homelab-cloud.com/events/{id}' \
-H 'Authorization: Bearer SEU_ACCESS_TOKEN'await fetch('https://geeksocialapi.homelab-cloud.com/events/{id}', {
method: 'GET',
headers: { Authorization: 'Bearer ' + accessToken },
})