매장 추천

매장 추천받기

Changed on

고른 매장을 근거로 아직 리뷰하지 않은 매장 1곳을 고른다. 외부 LLM을 호출하므로 같은 요청도 호출마다 결과가 달라진다 — 재추천 버튼이 이것에 기댄다. summary는 그 매장 최신 리뷰의 요약을 그대로 쓴다 (A3). 매장에 리뷰가 없거나 요약이 아직 없으면 null이다 (A2).

post/v1/recommendations/places

Request

  • Base URL: http://localhost:8080/api
  • URL: http://localhost:8080/api/v1/recommendations/places
  • Auth: HTTP bearer

Request body

placeIdsstring[] required

격자에서 고른 매장. 2~5개이고 중복은 받지 않는다. 전부 내가 리뷰를 쓴 매장이어야 한다

Example request

{
  "placeIds": [
    "place_1",
    "place_9"
  ]
}

Response

OK

Changes

    • breaking

      added required request body

    • info

      api tag 매장 추천 added

    • info

      api tag 매장 추천 (mock) removed

    • info

      added the non-success response with the status

    • warning

      deleted the header request parameter X-User-Id

    • info

      the endpoint scheme security bearerAuth was added to the API