This endpoint allows you to import a file and set the properties of the resulting File Manager File entity at the same time. The body of the
request is an HTTP form with the Content-Type header set to multipart/form-data, containing 2 parts: fileManagerFile for the entity
properties, and file for the file.
The fileManagerFile part must have the Content-Type header set to application/json and is similar to other entity types.
The file part contains the file to be uploaded and its Content-Type header must correspond to the file’s data type. For example, for a
.csv file, the Content-Type header for the file part should be text/csv.
For reference, these are the content types associated with common file types:
| File extension | Content type value |
|---|---|
.csv | text/csv |
.xls | application/vnd.ms-excel |
.xlsx | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
.zip | application/zip |
.gz | application/gzip |
api.file-manager.writeBearer authentication header of the form Bearer <token>, where <token> is your auth token.
multipart/form-data Created
Data integrity version to ensure data consistency.
Identifies the associated engagement.
The name of the file as it appeared when first imported, including the extension.
1\s*\S+.*The current name of the file, excluding the extension.
1\s*\S+.*The suffix used at the end of the file.
1\s*\S+.*The unique object identifier.
The date that the object was originally created.
The date that the object was last updated or modified.
Details about the user who created the object.
Details about the user who last modified or updated the object.
Indicates whether the object is a DIRECTORY or a FILE.
DIRECTORY, FILE Identifies the parent directory. If NULL, the directory is positioned at the root level.
The status of the file as it appears in MindBridge.
MODIFIED, ROLLED_FORWARD Identifies the associated file info.