Query - 폴더 정보 조회
폴더 상세 정보를 조회한다.
Schema
Input Objects
KEY OBJECT DESC id ID 폴더 고유 아이디 fullPathString 조회 폴더 경로 (필수) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC FsEntityDto 폴더 / 파일 정보
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
query folder($id: ID, $fullPath: String!, $adminPage: Boolean) {
folder(id: $id, fullPath: $fullPath, adminPage: $adminPage) {
id
indexDate
deleteKey
storageId
interlockId
realPath
displayPath
storageEntityId
type
realName
displayName
description
tag
size
createdDate
createdUserId
createdUserName
modifiedDate
modifiedUserId
modifiedUserName
status
statusReqDate
statusResDate
folderInfo {
type
shareFolderInfo {
bgImage
labels {
id
name
color
__typename
}
members {
id
name
role
createdDate
__typename
}
teamId
type
__typename
}
shareChannelInfo {
channelId
membershipType
__typename
}
shareListInfo {
pos
__typename
}
shareCardInfo {
labelId
pos
__typename
}
__typename
}
acl {
id
targetType
targetId
authFlag
order
refernceId
__typename
}
aggs {
folderCount
fileCount
fileSize
__typename
}
favorited
subscribed
accessDate
fixings
__typename
}
}
Sample
VARIABLES
{
"fullPath": "/folder",
"adminPage": false
}RESPONSE
{
"data": {
"folder": {
"id": "shieldrive_folder",
"indexDate": 1654137453863,
"deleteKey": "",
"storageId": null,
"interlockId": null,
"realPath": "",
"displayPath": "",
"storageEntityId": null,
"type": 0,
"realName": "shieldrive_folder",
"displayName": "folder",
"description": null,
"tag": null,
"size": 0,
"createdDate": 1654137453863,
"createdUserId": "SHIELDrive",
"createdUserName": "SHIELDrive",
"modifiedDate": 1654137453863,
"modifiedUserId": "SHIELDrive",
"modifiedUserName": "SHIELDrive",
"status": 0,
"statusReqDate": 0,
"statusResDate": 0,
"folderInfo": {
"type": "FOLDER",
"shareFolderInfo": null,
"shareChannelInfo": null,
"shareListInfo": null,
"shareCardInfo": null,
"__typename": "FsEntityFolderInfoDto"
},
"acl": {
"id": "a9ea2a272cbd11edb4ac6a7104c4c708",
"targetType": 2,
"targetId": "jQF7z1Lo-34TwGFbJ-lfd7MYHD-8G5iKMHl",
"authFlag": 0,
"order": 2,
"refernceId": null,
"__typename": "FsEntityAclDto"
},
"aggs": {
"folderCount": 50,
"fileCount": 329,
"fileSize": 4226306009,
"__typename": "FsEntityAggsDto"
},
"favorited": false,
"subscribed": false,
"accessDate": 0,
"fixings": null,
"__typename": "FsEntityDto"
}
}
}