-
Notifications
You must be signed in to change notification settings - Fork 0
게시글 이어쓰기
sGOM edited this page Aug 12, 2021
·
3 revisions
- Method : PATCH
- URL : /document/
- Content-Type : application/json; charset=utf-8
필드명 | 타입 | 필수여부 | 설명 |
---|---|---|---|
id | Int | Required | 이어서 쓸 게시글 PK |
context | String(Markdown) | Required | 이어서 쓸 내용을 저장하는 필드 |
예제
http PATCH https://your-site/document/
필드명 | 타입 | 필수여부 | 설명 |
---|---|---|---|
document | Document | Required | 게시글 정보 |
예제
http status code | code | message | comment |
---|---|---|---|
201 | 0 | SUCCESS | 정상 응답 |
400 | 0 | FAIL | 비정상 응답 |
401 | 0 | Unathorized | 로그인 필요 |
403 | 0 | Forbidden | 권한 없음 |
r이 없는데 eevee actions/index.js에서는 r을 사용하고 있음