Zvini
22:31:02

« Event » get

event/get - Returns a single existing event.
Method parameters:
id - The ID of the event to get.
Returns a JSON document of the following format:
{
id: <number> - The ID of the event.
text: <string> - The event text.
event_time: <number> - The Unix timestamp of the day of the event.
start_hour: <number> - The hour when the event starts.
start_minute: <number> - The minute when the event starts.
insert_time: <number> - The Unix timestamp of when the event was created.
update_time: <number> - The Unix timestamp of when the event was last modified.
}
Expected errors:
EVENT_NOT_FOUND - An event with the ID doesn't exist.