List Google Drive content asynchronously
List folders and files reachable from path in Google Drive. Use this for project
setup, change detection, or to drive a UI picker.
The path.pathType selects the scope:
ROOT— list available top-level spaces (“My Drive” and “Shared drives”)SHARED_DRIVES_ROOT— list all shared drives accessible to the credentialsFOLDER— list children of the given folder
The response is a list of remoteResources. Each entry carries a resolved path you
can feed back into download-raw-file or upload-raw-file.
Async variant. Returns immediately with { requestId, webHookUrl }. The listing is POSTed to the URL supplied in X-Webhook.
Authorizations
IDM-issued JWT. Obtain via the IDM authentication flow and pass as: Bearer
Headers
A logging ID of the request. It is propagated through Phrase systems, making it easier to connect logs from various services. If no ActionId is sent with a request, one will be generated by Bifrost and returned with the response.
Specify if the response should contain the processed object itself in an application/octet-stream body, or a application/json body with an ID that can be then used to retrieve the object using a /load-content endpoint. Note that for larger files (> 1 MB), it is advised to use the ID option which is also default.
Required on /async/... endpoints. Bifrost POSTs the operation result to this URL once the connector finishes processing.
Omitting this header on an async endpoint returns 400.
Body
Request payload for listing folders and files in Google Drive.
The path determines where the listing starts (for example, connector root, a shared drive, or a specific folder). Authentication is provided via connectorUuid.
UUID of a configured connector that holds stored Google Drive credentials.
"b9c06f76-4a44-4d2e-8a26-3d1e4b47e123"
Connector configuration for the Google Drive connector.
Currently no configuration options are exposed. The object is reserved for future configuration flags while keeping the API contract stable.
{}Polymorphic description of a Google Drive location used by connector operations.
The pathType discriminator selects the concrete shape:
- ROOT - connector entry listing available spaces
- SHARED_DRIVES_ROOT - virtual root listing shared drives
- FOLDER - real folder or drive root
- FILE - real file under a folder
- Option 1
- Option 2
- Option 3
- Option 4
Locale code used for localization-aware behaviors, if any. Optional. Use a BCP 47 or Phrase locale code (for example, "en", "de", "cs").
"en"
Response
Successful operation. If X-ResponseType is set to 'ID' or no value is sent in the header, the file is saved and can be retrieved by sending a GET request to this endpoint. If X-ResponseType is set to 'OBJECT', the file is returned as a stream.