diff options
| author | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-15 09:03:22 +0900 |
|---|---|---|
| committer | こぴなたみぽ <syuilotan@yahoo.co.jp> | 2017-12-15 09:03:22 +0900 |
| commit | 3bcdbe151f89622aabc9c38a8a4d69abdec97619 (patch) | |
| tree | afef5f73fe9052bdfdde42decc65ce89910e5568 /src | |
| parent | :v: (diff) | |
| download | sharkey-3bcdbe151f89622aabc9c38a8a4d69abdec97619.tar.gz sharkey-3bcdbe151f89622aabc9c38a8a4d69abdec97619.tar.bz2 sharkey-3bcdbe151f89622aabc9c38a8a4d69abdec97619.zip | |
:v:
Diffstat (limited to 'src')
| -rw-r--r-- | src/web/docs/api/entities/drive-file.yaml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/src/web/docs/api/entities/drive-file.yaml b/src/web/docs/api/entities/drive-file.yaml new file mode 100644 index 0000000000..2ebbb089ab --- /dev/null +++ b/src/web/docs/api/entities/drive-file.yaml @@ -0,0 +1,73 @@ +name: "DriveFile" + +desc: + ja: "ドライブのファイル。" + en: "A file of Drive." + +props: + - name: "id" + type: "id" + optional: false + desc: + ja: "ファイルID" + en: "The ID of this file" + - name: "created_at" + type: "date" + optional: false + desc: + ja: "アップロード日時" + en: "The upload date of this file" + - name: "user_id" + type: "id(User)" + optional: false + desc: + ja: "所有者ID" + en: "The ID of the owner of this file" + - name: "user" + type: "entity(User)" + optional: true + desc: + ja: "所有者" + en: "The owner of this file" + - name: "name" + type: "string" + optional: false + desc: + ja: "ファイル名" + en: "The name of this file" + - name: "md5" + type: "string" + optional: false + desc: + ja: "ファイルのMD5ハッシュ値" + en: "The md5 hash value of this file" + - name: "type" + type: "string" + optional: false + desc: + ja: "ファイルの種類" + en: "The type of this file" + - name: "datasize" + type: "number" + optional: false + desc: + ja: "ファイルサイズ(bytes)" + en: "The size of this file (bytes)" + - name: "url" + type: "string" + optional: false + desc: + ja: "ファイルのURL" + en: "The URL of this file" + - name: "folder_id" + type: "id(DriveFolder)" + optional: true + desc: + ja: "フォルダID" + en: "The ID of the folder of this file" + - name: "folder" + type: "entity(DriveFolder)" + optional: true + desc: + ja: "フォルダ" + en: "The folder of this file" |