Geek Social — Documentação
API ReferenceEvents

GET /events/:id

Obter detalhes de um evento

GET/events/:idAuth: accessToken

Retorna 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ódigoDescrição
401Não autenticado
404Evento 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 },
})

On this page