Desktop File
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST | |
POST | |
POST | |
POST | |
GET | |
POST | |
POST | |
GET |
List all desktop file system
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Required API key scopes
file_system:readQuery parameters
- limitinteger
- offsetinteger
- searchstring
Response
Example request
GET /api /projects /:project_id /desktop_file_systemExample response
Status 200
Create desktop file system
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Required API key scopes
file_system:writeRequest parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Response
Example request
POST /api /projects /:project_id /desktop_file_systemExample response
Status 201
Retrieve desktop file system
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Required API key scopes
file_system:readPath parameters
- idstring
Response
Example request
GET /api /projects /:project_id /desktop_file_system /:idExample response
Status 200
Update desktop file system
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Required API key scopes
file_system:writePath parameters
- idstring
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Response
Example request
PATCH /api /projects /:project_id /desktop_file_system /:idExample response
Status 200
Delete desktop file system
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Required API key scopes
file_system:writePath parameters
- idstring
Example request
DELETE /api /projects /:project_id /desktop_file_system /:idExample response
Status 204 No response body
Create desktop file system count
Get count of all files in a folder.
Path parameters
- idstring
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Example request
POST /api /projects /:project_id /desktop_file_system /:id /countExample response
Status 200 No response body
Create desktop file system link
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Path parameters
- idstring
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Example request
POST /api /projects /:project_id /desktop_file_system /:id /linkExample response
Status 200 No response body
Create desktop file system move
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Path parameters
- idstring
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Example request
POST /api /projects /:project_id /desktop_file_system /:id /moveExample response
Status 200 No response body
Create desktop file system count by path
Get count of all files in a folder.
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Example request
POST /api /projects /:project_id /desktop_file_system /count_by_pathExample response
Status 200 No response body
Retrieve desktop file system log view
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Example request
GET /api /projects /:project_id /desktop_file_system /log_viewExample response
Status 200 No response body
Create desktop file system log view
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Example request
POST /api /projects /:project_id /desktop_file_system /log_viewExample response
Status 200 No response body
Create desktop file system undo delete
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Request parameters
- pathstring
- typestring
- refstringnull
- hrefstringnull
- meta
- shortcutbooleannull
Example request
POST /api /projects /:project_id /desktop_file_system /undo_deleteExample response
Status 200 No response body
Retrieve desktop file system unfiled
The file tree for the desktop product surface. Reuses all FileSystemViewSet behaviour but is scoped to the "desktop" surface, so its tree is fully isolated from the default "web" tree.
Example request
GET /api /projects /:project_id /desktop_file_system /unfiled