Skip to main content
Docktix

Drive

Browse and organize your firm's folders and files.

Host: api_domain · Path prefix: /docktix/api/v1/ · Method: POST (parameter-less reads are GET) · every POST body also carries Firm_Id and Email · see Authentication for headers and errors.

RouteScopePurpose
drive/resources/listDocktixDrive.resources.READList the whole resource tree
drive/resources/detailsDocktixDrive.resources.READGet one folder or file
drive/resources/createDocktixDrive.resources.CREATECreate a folder
drive/resources/updateDocktixDrive.resources.UPDATERename
drive/resources/moveDocktixDrive.resources.UPDATEMove into another folder
drive/resources/deleteDocktixDrive.resources.DELETEDelete

Every Resource_Id, Parent_Id and Destination_Id must belong to your firm (404 Resource not found. otherwise). Uploading and downloading files is not available through these routes.

List resources

GET{api_domain}/docktix/api/v1/drive/resources/list
Scope DocktixDrive.resources.READHost api_domainContent-Type application/json

No body. Details is your complete resource tree. There is no paging or filtering.

Get a resource

POST{api_domain}/docktix/api/v1/drive/resources/details
Scope DocktixDrive.resources.READHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Resource_IdstringRequiredThe folder or file

Create a folder

POST{api_domain}/docktix/api/v1/drive/resources/create
Scope DocktixDrive.resources.CREATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Resource_LabelstringRequiredFolder name
Resource_Api_NamestringOptionalDefaults to the label with spaces replaced by _
Parent_IdstringOptionalParent folder in your firm; omitted = default location

Rename

POST{api_domain}/docktix/api/v1/drive/resources/update
Scope DocktixDrive.resources.UPDATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Resource_IdstringRequiredThe resource
Resource_NamestringRequiredThe full new name (include the extension for files)

Move

POST{api_domain}/docktix/api/v1/drive/resources/move
Scope DocktixDrive.resources.UPDATEHost api_domainContent-Type application/json
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Resource_IdstringRequiredThe resource to move
Destination_IdstringRequiredThe destination folder

One resource per call. Moving a resource into itself answers 400.

Delete

POST{api_domain}/docktix/api/v1/drive/resources/delete
Scope DocktixDrive.resources.DELETEHost api_domainContent-Type application/json
Destructive. One resource per call.
Parameters
ParameterTypeRequiredDescription
Firm_IdstringRequiredYour firm id; must match the token
EmailstringRequiredThe user the token acts as; must match the token
Resource_IdstringRequiredThe resource
ConfirmbooleanRequiredMust be true; otherwise 400 and nothing is changed