Skip to main content

Mutation - 저장소 Resource 파일 업로드 (Path 기반)

저장소 Resource 파일 업로드 (Path 기반)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
sourceTempPathString업로드 할 파일 임시 경로 (webdav) (필수)
destFolderPathString업로드 할 폴더 경로 (필수)
destResourceNameString업로드 할 파일 이름 (필수)
unifiedStorageIdString저장소 아이디 (필수)
adminPageBoolean관리자 페이지 여부

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

mutation uploadUnifiedStorageResourceByPath($sourceTempPath: String!, $destFolderPath: String!, $destResourceName: String!, $unifiedStorageId: String!, $adminPage: Boolean) {
uploadUnifiedStorageResourceByPath(sourceTempPath: $sourceTempPath, destFolderPath: $destFolderPath, destResourceName: $destResourceName, unifiedStorageId: $unifiedStorageId, adminPage: $adminPage)
}

Sample

VARIABLES

{
"sourceTempPath": "/aaa/aaaa.txt",
"destFolderPath": "/shieldrive_folder/18",
"destResourceName": "aaaa.txt",
"unifiedStorageId": "7e4d49be6fdb11efb6897e3da3d1af5e",
"adminPage": false
}

RESPONSE

{
"data": {
"uploadUnifiedStorageResourceByPath": null
}
}