Skip to main content

Drive API

AutessaDB Drive: find, grep, read and search files

  • Base URL: https://api.autessa.com
  • Auth: your API key in the Authorization header, with no Bearer prefix.
  • Guide: Drive
  • Status: all 53 operations are live.

Access​

POST/clients/autessadb-drive/access

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
driveRolestring
effectiveRolestring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/access?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Changes​

POST/clients/autessadb-drive/changes

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
changesarray of ChangeView
cursorstring
hasMoreboolean
resyncRequiredboolean
curl -X POST "https://api.autessa.com/clients/autessadb-drive/changes?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Comments add​

POST/clients/autessadb-drive/comments/add

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
anchorobject
bodystring
nodeIdinteger
pageinteger
parentIdstring
pathstring
quotestring
rangestring
sheetstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
threadCommentThreadView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/comments/add?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"anchor":{}}'

Comments delete​

POST/clients/autessadb-drive/comments/delete

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
commentIdstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
okboolean
threadCommentThreadView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/comments/delete?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"commentId":"string"}'

Comments edit​

POST/clients/autessadb-drive/comments/edit

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
bodystring
commentIdstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
threadCommentThreadView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/comments/edit?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"body":"string"}'

Comments list​

POST/clients/autessadb-drive/comments/list

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
includeResolvedboolean
limitinteger
nodeIdinteger
pathstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
canCommentboolean
hasMoreboolean
nextCursorstring
nodeVersioninteger
openCountinteger
resolvedCountinteger
threadsarray of CommentThreadView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/comments/list?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Comments resolve​

POST/clients/autessadb-drive/comments/resolve

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
commentIdstring
resolvedboolean
tableIdstringID id.

Response

FieldTypeRequiredDescription
threadCommentThreadView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/comments/resolve?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"commentId":"string"}'

POST/clients/autessadb-drive/download-url

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.
versioninteger

Response

FieldTypeRequiredDescription
expiresAtstring
urlstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/download-url?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Edit​

POST/clients/autessadb-drive/edit

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
expectedVersioninteger
newTextstring
nodeIdinteger
oldTextstring
pathstring
replaceAllboolean
tableIdstringID id.

Response

FieldTypeRequiredDescription
bytesinteger
nodeDriveNodeView
replacementsinteger
versioninteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/edit?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"expectedVersion":1}'

Empty trash​

POST/clients/autessadb-drive/empty-trash

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
purgedinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/empty-trash?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Fetch​

POST/clients/autessadb-drive/fetch

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.
versioninteger

Response

FieldTypeRequiredDescription
expiresAtstring
mimestring
namestring
nodeIdstring
pathstring
sizeBytesinteger
urlstring
versioninteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/fetch?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Find files by name, type, size or date​

POST/clients/autessadb-drive/find

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
globstring
limitinteger
mimestring
modifiedAfterstring
modifiedBeforestring
nameRegexstring
pathstring
sizeGtinteger
sizeLtinteger
tableIdstringYesID id.
typestring

Response

FieldTypeRequiredDescription
hasMoreboolean
itemsarray of DriveNodeView
nextCursorstring
truncatedanyPresent when the result was cut short (boolean or a reason object).
curl -X POST "https://api.autessa.com/clients/autessadb-drive/find?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Fs replace​

POST/clients/autessadb-drive/fs/replace

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
expectedTargetVersioninteger
sourceNodeIdinteger
tableIdstringID id.
targetNodeIdinteger

Response

FieldTypeRequiredDescription
nodeDriveNodeView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/fs/replace?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"expectedTargetVersion":1}'

Search file text by pattern​

POST/clients/autessadb-drive/grep

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
caseInsensitiveboolean
contextinteger
cursorstring
globstring
limitinteger
maxMatchesPerFileinteger
outputModestring
pathstring
patternstringYes
regexboolean
tableIdstringYesID id.
timeoutMsinteger

Response

FieldTypeRequiredDescription
countGrepCount
filesarray of GrepFile
hasMoreboolean
matchesarray of GrepMatch
nextCursorstring
statsGrepStats
truncatedanyPresent when the result was cut short (boolean or a reason object).
curl -X POST "https://api.autessa.com/clients/autessadb-drive/grep?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5","pattern":"invoice"}'

