[GET] /api/secondPart/diary/user/:diaryId


Request-Header

Request-Params

petDiaryId: string , diary ObjectId (Primary Key)

{
	"diaryId": 사용자 일기 id
}

Request - Body


Response - Body

변수 목록

{
        "secondPartDiary": {
            "_id": "60e153fd7ab7490b64a9469b",
            "episode": 5,
            "title": "코봉이가 떠난뒤2",
            "diaryImg": [
                "이미지1",
                "이미지2",
                "이미지3"
            ],
            "date": "2021년 07월 06일",
            "contents": "슬프다2",
            "feelingList": [
                {
                    "kind": 0,
                    "petImgs": null,
                    "feeling": 2
                }
            ]
        }

SUCCESS

{  
    
 {
    "status": 200,
    "success": true,
    "message": "2부 일기 불러오기 성공",
    "data": {
        "secondPartDiary": {
            "_id": "60e153fd7ab7490b64a9469b",
            "episode": 5,
            "title": "코봉이가 떠난뒤2",
            "diaryImg": [
                "이미지1",
                "이미지2",
                "이미지3"
            ],
            "date": "2021년 07월 06일",
            "contents": "슬프다2",
            "feelingList": [
                {
                    "kind": 0,
                    "petImgs": null,
                    "feeling": 2
                }
            ]
        }
    }
}