GET/organizations/{orgId}/files
Lists the files in an organization drive folder (folderId from Drives_GetOrganizationFileFolders) or at its root
(folderId omitted), with the caller's level and latest version. The root always answers, listing only the root files
that reach the caller; a folder the caller cannot reach answers 404. Needs the organization's token.
Path Parameters
| Field | Type | Required | Description |
|---|
| orgId | uuid | Required | |
Query Parameters
| Field | Type | Required | Description |
|---|
| folderId | uuid | Optional | |
Response
Type: GetOrganizationFilesResponse[]
GetOrganizationFilesResponse
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| type | string| null | |
| folderId | uuid| null | |
| level | string| null | |
| canDelete | boolean | |
| status | string| null | |
| versionCount | integer | |
| latestVersion | GetOrganizationFilesResponseVersion | |
| modified | date-time | |
| createdBy | string| null | |
| isShared | boolean | |
| ownerType | string| null | |
| ownerId | uuid| null | |
| url | string| null | |
| trackedTaskId | uuid| null | |
| canEditAssignment | boolean| null | |
| dueDate | date-time| null | |
| taskStatus | GetOrganizationFilesResponseTaskStatusSummary | |
| assignees | GetOrganizationFilesResponseAssignee[]| null | |
| tracking | GetOrganizationFilesResponseTrackingInfo | |
GetOrganizationFilesResponseVersion
| Field | Type | Description |
|---|
| id | uuid | |
| versionTag | string| null | |
| createdAt | date-time | |
| size | integer | |
| formats | GetOrganizationFilesResponseVersionFormat[]| null | |
GetOrganizationFilesResponseTaskStatusSummary
| Field | Type | Description |
|---|
| id | uuid | |
| name | string| null | |
| state | string| null | |
| color | string| null | |
GetOrganizationFilesResponseAssignee
| Field | Type | Description |
|---|
| kind | string| null | |
| id | uuid | |
| name | string| null | |
| occupantName | string| null | |
| isFilled | boolean| null | |
GetOrganizationFilesResponseTrackingInfo
| Field | Type | Description |
|---|
| hostKind | string| null | |
| hostId | uuid | |
| hostName | string| null | |
| parentRecordId | uuid| null | |
| attributeId | uuid | |
| attributeName | string| null | |
| Field | Type | Description |
|---|
| id | uuid | |
| type | string| null | |
| size | integer | |