POST/clients/autessadb-drive/links/create

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
allowDownloadboolean
allowSearchboolean
audiencestring
expiresAtstring
nodeIdinteger
pathstring
rolestring
scopestring
tableIdstringID id.

Response

FieldTypeRequiredDescription
linkLinkView
linkIdstring
tokenstring
urlstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/links/create?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"allowDownload":true}'

POST/clients/autessadb-drive/links/list

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
linksarray of LinkView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/links/list?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

POST/clients/autessadb-drive/links/revoke

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
linkIdstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
countinteger
okboolean
curl -X POST "https://api.autessa.com/clients/autessadb-drive/links/revoke?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"linkId":"string"}'

List a folder​

POST/clients/autessadb-drive/ls

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
foldersOnlyboolean
includeTrashedboolean
limitinteger
nodeIdintegerNode id.
pathstring
sortstringname|modified|size|type + :asc|:desc
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
driveRolestring
folderDriveNodeView
hasMoreboolean
itemsarray of DriveNodeView
nextCursorstring
truncatedanyPresent when the result was cut short (boolean or a reason object).
curl -X POST "https://api.autessa.com/clients/autessadb-drive/ls?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Mkdir​

POST/clients/autessadb-drive/mkdir

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
parentsboolean
pathsarray of string
tableIdstringID id.

Response

FieldTypeRequiredDescription
createdarray of DriveNodeView
foldersarray of DriveNodeView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/mkdir?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parents":true}'

Move​

POST/clients/autessadb-drive/move

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
confirmboolean
destinationPathstring
newNamestring
nodeIdsarray of integer
pathsarray of string
tableIdstringID id.

Response

FieldTypeRequiredDescription
accessChangesAccessChanges
movedarray of DriveNodeView
requiresConfirmationboolean
curl -X POST "https://api.autessa.com/clients/autessadb-drive/move?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"confirm":true}'

Pull​

POST/clients/autessadb-drive/pull

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
pathstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
hasMoreboolean
itemsarray of PullItem
nextCursorstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/pull?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Purge​

POST/clients/autessadb-drive/purge

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdsarray of integer
tableIdstringID id.

Response

FieldTypeRequiredDescription
purgedinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/purge?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nodeIds":[1]}'

Push​

POST/clients/autessadb-drive/push

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
basePathstring
conflictstring
filesarray of PushFile
tableIdstringID id.

Response

FieldTypeRequiredDescription
resultsarray of CommitResult
curl -X POST "https://api.autessa.com/clients/autessadb-drive/push?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"basePath":"string"}'

Read a file's text​

POST/clients/autessadb-drive/read

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
linesstringFor example "100-250".
maxCharsinteger
nodeIdintegerNode id.
pagesstringFor example "3-5".
pathstring
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
nextstring
nodeIdstring
pageRangestring
pathstring
textstring
totalLinesinteger
totalPagesinteger
truncatedanyPresent when the result was cut short (boolean or a reason object).
curl -X POST "https://api.autessa.com/clients/autessadb-drive/read?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Rename​

POST/clients/autessadb-drive/rename

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
newNamestring
nodeIdinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
nodeDriveNodeView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/rename?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"newName":"string"}'

Restore​

POST/clients/autessadb-drive/restore

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdsarray of integer
tableIdstringID id.

Response

FieldTypeRequiredDescription
restoredarray of DriveNodeView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/restore?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nodeIds":[1]}'

Ranked search over file text​

POST/clients/autessadb-drive/search

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
globstring
modestring
pathstring
querystringYes
tableIdstringYesID id.
topKinteger

Response

FieldTypeRequiredDescription
resultsarray of SearchHit
statsobject
curl -X POST "https://api.autessa.com/clients/autessadb-drive/search?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5","query":"refund policy for annual plans"}'

Settings get​

POST/clients/autessadb-drive/settings/get

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
driveAdminsarray of PersonRef
editorsCanShareboolean
linksEnabledboolean
maxVersionsRetainedinteger
ocrLanguagestring
publicLinksEnabledboolean
semanticSearchboolean
trashRetentionDaysinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/settings/get?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Settings update​

