-
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
docs:부스즐겨찾기 등록/해제
- Loading branch information
Showing
3 changed files
with
207 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,102 @@ | ||
post: | ||
tags: | ||
- Booth | ||
summary: "부스 즐겨찾기 등록" | ||
description: "특정 유저가 포토부스를 즐겨찾기에 등록합니다." | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
user_id: | ||
type: integer | ||
description: "즐겨찾기에 등록할 유저의 ID" | ||
example: 1 | ||
photobooth_id: | ||
type: integer | ||
description: "즐겨찾기에 등록할 포토부스의 ID" | ||
example: 101 | ||
responses: | ||
200: | ||
description: "포토부스 즐겨찾기 등록 성공" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "포토부스가 즐겨찾기 되었습니다." | ||
400: | ||
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: "즐겨찾기에 실패했습니다." | ||
delete: | ||
tags: | ||
- Booth | ||
summary: "부스 즐겨찾기 해제" | ||
description: "특정 유저가 포토부스를 즐겨찾기에서 해제합니다." | ||
requestBody: | ||
required: true | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
user_id: | ||
type: integer | ||
description: "즐겨찾기에서 해제할 유저의 ID" | ||
example: 1 | ||
photobooth_id: | ||
type: integer | ||
description: "즐겨찾기에서 해제할 포토부스의 ID" | ||
example: 101 | ||
responses: | ||
200: | ||
description: "포토부스 즐겨찾기 해제 성공" | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
message: | ||
type: string | ||
example: "포토부스가 즐겨찾기 해제 되었습니다." | ||
400: | ||
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: "즐겨찾기 해제에 실패했습니다." |
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