Comment

댓글 생성

POST /api/v1/comments

Headers

Name
Type
Description

Authorization*

string

accessToken

Request Body

Name
Type
Description

post_id*

number

content*

string

{
    "message": "댓글 생성 성공"
}

댓글 수정

PATCH /api/v1/comments/{id}

Path Parameters

Name
Type
Description

id*

number

Headers

Name
Type
Description

Authorization*

string

accessToken

Request Body

Name
Type
Description

content

string

{
    "message": "댓글 수정 성공"
}

댓글 삭제

DELETE /api/v1/comments/{id}

Path Parameters

Name
Type
Description

id*

number

Headers

Name
Type
Description

Authorization*

string

accessToken

{
    "message": "댓글 삭제 성공"
}

Last updated