POST/clients/autessadb-drive/settings/update

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
driveAdminUserIdsarray of string
editorsCanShareboolean
linksEnabledboolean
ocrLanguagestring
publicLinksEnabledboolean
semanticSearchboolean
tableIdstringID id.

Response

FieldTypeRequiredDescription
driveAdminsarray of PersonRef
editorsCanShareboolean
linksEnabledboolean
maxVersionsRetainedinteger
ocrLanguagestring
publicLinksEnabledboolean
semanticSearchboolean
trashRetentionDaysinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/settings/update?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"driveAdminUserIds":["string"]}'

Shared with company​

POST/clients/autessadb-drive/shared-with-company

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
hasMoreboolean
itemsarray of SharedItem
nextCursorstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/shared-with-company?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Shared with me​

POST/clients/autessadb-drive/shared-with-me

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
hasMoreboolean
itemsarray of SharedItem
nextCursorstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/shared-with-me?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Shares list​

POST/clients/autessadb-drive/shares/list

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
grantsarray of GrantView
linksarray of LinkView
managersarray of PersonRef
membersarray of GrantView
ownerPersonRef
curl -X POST "https://api.autessa.com/clients/autessadb-drive/shares/list?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Shares remove​

POST/clients/autessadb-drive/shares/remove

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
grantIdstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
countinteger
okboolean
curl -X POST "https://api.autessa.com/clients/autessadb-drive/shares/remove?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"grantId":"string"}'

Shares upsert​

POST/clients/autessadb-drive/shares/upsert

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
expiresAtstring
nodeIdinteger
pathstring
principalsarray of PrincipalInput
rolestring
scopestring
tableIdstringID id.

Response

FieldTypeRequiredDescription
grantsarray of GrantView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/shares/upsert?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"expiresAt":"string"}'

One node's details​

POST/clients/autessadb-drive/stat

Needs ?resourceId=<drive table id>; the body tableId must match it.

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
childCountinteger
commentCountinteger
contentUpdatedAtstring
createdAtstring
customColumnsobject
depthinteger
effectiveRolestring
extractionExtractionView
extractionStatusstring
mimeTypestring
namestring
nodeIdstring
nodeTypestring
openCommentCountinteger
ownerNamestring
ownerUserIdstringID id.
parentIdstring
pathstring
sha256string
sharedboolean
sizeBytesinteger
trashedAtstring
updatedAtstring
versioninteger
versionsCountinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/stat?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Status​

POST/clients/autessadb-drive/status

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
extractionobject
filesinteger
foldersinteger
indexobject
curl -X POST "https://api.autessa.com/clients/autessadb-drive/status?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Transfer owner​

POST/clients/autessadb-drive/transfer-owner

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
newOwnerUserIdstringID id.
nodeIdinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
nodeDriveNodeView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/transfer-owner?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"newOwnerUserId":"string"}'

Trash​

POST/clients/autessadb-drive/trash

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdsarray of integer
pathsarray of string
permanentboolean
tableIdstringID id.

Response

FieldTypeRequiredDescription
itemsarray of DriveNodeView
purgedinteger
trashedinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/trash?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nodeIds":[1]}'

Trash list​

POST/clients/autessadb-drive/trash/list

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
hasMoreboolean
itemsarray of TrashItem
nextCursorstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/trash/list?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Tree​

POST/clients/autessadb-drive/tree

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
maxDepthinteger
maxEntriesinteger
pathstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
entriesarray of DriveNodeView
itemsarray of DriveNodeView
rootDriveNodeView
truncatedany
curl -X POST "https://api.autessa.com/clients/autessadb-drive/tree?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"maxDepth":1}'

Upload​

POST/clients/autessadb-drive/upload

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
conflictstring
pathstring
tableIdstringID id.
uploadIdstring

Response

FieldTypeRequiredDescription
errorErrorBody
nodeDriveNodeView
uploadIdstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/upload?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"conflict":"string"}'

Uploads abort​

