Aller au contenu principal
Tâches

Récupérer une tâche

GET
/v1/tasks/{id}
Authorizationstringheaderobligatoire

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

idstringobligatoire

Réponse

application/json
RateLimit-Limitintegerheader

Plafond de requêtes de la fenêtre d’une minute, pour le compteur le plus proche de sa limite (client ou cabinet).

RateLimit-Remainingintegerheader

Requêtes encore permises dans la fenêtre en cours.

RateLimit-Resetintegerheader

Secondes avant la remise à zéro du compteur.

ETagstringheader

Version de la ressource, opaque. À renvoyer dans If-Match pour qu’une modification soit refusée (412) si la ressource a changé depuis.

anchorobject | nullobligatoire
completedAtstring | nullobligatoire
Motif: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
contactsobject[]default:[]
createdAtstringobligatoire
Motif: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
createdBystring | nullobligatoire
Motif: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
createdByNamestring | nullobligatoire
descriptionstring | nulldefault:null

Description de la tâche (le détail, la consigne, les liens). null : aucune.

dueOnstring | nullobligatoire
Motif: ^\d{4}-\d{2}-\d{2}$
idstringobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
isPrivatebooleanobligatoire
minebooleanobligatoire
notesobject | nullobligatoire
ownersobject[]default:[]
recurrenceobject | nullobligatoire

null : la tâche ne se répète pas.

remindersobject[]default:[]
statusenum<string>obligatoire
Options disponibles: todo, in_progress, waiting, done, cancelled
subStatusobject | nullobligatoire
tagsobject[]obligatoire
titlestringobligatoire
updatedAtstringobligatoire
Motif: ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$