GET /teams/{teamId}/calendar/events/{id}
Detalhe do event.
- Access: Team member
- Service:
https://api-calendar.axuz.net
Accepted authentication
sessionCookie— Sessão plena Axuz (cookie de sessão da casa). Sessão restrita é 403 enrollment_required.bearerSession— JWT de acesso da sessão em `Authorization: Bearer`.
Responde GET /teams/{teamId}/calendar/events/{id}.
Motivo: leitura de um único event (master row + metadados) para tela de detalhe.
Comportamento: exige team+user+id; delega repo.GetEvent; ErrNotFound → 404; 200 com entity.
Entradas: URL params. Saídas: JSON. Efeitos: SELECT em events.
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
teamId | path | string | yes | |
id | path | string | yes |
Responses
200
OK.
| Name | Type | Required | Description |
|---|---|---|---|
id | string<uuid> | yes | |
calendar_id | string<uuid> | null | no | |
calendar_name | string | no | |
calendar_color | string | no | |
team_id | string<uuid> | null | no | |
summary | string | yes | |
description | string | null | no | |
location | string | null | no | |
dtstart | string<date-time> | yes | |
dtend | string<date-time> | yes | |
all_day | boolean | yes | |
rrule | string | null | no | RFC5545 RRULE (ex: FREQ=WEEKLY;BYDAY=MO,WE). |
tz | string | no | IANA timezone name (Region/City). '' = UTC. |
is_recurring_instance | boolean | no | True quando é ocorrência expandida (não master row). |
recurrence_id | string<date-time> | null | no | dtstart canônico da ocorrência dentro da série. |
parent_event_id | string<uuid> | null | no | Aponta pro master quando é override. |
is_overridden | boolean | no | |
created_by | string<uuid> | no | |
created_at | string<date-time> | no | |
updated_at | string<date-time> | no | |
meet_room_id | string<uuid> | no | Sala de vídeo vinculada ao evento (F-063). AUSENTE quando o evento não tem sala — o cliente testa presença da chave, não string vazia. Só é devolvido em |
meet_room_slug | string | no | Slug da mesma sala. É a chave da entrada de CONVIDADO ( |
reminders | array<CalendarEventReminder> | no | Lembretes do evento (R-007). Devolvido em |
reminders[].id | string<uuid> | yes | |
reminders[].trigger_offset_minutes | integer | yes | |
reminders[].kind | string | yes | enum: |
reminders[].fired_at | string<date-time> | no | AUSENTE enquanto pendente; presente quando terminal. |
401
Faltando ou token inválido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Mensagem humana curta; sem stack. |
403
Sem permissao (nao e owner/admin; token sem escopo; token de integracao em rota nao permitida)
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
404
Recurso não encontrado.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes | Mensagem humana curta; sem stack. |
429
Limite de requisições excedido.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
500
Erro interno. Tente de novo com backoff; reporte o X-Request-Id.
| Name | Type | Required | Description |
|---|---|---|---|
error | string | yes |
Examples
"Try it" is turned off in this reference. Use the examples with your test credential.
curl
curl -sS -X GET 'https://api-calendar.axuz.net/teams/TEAM_ID/calendar/events/ID' \
-H "Authorization: Bearer $AXUZ_TOKEN"Node.js
const res = await fetch("https://api-calendar.axuz.net/teams/TEAM_ID/calendar/events/ID", {
method: 'GET',
headers: {
Authorization: `Bearer ${process.env.AXUZ_TOKEN}`,
},
});
if (!res.ok) throw new Error(`HTTP ${res.status}: ${await res.text()}`);
console.log(await res.json());Python
import os
import requests
res = requests.request(
"GET",
"https://api-calendar.axuz.net/teams/TEAM_ID/calendar/events/ID",
headers={
"Authorization": f"Bearer {os.environ['AXUZ_TOKEN']}",
},
timeout=30,
)
res.raise_for_status()
print(res.json())