From 1b3af08721ffa627b8c29216036823aebc18b686 Mon Sep 17 00:00:00 2001 From: dazzatronus Date: Fri, 17 Jul 2026 23:43:38 +1000 Subject: [PATCH] fix: make google-drive destination options and folderId optional, saving to My Drive root when omitted --- schemas/destinations/googleDriveDestination.yaml | 5 +++-- schemas/destinations/googleDriveDestinationOptions.yaml | 7 +++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/schemas/destinations/googleDriveDestination.yaml b/schemas/destinations/googleDriveDestination.yaml index cb3b43c..1169ec8 100644 --- a/schemas/destinations/googleDriveDestination.yaml +++ b/schemas/destinations/googleDriveDestination.yaml @@ -10,9 +10,10 @@ default: google-drive example: google-drive options: - description: Additional Google Drive configuration and features. + description: >- + Additional Google Drive configuration and features. If omitted, files are saved to the root of + My Drive using the default Shotstack filename. $ref: "./googleDriveDestinationOptions.yaml#/GoogleDriveDestinationOptions" type: object required: - provider - - options diff --git a/schemas/destinations/googleDriveDestinationOptions.yaml b/schemas/destinations/googleDriveDestinationOptions.yaml index 0f3238a..c39b1d3 100644 --- a/schemas/destinations/googleDriveDestinationOptions.yaml +++ b/schemas/destinations/googleDriveDestinationOptions.yaml @@ -4,8 +4,9 @@ properties: folderId: description: >- - The Google Drive folder ID where asset will be stored. The folder ID is required and can be retrieved from - the URL when logged in to Google Drive, e.g. https://drive.google.com/drive/u/0/folders/1r-eTY6OLO8tzQRKwMyq-fIrQ_7AJEI6A. + The Google Drive folder ID where the asset will be stored. If omitted, the asset is saved to the root of + My Drive. The folder ID can be retrieved from the URL when logged in to Google Drive, + e.g. https://drive.google.com/drive/u/0/folders/1r-eTY6OLO8tzQRKwMyq-fIrQ_7AJEI6A. type: string example: 1r-eTY6OLO8tzQRKwMyq-fIrQ_7AJEI6A filename: @@ -15,5 +16,3 @@ and thumbnail images. type: string example: my-file - required: - - folderId