Skip to main content

Mutation - 파일 다운로드

파일을 다운로드한다.


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
idID파일 아이디
fullPathString파일 경로 (필수)
targetPathString다운로드 지정 경로
policyKeyString정책 키
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
String다운로드용 URL

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

mutation downloadFile($id: ID, $fullPath: String!, $targetPath: String, $policyKey: String, $adminPage: Boolean) {
downloadFile(id: $id, fullPath: $fullPath, targetPath: $targetPath, policyKey: $policyKey, adminPage: $adminPage)
}

Sample

VARIABLES

{
"fullPath": "/folder/NAS/[한국정보인증] OTP 사용자 매뉴얼_GT4.1_v1.3.pptx",
"policyKey": "download",
"adminPage": false
}

RESPONSE

{
"data": {
"downloadFile": "https://devwebdav.softcamp.co.kr/3CJ55MSE-xLO7Sxt4-qUBKzbcs-XP2cgGEq/shieldrive_folder/e0/aa0077e0446011ed894d835201275b98/[한국정보인증] OTP 사용자 매뉴얼_GT4.1_v1.3.pptx"
}
}