| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | FE 담당자 | BE 담당자 | FE Deadline | BE Deadline | FE 진행상황 | BE진행상황 | 기능 | METHOD | URL | request header | response header | request | response | 변경 response(일단 보류..) | error response | 비고 | |||||||||||
2 | 이우철 | 이현규 | 2023. 5. 25 | 2023. 5. 23 | Done | Done | 소셜 로그인 | GET | /oauth/kakao | ACCESS_KEY : Bearer accesstoken, REFRESH_KEY : Bearer refreshtoken | { ”message” : “로그인 성공” } | ||||||||||||||||
3 | 이우철 | 이현규 | 2023. 5. 25 | 2023. 5. 23 | Done | Done | 로그아웃 | POST | /logout | ACCESS_KEY : Bearer accesstoken | { ”message” : “로그아웃 성공” } | ||||||||||||||||
4 | 이우철 | 이현규 | 2023. 5. 25 | 2023. 5. 23 | Done | Done | 나이 | PUT | /user/age | ACCESS_KEY : Bearer accesstoken | { ”age” : “long” } | { "success": true, "status": "OK", "data": 28 } | |||||||||||||||
5 | 이우철 | 이현규 | Done | Done | 성별 | PUT | /user/gender | ACCESS_KEY : Bearer accesstoken | { ”gender”:”string” } | { "success": true, "status": "OK", "data": "female" } | |||||||||||||||||
6 | 김진영 | 이현규 | Done | Done | 유저정보 조회 | GET | /user/mypage | ACCESS_KEY : Bearer accesstoken | { ”id”:long”, ”username”:”string”, ”kakaoId”:”long”, ”age”:”long”, ”gender”:”string” } | { "success": true, "status": "OK", "data": { "id": 132, "username": "kakao2801792367", "age": 28, "gender": "female" } } | |||||||||||||||||
7 | 이우철 | 조유민 | Done | 전체 �푸어정보 조회 | GET | /beggar/info | ACCESS_KEY : Bearer accesstoken | [ { "beggar_id": 2, "nickname": "김용용이" }, { "beggar_id": 3, "nickname": "asdasd" }, { "beggar_id": 4, "nickname": "샘샘이" }, ... ] | { "success": true, "status": "OK", "data": [ { "beggar_id": 3, "nickname": "asdasd" }, { "beggar_id": 4, "nickname": "샘샘이" }, ... } | ||||||||||||||||||
8 | 이우철 | 이세훈 | Done | Done | 특정 유저정보 조회 (채팅 안에서 다른 유저 프로필 눌렀을 때) | GET | /beggar/{userId} | ACCESS_KEY : Bearer accesstoken | ”id”:long”, ”username”:”string”, ”kakaoId”:”long”, ”age”:”long”, ”gender”:”string” } 필요 (닉네임, 성별, 나이, 레벨, 이미지) | { "success": true, "status": "OK", "data": { "beggarId": 123, "userId": 132, "nickname": "윰윰", "point": 820, "exp": null, "badgeList": [], "level": 4, "description": null, "gender": "female", "age": 28, "topImage": null, "bottomImage": null, "shoesImage": null, "accImage": null, "customImage": null } } | |||||||||||||||||
9 | 이우철 | 김채은 / 이세훈 | Done | Done | 단톡방 들어가기 | EndPoint MessageMapping SendTo | /ws-edit /pub/chat/enter /sub/chat/room | ACCESS_KEY : Bearer accesstoken | { ”type”:”string”, ”sender”:”string”, ”beggar_id”:”long”, ”message”:”string” } type → ENTER, IMAGE, TALK, LEAVE image → 이미지 URL | ||||||||||||||||||
10 | 이우철 | 김채은 / 이세훈 | Done | Done | 메세지 전송 | EndPoint MessageMapping SendTo | /ws-edit /pub/chat/send /sub/chat/room | ACCESS_KEY : Bearer accesstoken | { beggar_id: number date: string image?: string message: string sender: string | number type: "ENTER" | "TALK" | "LEAVE" userId: number } type → ENTER, IMAGE, TALK, LEAVE image → 이미지 URL | ||||||||||||||||||
11 | 이우철 | 김채은 / 이세훈 | Done | Done | 채팅방 이미지 업로드 | POST | /chat/image | ACCESS_KEY : Bearer accesstoken | formdata ”image” : file | 이미지URL | |||||||||||||||||
12 | 이우철 | 이현규 | Done | Done | 거지생성 (닉네임 생성) | POST | /beggar | ACCESS_KEY : Bearer accesstoken, | { ”nickname”:”string” } | { ”message”:”거지가 되었어요..” } | { "success": true, "status": "OK", "data": { "meassage": "푸어가 생성되었어요...", "point": null } } | ||||||||||||||||
13 | 김진영 | 이현규 | Done | Done | 내 거지 조회 | GET | /beggar | ACCESS_KEY : Bearer accesstoken, | { "beggarId": "long", "userId": "long", "nickname": "그지", "point": 110, "exp":250, "badgeList":[ { "createdAt": "2023-06-07T22:05:00.826883", "modifiedAt": "2023-06-07T22:05:00.826883", "id": 50, "badgeNum": 2, "badgeTitle": "축의금은 얼마?", "badgeImage": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/badge/badge_tribute.svg" }, { "createdAt": "2023-06-07T22:05:00.891187", "modifiedAt": "2023-06-07T22:05:00.891187", "id": 51, "badgeNum": 3, "badgeTitle": "열차 들어옵니다.", "badgeImage": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/badge/badge_transportation.svg" }, ], "level": 2, "description": "string, "gender": "string", "age": "long" } | { "success": true, "status": "OK", "data": { "beggarId": "long", "userId": "long", "nickname": "그지", "point": 110, "exp":250, "badgeList":[ { "createdAt": "2023-06-07T22:05:00.826883", "modifiedAt": "2023-06-07T22:05:00.826883", "id": 50, "badgeNum": 2, "badgeTitle": "축의금은 얼마?", "badgeImage": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/badge/badge_tribute.svg" }, { "createdAt": "2023-06-07T22:05:00.891187", "modifiedAt": "2023-06-07T22:05:00.891187", "id": 51, "badgeNum": 3, "badgeTitle": "열차 들어옵니다.", "badgeImage": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/badge/badge_transportation.svg" }, ], "level": 2, "description": "string, "gender": "string", "age": "long" } } | |||||||||||||||||
14 | 김진영 | 이현규 | Done | 닉네임 사용가능 여부 확인 | GET | /beggar/check/{nickname} | 부적절한 단어가 포함된 경우 { "사회적으로 부적절한 언어가 포함되어 있습니다." } (HTTPStatus.FORBIDDEN 403) ----------------------------------------------------------------------------- 중복된 닉네임의 경우 { "이미 존재 하는 아이디 입니다." } (HTTPStatus.BAD_REQUEST 400) ------------------------------------------------------------------------------- 사용가능한 닉네임일 경우 응답 { "사용 가능한 아이디 입니다." } | { "success": true, "status": "OK", "data": "사용 가능한 아이디 입니다." } ----------------------------------------------------- { "success": false, "status": "BAD_REQUEST", "data": "이미 존재 하는 아이디 입니다." } ------------------------------------------------------ { "success": false, "status": "FORBIDDEN", "data": "사회적으로 부적절한 언어가 포함되어 있습니다." } | |||||||||||||||||||
15 | 김진영 | 이현규 | Need FE | 거지 수정 | PATCH | /beggar | ACCESS_KEY : Bearer accesstoken, | { ”nickname”:”string” } | { "meassage": "닉네임 변경 완료", "point": null } | { "success": true, "status": "OK", "data": { "meassage": "닉네임 변경 완료", "point": null } } | { "meassage": "중복된 푸어의 이름이 존재합니다.", "point": null } | ||||||||||||||||
16 | 김진영 | 이현규 | Need FE | 거지 캐릭터 커스텀 | PATCH | /beggar/custom | ACCESS_KEY : Bearer accesstoken, | ex) 1 { "itemListEnum": "ITEM_0", "unWearEnum": "UN_WEAR_TOPS" } -> 상의를 벗게됨 ex) 2 { "itemListEnum": "null", "unWearEnum": "UN_WEAR_BOTTOMS" } -> 하의를 벗게 됨 ex)3 { "itemListEnum": "ITEM_0", "unWearEnum": "null" } -> ITEM_0의 부위를 판단하여 착용 ---------------------------------------------------- unWearEnum 이 null이 아닐 경우 해당 부위 아이템 벗기 unWearEnum 이 null 일경우 해당 아이템 착용 ---------------------------------------------------- itemListEnum (아이템 추가 가능) -> ITEM_0, ITEM_1, ITEM_2, ITEM_3, ... unWearEnum -> UN_WEAR_TOPS, UN_WEAR_BOTTOMS, UN_WEAR_SHOES, UN_WEAR_ACCESSORIES | "착용 완료" | { "success": true, "status": "OK", "data": "착용 완료" } | Beggar를 찾을 수 없는 경우 { "msg" : "푸어를 찾을 수 없습니다." } Beggar가 아이템을 가지고 있지 않을 경우 { "msg" : "가지고 있지 않은 아이템 입니다." } unWear에 지정되지 않은 문자가 올 경우 { "msg" : "옳지 못한 행동입니다." } itemListEnum에 지정되지 않은 문자가 올 경우 { "msg" : "옳지 못한 행동입니다." } | ||||||||||||||||
17 | 김진영 | 이현규 | Need FE URL이 바뀔 수 있음 | 아이템 리스트 조회 | GET | /item?itemType={itemType} itemType -> total, top, bottom, acc, shoes ------------------------------------------------------------------- 현재 Beggar의 구매여부, 착용여부 까지 확인가능 ex) LV3 인 거지는 LV1, LV2, LV3 의 품목만 볼 수 있다. total : 전체 품목 조회 top : 상의 만 조회 bottom : 하의 만 조회 shoes : 신발 만 조회 acc : 악세사리 만 조회 ------------------------------------------------------------------- null : 구매 X, "DONE" : 이미 구매, "EQUIPPED" : 착용중 | ACCESS_KEY : Bearer accesstoken, | { "itemList": [ { "itemNum": 0, "itemName": "string", "itemPrice": 0, "levelLimit": 0, "itemType": "string", "itemState": "string", "itemImage" : "string" } , { "itemNum": 0, "itemName": "string", "itemPrice": 0, "levelLimit": 0, "itemType": "string", "itemState": "string", "itemImage" : "string" }, { "itemNum": 0, "itemName": "string", "itemPrice": 0, "levelLimit": 0, "itemType": "string", "itemState": "string", "itemImage" : "string" }, ... ] } | { "success": true, "status": "OK", "data": { "itemList": [ { "itemNum": 0, "itemName": "촉촉한 종이 박스", "itemPrice": 20, "levelLimit": 2, "itemType": "top", "itemState": null, "itemImage": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv2_01.svg" }, ... ] } } | Beggar를 찾을 수 없는 경우 { "msg" : "푸어를 찾을 수 없습니다." } 포인트가 부족한 경우 { "msg" : "포인트가 부족하여 구매할 수 없습니다." } 이미 가지고 있는 아이템을 구매할 경우 { "message" : "이미 존재하는 아이템 입니다." } | |||||||||||||||||
18 | 김진영 | 이현규 | 아이템 리스트 조회와 통합 하여 삭제할 예정 | 거지 커스텀 컬렉션 조회 | GET | /beggar/custom | { "itemsCollectionList": [ { "itemNum": 0, "itemName": "string", "levelLimit": 0, "itemType": "string" }, { "itemNum": 0, "itemName": "string", "levelLimit": 0, "itemType": "string" }, { "itemNum": 0, "itemName": "string", "levelLimit": 0, "itemType": "string" }, ... ] } | { "success": true, "status": "OK", "data": { "itemsCollectionList": [ { "itemNum": 0, "itemName": "string", "levelLimit": 0, "itemType": "string" }, { "itemNum": 0, "itemName": "string", "levelLimit": 0, "itemType": "string" }, { "itemNum": 0, "itemName": "string", "levelLimit": 0, "itemType": "string" }, ... ] } } | |||||||||||||||||||
19 | 김진영 | 김채은 / 조유민 | Need FE | 포인트 내역 목록조회 | GET | /point?dateType=month &kind=earn &page=0 &size=10 ------------------------------------------------------ - dateType 1주일 : week 1개월 : month 3개월 : 3month 6개월 : 6month 1년 : year - kind 전체 : total 적립 : earn 사용 : use | ACCESS_KEY : Bearer accesstoken, | { "content": [ { "point_id": 1, "pointDescription": "가계부 작성", "earnedPoint": 10, "usedPoints": null, "beggar_id": 1, "createdAt": "2023-06-06T16:45:47.345462" }, { "point_id": 2, "pointDescription": "레벨 업!", "earnedPoint": 100, "usedPoints": null, "beggar_id": 1, "createdAt": "2023-06-06T16:45:47.381864" },.. ] } | |||||||||||||||||||
20 | 김진영 | 이현규 | done | 아이템 구매 | PATCH | /pay | ACCESS_KEY : Bearer accesstoken, | { "itemListEnum" : "string" } ---------------------------------------- ex) "ITEM_TOPS_0" , " ITEM_TOPS_1", ... TOPS, BOTTOMS, SHOES, ACC, CUSTOM | { "nickname" : "string", "level" : "long", "exp" : "long", "point" : "long" } | ||||||||||||||||||
21 | 신샘 | 조유민 | Done | Done | 가계부 개설 | POST | /account | ACCESS_KEY : Bearer accesstoken, | { ”title”:”string” } | { ”message”:”가계부 개설 성공” } | { "success": true, "status": "OK", "data": { "meassage": "가계부 생성 완료", "point": null } } | { ”message”:” 가계부 개설 실패” } | |||||||||||||||
22 | 신샘 | 조유민 | Done | Done | 가계부 목록 조회 | GET | /accounts | ACCESS_KEY : Bearer accesstoken, | { ”account_id”:”long”, ”title”:”string” ”user_id”:”long”, ”ledgerhistory”:[] , ”balance”:”long” }, { ”account_id”:”long”, ”title”:”string” ”user_id”:”long”, ”ledgerhistory”:[] ”balance”:”long” }, … | { "success": true, "status": "OK", "data": [ { "id": 23287, "title": "윰 가계부", "userId": 132, "ledgerHistoryResponseDtoList": [ { "id": 1546, "title": "dfddfd", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "SAVINGS", "paymentMethod": "BANK_TRANSFER", "income": 0, "expenditure": 1000, "date": "2023-06-01" }, { "id": 1547, "title": "수입", "accountType": "INCOME", "incomeType": "STOCKS", "expenditureType": null, "paymentMethod": null, "income": 3000, "expenditure": 0, "date": "2023-06-07" }, ... ], "balance": { "id": 104, "incomeTotal": 15000, "expenditureTotal": 20000 } } ] } | { ”message”:”가계부 목록조회 실패” } | ||||||||||||||||
23 | 신샘 | 조유민 | Done | Done | 가계부 상세 조회 | GET | /accounts/{id} | ACCESS_KEY : Bearer accesstoken, | { ”account_id”:”long”, ”title”:”string” ”user_id”:”long”, ”ledgerhistory”:[] "balance": { "id": 2, "incomeTotal": 0, "expenditureTotal": 3000000 } } | { "success": true, "status": "OK", "data": { "id": 23287, "title": "윰 가계부", "userId": 132, "ledgerHistoryResponseDtoList": [ { "id": 1546, "title": "dfddfd", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "SAVINGS", "paymentMethod": "BANK_TRANSFER", "income": 0, "expenditure": 1000, "date": "2023-06-01" }, { "id": 1547, "title": "수입", "accountType": "INCOME", "incomeType": "STOCKS", "expenditureType": null, "paymentMethod": null, "income": 3000, "expenditure": 0, "date": "2023-06-07" }, ... ], "balance": { "id": 104, "incomeTotal": 15000, "expenditureTotal": 20000 } } } | { ”message”:”해당 가계부가 존재하지 않습니다.” } | ||||||||||||||||
24 | 신샘 | 조유민 | Done | Done | 가계부 수정 | PATCH | /accounts/{id} | ACCESS_KEY : Bearer accesstoken, | { ”title”:”string” } | { ”account_id”:”long”, ”title”:”string” ”user_id”:”long”, ”ledgerhistory”:[] "balance": { "id": 2, "incomeTotal": 0, "expenditureTotal": 3000000 } } | { "success": true, "status": "OK", "data": { "id": 23287, "title": "윰윰 가계부2", "userId": 132, "ledgerHistoryResponseDtoList": null, "balance": { "id": 104, "incomeTotal": 15000, "expenditureTotal": 20000 } } } | { ”message”:”가계부 수정실패” } | |||||||||||||||
25 | 신샘 | 조유민 | Done | Done | 가계부 삭제 | DELETE | /accounts/{id} | ACCESS_KEY : Bearer accesstoken, | { ”message”:”가계부 삭제 성공” } | { "success": true, "status": "OK", "data": { "meassage": "가계부 삭제 성공", "point": null } } | { ”message”:”가계부 삭제실패” } | ||||||||||||||||
26 | 신샘 | 조유민 | Done | Done | 거래내역 등록 | POST | /ledgerhistory | ACCESS_KEY : Bearer accesstoken, | { ”accountId”:”long”, ”title”:”string”, ”accountType”:”string”, ”incomeType”:”string”, ”expenditureType”:”string”, ”paymentMethod”:”string”, ”income”:”long”, ”expenditure”:”long”, ”date”:”string” } | { ”message”:”지출/수입 타입에 따른 랜덤멘트”, "point":10 } | { "success": true, "status": "OK", "data": { "meassage": "티끌 모아 태산", "point": 20 } } | { ”message”:”거래내역 등록 실패” } | |||||||||||||||
27 | 신샘 | 조유민 | Done | Done | 거래내역 수정 | PUT | /ledgerhistory/{id} | ACCESS_KEY : Bearer accesstoken, | { ”title”:”string”, ”accountType”:”string”, ”incomeType”:”string”, ”expenditureType”:”string”, ”paymentMethod”:”string”, ”income”:”long”, ”expenditure”:”long”, ”date”:”string” } | { ”accountId”:”long”, ”title”:”string”, ”accountType”:”string”, ”incomeType”:”string”, ”expenditureType”:”string”, ”paymentMethod”:”string”, ”income”:”long”, ”expenditure”:”long”, ”date”:”string” } | { "success": true, "status": "OK", "data": { "id": null, "title": "수익에서 지출로 변경", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "CULTURE", "paymentMethod": null, "income": 0, "expenditure": 3000, "date": "2023-06-04" } } | { ”message”:”거래내역 수정 실패” } | |||||||||||||||
28 | 신샘 | 조유민 | Need FE | 거래내역 상세조회 | GET | /ledgerhistory/{id} | ACCESS_KEY : Bearer accesstoken | { ”accountId”:”long”, ”title”:”string”, ”accountType”:”string”, ”incomeType”:”string”, ”expenditureType”:”string”, ”paymentMethod”:”string”, ”income”:”long”, ”expenditure”:”long”, ”date”:”string” } | { "success": true, "status": "OK", "data": { "id": 1554, "title": "fdfd", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "SAVINGS", "paymentMethod": "CASH", "income": 0, "expenditure": 500, "date": "2023-06-06" } } | { ”message”:”거래내역 상세조회 실패” } | |||||||||||||||||
29 | 신샘 | 조유민 | Done | Done | 거래내역 삭제 | DELETE | /ledgerhistory/{id} | ACCESS_KEY : Bearer accesstoken | { ”message”:”거래내역 삭제 성공” } | { "success": true, "status": "OK", "data": { "meassage": "거래내역 삭제 성공", "point": null } } | { ”message”:”거래내역 삭제 실패” } | ||||||||||||||||
30 | 신샘 | 조유민 | Done | Done | 월별/날짜별 총 수입/지출 금액 (캘린더 일일 합계) (월별 밸런스 추가 완료) | GET | /accounts/{id}/totalStatus?date=YYYY-MM ex) /accounts/1/totalStatus?date=2022-05 | ACCESS_KEY : Bearer accesstoken | { [ { "day": "2022-05-01", "expenditure_sum": 5420, "income_sum": 7821 }, { "day": "2022-05-02", "expenditure_sum": 2235, "income_sum": 1004 }, { "day": "2022-05-03", "expenditure_sum": 1865, "income_sum": 664 }, .... ], "expenditure_sum": 85329, "income_sum": 72976 } | { "success": true, "status": "OK", "data": { "accountTotalResponseDtoList": [ { "day": "2023-06-01", "expenditure_sum": 1000, "income_sum": 0 }, { "day": "2023-06-07", "expenditure_sum": 0, "income_sum": 3000 }, { "day": "2023-06-06", "expenditure_sum": 500, "income_sum": 0 } ], "expenditure_sum": 1500, "income_sum": 3000 } } | |||||||||||||||||
31 | 신샘 | 조유민 | Done | Done | 해당 날짜의 상세 지출/소비 내역 | GET | /accounts/{id}/status?date=YYYY-MM-DD ex) /accounts/1/status?date=2022-05-01 | ACCESS_KEY : Bearer accesstoken | [ { "id": 3, "title": "지출1", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "UTILITY_BILL", "paymentMethod": "CASH", "income": null, "expenditure": 5420, "date": "2022-05-01" }, { "id": 402, "title": "수입1", "accountType": "INCOME", "incomeType": "EMPLOYMENT_INCOME", "expenditureType": null, "paymentMethod": null, "income": 7821, "expenditure": null, "date": "2022-05-01" } ] | ||||||||||||||||||
32 | 신샘 | 조유민 | Done | Done | 이번달 상세 지출내역 페이지 (파이 그래프) | GET | /accounts/{id}/statistics?date=YYYY-MM& page=0&size=4 | ACCESS_KEY : Bearer accesstoken | { "content": [ { "month": "2022-11", "expenditureType": "SAVINGS", "month_sum": 8489 }, { "month": "2022-11", "expenditureType": "CULTURE", "month_sum": 16073 }, { "month": "2022-11", "expenditureType": "HEALTH", "month_sum": 3668 }, { "month": "2022-11", "expenditureType": "FOOD_EXPENSES", "month_sum": 5468 } ], "pageable": { "sort": { "empty": true, "unsorted": true, "sorted": false }, "offset": 4, "pageNumber": 1, "pageSize": 4, "paged": true, "unpaged": false }, "last": false, "totalPages": 3, "totalElements": 12, "first": false, "size": 4, "number": 1, "sort": { "empty": true, "unsorted": true, "sorted": false }, "numberOfElements": 4, "empty": false } | ||||||||||||||||||
33 | 신샘 | 조유민 | Done | Done | 지난달 대비 지출내역 페이지 (막대 그래프) ( + 작년동월, 작년동분기) | GET | /accounts/{id}/difference?date=YYYY-MM& dateType=month - dateType 지난달 : month 작년동월 : year 작년동분기 : quarter ex) /accounts/1/difference? date=2023-05& dateType=quarter 2분기니까 2023.04~06 / 2022.04~06 이랑 비교 | ACCESS_KEY : Bearer accesstoken | [ { "month": "2023-06", "expenditureType": null, "month_sum": 11190 }, { "month": "2023-05", "expenditureType": null, "month_sum": 160993 } ] | { "success": true, "status": "OK", "data": [ { "month": "2023-06", "expenditureType": null, "month_sum": 11190 }, { "month": "2023-05", "expenditureType": null, "month_sum": 160993 } ] } | |||||||||||||||||
34 | 신샘 | 조유민 | Done | Done | 수입 지출별 카테고리 필터링 (기본값으로 이번달 조회) (기간별 쿼리스트링 추가) | GET | /accounts/{id}/status?date=YYYY-MM& dateType=month& accountType=EXPENDITURE& expenditureType=EXPENDITURE_TYPE& startDate=YYYY-MM-DD& endDate=YYYY-MM-DD ------------------------------------------------------ - date default : 현재 캘린더의 달 (YYYY-MM) 달력에서 날짜 선택하면 : YYYY-MM-DD 무조건 오늘 날짜 기준 - dateType 1주일 전 : week 1개월 전 : month 3개월 전 : 3month 직접 입력하면 : YYYY-MM-DD~YYYY-MM-DD - accountType 전체 : parameter X 수입 : INCOME 지출 : EXPENDITURE - expenditureType : 지출별 카테고리 항목 - incomeType : 수입별 카테고리 항목 ------------------------------------------------------ ex) 1. default 현재 캘린더의 달일때 (YYYY-MM) /accounts/{id}/status?date=YYYY-MM &page=0&size=15 2. dateType 선택시 무조건 현재시간 /accounts/{id}/status?dateType=week &page=0&size=15 3. 직접 입력시간 /accounts/{id}/status?startDate=YYYY-MM-DD& endDate=YYYY-MM-DD &page=0&size=15 | ACCESS_KEY : Bearer accesstoken | { "content": [ { "id": 613, "title": "수입212", "accountType": "INCOME", "incomeType": "BUSINESS", "expenditureType": null, "paymentMethod": null, "income": 440, "expenditure": null, "date": "2022-11-28" }, { "id": 214, "title": "지출212", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "COMMUNICATION_EXPENSES", "paymentMethod": "BANK_TRANSFER", "income": null, "expenditure": 7064, "date": "2022-11-28" }, { "id": 612, "title": "수입211", "accountType": "INCOME", "incomeType": "EMPLOYMENT_INCOME", "expenditureType": null, "paymentMethod": null, "income": 9806, "expenditure": null, "date": "2022-11-27" }, { "id": 213, "title": "지출211", "accountType": "EXPENDITURE", "incomeType": null, "expenditureType": "TRANSPORTATION", "paymentMethod": "CASH", "income": null, "expenditure": 1328, "date": "2022-11-27" } ], "pageable": { "sort": { "empty": true, "sorted": false, "unsorted": true }, "offset": 4, "pageNumber": 1, "pageSize": 4, "paged": true, "unpaged": false }, "totalPages": 9, "totalElements": 33, "last": false, "size": 4, "number": 1, "sort": { "empty": true, "sorted": false, "unsorted": true }, "numberOfElements": 4, "first": false, "empty": false } | ||||||||||||||||||
35 | 김진영 | 조유민 | Need FE | 전체 카테고리 소비성향 | GET | /user/mypage/status | ACCESS_KEY : Bearer accesstoken | [ { "expenditureType": "HEALTH", "total_sum": 2000 }, { "expenditureType": "UTILITY_BILL", "total_sum": 2000 }, { "expenditureType": "CONDOLENCE_EXPENSE", "total_sum": 2000 }, ..... ] | { "success": true, "status": "OK", "data": [ { "expenditureType": "SAVINGS", "total_sum": 1500 }, { "expenditureType": "CULTURE", "total_sum": 10000 }, { "expenditureType": "EDUCATION", "total_sum": 9000 } ] } | ||||||||||||||||||
36 | 김진영 | 조유민 | Need FE | 최근 6개월 소비근황 + 수입근황 추가(6/17) | GET | /user/mypage/recentStatus | ACCESS_KEY : Bearer accesstoken | { "expenditureSum": [ { "month": "2023-06", "expenditure_sum": 1000 }, { "month": "2023-05", "expenditure_sum": 10000 }, { "month": "2023-02", "expenditure_sum": 9000 } ], "incomeSum": [ { "month": "2023-06", "income_sum": 3000 }, { "month": "2023-05", "income_sum": 2000 }, { "month": "2023-02", "income_sum": 10000 } ] } | { "success": true, "status": "OK", "data": { "expenditureSum": [ { "month": "2023-06", "expenditure_sum": 1500 }, { "month": "2023-05", "expenditure_sum": 10000 }, { "month": "2023-02", "expenditure_sum": 9000 } ], "incomeSum": [ { "month": "2023-06", "income_sum": 3000 }, { "month": "2023-05", "income_sum": 2000 }, { "month": "2023-02", "income_sum": 10000 } ] } } | ||||||||||||||||||
37 | 신샘 | 조유민 | Done | In Progress | 나이대 별 소비/저축 평균 퍼센트 (한달 기준) | GET | /social/percent?accountType=INCOME 수입 : INCOME 지출 : EXPENDITURE | ACCESS_KEY : Bearer accesstoken | { "percent": 0.0, "expenditure": 0, "income": 0, "expenditure_avg": 5268.027027, "income_avg": 0.0, "age_abb": 20, "gender": "female", "expenditure_sum": 194917, "income_sum": 0 } | { "success": true, "status": "OK", "data": { "percent": 0.0, "expenditure": 10000, "income": 0, "expenditure_avg": 222.0, "income_avg": 0.0, "age_abb": 20, "gender": "female", "expenditure_sum": 0, "income_sum": 0 } } | |||||||||||||||||
38 | 이우철 | 조유민 | Done | Done | 랭킹 - 절약 푸어 / 플렉스 푸어 (한달 기준) | GET | /social/rank?accountType=INCOME 수입(절약) : INCOME 지출(플렉스) : EXPENDITURE | ACCESS_KEY : Bearer accesstoken | [ { "rank_num": 1, "beggar_id": 2, "nickname": "김용용이", "level": 5, "acc_url": null, "top_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv5_05.svg", "total": 846254, "accountType": "INCOME", "date": "2023-05-01" }, { "rank_num": 2, "beggar_id": 4, "nickname": "샘샘이", "level": 4, "acc_url": null, "top_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv2_01.svg", "total": 23252, "accountType": "INCOME", "date": "2023-05-06" }, { "rank_num": 3, "beggar_id": 1, "nickname": "윰윰", "level": 3, "acc_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/acc_lv6_02.svg", "top_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv3_01.svg", "total": 0, "accountType": "INCOME", "date": "2023-05" }, ... ] | { "success": true, "status": "OK", "data": [ { "rank_num": 1, "beggar_id": 2, "nickname": "김용용이", "level": 5, "acc_url": null, "top_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv5_05.svg", "total": 846254, "accountType": "INCOME", "date": "2023-05-01" }, { "rank_num": 2, "beggar_id": 4, "nickname": "샘샘이", "level": 4, "acc_url": null, "top_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv2_01.svg", "total": 23252, "accountType": "INCOME", "date": "2023-05-06" }, { "rank_num": 3, "beggar_id": 1, "nickname": "윰윰", "level": 3, "acc_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/acc_lv6_02.svg", "top_url": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/poor/top_lv3_01.svg", "total": 0, "accountType": "INCOME", "date": "2023-05" }, ... ] } | |||||||||||||||||
39 | 이우철 | 김채은 | 채팅방 참여자 목록 | GET | /chat/list | ACCESS_KEY : Bearer accesstoken | { "6": { "beggarId": 6, "sender": "챈채", "userId": 6, "level": 7 }, "123": { "beggarId": 123, "sender": "윰윰", "userId": 132, "level": 4 } } | ||||||||||||||||||||
40 | 김진영 | 이현규 | Done | challenge 시작 | POST | /challenge | ACCESS_KEY : Bearer accesstoken | CHALLENGE_20000 : 2만원 챌린지 CHALLENGE_50000 : 5만원 챌린지 CHALLENGE_100000 : 10만원 챌린지 CHALLENGE_0 : 무지출 챌린지 | { "challengeType": "CHALLENGE_20000" } | { "msg" : "진행중인 챌린지가 존재합니다." } | |||||||||||||||||
41 | 김진영 | 이현규 | Done | 챌린지 스탬프 조회 | GET | /challenge/stamp | ACCESS_KEY : Bearer accesstoken | { "successCount" : "long" } | |||||||||||||||||||
42 | 김진영 | 이현규 | Done | 챌린지 title 조회 | GET | /challenge | ACCESS_KEY : Bearer accesstoken | { "challengeTitle": "5만원 챌린지", "startTime": "2023-06-21(Wed)" } (진행중인 챌린지가 없을경우 null) | |||||||||||||||||||
43 | 김진영 | 이현규 | Done | 챌린지 도전 중일때 기록된 가계부 내역 조회 | GET | /challenge/ledger | ACCESS_KEY : Bearer accesstoken | { "challengeLedgerHistoryList": [ { "title": "string", "expenditureType": "UTILITY_BILL", "expenditure": 0, "date": "2023-06-20" }, { "title": "string", "expenditureType": "UTILITY_BILL", "expenditure": 0, "date": "2023-06-20" }, .... ] } | { "msg" : "챌린지에 도전하지 않았습니다." } | ||||||||||||||||||
44 | 이우철 | 김채은 | 메시지 불러오기 | Get | /chatRoom/enter/{beggar_id} | ACCESS_KEY : Bearer accesstoken | { "chatRoomId": 1, "chatList": [ { "type": "TALK", "beggar_id": 123, "sender": "윰윰", "date": null, "message": "안녕", "image": null, "userId": null, "level": 4, "chatRoomId": 1 }, { "type": "TALK", "beggar_id": 123, "sender": "윰윰", "date": null, "message": "테스트", "image": null, "userId": null, "level": 4, "chatRoomId": 1 }, { "type": "TALK", "beggar_id": 123, "sender": "윰윰", "date": null, "message": "트", "image": null, "userId": null, "level": 4, "chatRoomId": 1 }, { "type": "TALK", "beggar_id": 123, "sender": "윰윰", "date": null, "message": "힘들어", "image": null, "userId": null, "level": 4, "chatRoomId": 1 }, { "type": "TALK", "beggar_id": 123, "sender": "윰윰", "date": null, "message": "다시", "image": null, "userId": null, "level": 4, "chatRoomId": 1 } ] } | ||||||||||||||||||||
45 | 이우철 | 이세훈 | 채팅 사진 목록 보기 | GET | /chat/images | ACCESS_KEY : Bearer accesstoken | [ { "imageId": 1, "imageUrl": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/S3image12120918.png" }, { "imageId": 2, "imageUrl": "https://apoorapoors3.s3.ap-northeast-2.amazonaws.com/S3image12148531.JPG" } ] | ||||||||||||||||||||
46 | 이우철 | 이세훈 김채은 | 채팅 좋아요 기능 | POST | /chat/likes | ACCESS_KEY : Bearer accesstoken | |||||||||||||||||||||
47 | |||||||||||||||||||||||||||
48 | |||||||||||||||||||||||||||
49 | |||||||||||||||||||||||||||
50 | |||||||||||||||||||||||||||
51 | |||||||||||||||||||||||||||
52 | |||||||||||||||||||||||||||
53 | |||||||||||||||||||||||||||
54 | |||||||||||||||||||||||||||
55 | |||||||||||||||||||||||||||
56 | |||||||||||||||||||||||||||
57 | |||||||||||||||||||||||||||
58 | |||||||||||||||||||||||||||
59 | |||||||||||||||||||||||||||
60 | |||||||||||||||||||||||||||
61 | |||||||||||||||||||||||||||
62 | |||||||||||||||||||||||||||
63 | |||||||||||||||||||||||||||
64 | |||||||||||||||||||||||||||
65 | |||||||||||||||||||||||||||
66 | |||||||||||||||||||||||||||
67 | |||||||||||||||||||||||||||
68 | |||||||||||||||||||||||||||
69 | |||||||||||||||||||||||||||
70 | |||||||||||||||||||||||||||
71 | |||||||||||||||||||||||||||
72 | |||||||||||||||||||||||||||
73 | |||||||||||||||||||||||||||
74 | |||||||||||||||||||||||||||
75 | |||||||||||||||||||||||||||
76 | |||||||||||||||||||||||||||
77 | |||||||||||||||||||||||||||
78 | |||||||||||||||||||||||||||
79 | |||||||||||||||||||||||||||
80 | |||||||||||||||||||||||||||
81 | |||||||||||||||||||||||||||
82 | |||||||||||||||||||||||||||
83 | |||||||||||||||||||||||||||
84 | |||||||||||||||||||||||||||
85 | |||||||||||||||||||||||||||
86 | |||||||||||||||||||||||||||
87 | |||||||||||||||||||||||||||
88 | |||||||||||||||||||||||||||
89 | |||||||||||||||||||||||||||
90 | |||||||||||||||||||||||||||
91 | |||||||||||||||||||||||||||
92 | |||||||||||||||||||||||||||
93 | |||||||||||||||||||||||||||
94 | |||||||||||||||||||||||||||
95 | |||||||||||||||||||||||||||
96 | |||||||||||||||||||||||||||
97 | |||||||||||||||||||||||||||
98 | |||||||||||||||||||||||||||
99 | |||||||||||||||||||||||||||
100 |