Third-party shortcuts in Google Drive are files that link to other files on external, third-party owned, storage systems. These shortcuts act as reference links to the outside "content" files stored by an application.
To create a third-party shortcut, use the files.create
method of the Google Drive API and make
sure you set the MIME type to application/vnd.google-apps.drive-sdk
. For
more information, see Google Workspace & Google Drive supported MIME
types.
Don't upload any content when creating the file.
Java
Python
PHP
.NET
Node.js
Add custom thumbnails & indexable text
To increase the discoverability of files associated with third-party shortcuts, you can upload both thumbnail images and indexable text when inserting or modifying the file metadata. For more information, see Manage file metadata.