Skip to content

필터링

최영훈 edited this page Jun 6, 2020 · 7 revisions

메소드 경로 설명
GET /main/filter/:category 필터링
category Key category Value
1 "콘서트"
2 "코로나 펀딩"
3 "행사 "
4 "아이돌 "
5 "락/인디 "

Request Header

{
    "Content-Type": "application/json"
}

Request Params

{
    "category":1(int)
}

Response

Response Datatype

"data":[
    {
        "concert_title":STRING(콘서트 제목),
        "concert_date":STRING(콘서트 시작날짜),
        "concert_img":STRING(콘서트 이미지),
        "concert_tag":STRING(카테고리)
    }
]

< Success >

{
    "status": 200,
    "success": true,
    "message": "카테고리별 조회성공",
    "data": [
        {
            "concertIdx": 3,
            "concert_title": "Together at home live",
            "concert_date": "2020-06-18",
            "concert_image": "www.notion.so/image/https%3A%2F%2Fas01.epimg.net%2Ftikitakas%2Fimagenes%2F2020%2F04%2F17%2Fportada%2F1587142251_979397_1587142366_noticia_normal_recorte1.jpg?table=block&id=5eb80c01-25df-4623-b36a-9a4298dda4cb&width=600&cache=v2",
            "concert_tag": "#untact"
        }
    ]
}

< Fail >

Clone this wiki locally