Aller au contenu principal
Modèles de documents

Proposer un type de document, enregistré en brouillon et jamais actif

POST
/v1/document-types/proposals
Authorizationstringheaderobligatoire

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

Corps

application/json
definitionobjectobligatoire
keystringobligatoire
Required string length: 2 - 64
Motif: ^[a-z][a-z0-9]*(-[a-z0-9]+)*$
skillKeystringobligatoire
Motif: ^[a-z][a-z0-9-]{1,63}$
templateFileIdstring
Required string length: 1 - 512
titlestringobligatoire
Required string length: 1 - 120

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.

documentTypeobjectobligatoire
nextStepstringobligatoire