Methods

  • POST — Moving a file to a directory

Resource

{
    "error": "string",
    "files": [
        {
            "__createdAt": "date-time",
            "__createdBy": "uuid",
            "__deletedAt": "date-time",
            "__id": "uuid",
            "__updatedAt": "date-time",
            "__updatedBy": "uuid",
            "comment": "string",
            "directory": "uuid",
            "name": "string",
            "originalName": "string",
            "size": "int64",
            "version": "int32"
        }
    ],
    "success": "boolean"
}

Properties

Name Type Description Additional
error string

Error message if success == false

Optional
files[] array

Files

Optional
files[].__createdAt date-time

Created on

Optional
files[].__createdBy uuid

Creator ID

Optional
files[].__deletedAt date-time

Deleted

Optional
files[].__id uuid

ID

Optional
files[].__updatedAt date-time

Last edited

Optional
files[].__updatedBy uuid

Editor ID

Optional
files[].comment string

Comment

Optional
files[].directory uuid

Directory ID

Optional
files[].name string

File name in the system

Optional
files[].originalName string

Uploaded file name

Optional
files[].size int64

Size

Optional
files[].version int32

File version

Optional
success boolean

Successful request flag

Optional