숙소 API

여행보드 숙소 개수 조회

Changed on

여행보드에 포함된 숙소의 개수를 조회합니다.

get/api/accommodations/count

Request

  • Base URL: https://api.ssok.info
  • URL: https://api.ssok.info/api/accommodations/count
  • Auth: HTTP bearer

Query parameters

tripBoardIdinteger required

숙소가 포함된 여행보드의 ID

userIdinteger

유저 ID, 없는 경우 모든 유저가 생성한 숙소 목록을 반환합니다. 현재 parameter로 받는 것은 임시 로직입니다.

Response

OK

Changes

    • breaking

      added the new required query request parameter tripBoardId

    • warning

      deleted the query request parameter boardId

    • info

      api operation id getAccommodationCountByBoardId removed and replaced with getAccommodationCountByTripBoardId

    • info

      the endpoint scheme security JWT was added to the API