Deze referentie is alleen in het Engels. Naar het Nederlandse REST API-overzicht

Diese Referenz gibt es nur auf Englisch. Zur deutschen REST-API-Übersicht

Cette référence existe uniquement en anglais. Aller à la présentation de l'API REST en français

Esta referencia solo está en inglés. Ir a la introducción de la API REST en español

Event

Event

A planning event: one block on a user's agenda, optionally linked to a kanban task so time can be logged against it.

View as Markdown
Summary view
EventList, 20 fields. What a list returns by default.
Detail view
Event, 23 fields. The default for a single read and for every write.

An event is either a one-off or the master of a recurring series, in which case the recurrence fields describe how its occurrences are generated. The occurrences are rendered from those fields and are not rows of their own, except where one was separated in plnnrly.

Used by

GETRead an event/events/{event}Event
PATCHUpdate an event/events/{event}Event
POSTRestore a deleted event/events/{event}/actions/restoreEvent

Fields

Detail only
Only in the detail view.
Only with include
Only when you ask for it with include.
Server-assigned
Set by plnnrly, never by a request.
idinteger

Unique identifier.

user_idintegerServer-assigned

Whose agenda the event is on. Always the authenticated user at creation time; not writable.

task_idinteger or null

Kanban task this event is planned against, or null for a plain calendar block. Only an event with a task can have time logged on it.

parent_event_idinteger or nullServer-assigned

Master event, when this row is a separated occurrence of a recurring series. Set by the server; not writable.

occurrence_datedate (YYYY-MM-DD) or nullServer-assigned

The date of the series occurrence this row replaces. Set by the server; not writable.

starttimestamp (YYYY-MM-DDThh:mm:ssZ)

When the event starts. RFC 3339 UTC.

endtimestamp (YYYY-MM-DDThh:mm:ssZ)

When the event ends. RFC 3339 UTC.

titlestring≤ 255

Event title, as shown on the calendar tile.

descriptionhtml or nullDetail only

Free-text description, authored in the rich editor. HTML, sanitised on the way in and on the way out; @-mention spans are preserved, and changing them is what notifies the people mentioned.

is_all_dayboolean

Whether the event occupies whole days rather than a time range. An all-day event is measured against the owner's working week rather than against start and end.

Variants

EventList 20 fields

What a collection returns, and what ?view=summary returns on a single record.

Leaves out: description, selected_weekdays, recurrence_exceptions

EventSummary 3 fields

The embedded form: what you get when another resource carries this one and you did not include it.

Leaves out: user_id, task_id, parent_event_id, occurrence_date, end, description, is_all_day, is_recurring, recurrence_interval, recurrence_frequency, recurrence_pattern, recurrence_start, recurrence_end, selected_weekdays, recurrence_exceptions, created_at, updated_at, deleted_at, user, links

Columns deliberately not published

client_idThe id plnnrly's agenda gives a dropped tile so a repeated create returns the stored event instead of a second one. Only the agenda uses it; an API client neither reads nor sends it.