Page 1

좋아요 갯수 얻어오기

GET https://muggerbar.ml/recipe/{:id}/like

Path Parameters

Name
Type
Description

id*

String

recipe id

{
    data : { like : {likeCount : 2 } , message : "ok"
}

comment 정보에 닉네임 추가 하여 반환

GET https://muggerbar.ml/comment

Query Parameters

Name
Type
Description

recipe_id

String

{
    "data": {
        "comment": [
            {
                "id": 5,
                "user_id": 1,
                "recipe_id": 2,
                "comment_content": "asdasd",
                "createdAt": "2021-10-12T00:46:28.000Z",
                "updatedAt": "2021-10-12T00:46:28.000Z",
                "user": {
                    "user_nickname": "park"
                }
            }
        ]
    },
    "message": "ok"
}

Last updated