lohaagile.blogg.se

Todoist api
Todoist api












todoist api

* Non-completed recurring tasks are ignored. * Subtasks that were moved to history are added back to the workspace as first-level tasks. * Completed subtasks of a non-completed task are simply marked as uncompleted. * The behaviour varies for different types of tasks * (the command follows the behaviour of official clients when tasks are uncompleted or extracted * from the history) * * Regular tasks are extracted from the history and added back to the user workspace as normal * unchecked tasks (without their subtasks though). Works both with checked tasks in user’s * workspace and tasks moved to history. * * This command reopens a previously closed task.

TODOIST API CODE

*/ closeTaskById ( id: StrInt ): Promise /** * Reopens a task and returns an empty body with a HTTP status code 204. Regular tasks are completed and moved to * history, subtasks are checked (marked as done, but not moved * to history), recurring task is moved forward (due date is * updated). * * The command does exactly what official clients do when you * close a task. */ updateTaskById ( id: StrInt, params: UpdateTaskParameters ): Promise /** * Closes a task and returns an empty body with a HTTP status code 204. */ getTaskById ( id: StrInt ): Promise /** Updates a task and returns an empty body with the HTTP status code 204. */ createNewTask ( params: CreateTaskParameters ): Promise /** Returns a task by id. */ getTasksFiltered ( params: GetTaskParameters ): Promise /** Creates a new task and returns its value in a JSON format. */ getAllTasks ( ): Promise /** Returns a JSON-encoded array containing all filtered tasks.

todoist api

*/ deleteProjectById ( id: StrInt ): Promise /** Returns a JSON-encoded array containing all user tasks. */ updateProjectById ( id: StrInt, parameters: UpdateProjectParameters ): Promise /** Deletes a project and returns an empty response. */ getProjectById ( id: StrInt ): Promise /** Updates the project for the given id and returns HTTP status code 204 with an empty body.

todoist api

*/ createProject ( projectName: string ): Promise /** Returns a JSON object containing a project object related to the given id. */ getAllProjects ( ): Promise /** Creates a new project and returns its value in a JSON format. ** Returns a JSON-encoded array containing all user projects.














Todoist api