Skip to content
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.

Latest commit

 

History

History
29 lines (17 loc) · 1.04 KB

File metadata and controls

29 lines (17 loc) · 1.04 KB

label_create

Labels are small bits of metadata that can be applied to tasks. They are primarily identified by a string, but do support additional properties, like https://developer.todoist.com/sync/v8/?python#colors.

Does require Todoist Premium.

Details are in the validators/label directory.

Schema

The labels: field supports multiple label objects.

A label is defined by three properties:

  • name: string used to identify label. The only required property.
  • color: One of a few supported colors
  • favorite: A boolean toggle to indicate that a given label should be 'pinned' to the top of ToDoist.

color

Color can be any integer between 30 and 49 Or one of the 19 names for the colors. Color names are in the tdt/defaults/colors.py file or here

Examples

See the jobs/filter/00.create.yaml file.