Skip to main content

Mutation - 통합 스토리지 등록

사용 할 스토리지를 등록한다. (관리자만 설정 가능)

현재 스토리지 접속정보 빌트인 조회 API를 통해 실제 스토리지를 생성하고 있어 직접 사용하고 있지는 않다.


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
storageUnifiedStorageInformationInput 통합 저장소 등록 정보 (필수)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
UnifiedStorageInformationDto통합 저장소 정보

Method

POST

{{url}}/graphql

Headers

KEYVALUE
AuthorizationSecurity365 JWT 토큰

Body

QUERY

mutation createUnifiedStorageInformation($storage: UnifiedStorageInformationInput!, $adminPage: Boolean) {
createUnifiedStorageInformation(storage: $storage, adminPage: $adminPage) {
id
indexDate
commonShareStorage
createdDate
createdUserId
createdUserName
modifiedDate
modifiedUserId
modifiedUserName
storageCode
interlockId
name
description
msSiteUrl
googleBuiltIn {
parentFolderId
folderId
email
__typename
}
nasBuiltIn {
url
port
userId
userPw
shareFolder
protocol
printMark
__typename
}
otherClusterServiceId
accessType
storagePolicy {
extraction
edit
read
move
copy
upload
download
share
msMessageExtension
delete
webOffice
appOffice
shareFolderControl
shareFolderInvite
shwDownload
period
__typename
}
teamsTabStorage
teamsTabName
exposed
roleCheckForAcl
teamsSharepointRepresentative
personalGoogleDriveRepresentative
personalOneDriveRepresentative
personalStorage
totalLimitSize
totalUseSize
userLimitSize
used
__typename
}
}

Sample

VARIABLES

{
"storage": {
"storageCode": "CLD_000002",
"interlockId": "socamresearch.sharepoint.com,a2230c0d-98fe-4053-8b50-1528992145c5,36b9b253-0f18-4ff8-9525-759a1f90cf46",
"name": "비공개팀사이트",
"msSiteUrl": "https://socamresearch.sharepoint.com/sites/teamPrivate1/Shared%20Documents/Forms/AllItems.aspx"
},
"adminPage": true
}

RESPONSE

{
"data": {
"createUnifiedStorageInformation": {
"id": "8f09968771db11ed969c0aed46caeb03",
"indexDate": 1677741814927,
"commonShareStorage": false,
"createdDate": 1669942332990,
"createdUserId": "8239b9b2ed1511ecbf494657c4f20301",
"createdUserName": "최고관리자",
"modifiedDate": 1677741814927,
"modifiedUserId": "8239b9b2ed1511ecbf494657c4f20301",
"modifiedUserName": "최고관리자 ",
"storageCode": "CLD_000002",
"interlockId": "socamresearch.sharepoint.com,a2230c0d-98fe-4053-8b50-1528992145c5,36b9b253-0f18-4ff8-9525-759a1f90cf46",
"name": "비공개팀사이트",
"description": "",
"msSiteUrl": "https://socamresearch.sharepoint.com/sites/teamPrivate1/Shared%20Documents/Forms/AllItems.aspx",
"googleBuiltIn": null,
"nasBuiltIn": null,
"s3BuiltIn": null,
"otherClusterServiceId": null,
"accessType": "CSSB",
"storagePolicy": null,
"teamsTabStorage": false,
"teamsTabName": null,
"exposed": true,
"roleCheckForAcl": null,
"teamsSharepointRepresentative": false,
"personalGoogleDriveRepresentative": false,
"personalOneDriveRepresentative": false,
"personalStorage": false,
"totalLimitSize": 0,
"totalUseSize": 38942,
"userLimitSize": 0,
"used": true,
"__typename": "UnifiedStorageInformationDto"
}
}
}