cloudsync.onedrive_list_drives

Lists all available drives and their types for given Microsoft OneDrive credentials.

Type: object

Type: array
No Additional Items

Tuple Validation

Parameter 1: onedrive_list_drives

onedrive_list_drives

Type: object

CloudSyncOneDriveListDrivesArgs parameters.

No Additional Properties

Client Id

Type: string Default: ""

OAuth client ID for OneDrive API access.

Client Secret

Type: string Default: ""

OAuth client secret for OneDrive API access.

Token

Type: string

OAuth access token for OneDrive authentication.

Must be at least 1 characters long

Result

Type: array of object

Array of available OneDrive drives.

No Additional Items
Each item of this array must be:

CloudSyncOneDriveListDrivesDrive

Type: object
No Additional Properties

Drive Id

Type: string

OneDrive drive identifier.

Drive Type

Type: enum (of string)

Type of OneDrive.

Must be one of:
  • "PERSONAL"
  • "BUSINESS"
  • "DOCUMENT_LIBRARY"

Name

Type: string

Display name of the OneDrive.

Description

Type: string

Description of the OneDrive.



Required roles: CLOUD_SYNC_WRITE