Mutation - SHIELDRM 공동편집 URL 조회
SHIELDRM을 사용하여 공동 편집 가능한 URL을 조회한다.
Azure(웹, 앱), Google 지원
Schema
Input Objects
KEY OBJECT DESC id ID 파일 아이디 fullPathString 파일 경로 (필수) type Int 오픈 타입 (1:웹, 2:앱) vendor String 오픈할 벤더 (AZURE, GOOGLE) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC String 공동편집용 URL
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
mutation drmDocUrl($id: ID, $fullPath: String!, $type: Int, $vendor: String, $adminPage: Boolean) {
drmDocUrl(id: $id, fullPath: $fullPath, type: $type, vendor: $vendor, adminPage: $adminPage)
}
Sample
VARIABLES
{
"fullPath": "/folder/newSharePoint/1test.docx",
"type": 1,
"vendor": "AZURE",
"adminPage": false
}RESPONSE
{
"data": {
"drmDocUrl": "https://socamresearch.sharepoint.com/sites/SHIELDRMDevService/_layouts/15/Doc.aspx?sourcedoc=%7B6E3A0C4C-1395-44A2-BBAB-06EA6CFAFD93%7D&file=1test.docx&action=default&mobileredirect=true"
}
}