メインコンテンツまでスキップ

Query - 저장소 Resource 목록 조회 (Path 기반)

저장소 Resource 목록 조회 (Path 기반)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
folderPathString조회 할 타켓 폴더 경로 (빈값일 경우 루트 경로) (필수)
unifiedStorageIdString저장소 아이디 (필수)
pageSizeInt분할 요청시 페이지 사이즈
pageMarkerString분할 요청시 다음 페이지 조회를 위한 값
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
ResUnifiedStorageResourcesDto저장소 Resource 목록 조회 정보
UnifiedStorageResourceDto저장소 Resource 정보

Method

POST

{{url}}/graphql

Headers

KEYVALUE
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
}
]
}
}
}