Download OpenAPI specification:Download
This endpoint will return file info for a specific file.
fileId required | string |
{- "download": "string",
- "access": "private",
- "size": 0,
- "virusScan": "quarantined",
- "source": "string",
- "contentType": "string",
- "fileId": "string",
- "updatedAt": "string"
}
This endpoint accepts file data, metadata, or both, to update an existing file.
fileId required | string |
access | string Enum: "private" "public" The access level of the file. |
data | string The base64 encoded data of the file. |
uploadType | string Default: "direct" Enum: "direct" "resumable" |
source | string The source of the file or directory. This is the key within File Store. For example, /my_folder/my_file.txt or /my_folder/. |
{- "access": "private",
- "data": "string",
- "uploadType": "direct",
- "source": "string"
}
{- "download": "string",
- "access": "private",
- "size": 0,
- "virusScan": "quarantined",
- "source": "string",
- "contentType": "string",
- "fileId": "string",
- "updatedAt": "string"
}
This endpoint will extract the contents of a compressed file into a directory.
fileId required | string |
access required | string Enum: "private" "public" The access level of the file. |
target required | string The target directory to extract the files to. Note: the target directory must be empty. |
{- "access": "private",
- "target": "string"
}
{- "pollingUrl": "string",
- "requestId": "string"
}
This endpoint will return file info.
source required | string |
[- {
- "download": "string",
- "access": "private",
- "size": 0,
- "virusScan": "quarantined",
- "source": "string",
- "contentType": "string",
- "fileId": "string",
- "updatedAt": "string"
}
]
This endpoint will create a file.
access required | string Enum: "private" "public" The access level of the file. |
data required | string The base64 encoded data of the file. |
uploadType | string Default: "direct" Enum: "direct" "resumable" |
source required | string The source of the file or directory. This is the key within File Store. For example, /my_folder/my_file.txt or /my_folder/. |
{- "access": "private",
- "data": "string",
- "uploadType": "direct",
- "source": "string"
}
{- "download": "string",
- "access": "private",
- "size": 0,
- "virusScan": "quarantined",
- "source": "string",
- "contentType": "string",
- "fileId": "string",
- "updatedAt": "string"
}
This endpoint will create a directory.
access | string Enum: "private" "public" The access level of the file. |
source required | string The source of the file or directory. This is the key within File Store. For example, /my_folder/my_file.txt or /my_folder/. |
{- "access": "private",
- "source": "string"
}
{- "access": "private",
- "directories": [
- {
- "access": "private",
- "directoryId": "string",
- "source": "string",
- "updatedAt": "string"
}
], - "files": [
- {
- "download": "string",
- "access": "private",
- "size": 0,
- "virusScan": "quarantined",
- "source": "string",
- "contentType": "string",
- "fileId": "string",
- "updatedAt": "string"
}
], - "directoryId": "string",
- "source": "string",
- "updatedAt": "string"
}
This endpoint will return a directory, with direct descendants.
directoryId required | string |
{- "access": "private",
- "directories": [
- {
- "access": "private",
- "directoryId": "string",
- "source": "string",
- "updatedAt": "string"
}
], - "files": [
- {
- "download": "string",
- "access": "private",
- "size": 0,
- "virusScan": "quarantined",
- "source": "string",
- "contentType": "string",
- "fileId": "string",
- "updatedAt": "string"
}
], - "directoryId": "string",
- "source": "string",
- "updatedAt": "string"
}
This method will accept info for a directory and update an existing directory.
directoryId required | string |
access | string Enum: "private" "public" The access level of the file. |
cascadeAccess | boolean If true, all files and directories within the directory will have their access level updated to the new access level. |
source | string The source of the file or directory. This is the key within File Store. For example, /my_folder/my_file.txt or /my_folder/. |
{- "access": "private",
- "cascadeAccess": true,
- "source": "string"
}
{- "pollingUrl": "string",
- "requestId": "string"
}