Skip to main content

Mutation - SHIELDRM 공동편집 URL 조회

SHIELDRM을 사용하여 공동 편집 가능한 URL을 조회한다.

Azure(웹, 앱), Google 지원


Schema

GraphQL Schema Documentation


Input Objects

KEYOBJECTDESC
idID파일 아이디
fullPathString파일 경로 (필수)
typeInt오픈 타입 (1:웹, 2:앱)
vendorString오픈할 벤더 (AZURE, GOOGLE)
adminPageBoolean관리자 페이지 여부

Objects

OBJECTDESC
String공동편집용 URL

Method

POST

{{url}}/graphql

Headers

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