Directories

List directories

Get a list of directories, optionally filtered by service 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/directories

Request

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

Query parameters

fieldsstring
Example:owners,children,parent,usageSummary,tags,extension,domains,sourceHash,lifeCycle,votes,followers,numberOfFiles,numberOfSubDirectories,totalSize,directoryType

Fields requested in the returned resource

servicestring
Example:googleDrive

Filter directories by service name

parentstring

Filter directories by parent directory fully qualified name

rootboolean

Include only root directories (directories without parent)

limitinteger

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

beforestring

Returns list of directories before this cursor

afterstring

Returns list of directories after this cursor

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

Include all, deleted, or non-deleted entities.

Response

List of directories

warningsCountinteger

Changes

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