Query - Sharepoint webUrl로 siteId 조회
Sharepoint의 webUrl을 사용하여 siteId를 조회한다. (Sharepoint 매핑 저장소를 등록할때 사용)
Schema
Input Objects
KEY OBJECT DESC urlString webUrl (필수) nameString 저장소 이름 (필수) description String 저장소 설명 commonShareStorage Boolean 기본 공유 저장소 여부 accessType String 저장소 접근 방식 (CSSB: 메타정보 기반 연결 / CSSB_DIRECT: 직접 연결) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC String Sharepoint siteId
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
query sharepointSiteIdByWebUrl($url: String!, $name: String, $description: String, $commonShareStorage: > Boolean!, $accessType: String, $adminPage: Boolean) {
sharepointSiteIdByWebUrl(url: $url, name: $name, description: $description, commonShareStorage: $commonShareStorage, accessType: $accessType, adminPage: $adminPage)
}
Sample
VARIABLES
{
"url": "https://softcamp.sharepoint.com/sites/SECaaS/Shared%20Documents/Forms/AllItems.aspx",
"name": "test",
"description": "test",
"commonShareStorage": false,
"accessType": "CSSB",
"adminPage": true
}RESPONSE
{
"data": {
"sharepointSiteIdByWebUrl": "softcamp.sharepoint.com,d5057f13-4143-40b9-b0db-0909887307bb,aea3f7d7-2555-44e5-bbac-2a9fa8a68155"
}
}