Methods

  • POST — Bulk file initialization

Resource

{
    "error": "string",
    "files": [
        {
            "error": "string",
            "file": {
                "__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

File list

Optional
files[].error string

Error that occurred while initializing the file.
If saving finished successfully, the field is absent

Optional
files[].file object

File

Optional
files[].file.__createdAt date-time

Created on

Optional
files[].file.__createdBy uuid

Creator ID

Optional
files[].file.__deletedAt date-time

Deleted

Optional
files[].file.__id uuid

ID

Optional
files[].file.__updatedAt date-time

Last edited

Optional
files[].file.__updatedBy uuid

Editor ID

Optional
files[].file.comment string

Comment

Optional
files[].file.directory uuid

Directory ID

Optional
files[].file.name string

File name in the system

Optional
files[].file.originalName string

Uploaded file name

Optional
files[].file.size int64

Size

Optional
files[].file.version int32

File version

Optional
success boolean

Successful request flag

Optional