schedule/edit
- Edits an existing schedule.
Method parameters:
id
- The ID of the schedule to edit.
text
- The new text of the schedule.
interval
- The new number of days in which the schedule repeats. Its value can be 2 or greater.
offset
- The number of days from January 1st 1970 to the next day on which the schedule is effective.
tags
- A space-separated list of tags.
Returns a JSON document of the following format:
<boolean> - Always true
.
Expected errors:
SCHEDULE_NOT_FOUND
- A schedule with the ID doesn't exist.
ENTER_TEXT
- The text is empty.
TOO_MANY_TAGS
- More than 5 tags given.