Docs
Get Organization File Folders
GET /organizations/{orgId}/file-folders
GET
/organizations/{orgId}/file-foldersLists every folder of the organization's drive the caller can reach, with the caller's level on each (View, Participate, Edit or Manage). A reachable folder whose parent the caller cannot reach comes back with parentFolderId null, so it shows at the root. Build the tree from parentFolderId; list a folder's files with Drives_GetOrganizationFiles. Needs the organization's token.
Path Parameters
| Field | Type | Required | Description |
|---|---|---|---|
| orgId | uuid | Required |
Response
Type: GetOrganizationFileFoldersResponse[]
GetOrganizationFileFoldersResponse
| Field | Type | Description |
|---|---|---|
| id | uuid | |
| parentFolderId | uuid| null | |
| name | string| null | |
| description | string| null | |
| level | string| null | |
| isShared | boolean | |
| containsDocs | boolean | |
| reachedByPublicLink | boolean | |
| modified | date-time |