API Documentation
Endpoints
Method |
Endpoints |
Description |
GET |
/tasks |
Fetch Tasks |
POST |
/edit-task |
Edit task (description only) |
POST |
/modify-task |
Edit task (multiple parameters) |
POST |
/add-task |
Add a task |
POST |
/complete-task |
Mark a task as completed |
POST |
/delete-task |
Mark a task as deleted |
Sample payloads for requests
api/tasks?email=email&origin=container-origin&UUID=clientID&encryptionSecret=encryptionSecret
{
"email": "email",
"encryptionSecret": "encryptionSecret",
"UUID": "clientID",
"taskID": "any task id",
"description": "new description for the task"
}
{
"email": "email",
"encryptionSecret": "encryptionSecret",
"UUID": "clientID",
"description": "task description",
"project": "task project",
"due": "Date in the format: DD-MM-YYYY",
"priority": "task priority"
}
{
"email": "email",
"encryptionSecret": "encryptionSecret",
"UUID": "clientID",
"taskuuid": "uuid of the task to be marked as completed"
}
{
"email": "email",
"encryptionSecret": "encryptionSecret",
"UUID": "clientID",
"taskuuid": "uuid of the task to be marked as deleted"
}
Note
: Mark a task as deleted tells that the tasks are soft deleted on taskchampion-sync-server, i.e., they are first marked as deleted, and then deleted after a period of time, typically 180 days.