List Google Drive Folders
List folders in Google Drive for folder selection in sync configuration.
Enables users to browse and select folders when configuring sync operations. Only available for Google Drive connections.
Use Cases:
- Browse available folders for sync configuration
- Select source folder for bucket sync
- Navigate nested folder structures
Example:
curl -X GET "http://localhost:8000/v1/organizations/connections/conn_abc123/folders?path=/Marketing" \
-H "Authorization: Bearer YOUR_API_KEY"
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Connection identifier - either connection ID (conn_...) or name. The system will automatically resolve names to IDs.
"conn_abc123def456ghi"
"Marketing Google Drive"
Query Parameters
Parent folder path to list from
Response
Successful Response
Response payload for listing Google Drive folders.
Returns a list of folders available at the specified path, enabling users to browse and select folders for sync configuration.
List of folders found at the specified parent path. Only includes folders (not files). Empty list if no folders found or path doesn't exist.
The parent folder path that was queried. This is the path specified in the request (or '/' for root). Use this to show breadcrumb navigation in UI.
"/"
"/Marketing"
"/Marketing/2024 Campaigns"

