GET/sharedrives/{sharedriveId}/files/{fileId}/revisions/{revisionId}
共有ドライブのファイルバージョンプロパティを取得する。
Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。
file
file.read
| Parameter | Type | Description |
|---|---|---|
| sharedriveId | string | 共有ドライブ ID (URL エンコードする) required example : @2101000000000008 |
| fileId | string | ファイル ID required example : NzExNTMwMDF8MTQ2NzA1NjAxMDAwMHxGfDA |
| revisionId | string | バージョン ID required example : 0 |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
OK
| Property | Type | Description |
|---|---|---|
| createdTime | string | 作成日時 readOnly : true |
| fileSize | integer | ファイルサイズ format : int64 readOnly : true |
| fileType | string | ファイルタイプ
Allowed values : AUDIO, DOC, ETC, EXE, FOLDER, IMAGE, VIDEO, ZIP |
| originalPath | string | 初期パス readOnly : true |
| resourceLocation | integer | リソースロケーションコード format : int32 readOnly : true |
| revisionId | string | バージョン ID readOnly : true |
| modifiedTime | string | 更新日時 readOnly : true |
| updateUser | string | 更新ユーザーのユーザー ID (userId) readOnly : true |
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}