Skip to main content

Mutation - 저장소 Resource 다운로드 (Path 기반)

저장소 Resource 다운로드 (Path 기반)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
sourcePathString다운로드 할 리소스 경로 (필수)
isFolderBoolean폴더 여부 (필수)
unifiedStorageIdString저장소 아이디 (필수)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
String다운로드용 URL

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

mutation downloadUnifiedStorageResourceByPath($sourcePath: String!, $isFolder: Boolean!, $unifiedStorageId: String!, $adminPage: Boolean) {
downloadUnifiedStorageResourceByPath(sourcePath: $sourcePath, isFolder: $isFolder, unifiedStorageId: $unifiedStorageId, adminPage: $adminPage)
}

Sample

VARIABLES

{
"sourcePath": "/shieldrive_folder/20/e1c8f8206fdb11efb646bb9103c31359/test.log",
"isFolder": false,
"unifiedStorageId": "7e4d49be6fdb11efb6897e3da3d1af5e",
"adminPage": false
}

RESPONSE

{
"data": {
"downloadUnifiedStorageResourceByPath": "https://devwebdav.softcamp.co.kr/3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq/shieldrive_folder/e0/aa0077e0446011ed894d835201275b98/test.log"
}
}