Skip to content

게시글 이어쓰기

sGOM edited this page Aug 12, 2021 · 3 revisions

게시글 이어쓰기

  • Method : PATCH
  • URL : /document/
  • Content-Type : application/json; charset=utf-8

Request

필드명 타입 필수여부 설명
id Int Required 이어서 쓸 게시글 PK
context String(Markdown) Required 이어서 쓸 내용을 저장하는 필드

예제

http PATCH https://your-site/document/

Response

필드명 타입 필수여부 설명
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을 사용하고 있음