GET/groups/{groupId}/folder/files/{fileId}/revisions/{revisionId}

Gets the properties of a file revision in a team/group folder.

Authorization

oauth2

OAuth 2.0 authentication.
For more information, see Authentication and Authorization.

Scope

file
file.read
group.folder
group.folder.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/groups/{groupId}/folder/files/{fileId}/revisions/{revisionId}

Path Parameters

ParameterTypeDescription
groupId string 

Team/group ID


required
example : group127-8545-4463-603b-04d550d23bf 
fileId string 

File ID


required
example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA 
revisionId string 

Revision ID


required
example : 0 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
createdTime string 

Creation date


readOnly : true 
fileSize integer 

File size


format : int64
readOnly : true 
fileType string 

File type

  • AUDIO: Audio file
  • DOC: Document file
  • ETC: Etc. file
  • EXE: Executable file
  • FOLDER: Folder
  • IMAGE: Image file
  • VIDEO: Video file
  • ZIP: Zip file

Allowed values : AUDIO, DOC, ETC, EXE, FOLDER, IMAGE, VIDEO, ZIP 
originalPath string 

Original path


readOnly : true 
resourceLocation integer 

Resource location code


format : int32
readOnly : true 
revisionId string 

Revision ID


readOnly : true 
modifiedTime string 

Update date


readOnly : true 
updateUser string 

Updated by (user ID)


readOnly : true 

Response Example

example

1{2  "revisionId": "0",3  "resourceLocation": 24101,4  "fileSize": 52255,5  "fileType": "IMAGE",6  "originalPath": "N:/worksFolder/mobile-18_jpeg.jpeg",7  "createdTime": "2017-06-22T10:50:59.59+09:00",8  "modifiedTime": "2017-05-11T18:31:20.20+09:00",9  "updateUser": "userf7da-f82c-4284-13e7-030f3b4c756x"10}