Skip to main content

Mutation - 저장소 Resource 복사 (Path 기반)

저장소 Resource 복사 (Path 기반)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
sourcePathString원본 리소스 경로 (필수)
isFolderBoolean폴더 여부 (필수)
destFolderPathString복사 할 목적지 폴더 경로 (필수)
unifiedStorageIdString저장소 아이디 (필수)
adminPageBoolean관리자 페이지 여부

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

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

Sample

VARIABLES

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

RESPONSE

{
"data": {
"copyUnifiedStorageResourceByPath": null
}
}