Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

스키장 정보 조회 API 개발 #1

Open
jun108059 opened this issue Sep 22, 2024 · 0 comments
Open

스키장 정보 조회 API 개발 #1

jun108059 opened this issue Sep 22, 2024 · 0 comments
Assignees
Labels
api External API feature
Milestone

Comments

@jun108059
Copy link
Member

jun108059 commented Sep 22, 2024

전체 스키장 정보 조회 API

전체 스키장의 기본 정보와 현재 날씨, 주간 날씨 정보를 제공합니다.

Endpoint

  • GET /api/ski-resorts

요청 파라미터

  • N/A

응답

{
  "skiResorts": [
    {
      "id": 1,
      "name": "스키장 이름",
      "status": "운영중", // 운영 상태: 운영중, 운영종료, 예정
      "openSlopes": 5, // 운행 중인 슬프 수
      "currentWeather": {
        "temperature": -5,
        "description": "" // 상태: 맑음, 흐림, 흐리고 비, 비, 눈, 안개
      },
      "weeklyWeather": [
        {
          "day": "",
          "maxTemperature": -2,
          "minTemperature": -10,
          "description": ""
        },
        // ... 최대 10일간의 데이터
      ]
    },
    // ... 다른 스키장들
  ]
}
@jun108059 jun108059 added the api External API feature label Sep 22, 2024
@jun108059 jun108059 self-assigned this Sep 22, 2024
@jun108059 jun108059 added this to the Phase1-mvp milestone Sep 22, 2024
jun108059 added a commit that referenced this issue Sep 22, 2024
jun108059 added a commit that referenced this issue Sep 22, 2024
jun108059 added a commit that referenced this issue Sep 22, 2024
jun108059 added a commit that referenced this issue Sep 22, 2024
jun108059 added a commit that referenced this issue Sep 22, 2024
jun108059 added a commit that referenced this issue Sep 27, 2024
jun108059 added a commit that referenced this issue Sep 27, 2024
jun108059 added a commit that referenced this issue Sep 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api External API feature
Projects
None yet
Development

No branches or pull requests

1 participant