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

Mutation - 저장소 Resource 이름 변경 (Path 기반)

저장소 Resource 이름 변경 (Path 기반)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
sourcePathString원본 리소스 경로 (필수)
isFolderBoolean폴더 여부 (필수)
newNameString변경 할 리소스 이름 (필수)
unifiedStorageIdString저장소 아이디 (필수)
adminPageBoolean관리자 페이지 여부

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

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

Sample

VARIABLES

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

RESPONSE

{
"data": {
"renameUnifiedStorageResourceByPath": null
}
}