42-PINTING / BE-PINTING-gateway

0 stars 0 forks source link

[API] /comments #18

Open contemplation-person opened 3 months ago

contemplation-person commented 3 months ago

설명

댓글 달기

JWT header 포함 여부

API 방식 및 주소

[Get] http://server/api/comments

API request

{
  "postId" : number,
  "content" : string,
  "dependencyId" : [null | number],
  "private": bool,
}

API response code

200 400

API response

{
   "status":"ok"
}

{
   "status":"fail"
}

✅ To-do

기타

포스트에 댓글달기, 대댓글 달기