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

Mutation - 폴더 다운로드

폴더를 다운로드한다.


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
idID폴더 아이디
fullPathString폴더 경로 (필수)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
MultiDownloadResDto멀티파일 다운로드 정보

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

mutation downloadFolder($id: ID, $fullPath: String!, $adminPage: Boolean) {
downloadFolder(id: $id, fullPath: $fullPath, adminPage: $adminPage) {
failure {
displayPath
displayName
message
__typename
}
success {
displayPath
displayName
message
__typename
}
downloadUrl
message
__typename
}
}

Sample

VARIABLES

{
"id": "73673284953d11edbcf63608ec861e40",
"fullPath": "/folder/NAS/hsytest",
"adminPage": false
}

RESPONSE

{
"data": {
"downloadFolder": {
"failure": [],
"success": [
{
"displayPath": "/folder/NAS/hsytest",
"displayName": "newFile.docx",
"message": null,
"__typename": "DownloadResDto"
},
{
"displayPath": "/folder/NAS/hsytest",
"displayName": "파일 (1).xlsx",
"message": null,
"__typename": "DownloadResDto"
}
],
"downloadUrl": "https://devwebdav.softcamp.co.kr/SHIELDrive/3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq/temp/user1@socam.info/1677054178618/73673284953d11edbcf63608ec861e40/target/hsytest.zip",
"message": null,
"__typename": "MultiDownloadResDto"
}
}
}