AlphaAlpha Docs
API ReferenceDms documents

Move document

Moves document to a different folder

PATCH
/dms/documents/{id}/move
AuthorizationBearer <token>

In: header

Path Parameters

id*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

folderId?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "http://localhost:18080/api/v1/dms/documents/string/move" \  -H "Content-Type: application/json" \  -d '{}'
{
  "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"
}