Mutation - 댓글 생성
폴더 / 파일에 대해 댓글을 생성한다.
Schema
Input Objects
KEY OBJECT DESC id ID 폴더 / 파일 아이디 fullPathString 폴더 / 파일 경로 (필수) contentsString 댓글 내용 (필수) adminPage Boolean 관리자 페이지 여부
Objects
OBJECT DESC FsEntityCommentDto 댓글 정보
Method
POST
{{url}}/graphql
Headers
KEY VALUE AuthorizationSecurity365 JWT 토큰
Body
QUERY
mutation createComment($id: ID, $fullPath: String!, $contents: String!, $adminPage: Boolean) {
createComment(id: $id, fullPath: $fullPath, contents: $contents, adminPage: $adminPage) {
id
indexDate
createdDate
modifiedDate
createdUserId
createdUserName
contents
contentsDisplay
targetUserIds
__typename
}
}
Sample
VARIABLES