Skip to main content

Query - 외부 연동된 공유폴더 목록 조회

팀즈에 매핑된 SHIELDrive 공유 폴더 목록을 조회한다.


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
typeInt외부 서비스 타입 (필수)
storageCodeString저장소 코드
companyIdString회사 고유 아이디 (필수)
teamIdString팀즈 팀 아이디
channelIdString팀즈 채널 아이디
interlockIdString저장소 연계키 값
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
FsEntityDto폴더 정보

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

query interlockShareFolders($type: Int!, $storageCode: String, $companyId: String!, $teamId: String, $channelId: String, $interlockId: String, $adminPage: Boolean) {
interlockShareFolders(type: $type, storageCode: $storageCode, companyId: $companyId, teamId: $teamId, channelId: $channelId, interlockId: $interlockId, 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
}
folderIncluded
__typename
}
}

Sample

VARIABLES

{
"type": 1,
"storageCode": "CLD_000002",
"companyId": "3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq",
"teamId": "d504cf58-94a7-4404-aa58-5d7d3d924dd2",
"channelId": "19:7t6NgdcVX_TQKg97oAJaXYF7lMJTc2pNYr7QAK5ixIo1@thread.tacv2",
"interlockId": "socamresearch.sharepoint.com,7c5f841a-1acc-4437-abfc-b272fc1c1dfc,521b1bf3-3c81-4c44-b92f-2c30fe338e50",
"adminPage": false
}

RESPONSE

{
"data": {
"interlockShareFolders": []
}
}