-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat:부스위치api
- Loading branch information
Showing
8 changed files
with
244 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
get: | ||
tags: | ||
- Booth | ||
summary: "포토부스 위치 정보 조회" | ||
description: "포토부스 ID를 통해 해당 부스의 이름, 위도, 경도, 평점을 조회합니다." | ||
parameters: | ||
- in: path | ||
name: photobooth_id | ||
required: true | ||
schema: | ||
type: integer | ||
description: "조회할 포토부스의 ID" | ||
responses: | ||
200: | ||
description: "포토부스 위치 정보 조회 성공" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
booth_name: | ||
type: string | ||
description: "포토부스 이름" | ||
example: "인생네컷 홍대점" | ||
latitude: | ||
type: number | ||
format: float | ||
description: "포토부스의 위도" | ||
example: 37.5665 | ||
longitude: | ||
type: number | ||
format: float | ||
description: "포토부스의 경도" | ||
example: 126.978 | ||
rating: | ||
type: number | ||
format: float | ||
description: "포토부스의 평점" | ||
example: 4.5 | ||
404: | ||
description: "해당 ID의 포토부스를 찾을 수 없는 경우" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "해당 포토부스를 찾을 수 없습니다." | ||
500: | ||
description: "서버 오류 발생 시" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "포토부스 정보를 가져오는 데 실패했습니다." |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
get: | ||
tags: | ||
- Booth | ||
summary: "부스 모달창 정보 조회" | ||
description: "모달창에 들어갈 부스의 평점, 상위 두 개의 키워드, 이미지 개수, 첫 번째 이미지, 리뷰 개수를 반환합니다." | ||
parameters: | ||
- in: path | ||
name: photobooth_id | ||
required: true | ||
schema: | ||
type: integer | ||
description: "조회할 포토부스의 ID" | ||
responses: | ||
200: | ||
description: "부스 모달 정보 조회 성공" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
rating: | ||
type: number | ||
format: float | ||
description: "포토부스 평점" | ||
example: 4.3 | ||
topHashtag: | ||
type: array | ||
items: | ||
type: string | ||
description: "가장 많이 사용된 상위 두 개의 해시태그" | ||
example: ["인생네컷", "친구"] | ||
imageCount: | ||
type: integer | ||
description: "포토부스 리뷰의 전체 이미지 개수" | ||
example: 15 | ||
firstImage: | ||
type: string | ||
nullable: true | ||
description: "리뷰에서 가장 첫 번째 이미지의 URL" | ||
example: "https://example.com/photo.jpg" | ||
reviewCount: | ||
type: integer | ||
description: "부스 리뷰 개수" | ||
example: 5 | ||
404: | ||
description: "해당 포토부스를 찾을 수 없는 경우" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "해당 부스를 찾을 수 없습니다." | ||
500: | ||
description: "서버 오류" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "부스 정보를 가져오는 데 실패했습니다." |
Oops, something went wrong.