Saltar al contenido

Get a person calendar feed

Módulo Platform

GET/person-calendar-feeds/{id}personCalendarFeeds.get

A person's own iCalendar feed across every org they work with through an engagement (1410): their published shifts and the meetings, milestones and deadlines shared with them. Only a hash of the token is kept; the token is shown once by personCalendarFeeds.create and personCalendarFeeds.rotate, and deleting the feed revokes it for good. Returns one person calendar feed with its `ETag`. A person calendar feed the caller may not see returns 404.

  • Requiere la capacidad me.calendar_feeds.write.
  • Alcances de OAuth: me.
  • Estados de error: 400, 401, 404, 429. Los errores son detalles de problema RFC 9457.

Parámetros de ruta y de consulta

personCalendarFeeds.get: Parámetros de ruta y de consulta
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the person calendar feed.
fieldsFieldsNoSparse fieldset: a comma-separated list of top-level fields to return. `id` is always returned.Restricciones: pattern ^[a-z_][a-z0-9_]*(,[a-z_][a-z0-9_]*)*$

Respuesta 200: PersonCalendarFeed

personCalendarFeeds.get: PersonCalendarFeed
CampoTipoObligatorioDescripción
idstring (uuid)SíIdentifier of the person calendar feed.
created_atstring (date-time)SíWhen the row was created.
updated_atstring (date-time)SíWhen the row was last updated.
person_idstring (uuid)SíIdentifier of the person who owns the feed; always the caller.
token_hintstringSíLast four characters of the token.Restricciones: length 1 to 4
last_accessed_atstring (date-time) | nullSíLast time a calendar fetched the feed.
rotated_atstring (date-time) | nullSíWhen the token was last replaced.
{
  "id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "created_at": "2026-10-08T14:30:00Z",
  "updated_at": "2026-10-08T14:30:00Z",
  "person_id": "0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f",
  "token_hint": "a1b2",
  "last_accessed_at": "2026-10-08T14:30:00Z",
  "rotated_at": "2026-10-08T14:30:00Z"
}

Ejemplos de código

curl -X GET "$XOS_BASE_URL/person-calendar-feeds/0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f" \
  -H "Authorization: Bearer $XOS_API_KEY"
const { data, etag } = await xos.personCalendarFeeds.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f");
response = xos.person_calendar_feeds.get("0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f")
xos person-calendar-feeds get 0192f1e2-7c3a-7b4d-9e8f-1a2b3c4d5e6f