POST/clients/autessadb-drive/uploads/abort

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
tableIdstringID id.
uploadIdsarray of string

Response

FieldTypeRequiredDescription
countinteger
okboolean
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/abort?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Uploads commit​

POST/clients/autessadb-drive/uploads/commit

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
tableIdstringID id.
uploadIdsarray of string

Response

FieldTypeRequiredDescription
resultsarray of CommitResult
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/commit?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Uploads complete​

POST/clients/autessadb-drive/uploads/complete

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
partsarray of UploadedPart
tableIdstringID id.
uploadIdstring

Response

FieldTypeRequiredDescription
checksumSha256string
countinteger
okboolean
statestring
uploadIdstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/complete?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parts":[{"checksumSha256":"string"}]}'

Uploads complete multipart​

POST/clients/autessadb-drive/uploads/complete-multipart

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
partsarray of UploadedPart
tableIdstringID id.
uploadIdstring

Response

FieldTypeRequiredDescription
checksumSha256string
countinteger
okboolean
statestring
uploadIdstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/complete-multipart?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"parts":[{"checksumSha256":"string"}]}'

Uploads create​

POST/clients/autessadb-drive/uploads/create

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
basePathstring
conflictstring
filesarray of UploadFile
tableIdstringID id.

Response

FieldTypeRequiredDescription
uploadsarray of UploadTicket
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/create?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"basePath":"string"}'

Uploads part urls​

POST/clients/autessadb-drive/uploads/part-urls

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
partNumbersarray of integer
partsarray of PartChecksum
tableIdstringID id.
uploadIdstring

Response

FieldTypeRequiredDescription
expiresAtstring
partsarray of PartUrl
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/part-urls?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"partNumbers":[1]}'

Uploads progress​

POST/clients/autessadb-drive/uploads/progress

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
tableIdstringID id.
uploadIdsarray of string

Response

FieldTypeRequiredDescription
uploadsarray of UploadProgressView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/progress?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Uploads resume​

POST/clients/autessadb-drive/uploads/resume

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
tableIdstringID id.
uploadIdstring

Response

FieldTypeRequiredDescription
bytesCompletedinteger
checksumAlgorithmstring
completedPartsarray of CompletedPartView
expiresAtstring
headersobject
nextPartNumberinteger
partSizeinteger
partsTotalinteger
relativePathstring
sizeinteger
statestring
uploadIdstring
urlstring
curl -X POST "https://api.autessa.com/clients/autessadb-drive/uploads/resume?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Usage​

POST/clients/autessadb-drive/usage

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
cursorstring
limitinteger
tableIdstringID id.

Response

FieldTypeRequiredDescription
bytesQuotainteger
bytesReservedinteger
bytesUsedinteger
filesCountinteger
pagesQuotainteger
pagesThisMonthinteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/usage?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"cursor":"string"}'

Versions list​

POST/clients/autessadb-drive/versions/list

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdintegerNode id.
pathstring
tableIdstringYesID id.

Response

FieldTypeRequiredDescription
versionsarray of VersionView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/versions/list?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tableId":"V1StGXR8Z5"}'

Versions restore​

POST/clients/autessadb-drive/versions/restore

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
nodeIdinteger
tableIdstringID id.
versioninteger

Response

FieldTypeRequiredDescription
nodeDriveNodeView
curl -X POST "https://api.autessa.com/clients/autessadb-drive/versions/restore?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"nodeId":1}'

Write​

POST/clients/autessadb-drive/write

Parameters

NameInTypeRequiredDescription
resourceIdquerystringYesThe Drive table id the key is granted. The body tableId must match it.

Request body

FieldTypeRequiredDescription
collabboolean
contentstring
expectedVersioninteger
mimestring
modestring
pathstring
tableIdstringID id.

Response

FieldTypeRequiredDescription
bytesinteger
createdboolean
modestring
nodeDriveNodeView
versioninteger
curl -X POST "https://api.autessa.com/clients/autessadb-drive/write?resourceId=V1StGXR8Z5" \
-H "Authorization: $AUTESSA_API_KEY" \
-H "Content-Type: application/json" \
-d '{"content":"Where is my order?"}'