Aller au contenu principal
public

Déposer une nouvelle version d’une pièce

POST
/v1/matters/{id}/documents/{documentId}/versions
Authorizationstringheaderobligatoire

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

idstringobligatoire
documentIdstringobligatoire
idempotency-keystringheader

Clé de reprise choisie par le client (8 à 255 caractères). Une reprise portant la même clé et la même charge ne dépose rien : elle rend la version déjà enregistrée.

Corps

application/json
contentBase64stringobligatoire
Required string length: 4 - 4194304
Motif: ^[A-Za-z0-9+/]+={0,2}$
fileNamestringobligatoire
Required string length: 1 - 200
mimeTypestringobligatoire
Required string length: 3 - 255

Réponse

201application/json
createdAtstringobligatoire
idstringobligatoire
Motif: ^[0-9a-f]{8}-[0-9a-f]{4}-7[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$
milestonesobject[]obligatoire
numerointegerobligatoire
Plage requise: 0 < x
onCurrentFilebooleanobligatoire
providerModifiedAtstring | nullobligatoire
sizeBytesinteger | nullobligatoire
Plage requise: 0 <= x