POST /api/communities/f/{thread_id}/reply/


key type default required description
id pk reply id
thread Thread 댓글이 달린 쓰레드
reply_id pk 0 댓글의 댓글일 경우 댓글 id. 쓰레드 댓글일 경우 0
user User 댓글 작성자
name char(150) 익명 댓글일 경우 작성자
content Text 댓글 내용
is_deleted bool False 삭제된 댓글 여부
date_or_time json 댓글 작성 날짜에 따라 date or time
editable bool 현재 유저의 댓글 수정, 삭제 가능 여부
{
    "content": "Meow"
}
{
    "data": {
        "id": 1,
        "thread": {
            "id": 1,
            "user": {
                "id": 2,
                "username": "[email protected]",
                "call_name": "B B"
            },
            "title": "Bye"
        },
        "reply_id": 0,
        "user": {
            "id": 2,
            "username": "[email protected]",
            "call_name": "B B"
        },
        "name": null,
        "content": "Meow",
        "is_deleted": false,
        "date_or_time": {
            "date": null,
            "time": "04:06 PM"
        }
    }
}

PATCH /api/communities/r/{reply_id}/


{
    "content": "Reply test"
}
{
    "data": {
        "id": 1,
        "reply_id": 0,
        "user": {
            "id": 2,
            "username": "[email protected]",
            "call_name": "B B"
        },
        "name": null,
        "content": "Reply test",
        "is_deleted": false,
        "date_or_time": {
            "date": null,
            "time": "04:06 PM"
        }
    }
}