- Scheduling - Retrieving, creating, editing, and deleting LEXI Live scheduled events.
Denotes an optional parameter.
The current version offers the following resources:
- Retrieval - Retrieving scheduled events.
- Create & Modify - Create and modify scheduled events
- Cancel & Delete - Cancel and delete scheduled events.
Terminology:
- event_id - Your scheduled event(s) will have an event_id that was determined by the "UID" from your ICS. This event could have a list of recurring events attached.
- recurrence_id - If you edit a single event from the group of recurring events, it will gain a recurrence_id. This recurrence_id is the start datetime (YYYYMMDDTHHmmss) the recurring event was originally meant to start.
- presumed_recurrence_id - This is the start datetime (YYYYMMDDTHHmmss) of the single recurring event that you want to modify separate from the group of recurring events.
Denotes an optional parameter.
Resource | Description | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
POST /events |
ActionCreate scheduled event(s). Parameters (JSON)
ExampleThis JSON schedules an event recurring monthly every 3rd Monday for Fred Flintstone. Tasks include a reminder email 1 minute before the event start time and a email containing the transcript in WebVTT format 1 minute after the event end time. { "ics": "BEGIN:VEVENT\r\nUID:602c7db9-8098-43dd-ae24-692a1dba939d@eegcloud.tv\r \nDTSTART;TZID=America/Los_Angeles:20230717T000000\r\nDTEND;TZID=America/Los_Angeles:20230717T003000\r \nSUMMARY:fredf_event\r\nRRULE:FREQ=MONTHLY;BYDAY=3MO\r\nEND:VEVENT\r\n", "tasks": [ { "type": "reminder", "related": "start", "trigger": "-PT1M", "email_addresses": [ "fred.flintstone@ai-media.tv" ] }, { "type": "transcript", "related": "end", "trigger": "PT1M", "email_addresses": [ "fred.flintstone@ai-media.tv" ], "file_type": "vtt" } ], "instance_id": "asr_instance_385rBs8u8JzUJRZK,lango_instance_173rGd4u8JzUJRLP", "product": "lexi" } |
||||||||||||
PUT /events/:event_id |
ActionModify scheduled event(s). Any parameters changed or removed in the JSON body will be reflected in the scheduled event(s). Parameters (Path)
Parameters (JSON)
Parameters (Query)
|
Denotes an optional parameter.
Resource | Description | ||||
---|---|---|---|---|---|
PUT /events/:event_id/cancel?recurrence_id=:recurrence_id |
ActionCancels a scheduled event with the given event ID. Parameters (Path)
Parameters (Query)
|
||||
PUT /events/:event_id/uncancel?recurrence_id=:recurrence_id |
ActionUncancels a scheduled event with the given event ID. Parameters (Path)
Parameters (Query)
|
||||
DELETE /events/:event_id |
ActionDeletes all events with the specified event ID. Parameters (Path)
|
Denotes an optional parameter.