v1

latestOpenAPI 3.0.02026-08-0630844.5 KB

post/events/{id}

Path parameters

idinteger required

the event post ID

passwordstring

The event password

Response

Returns the data of the updated event

idinteger

The event WordPress post ID

global_idstring

The event ID used to globally identify in Event Aggregator

global_id_lineagestring[]

An Array containing the lineage of where this event comes from, this should not change after the event is created.

authorinteger

The event author WordPress post ID

datestring

The event creation date in the site time zone

date_utcstring

The event creation date in UTC time

modifiedstring

The event last modification date in the site time zone

modified_utcstring

The event last modification date in UTC time

statusstring

The event status

urlstring

The URL to the event page

rest_urlstring

The TEC REST API link to fetch this event

titlestring

The event name

descriptionstring

The event long description

excerptstring

The event short description

slugstring

The event slug

all_dayboolean

Whether or not this event is an all day Event

start_datestring

The event start date in the event or site time zone

end_datestring

The event end date in the event or site time zone

utc_start_datestring

The event start date in UTC time

utc_end_datestring

The event end date in UTC time

timezonestring

The event time zone string

timezone_abbrstring

The abbreviated event time zone string

coststring

The event cost including the currency symbol

websitestring

The event website URL

show_mapboolean

Whether the map should be shown for the event or not

show_map_linkboolean

Whether the map link should be shown for the event or not

hide_from_listingsboolean

Whether an event should be hidden from the calendar view or not

stickyboolean

Whether an event is sticky in the calendar view or not

featuredboolean

Whether the event is featured in the calendar or not