Query - NAS 접속정보로 빌트인 정책키 조회
NAS 접속 정보를 사용하여 인증/인가 서비스에 등록된 빌트인 정책키를 조회한다.
등록된 정보가 없으면 신규 등록한다. (NAS 매핑 저장소를 등록할때 사용)
Schema
Input Objects
KEY OBJECT DESC nasNasBuiltInInput NAS 접속정보 등록용 정보 (필수) nameString 저장소 이름 (필수) description String 저장소 설명 otherClusterServiceId String 외부 클러스터 서비스 정보키 storageCodeString 저장소 코드 (필수) personalStorageBoolean 개인함 저장소 여부 (필수) teamsTabStorageBoolean teams tab용 저장소로 사용 여부 (필수) commonShareStorageBoolean 기본 공유 저장소 여부 (필수) accessType String 저장소 접근 방식 (CSSB: 메타정보 기반 연결 / CSSB_DIRECT: 직접 연결) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC String 빌트인 정책키
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
query nasBuiltInKey($nas: NasBuiltInInput!, $name: String, $description: String, $otherClusterServiceId: String, $storageCode: String!, $personalStorage: Boolean!, $teamsTabStorage: Boolean!, $commonShareStorage: Boolean!, $accessType: String, $adminPage: Boolean) {
nasBuiltInKey(nas: $nas, name: $name, description: $description, otherClusterServiceId: $otherClusterServiceId, storageCode: $storageCode, personalStorage: $personalStorage, teamsTabStorage: $teamsTabStorage, commonShareStorage: $commonShareStorage, accessType: $accessType, adminPage: $adminPage)
}
Sample
VARIABLES
{
"nas": {
"url": "https://nas.com",
"protocol": "WEBDAV",
"port": "5001",
"userId": "hsy",
"userPw": "hsy",
"shareFolder": "/test"
},
"name": "test",
"description": "test",
"storageCode": "NAS",
"personalStorage": false,
"teamsTabStorage": false,
"commonShareStorage": false,
"accessType": "CSSB",
"adminPage": true
}RESPONSE
{
"data": {
"nasBuiltInKey": "M_NAS_b03f354bd03111eca7d32a9a2470adc3"
}
}