Geek Social — Documentação
API ReferenceEvents

PUT /events/:id/participants/me

Entrar em um evento

PUT/events/:id/participants/meAuth: accessToken

Adiciona o usuário autenticado como participante do evento.

Request

Esta requisição não tem corpo.

Response

200

{
  "userId": "uuid",
  "eventId": "uuid",
  "status": "pending",
  "joinedAt": "ISO 8601"
}

Erros

CódigoDescrição
401Não autenticado
404Evento não encontrado
409Usuário já é participante do evento

Exemplos

curl -X PUT 'https://geeksocialapi.homelab-cloud.com/events/{id}/participants/me' \
  -H 'Authorization: Bearer SEU_ACCESS_TOKEN'
await fetch('https://geeksocialapi.homelab-cloud.com/events/{id}/participants/me', {
  method: 'PUT',
  headers: { Authorization: 'Bearer ' + accessToken },
})

On this page