GET/groups/{groupId}/folder

組織/グループフォルダのプロパティを取得する。

Authorization

oauth2

Access Token を指定します。
指定の方法や Access Token の取得方法は 共通仕様 を参照してください。

Scope

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

HTTP Request

GEThttps://www.worksapis.com/v1.0/groups/{groupId}/folder

Path Parameters

ParameterTypeDescription
groupId string 

組織/グループの ID (URL エンコードする)

  • 組織フォルダの場合、組織 ID (orgUnitId)
  • グループフォルダの場合、グループ ID (groupId)

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

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
createdTime string 

作成日時


readOnly : true 
name string 

フォルダ名


readOnly : true 
quota object (quota) 

組織/グループフォルダの容量情報

 
trashEmptyCycle integer 

ゴミ箱の自動削除期間 (単位:日数)


minimum : 0
maximum : 50
format : int32
readOnly : true 

quota

PropertyTypeDescription
trash integer 

ゴミ箱の容量


format : int64
readOnly : true 
used integer 

使用容量


format : int64
readOnly : true 

Response Example

example

1{2  "name": "folder",3  "createdTime": "2019-03-19T09:42:15.15+09:00",4  "quota": {5    "used": 161399890,6    "trash": 630864327  },8  "trashEmptyCycle": 09}