title: "Событие временной шкалы" summary: | /api/timeline-event методы. redirect_from: - /ru/docs/latest/api/timeline-event
Событие временной шкалы¶
/api/timeline-event методы.
DELETE /api/timeline-event/:id¶
Удалить [[TimelineEvent]].
ПАРАМЕТРЫ:¶
idvalue must be an integer greater than zero.
GET /api/timeline-event/:id¶
Получить [[TimelineEvent]] с id.
ПАРАМЕТРЫ:¶
idvalue must be an integer greater than zero.
POST /api/timeline-event/¶
Создать новый [[TimelineEvent]].
ПАРАМЕТРЫ:¶
-
timestampvalue must be a valid date string. -
question_idnullable value must be an integer greater than zero. -
descriptionnullable string. -
archivednullable boolean. -
timezonestring. -
time_mattersnullable boolean. -
namevalue must be a non-blank string. -
timeline_idvalue must be an integer greater than zero. -
sourcenullable enum of collections, question. -
iconnullable enum of star, cake, mail, warning, bell, cloud.
PUT /api/timeline-event/:id¶
Обновить [[TimelineEvent]].
ПАРАМЕТРЫ:¶
-
timestampnullable value must be a valid date string. -
descriptionnullable string. -
archivednullable boolean. -
timezonenullable string. -
time_mattersnullable boolean. -
namenullable value must be a non-blank string. -
timeline_idnullable value must be an integer greater than zero. -
iconnullable enum of star, cake, mail, warning, bell, cloud. -
idvalue must be an integer greater than zero. -
timeline-event-updates