Zvini
22:43:46

« Schedule » get

schedule/get - Returns a single existing schedule.
Method parameters:
id - The ID of the schedule to get.
Returns a JSON document of the following format:
{
id: <number> - The ID of the schedule.
text: <string> - The text of the schedule.
interval: <number> - The number of days in which the schedule repeats.
offset: <number> - The number of days from January 1st 1970 to the next day on which the schedule is effective.
tags: <string> - The space-separated list of tags.
insert_time: <number> - The Unix timestamp of when the schedule was created.
update_time: <number> - The Unix timestamp of when the schedule was last modified.
}
Expected errors:
SCHEDULE_NOT_FOUND - A schedule with the ID doesn't exist.