API · v1 · stabiel
CODEMETA OSDeveloper Center
NL
Console openen

POST /v1/dms/documents/{id}/versions

POST/v1/dms/documents/{id}/versions

Upload a new version of a DMS document

Request body

NaamTypeBeschrijving
fileNamevereiststring
mimeTypevereiststring
sizeBytesvereistinteger
changeNotestring

Padparameters

NaamTypeBeschrijving
idvereiststring

Voorbeeld

curl -X POST https://api.codemeta-os.de/v1/dms/documents/{id}/versions \
  -H "X-Tenant-Id: $TENANT" \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{
  "fileName": "string",
  "mimeType": "string",
  "sizeBytes": 0,
  "changeNote": "string"
}'
const result = await cm.dms.post({
  "fileName": "string",
  "mimeType": "string",
  "sizeBytes": 0,
  "changeNote": "string"
});

Antwoordcodes

HTTP Betekenis
200 Default Response

Zoeken