Files

List files

Get a list of files, optionally filtered by service or directory it belongs to. Use fields parameter to get only necessary fields. Use cursor-based pagination to limit the number entries in the list using limit and before or after query params.

get/v1/drives/files

Request

  • Base URL: https://demo.getcollate.io/api
  • URL: https://demo.getcollate.io/api/v1/drives/files
  • Auth: HTTP bearer

Query parameters

fieldsstring
Example:owners,directory,usageSummary,tags,fileExtension,extension,domains,sourceHash,lifeCycle,votes,followers,columns,sampleData

Fields requested in the returned resource

servicestring
Example:googleDrive

Filter files by service name

directorystring

Filter files by directory fully qualified name

fileTypestring

Filter files by file type

rootboolean

List files at the root level (without parent) when true

limitinteger

Limit the number files returned. (1 to 1000000, default = 10)

beforestring

Returns list of files before this cursor

afterstring

Returns list of files after this cursor

include'all' | 'deleted' | 'non-deleted'

Include all, deleted, or non-deleted entities.

Response

List of files

warningsCountinteger

Changes

No recorded changes to this operation across all 1 revision of this API.