Skip to main content
POST
/
v1
/
file-manager
/
import-from-json-table
Import From Json Table
curl --request POST \
  --url https://localtest.mindbridge.ai/api/v1/file-manager/import-from-json-table \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "<string>",
  "engagementId": {},
  "jsonTableId": {},
  "parentFileManagerEntityId": {}
}
'
{
  "version": 123,
  "engagementId": {},
  "originalName": "<string>",
  "name": "<string>",
  "extension": "<string>",
  "id": {},
  "creationDate": "2023-11-07T05:31:56Z",
  "lastModifiedDate": "2023-11-07T05:31:56Z",
  "createdUserInfo": {
    "userId": {},
    "userName": "<string>"
  },
  "lastModifiedUserInfo": {
    "userId": {},
    "userName": "<string>"
  },
  "type": "DIRECTORY",
  "parentFileManagerEntityId": {},
  "status": [
    "MODIFIED"
  ],
  "fileInfoId": {}
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the newly created file manager file.

engagementId
object
required

Identifies the associated engagement to import the formatted file into.

jsonTableId
object
required

Identifies the JSON table to be formatted into a file.

parentFileManagerEntityId
object

Identifies the file manager entity that will be the parent of the newly created file.

Response

Created

version
integer<int64>
required

Data integrity version to ensure data consistency.

engagementId
object
required

Identifies the associated engagement.

originalName
string
required

The name of the file as it appeared when first imported, including the extension.

Minimum string length: 1
Pattern: \s*\S+.*
name
string
required

The current name of the file, excluding the extension.

Minimum string length: 1
Pattern: \s*\S+.*
extension
string
required

The suffix used at the end of the file.

Minimum string length: 1
Pattern: \s*\S+.*
id
object

The unique object identifier.

creationDate
string<date-time>

The date that the object was originally created.

lastModifiedDate
string<date-time>

The date that the object was last updated or modified.

createdUserInfo
User Info · object

Details about the user who created the object.

lastModifiedUserInfo
User Info · object

Details about the user who last modified or updated the object.

type
enum<string>

Indicates whether the object is a DIRECTORY or a FILE.

Available options:
DIRECTORY,
FILE
parentFileManagerEntityId
object

Identifies the parent directory. If NULL, the directory is positioned at the root level.

status
enum<string>[]

The status of the file as it appears in MindBridge.

Available options:
MODIFIED,
ROLLED_FORWARD
fileInfoId
object

Identifies the associated file info.