Skip to main content

Query - NAS 접속정보로 빌트인 정책키 조회

NAS 접속 정보를 사용하여 인증/인가 서비스에 등록된 빌트인 정책키를 조회한다.

등록된 정보가 없으면 신규 등록한다. (NAS 매핑 저장소를 등록할때 사용)


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
nasNasBuiltInInputNAS 접속정보 등록용 정보 (필수)
nameString저장소 이름 (필수)
descriptionString저장소 설명
otherClusterServiceIdString외부 클러스터 서비스 정보키
storageCodeString저장소 코드 (필수)
personalStorageBoolean개인함 저장소 여부 (필수)
teamsTabStorageBooleanteams tab용 저장소로 사용 여부 (필수)
commonShareStorageBoolean기본 공유 저장소 여부 (필수)
accessTypeString저장소 접근 방식 (CSSB: 메타정보 기반 연결 / CSSB_DIRECT: 직접 연결)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
String빌트인 정책키

Method

POST

{{url}}/graphql

Headers

KEYVALUE
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"
}
}