Zvini
22:37:08

« Task » send

task/send - Sends a new task.
Method parameters:
receiver_username - The Zvini username of the receiver.
text - The text of the task.
tags - A space-separated list of tags.
top_priority - Whether the task should be marked as top priority.
Returns a JSON document of the following format:
<boolean> - Always true.
Expected errors:
ENTER_RECEIVER_USERNAME - The receiver username is empty.
INVALID_RECEIVER_USERNAME - The receiver username is invalid.
RECEIVER_NOT_FOUND - No such receiver with the username.
RECEIVER_NOT_RECEIVING - The receiver hasn't opened a connection to receive tasks from you.
ENTER_TEXT - The text is empty.
TOO_MANY_TAGS - More than 5 tags given.