GET/groups/{groupId}/note/posts/{postId}

특정 게시글을 조회한다.
휴지통의 게시글은 조회할 수 없다.

Authorization

oauth2

OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.

Scope

group.note
group.note.read

HTTP Request

GEThttps://www.worksapis.com/v1.0/groups/{groupId}/note/posts/{postId}

Path Parameters

ParameterTypeDescription
groupId string 

조직/그룹 ID


required
example : group127-8545-4463-603b-04d550d23bf 
postId integer 

게시글 ID


required
format : int64 

Header Parameters

HeadertypeDescription
Authorization string 

Bearer {token}


required 

Response

HTTP 200

OK

PropertyTypeDescription
schema object (schema) 
 

schema

PropertyTypeDescription
postId integer 

게시글 번호


format : int64 
title string 

제목


required
minLength : 1
maxLength : 200 
body string 

내용


required
minLength : 1
maxLength : 716800 
enableCollaboration boolean 

타인 편집 허용 여부

 
readCount integer 

읽은 횟수


format : int64 
commentCount integer 

댓글 수


format : int64 
fileCount integer 

파일 수


format : int64 
likeCount integer 

좋아요 수


format : int64 
createdTime string 

생성 시간


required
format : date-time
readOnly : true 
modifiedTime string 

수정 시간


format : date-time
readOnly : true 
userId string 

작성자 ID
탈퇴된 계정인 경우에는 빈값


readOnly : true
nullable : true 
userName string 

작성자 이름


required
readOnly : true 
isNotice boolean 

공지 사항 등록 여부

 

Response Example

example

1{2  "postId": 1,3  "title": "Works 사용 안내",4  "body": "<h1> Works 사용 가이드 </h1> 다음과 같이 사용해 보세요...",5  "enableCollaboration": true,6  "readCount": 14,7  "commentCount": 2,8  "fileCount": 0,9  "likeCount": 1,10  "createdTime": "2019-08-24T14:15:22+09:00",11  "modifiedTime": "2019-08-24T14:15:22+09:00",12  "userId": "user7149-0ccd-433d-1eba-04f6901660dc",13  "userName": "Susan Nielsen",14  "isNotice": false15}