Files
The password header to use to fetch the preview
The path to ensure a directory exists at
The id of the drive we want to make a directory in
Successful Response
Not found
Validation Error
POST /files/directory HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 111
{
"path": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
The password header to use to fetch the preview
The paths to ensure directories exist at
The id of the drive we want to make a directory in
Successful Response
Not found
Validation Error
POST /files/directory/batch HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"paths": [
"text"
],
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
The password header to use to fetch the preview
The path of the file or folder to move
The path to move the file or folder to
The id of the drive containing the file to move
The new path of the file or folder
Not found
Validation Error
POST /files/move HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"source": "text",
"destination": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
The password header to use to fetch the preview
The paths of the files or folders to move
The path to move the file or folder to
The id of the drive containing the file to move
The new path of the file or folder
Not found
Validation Error
POST /files/move/batch HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 140
{
"sources": [
"text"
],
"destinations": [
"text"
],
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}[
"text"
]The password header to use to fetch the preview
The path of the file or folder to copy
The path to copy the file or folder to
The id of the drive containing the file to copy
The new path of the file
Not found
Validation Error
POST /files/copy HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 134
{
"source": "text",
"destination": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
The password header to use to fetch the preview
The path of the file or folder to move to the trash
The id of the drive containing the file we want to move to trash
The id of the shared root folder
The new path of the file or folder
Not found
Validation Error
POST /files/trash HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 161
{
"path": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"share_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
The password header to use to fetch the preview
The paths of the files or folders to move to the trash
The id of the drive containing the file we want to move to trash
The id of the shared root folder
The new path of the file or folder
Not found
Validation Error
POST /files/trash/batch HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"paths": [
"text"
],
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"share_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}[
"text"
]The password header to use to fetch the preview
The path of the file or folder to delete
The id of the drive containing the file we want to delete
The id of the shared root folder
The path that was deleted
Not found
Validation Error
POST /files/delete HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 161
{
"path": "text",
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"share_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}No content
The password header to use to fetch the preview
The paths of the files or folders to delete
The id of the drive containing the file we want to delete
Successful Response
Not found
Validation Error
POST /files/delete/batch HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 114
{
"paths": [
"text"
],
"drive_id": "123e4567-e89b-12d3-a456-426614174000",
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}[
"text"
]The path to determine if it exists in the filesystem or not
The id of the drive containing to check if the file exists in
The password header to use to fetch the preview
Successful Response
Not found
Validation Error
GET /files/exists?path=text&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}trueThe path to retrieve the total size for
The id of the drive this path is in
Whether or not to include the trash folder in the details, if at the drive root.
trueThe password header to use to fetch the preview
The details of assets in the specified path directory
Not found
Validation Error
GET /files/details?path=text&drive_id=123e4567-e89b-12d3-a456-426614174000 HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 47
{
"body": {
"ANY_ADDITIONAL_PROPERTY": "anything"
}
}{
"dir_size_bytes": 1,
"dir_num_items": 1
}Last updated
Was this helpful?

