Googleドライブのサードパーティーショートカット
Googleドライブ外のストレージへのリンクをサードパーティーショートカットと呼ぶ。
Third-party shortcuts are files that link to files on other, external, storage systems.
以前は単にショートカットと呼ばれていた。
Googleドライブ内のファイルに対するショートカットが導入されてからはサードパーティーショートカットという名前に変更された。
Create a shortcut to an external file, Google Drive API v3
Previously, shortcuts were the term for files that pointed to files on other storage systems. That type of "shortcut" has been renamed to third-party shortcut. For further information, see Create a shortcut to an external file.
サードパーティーショートカットには別のMIMEタイプapplication/vnd.google-apps.drive-sdkが割り当てられている。
Do not upload any content when creating the file.
サードパーティショートカットはコンテンツを持たないらしい。
名前しか持たない?メタデータはいろいろと突っ込むことができる?
結局誰が開く?
Open URLを指すらしいが、よく理解していない。
Configure a Drive UI integration
Handle an Open URL
Why is it required to have 'application/vnd.google-apps.drive-sdk' as the mimetype when creating a shortcut in drive?
https://stackoverflow.com/questions/24740949/why-is-it-required-to-have-application-vnd-google-apps-drive-sdk-as-the-mimety
When you open a item with the application/vnd.google-apps.drive-sdk MIME type set, Drive knows that it should open the Open URL that was registered by the Drive application that created the shortcut and pass it the necessary state information to correctly handle the request.
Drive UI integrationの設定項目
Open URL
URL to open Drive files with your application.
Default Mime Types (Optional)
List MIME types that your application can open. Users can make your application open files with these MIME types by default.
Default File Extensions (Optional)
List file extensions that your application can open. Users can make your application open items with these extensions by default.
Secondary MIME Types (Optional)
List secondary MIME types that your application supports. These MIME types are never opened with your application by default.
Secondary File Extensions (Optional)
List secondary file extensions that your application supports. These file extensions are never opened with your application by default.
https://gyazo.com/4637b7c31e727894a75587e27d7eb6b3
関連項目
Googleドライブのショートカット