FAQ상세 - Team-MySide/MySide_Server GitHub Wiki

FAQ상세화면조회

메소드 경로 짧은 설명
GET /mypage/faq FAQ 내용 조회

요청 헤더

요청 바디

응답 바디

FAQ 조회 성공

{
    "status": 200,
    "success": true,
    "message": "FAQ 조회 성공",
    "data": [
        {
            "faq_id": 3,
            "category": " ",
            "title": "",
            "content": "",
            "regiDate": "2021-06-02T22:52:57.000Z"
        },
        {
            "faq_id": 2,
            "category": "성분정보",
            "title": "기능성 성분이 무엇인가요?",
            "content": "text",
            "regiDate": "2021-06-02T20:37:52.000Z"
        },
        {
            "faq_id": 1,
            "category": "성분정보",
            "title": "정보 출처는 어디인가요?",
            "content": "text",
            "regiDate": "2021-06-02T11:00:07.000Z"
        }
    ]
}
    

####FAQ가 존재하지 않을 때


{
    "status": 200,
    "success": true,
    "message": "FAQ가 존재하지 않습니다."
}

DB 오류

{
    "status": 600,
    "success": false,
    "message": "DB 오류 입니다"
}

INTERNAL_SERVER_ERROR

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