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

숙소 상세 보기 #4

Open
Gyeongtaek12345 opened this issue Jun 4, 2024 · 0 comments
Open

숙소 상세 보기 #4

Gyeongtaek12345 opened this issue Jun 4, 2024 · 0 comments
Labels
feature New feature add

Comments

@Gyeongtaek12345
Copy link
Collaborator

  • 유저는 숙소의 상세 정보를 확인할 수 있습니다.

숙소 상세보기

  • URL: /api/accommodations/{id}

  • Method: GET

  • Responses:

    • 200 OK: 숙소 상세 정보 반환
    {
      "id": "bigint",
      "title": "string",
      "content": "text",
      "price": "bigint",
      "discount": "integer",
      "maxAdults": "integer",
      "maxChilds": "integer",
      "maxInfants": "integer",
      "maxPets": "integer",
      "address": "string",
      "latitude": "double",
      "longitude": "double",
      "images": [{"image_path" : "string"}],
      "amenity":
      {
        "wireless_internet" : "bool"
        "TV" : "bool"
        "kitchen" : "bool"
        "washing_machine" : "bool"
        "free_parking" : "bool"
        "paid_parking" : "bool"
        "air_conditioning" : "bool"
        "dedicated_workspace" : "bool"
        "beds" : "bool"
        "bathrooms" : "bool"
      }
      "reviews":
      {
        "user": "string",
        "comment": "text",
        "rating": "double"
      }
    }
    • 404 Not Found: 해당 숙소가 존재하지 않음
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature add
Projects
Status: No status
Development

No branches or pull requests

1 participant