-
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.
Merge pull request #464 from team-yello/staging
deploy [main]
- Loading branch information
Showing
320 changed files
with
21,156 additions
and
12,690 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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 친구 추가하기 | ||
|
||
=== 요청 | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== Apple 구독 구매 검증하기 | ||
|
||
=== 요청 | ||
|
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,28 @@ | ||
:reproducible: | ||
== 상점에서 보상형 광고 가능한지 여부 | ||
|
||
=== 요청 | ||
|
||
include::{snippets}/api/v1/admob/possible/http-request.adoc[] | ||
|
||
=== 요청 파라미터 | ||
|
||
include::{snippets}/api/v1/admob/possible/path-parameters.adoc[] | ||
|
||
---- | ||
tag -> ADMOB_POINT | ||
---- | ||
* 보상형 광고 다른곳에서 사용할 수도 있으므로 tag로 어떤 곳에서 사용하고 있는곳인지 tag로 명시 | ||
* 현재는 상점에 있는 보상형 광고 (ADMOB_POINT를 tag에 요청) | ||
|
||
=== 응답 | ||
|
||
include::{snippets}/api/v1/admob/possible/http-response.adoc[] | ||
|
||
=== NOTE | ||
|
||
|
||
=== CHANGELOG | ||
|
||
- 2024.02.17 API 릴리즈 | ||
- 2024.02.16 명세서 작성 |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 투표 키워드 확인하기 | ||
|
||
=== 요청 | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 유저 정보 조회하기 | ||
|
||
=== 요청 | ||
|
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,46 @@ | ||
:reproducible: | ||
== 내 정보 조회하기 V2 | ||
|
||
=== 요청 | ||
|
||
include::{snippets}/api/v2/user/http-request.adoc[] | ||
|
||
=== 응답 | ||
|
||
include::{snippets}/api/v2/user/http-response.adoc[] | ||
|
||
*필드 타입* | ||
|
||
- "userId": Long | ||
- "name": String | ||
- "yelloId": String | ||
- "gender": "M" | "F" | ||
- "email": String | ||
- "profileImageUrl": String | ||
- "social": "KAKAO" | "APPLE" | ||
- "uuid": String(10) | ||
- "deviceToken": String | ||
- "groupId": Long | ||
- "group": String | ||
- "groupType": "UNIVERSITY" | "HIGH_SCHOOL" | "MIDDLE_SCHOOL" | "SOPT" | ||
- "groupName": String | ||
- "subGroupName": String | ||
- "groupAdmissionYear": Integer | ||
- "recommendCount": Long | ||
- "ticketCount": Integer | ||
- "point": Integer | ||
- "subscribe": "normal" | "active" | "canceled" | ||
- "yelloCount": Integer | ||
- "friendCount": Integer | ||
|
||
=== Note | ||
|
||
- 내 정보 조회하기 V1가 제공했던 단편적인 정보를 보완하기 위해 설계된 API입니다. | ||
- `Authroization` 헤더로 제공된 JWT Token에 담긴 유저의 정보가 응답으로 주어집니다. | ||
- 유저 정보가 필요하면 해당 API를 사용하세요! | ||
|
||
=== CHANGELOG | ||
|
||
- 2024.01.07 첫 릴리즈 | ||
- 2024.01.09 필드 타입 추가 | ||
- 2024.01.30 groupId 필드 추가 |
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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
== 내 정보 조회하기 | ||
:reproducible: | ||
== 내 정보 조회하기 V1 | ||
|
||
=== 요청 | ||
|
||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 투표 가능 여부 조회 | ||
|
||
=== 요청 | ||
|
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,30 @@ | ||
:reproducible: | ||
== 이벤트 참여 | ||
|
||
=== 요청 | ||
|
||
include::{snippets}/api/v1/event/join/1/http-request.adoc[] | ||
|
||
=== 응답 | ||
|
||
include::{snippets}/api/v1/event/join/1/http-response.adoc[] | ||
|
||
=== 주의 | ||
|
||
- "tag": "LUNCH_EVENT" | ||
|
||
=== NOTE | ||
|
||
- Header에 무작위한 UUID4 값을 넣어주세요 | ||
* 예시) IdempotencyKey: 0397b5f3-ecdc-47d6-b5d7-2b1afcf00e87 | ||
- 주의사항 | ||
* tag 요청값에 해당하는 이벤트의 날짜와 시간이 모두 유효해야함. | ||
(뭔가 에러나면 서버요청 ㄱㄱ) | ||
* 같은 멱등성키를 2번 요청하면, 400번 에러. | ||
- ADMOB | ||
* 광고를 시청하기 전, 해당 API를 호출. | ||
* ADMOB 서버에 ServerSideVerificationOptions의 customData에 동일한 멱등성 키를 넘겨주세요. | ||
|
||
=== CHANGELOG | ||
|
||
- 2024.02.07 릴리즈 |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 투표 생성하기 | ||
|
||
=== 요청 | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 친구 삭제하기 | ||
|
||
=== 요청 | ||
|
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,29 @@ | ||
:reproducible: | ||
== 탈퇴 & 사유 저장 v2 | ||
|
||
=== 요청 | ||
|
||
include::{snippets}/api/v2/user/deleteUser/http-request.adoc[] | ||
|
||
=== 응답 | ||
|
||
include::{snippets}/api/v2/user/deleteUser/http-response.adoc[] | ||
|
||
*필드 타입* | ||
|
||
- "value": String | ||
* value는 탈퇴 사유를 보내주시면 됩니다. | ||
|
||
|
||
*필드 타입* | ||
|
||
=== NOTE | ||
|
||
- AccessToken에 해당하는 User의 탈퇴 처리 및 탈퇴 사유를 저장하는 API입니다. | ||
// - User의 다양한 정보를 저장하는 API로 범용적인 확장할 예정입니다. | ||
// * 차후에 tag에 들어갈 수 있는 ENUM의 종류를 다양화 할 예정입니다. | ||
|
||
=== CHANGELOG | ||
|
||
- 2024.01.27 API 릴리즈 | ||
- 2024.01.09 명세 작성 |
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 유저 탈퇴하기 | ||
|
||
=== 요청 | ||
|
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 |
---|---|---|
@@ -1,3 +1,4 @@ | ||
:reproducible: | ||
== 디바이스 토큰 수정하기 | ||
|
||
=== 요청 | ||
|
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,39 @@ | ||
:reproducible: | ||
== 유저 프로필 수정 | ||
|
||
=== 요청 | ||
|
||
include::{snippets}/api/v1/user/update/http-request.adoc[] | ||
|
||
*필드 타입* | ||
|
||
- "name": String | ||
- "yelloId": String | ||
- "gender": "M" | "F" | ||
- "email": String | ||
- "profileImageUrl": String | ||
- "groupId": Long | ||
* 대학교 검색 또는 고등학교 검색 API를 이용하여 유저가 선택한 groupId를 입력해주세요. | ||
* 해당 groupId에 해당하는 group이 고등학교면, 해당 유저는 고등학생 / 대학교면 대학생이 됩니다. | ||
- "groupAdmissionYear": Integer | ||
* 대학생이면 학번 / 고등학생이면 '반(class)'를 넣어주세요. | ||
|
||
=== 응답 | ||
|
||
include::{snippets}/api/v1/user/update/http-response.adoc[] | ||
|
||
*필드 타입* | ||
|
||
=== NOTE | ||
|
||
- 포인트 / 구독정보 / 로그인 정보와 같이 user-pure하지 않은 정보는 수정할 수 없도록 설계하였습니다. | ||
* 해당 정보 수정API는 도메인 별로 만들 예정입니다. | ||
- 비즈니스 로직인 **'1년에 1회 수정 가능하다'**라는 조건과 상관없이 여러번 호출하여 유저 정보 수정이 가능합니다. | ||
* 해당 비즈니스 로직을 만족하기 위해서 link:user-data-get.html[프로필 수정 가능 여부 조회]를 같이 사용해주세요. | ||
** UserGroup(`groupId`, `groupAdmissionYear`)에 대한 정보가 유저의 기존 정보와 달라졌을때**만** `프로필 수정 가능 여부` 가 갱신됩니다. | ||
|
||
=== CHANGELOG | ||
|
||
- 2024.02.02 groupId, groupAdmissionYear 변경에 따른 제약조건 추가 | ||
- 2024.01.31 릴리즈 | ||
- 2024.01.09 명세 작성 |
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,37 @@ | ||
:reproducible: | ||
== 이벤트 조회 | ||
|
||
=== 요청 | ||
|
||
include::{snippets}/api/v1/event/1/http-request.adoc[] | ||
|
||
=== 응답 | ||
|
||
include::{snippets}/api/v1/event/1/http-response.adoc[] | ||
|
||
include::{snippets}/api/v1/event/2/http-response.adoc[] | ||
|
||
include::{snippets}/api/v1/event/3/http-response.adoc[] | ||
|
||
=== 주의 | ||
|
||
- data: *Response*[] | ||
- *Response* | ||
- tag : "LUNCH_EVENT" | ||
* LUNCH_EVENT에 해당하는 *Response*가 없으면 Render 해주지 말아주세요 | ||
- startDate : "2024-01-01T00:00:00+09:00" | ||
- endDate : "2024-12-31T00:00:00+09:00" | ||
- title : "점심 시간 깜짝 선물!" | ||
- subTitle : "평일 12-14시 최대 1회까지 참여 가능" | ||
- animationList : string[] | ||
* URL이 들어감. | ||
- eventReward: *EventReward* | null | ||
* 해당 필드가 **null**일 시, 이벤트 보여주지 않도록 해주세요. | ||
|
||
=== NOTE | ||
|
||
- *!* LUNCH_EVENT에 해당하는 Response가 없거나, LUNCH_EVENT Response의 eventReward가 null이면, 메인화면 접속시, 이벤트 화면을 띄워주지마세요. | ||
|
||
=== CHANGELOG | ||
|
||
- 2024.02.06 릴리즈 |
Oops, something went wrong.