This topic was automatically generated from Slack. You can find the original thread here.
Hey folks running into a weird type called dir
that I don’t know how to handle. What are we suppose to provide? Here is the schema
{'data': {'name': 'Download File', 'description': 'Download a file. [See the documentation](https://developers.google.com/drive/api/v3/manage-downloads) for more information', 'component_type': 'action', 'version': '0.1.11', 'key': 'google_drive-download-file', 'configurable_props': [{'name': 'googleDrive', 'type': 'app', 'app': 'google_drive'}, {'name': 'drive', 'type': 'string', 'label': 'Drive', 'description': 'Defaults to `My Drive`. To select a [Shared Drive](https://support.google.com/a/users/answer/9310351) instead, select it from this list.', 'optional': True, 'default': 'My Drive', 'remoteOptions': True}, {'name': 'fileId', 'type': 'string', 'label': 'File', 'description': 'The file to download', 'remoteOptions': True}, {'name': 'filePath', 'type': 'string', 'label': 'Destination File Path', 'description': 'The destination file name or path [in the `/tmp` directory](https://pipedream.com/docs/workflows/steps/code/nodejs/working-with-files/#the-tmp-directory) (e.g., `/tmp/myFile.csv`)'}, {'name': 'mimeType', 'type': 'string', 'label': 'Conversion Format', 'description': 'The format to which to convert the downloaded file if it is a [Google Workspace document](https://developers.google.com/drive/api/v3/ref-export-formats)', 'optional': True, 'remoteOptions': True}, {'name': 'syncDir', 'type': 'dir', 'accessMode': 'write', 'sync': True}], 'stash': 'required'}}
What does the /run
endpoint expect us to provide?