📜 Description


앱 시작시 카페에 존재하는 모든 메뉴를 받아와 캐시하기 위한 API입니다.

카테고리별로 그룹화된 데이터 형태로 응답합니다.

🔑 Method : GET

🗝 URI : /api/menus


🔍 Parameters : Nothing


✅ Response Body(example)


[
  {
    "id": 1,
    "name": "콜드 브루 커피",
    "menus": [
      {
        "id": 31,
        "name": "콜드 브루 몰트",
        "basePrice": 5000,
        "imgUrl": "<https://image.istarbucks.co.kr/upload/store/skuimg/2021/02/[9200000001636]_20210225093600536.jpg>",
        "isSoldOut": false,
        "categoryId": 1
      },
      {
        "id": 32,
        "name": "콜드 브루 플로트",
        "basePrice": 4500,
        "imgUrl": "<https://image.istarbucks.co.kr/upload/store/skuimg/2021/02/[9200000001635]_20210225092236748.jpg>",
        "isSoldOut": true,
        "categoryId": 1
      }
    ]
  },
  {
    "id": 2,
    "name": "브루드 커피",
    "menus": [
      {
        "id": 35,
        "name": "오늘의 커피",
        "basePrice": 4500,
        "imgUrl": "<https://image.istarbucks.co.kr/upload/store/skuimg/2021/04/[2]_20210430111934117.jpg>",
        "isSoldOut": false,
        "categoryId": 2
      },
      {
        "id": 36,
        "name": "아이스 커피",
        "basePrice": 4500,
        "imgUrl": "<https://image.istarbucks.co.kr/upload/store/skuimg/2021/04/[106509]_20210430111852870.jpg>",
        "isSoldOut": false,
        "categoryId": 2
      }
    ]
  }
]