Query - 저장소 Resource 목록 조회 (Path 기반)
저장소 Resource 목록 조회 (Path 기반)
Schema
Input Objects
KEY OBJECT DESC folderPathString 조회 할 타켓 폴더 경로 (빈값일 경우 루트 경로) (필수) unifiedStorageIdString 저장소 아이디 (필수) pageSize Int 분할 요청시 페이지 사이즈 pageMarker String 분할 요청시 다음 페이지 조회를 위한 값 adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC ResUnifiedStorageResourcesDto 저장소 Resource 목록 조회 정보 UnifiedStorageResourceDto 저장소 Resource 정보
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
query unifiedStorageResourcesByPath($folderPath: String!, $unifiedStorageId: String!, $pageSize: Int, $pageMarker: String, $adminPage: Boolean) {
unifiedStorageResourcesByPath(folderPath: $folderPath, unifiedStorageId: $unifiedStorageId, pageSize: $pageSize, pageMarker:$pageMarker, adminPage: $adminPage) {
unifiedStorageId
folderId
folderPath
pageMarker
fileList {
fileName,
isFolder,
modifiedTime,
fileSize,
additional
}
}
}
Sample
VARIABLES
{
"folderPath": "id_aaaa",
"unifiedStorageId": "7e4d49be6fdb11efb6897e3da3d1af5e",
"adminPage": false
}RESPONSE
{
"data": {
"unifiedStorageResourcesByPath": {
"unifiedStorageId": "7e4d49be6fdb11efb6897e3da3d1af5e",
"folderId": null,
"folderPath": "/shieldrive_folder/20/e1c8f8206fdb11efb646bb9103c31359",
"pageMarker": null,
"fileList": [
{
"fileName": "www.onedrive.com.url",
"isFolder": false,
"modifiedTime": 1585030896000,
"fileSize": 57,
"additional": null
}
]
}
}
}