From fa469725c781f6c699ead5d271dffd1bb30bf64e Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 11 Aug 2018 00:49:29 +0900 Subject: [PATCH] Add doc --- src/docs/api/entities/drive-folder.yaml | 41 +++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 src/docs/api/entities/drive-folder.yaml diff --git a/src/docs/api/entities/drive-folder.yaml b/src/docs/api/entities/drive-folder.yaml new file mode 100644 index 0000000000..0fb8308dd4 --- /dev/null +++ b/src/docs/api/entities/drive-folder.yaml @@ -0,0 +1,41 @@ +name: "DriveFolder" + +desc: + ja: "ドライブのフォルダを表します。" + en: "A folder of Drive." + +props: + id: + type: "id" + optional: false + desc: + ja: "フォルダID" + en: "The ID of this folder" + + createdAt: + type: "date" + optional: false + desc: + ja: "作成日時" + en: "The created date of this folder" + + userId: + type: "id(User)" + optional: false + desc: + ja: "所有者ID" + en: "The ID of the owner of this folder" + + parentId: + type: "entity(DriveFolder)" + optional: false + desc: + ja: "親フォルダのID (ルートなら null)" + en: "The ID of parent folder" + + name: + type: "string" + optional: false + desc: + ja: "フォルダ名" + en: "The name of this folder"