API ReferenceDms documents
Upload documents
Upload one or more new documents
AuthorizationBearer <token>
In: header
Query Parameters
folderId?string
description?string
Request Body
multipart/form-data
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "http://localhost:18080/api/v1/dms/documents" \ -F files="[ \"string\" ]"[
{
"created": "2019-08-24T14:15:22Z",
"createdBy": "string",
"currentAsset": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"currentVersion": 0,
"description": "string",
"events": [
{
"authorId": "string",
"date": "2019-08-24T14:15:22Z",
"description": "string",
"id": "string",
"type": "CREATE"
}
],
"folderId": "string",
"id": "string",
"mimeType": "string",
"name": "string",
"number": "string",
"shareLinks": [
{
"createdAt": "2019-08-24T14:15:22Z",
"createdBy": "string",
"downloadCount": 0,
"expiresAt": "2019-08-24T14:15:22Z",
"id": "string",
"maxDownloads": 0,
"password": "string",
"selfDestruct": true,
"tokenHash": "string"
}
],
"sharedWithTeams": [
"string"
],
"sharedWithUsers": [
"string"
],
"tags": [
"string"
],
"tenantId": "string",
"updated": "2019-08-24T14:15:22Z",
"updatedBy": "string",
"versions": [
{
"asset": {
"blobId": "string",
"created": "2019-08-24T14:15:22Z",
"extension": "string",
"fileSize": 0,
"name": "string",
"type": "IMAGE"
},
"changelog": "string",
"mimeType": "string",
"uploadedAt": "2019-08-24T14:15:22Z",
"uploadedBy": "string",
"versionNumber": 0
}
]
}
]{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}{
"detail": "string",
"time": "2019-08-24T14:15:22Z",
"title": "string"
}