Google Drive의 타사 바로가기는 다음 링크로 연결되는 메타데이터 전용 파일입니다. 외부, 서드 파티 소유, 스토리지 시스템에 있는 다른 파일. 이 단축키는 '콘텐츠'에 대한 참조 링크로 외부 애플리케이션이 저장한 파일을 일반적으로 다른 데이터 스토어 또는 클라우드 스토리지 시스템에 있는 Drive
서드 파티 바로가기를 만들려면 Google Drive API의 files.create
메서드를 사용하고
MIME 유형을 application/vnd.google-apps.drive-sdk
로 설정합니다. 업로드 안함
콘텐츠를 만듭니다. 자세한 내용은 Google Workspace를 참고하세요.
및 Google Drive에서 지원하는 MIME 유형을 참고하세요.
서드 파티 바로가기를 업로드하거나 다운로드할 수 없습니다.
다음 코드 샘플은 클라이언트 라이브러리:
자바
Python
PHP
.NET
Node.js
서드 파티 바로가기 작동 방식
files.create
메서드를 사용하여 서드 파티 바로가기를 만들면
메타데이터를 삽입하고 앱의 바로가기를 만드는 POST
요청
콘텐츠:
POST https://www.googleapis.com/drive/v3/files
Authorization: AUTHORIZATION_HEADER
{
"title": "FILE_TITLE",
"mimeType": "application/vnd.google-apps.drive-sdk"
}
서드 파티 바로가기를 클릭하면 사용자는 외부
확인할 수 있습니다 Drive 파일 ID는 다음에 포함되어 있습니다.
state
매개변수 자세한 내용은
자세한 내용은 앱별 URL 열기 처리
문서를 참조하세요.
그러면 서드 파티 앱 또는 웹사이트가
state
매개변수를 시스템 내에 저장된 콘텐츠에 추가합니다.
맞춤 썸네일 및 색인 생성 가능한 텍스트 추가
서드 파티 바로가기와 연결된 파일의 검색 가능성을 높이려면 다음 안내를 따르세요. 삽입하거나 삽입할 때 썸네일 이미지와 색인 생성 가능한 텍스트를 모두 업로드할 수 있습니다. 파일 메타데이터 수정 자세한 내용은 파일 메타데이터 관리를 참고하세요.