[Post] /api/rainbow/epilogue/:userId/:petId


Request-Header

Request-Params

Params의 사본

Request - Body

{
    "title" : "코봉이와 이별2",
    "content" : "코봉이는 행복해"
}

변수 목록의 사본

Response - Body


SUCCESS

{
    "status": 200,
    "success": true,
    "message": "1부 끝 작가의말 - 에필로그 작성 성공",
    "data": {
        "rainbowMainPage": {
            "title": "우리들의 무지개",
            "bookImg": "https://watcha.s3.ap-northeast-2.amazonaws.com/images/origin/1626029818967.png\"",
            "rainbowCheck": false,
            "memories": [
                {
                    "title": "첫번쨰 일기",
                    "contents": "첫번째 일기 내용",
                    "date": "2021-06-30T15:00:00.000Z",
                    "feeling": 2
                },
                null
            ],
            "help": [
                {
                    "classification": "블로그",
                    "title": "도움이 필요하시면",
                    "url": "https://~"
                },
                {
                    "classification": "블로그",
                    "title": "도움이 필요하시면3",
                    "url": "https://~"
                },
                {
                    "classification": "블로그",
                    "title": "도움이 필요하시면3",
                    "url": "https://~"
                },
                {
                    "classification": "인스타",
                    "title": "도움이 필요하시면4",
                    "url": "https://~"
                }
            ]
        }
    }
}

FAIL : DB 오류, 통신 오류

{
    "status": 500,
    "success": false,
    "message": "서버 내부 오류"
}