POST/groups/{groupId}/note/posts
게시글을 작성한다.
보안상 HTML Script는 사용할 수 없다.
OAuth 2.0 인증.
자세한 인증 방식은 인가·인증를 참고한다.
group.note
| Parameter | Type | Description |
|---|---|---|
| groupId | string | 조직/그룹 ID required example : group127-8545-4463-603b-04d550d23bf |
| Header | type | Description |
|---|---|---|
| Authorization | string | Bearer {token} required |
| Content-Type | string | application/json required example : application/json |
| Property | Type | Description |
|---|---|---|
| title | string | 제목 required minLength : 1 maxLength : 200 |
| body | string | 내용 required minLength : 1 maxLength : 716800 |
| enableCollaboration | boolean | 타인 편집 허용 여부 default : true |
| sendNotifications | boolean | 게시글 등록 알림 방송 여부 default : true |
| isNotice | boolean | 공지 사항 등록 여부 default : false |
example
1{2 "title": "Works 사용 안내",3 "body": "<h1> Works 사용 가이드 </h1> 다음과 같이 사용해 보세요...",4 "enableCollaboration": true,5 "sendNotifications": true,6 "isNotice": false7}Created
| Property | Type | Description |
|---|---|---|
| schema | object (schema) |
| Property | Type | Description |
|---|---|---|
| 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 | 공지 사항 등록 여부 |
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}Maximum post count was exceeded. Maximum file count was exceeded.