숙소 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
queryrequest parametertripBoardId - warning
deleted the
queryrequest parameterboardId - info
api operation id
getAccommodationCountByBoardIdremoved and replaced withgetAccommodationCountByTripBoardId
- breaking
- info
the endpoint scheme security
JWTwas added to the API
- info