GET/users/{userId}/drive/files/{fileId}/revisions/{revisionId}/download

내 드라이브에서 파일의 지정된 버전을 다운로드한다.

참고
API를 이용한 콘텐츠 다운로드 방법은 파일 업로드/다운로드를 참고한다.

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증을 참고한다.

Scope

file
file.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/users/{userId}/drive/files/{fileId}/revisions/{revisionId}/download

Path Parameters

ParameterTypeDescription
userId string 

사용자 ID

  • 메일
  • 리소스 ID
  • 외부 키 "externalKey:{externalKey}" 형태
  • me

required
example : me 
fileId string 

파일 ID


required
example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA 
revisionId string 

버전 ID


required
example : 0 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 302

location 헤더에 파일 접근 URL이 포함되어 반환된다.