Mutation - 저장소 Resource 파일 업로드 (ID 기반)
저장소 Resource 파일 업로드 (ID 기반)
Schema
Input Objects
KEY OBJECT DESC sourceTempPathString 업로드 할 파일 임시 경로 (webdav) (필수) destFolderIdString 업로드 할 폴더 아이디 (필수) destResourceNameString 업로드 할 파일 이름 (필수) unifiedStorageIdString 저장소 아이디 (필수) adminPage Boolean 관리자 페이지 여부
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
mutation uploadUnifiedStorageResourceById($sourceTempPath: String!, $destFolderId: String!, $destResourceName: String!, $unifiedStorageId: String!, $adminPage: Boolean) {
uploadUnifiedStorageResourceById(sourceTempPath: $sourceTempPath, destFolderId: $destFolderId, destResourceName: $destResourceName, unifiedStorageId: $unifiedStorageId, adminPage: $adminPage)
}
Sample
VARIABLES
{
"sourceTempPath": "/aaa/aaaa.txt",
"destFolderId": "id_bbbb",
"destResourceName": "aaaa.txt",
"unifiedStorageId": "7e4d49be6fdb11efb6897e3da3d1af5e",
"adminPage": false
}RESPONSE
{
"data": {
"uploadUnifiedStorageResourceById": null
}
}