- 이 서비스는 위 Fit mate 프로젝트의 운동 그룹 관리, 운동 멤버 관리 역할을 담당하는 서비스 입니다.
Version 1.0.0 : 2024.03.08 ~ 2024.04.20
Version 2.0.0 : 2024.05.01 ~
- Git flow
환경 | url |
---|---|
테스트 |
|
운영서버 |
http-request
POST /fit-group-service/groups HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 492 Host: localhost:8080
{"requestUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":null,"frequency":7,"maxFitMate":20,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}
request-fields
Path | Type | Description |
---|---|---|
|
|
Fit group을 등록하는 User id ( Fit Leader로 등록 ) |
|
|
Fit group 이름 |
|
|
운동 미인증 패널티 금액 |
|
|
운동 미인증 패널티 입금 은행 |
|
|
운동 미인증 패널티 입금 계좌 |
|
|
운동 category ( 1: 등산, 2: 생활 체육, 3: 웨이트, 4: 수영, 5: 축구, 6: 농구, 7: 야구, 8: 바이킹, 9: 클라이밍, 10: 기타 ) |
|
|
스터디 설명 |
|
|
운동 인증 주기 ( null시 기본값 일주일 - 1: 일주일, 2: 한달, 3: 일년 ) |
|
|
주기별 운동 인증 필요 횟수 |
|
|
fit group의 최대 fit mate 수 |
|
|
멀티 미디어 end point list ( 주어진 index 순으로 return ) |
request-body
{"requestUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":null,"frequency":7,"maxFitMate":20,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}
curl-request
$ curl 'http://localhost:8080/fit-group-service/groups' -i -X POST \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":null,"frequency":7,"maxFitMate":20,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
response-body
{"isRegisterSuccess":true}
http-response
HTTP/1.1 201 Created Content-Length: 26 Content-Type: application/json
{"isRegisterSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
조회할 Fit group id |
http-request
GET /fit-group-service/groups/1 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/fit-group-service/groups/1' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
Fit group id |
|
|
Fit Leader User id |
|
|
Fit group 이름 |
|
|
운동 미인증 패널티 금액 |
|
|
운동 미인증 패널티 입금 은행 |
|
|
운동 미인증 패널티 입금 계좌 |
|
|
운동 category ( 1: 등산, 2: 생활 체육, 3: 웨이트, 4: 수영, 5: 축구, 6: 농구, 7: 야구, 8: 바이킹, 9: 클라이밍, 10: 기타 ) |
|
|
스터디 설명 |
|
|
운동 인증 주기 ( 1: 일주일, 2: 한달, 3: 일년 ) |
|
|
주기별 운동 인증 필요 횟수 |
|
|
등록 일시 |
|
|
현재 fit mate 수 |
|
|
fit group의 최대 fit mate 수 |
|
|
멀티 미디어 end point list |
|
|
fit group의 상태 (false: 정상, true: 삭제) |
response-body
{"presentFitMateCount":7,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":1,"fitLeaderUserId":"testUserId","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:02.819554300Z","maxFitMate":20,"state":false}
http-response
HTTP/1.1 200 OK Content-Length: 589 Content-Type: application/json
{"presentFitMateCount":7,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":1,"fitLeaderUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:02.819554300Z","maxFitMate":20,"state":false}
path-parameters
Parameter | Description |
---|---|
|
수정할 Fit group id |
http-request
PUT /fit-group-service/groups/1 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 492 Host: localhost:8080
{"requestUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":null,"frequency":7,"maxFitMate":20,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}
request-fields
Path | Type | Description |
---|---|---|
|
|
수정을 요청한 User id ( Fit Leader여야함 ) |
|
|
수정할 Fit group 이름 |
|
|
수정할 운동 미인증 패널티 금액 |
|
|
수정할 운동 미인증 패널티 입금 은행 |
|
|
수정할 운동 미인증 패널티 입금 계좌 |
|
|
수정할 운동 category ( 1: 등산, 2: 생활 체육, 3: 웨이트, 4: 수영, 5: 축구, 6: 농구, 7: 야구, 8: 바이킹, 9: 클라이밍, 10: 기타 ) |
|
|
수정할 스터디 설명 |
|
|
수정할 운동 인증 주기 ( null시 기본값 일주일 - 1: 일주일, 2: 한달, 3: 일년 ) |
|
|
수정할 주기별 운동 인증 필요 횟수 |
|
|
fit group의 최대 fit mate 수 |
|
|
멀티 미디어 end point list ( 기존 기등록 멀티 미디어 list 미포함시 삭제 ) |
request-body
{"requestUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":null,"frequency":7,"maxFitMate":20,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}
curl-request
$ curl 'http://localhost:8080/fit-group-service/groups/1' -i -X PUT \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디","penaltyAmount":5000,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-5367420","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼","cycle":null,"frequency":7,"maxFitMate":20,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"]}'
response-fields
Path | Type | Description |
---|---|---|
|
|
수정 성공 여부 |
response-body
{"isUpdateSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isUpdateSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
삭제할 Fit group id |
http-request
DELETE /fit-group-service/groups/1 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 30 Host: localhost:8080
{"requestUserId":"testUserId"}
request-fields
Path | Type | Description |
---|---|---|
|
|
삭제를 요청한 User id ( Fit Leader여야함 ) |
request-body
{"requestUserId":"testUserId"}
curl-request
$ curl 'http://localhost:8080/fit-group-service/groups/1' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserId"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
삭제 성공 여부 |
response-body
{"isDeleteSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isDeleteSuccess":true}
http-request
GET /fit-group-service/groups/filters?withMaxGroup=false&category=1&pageNumber=1&pageSize=5 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/fit-group-service/groups/filters?withMaxGroup=false&category=1&pageNumber=1&pageSize=5' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
fit group List |
|
|
fit group의 id |
|
|
fit group의 leader user id |
|
|
fit group의 이름 |
|
|
fit group의 패널티 금액 |
|
|
fit group의 패널티 입금 계좌 은행코드 |
|
|
fit group의 패널티 입금 계좌번호 |
|
|
fit group의 카테고리 ( 1:헬스, 2:축구, 3:농구, 4:야구, 5: 클라이밍, 6: 배드민턴, 7: 필라테스, 10: 기타 ) |
|
|
fit group의 소개글 |
|
|
fit group의 운동 인증 주기 ( null시 기본값 일주일 - 1: 일주일, 2: 한달, 3: 일년 ) |
|
|
fit group의 주기별 인증 필요 횟수 |
|
|
fit group최대 인원 수 |
|
|
fit group현재 인원 수 |
|
|
fit group 멀티 미디어 end point list ( 주어진 index 순으로 return ) |
|
|
fit group의 상태 (false: 정상, true: 삭제) |
|
|
fit group 생성 일자 |
|
|
pageable object |
|
|
조회 페이지 번호 |
|
|
조회 한 size |
|
|
sort object |
|
|
sort 요청 여부 |
|
|
sort 여부 |
|
|
unsort 여부 |
|
|
대상 시작 번호 |
|
|
unpaged |
|
|
paged |
|
|
List 크기 |
|
|
조회 페이지 번호 |
|
|
sort object |
|
|
sort 요청 여부 |
|
|
sort 여부 |
|
|
unsort 여부 |
|
|
numberOfElements |
|
|
처음인지 여부 |
|
|
마지막인지 여부 |
|
|
비어있는지 여부 |
response-body
{"content":[{"presentFitMateCount":8,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":2,"fitLeaderUserId":"testUserId1","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒1","penaltyAmount":5001,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674201","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥1","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":21,"state":false},{"presentFitMateCount":9,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":3,"fitLeaderUserId":"testUserId2","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒2","penaltyAmount":5002,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674202","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥2","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":22,"state":false},{"presentFitMateCount":10,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":4,"fitLeaderUserId":"testUserId3","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒3","penaltyAmount":5003,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674203","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥3","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":23,"state":false},{"presentFitMateCount":11,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":5,"fitLeaderUserId":"testUserId4","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒4","penaltyAmount":5004,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674204","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥4","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":24,"state":false},{"presentFitMateCount":12,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":6,"fitLeaderUserId":"testUserId5","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒5","penaltyAmount":5005,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674205","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥5","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":25,"state":false}],"pageable":{"pageNumber":1,"pageSize":5,"sort":{"empty":true,"sorted":false,"unsorted":true},"offset":5,"unpaged":false,"paged":true},"size":5,"number":1,"sort":{"empty":true,"sorted":false,"unsorted":true},"first":false,"last":false,"numberOfElements":5,"empty":false}
http-response
HTTP/1.1 200 OK Content-Length: 3255 Content-Type: application/json
{"content":[{"presentFitMateCount":8,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":2,"fitLeaderUserId":"testUserId1","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디1","penaltyAmount":5001,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674201","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼1","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":21,"state":false},{"presentFitMateCount":9,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":3,"fitLeaderUserId":"testUserId2","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디2","penaltyAmount":5002,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674202","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼2","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":22,"state":false},{"presentFitMateCount":10,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":4,"fitLeaderUserId":"testUserId3","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디3","penaltyAmount":5003,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674203","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼3","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":23,"state":false},{"presentFitMateCount":11,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":5,"fitLeaderUserId":"testUserId4","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디4","penaltyAmount":5004,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674204","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼4","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":24,"state":false},{"presentFitMateCount":12,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":6,"fitLeaderUserId":"testUserId5","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디5","penaltyAmount":5005,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674205","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼5","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.735081200Z","maxFitMate":25,"state":false}],"pageable":{"pageNumber":1,"pageSize":5,"sort":{"empty":true,"sorted":false,"unsorted":true},"offset":5,"unpaged":false,"paged":true},"size":5,"number":1,"sort":{"empty":true,"sorted":false,"unsorted":true},"first":false,"last":false,"numberOfElements":5,"empty":false}
path-parameters
Parameter | Description |
---|---|
|
fit group 목록을 조회할 user id |
http-request
GET /fit-group-service/groups/filters/testUserId HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/fit-group-service/groups/filters/testUserId' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
fit group List |
|
|
fit group의 id |
|
|
fit group의 leader user id |
|
|
fit group의 이름 |
|
|
fit group의 패널티 금액 |
|
|
fit group의 패널티 입금 계좌 은행코드 |
|
|
fit group의 패널티 입금 계좌번호 |
|
|
fit group의 카테고리 ( 1:헬스, 2:축구, 3:농구, 4:야구, 5: 클라이밍, 6: 배드민턴, 7: 필라테스, 10: 기타 ) |
|
|
fit group의 소개글 |
|
|
fit group의 운동 인증 주기 ( null시 기본값 일주일 - 1: 일주일, 2: 한달, 3: 일년 ) |
|
|
fit group의 주기별 인증 필요 횟수 |
|
|
fit group최대 인원 수 |
|
|
fit group현재 인원 수 |
|
|
fit group 멀티 미디어 end point list ( 주어진 index 순으로 return ) |
|
|
fit group의 상태 (false: 정상, true: 삭제) |
|
|
fit group 생성 일자 |
response-body
{"fitGroupDetails":[{"presentFitMateCount":8,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":2,"fitLeaderUserId":"testUserId1","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒1","penaltyAmount":5001,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674201","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥1","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":21,"state":false},{"presentFitMateCount":9,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":3,"fitLeaderUserId":"testUserId2","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒2","penaltyAmount":5002,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674202","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥2","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":22,"state":false},{"presentFitMateCount":10,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":4,"fitLeaderUserId":"testUserId3","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒3","penaltyAmount":5003,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674203","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥3","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":23,"state":false},{"presentFitMateCount":11,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":5,"fitLeaderUserId":"testUserId4","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒4","penaltyAmount":5004,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674204","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥4","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":24,"state":false},{"presentFitMateCount":12,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":6,"fitLeaderUserId":"testUserId5","fitGroupName":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰 슫 룞 빐 빞二 뒪 꽣 뵒5","penaltyAmount":5005,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674205","category":1,"introduction":" 뿬李쎈뱾 씪二쇱씪 뿉 7踰덉 슫 룞 빐 빞 븳 떎怨 깮媛곹빀 땲 떎 떦 떊 룄 뿬李쎌씠 맗 떆 떎 洹쇱쑁 쑕 떇 뵲 쐢 깮媛곷룄 留덉떗 눥5","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":25,"state":false}]}
http-response
HTTP/1.1 200 OK Content-Length: 2994 Content-Type: application/json
{"fitGroupDetails":[{"presentFitMateCount":8,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":2,"fitLeaderUserId":"testUserId1","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디1","penaltyAmount":5001,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674201","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼1","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":21,"state":false},{"presentFitMateCount":9,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":3,"fitLeaderUserId":"testUserId2","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디2","penaltyAmount":5002,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674202","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼2","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":22,"state":false},{"presentFitMateCount":10,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":4,"fitLeaderUserId":"testUserId3","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디3","penaltyAmount":5003,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674203","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼3","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":23,"state":false},{"presentFitMateCount":11,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":5,"fitLeaderUserId":"testUserId4","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디4","penaltyAmount":5004,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674204","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼4","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":24,"state":false},{"presentFitMateCount":12,"multiMediaEndPoints":["https://avatars.githubusercontent.com/u/105261146?v=4"],"fitGroupId":6,"fitLeaderUserId":"testUserId5","fitGroupName":"헬창들은 일주일에 7번 운동해야죠 스터디5","penaltyAmount":5005,"penaltyAccountBankCode":"090","penaltyAccountNumber":"3333-03-53674205","category":1,"introduction":"헬창들은 일주일에 7번은 운동해야한다고 생각합니다 당신도 헬창이 됩시다 근육 휴식따윈 생각도 마십쇼5","cycle":1,"frequency":7,"createdAt":"2024-04-18T01:59:09.604430200Z","maxFitMate":25,"state":false}]}
http-request
GET /fit-group-service/bank-codes HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
curl-request
$ curl 'http://localhost:8080/fit-group-service/bank-codes' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
은행 코드 목록 |
|
|
은행 코드 |
|
|
은행명 |
response-body
{"bankCodeDetails":[{"code":"090","codeName":"移댁뭅 삤諭낇겕"},{"code":"089","codeName":"耳 씠諭낇겕"}]}
http-response
HTTP/1.1 200 OK Content-Length: 106 Content-Type: application/json
{"bankCodeDetails":[{"code":"090","codeName":"카카오뱅크"},{"code":"089","codeName":"케이뱅크"}]}
http-request
POST /fit-group-service/mates HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 45 Host: localhost:8080
{"requestUserId":"testUserID","fitGroupId":1}
request-fields
Path | Type | Description |
---|---|---|
|
|
Fit mate로 등록을 요청한 User id |
|
|
Fit group id |
request-body
{"requestUserId":"testUserID","fitGroupId":1}
curl-request
$ curl 'http://localhost:8080/fit-group-service/mates' -i -X POST \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserID","fitGroupId":1}'
response-fields
Path | Type | Description |
---|---|---|
|
|
등록 성공 여부 |
response-body
{"isRegisterSuccess":true}
http-response
HTTP/1.1 201 Created Content-Length: 26 Content-Type: application/json
{"isRegisterSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
조회할 Fit group id |
http-request
GET /fit-group-service/mates/1 HTTP/1.1
Content-Type: application/json;charset=UTF-8
Accept: application/json
Host: localhost:8080
request-body
curl-request
$ curl 'http://localhost:8080/fit-group-service/mates/1' -i -X GET \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json'
response-fields
Path | Type | Description |
---|---|---|
|
|
조회한 fit group id |
|
|
fit group의 리더 detail |
|
|
fit group 리더의 user id |
|
|
fit group 리더의 선정일시 |
|
|
fit mate list |
|
|
fit mate id |
|
|
fit mate 의 user id |
|
|
fit mate 등록일시 |
response-body
{"fitGroupId":1,"fitLeaderDetail":{"fitLeaderUserId":"fitLeaderUserId","createdAt":"2024-04-18T01:59:16.782760700Z"},"fitMateDetails":[{"fitMateId":1,"fitMateUserId":"fitMateUserId1","createdAt":"2024-04-18T01:59:16.782760700Z"},{"fitMateId":2,"fitMateUserId":"fitMateUserId2","createdAt":"2024-04-18T01:59:16.782760700Z"}]}
http-response
HTTP/1.1 200 OK Content-Length: 324 Content-Type: application/json
{"fitGroupId":1,"fitLeaderDetail":{"fitLeaderUserId":"fitLeaderUserId","createdAt":"2024-04-18T01:59:16.782760700Z"},"fitMateDetails":[{"fitMateId":1,"fitMateUserId":"fitMateUserId1","createdAt":"2024-04-18T01:59:16.782760700Z"},{"fitMateId":2,"fitMateUserId":"fitMateUserId2","createdAt":"2024-04-18T01:59:16.782760700Z"}]}
path-parameters
Parameter | Description |
---|---|
|
탈퇴할 Fit group id |
http-request
DELETE /fit-group-service/mates/1 HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 30 Host: localhost:8080
{"requestUserId":"testUserID"}
request-fields
Path | Type | Description |
---|---|---|
|
|
탈퇴를 요청한 User id |
request-body
{"requestUserId":"testUserID"}
curl-request
$ curl 'http://localhost:8080/fit-group-service/mates/1' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"testUserID"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
삭제 성공 여부 |
response-body
{"isDeleteSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 24 Content-Type: application/json
{"isDeleteSuccess":true}
path-parameters
Parameter | Description |
---|---|
|
추방할 Fit group id |
|
추방할 Fit mate user id |
http-request
DELETE /fit-group-service/managements/mates/1/kickedUserId HTTP/1.1 Content-Type: application/json;charset=UTF-8 Accept: application/json Content-Length: 32 Host: localhost:8080
{"requestUserId":"leaderUserId"}
request-fields
Path | Type | Description |
---|---|---|
|
|
추방을 요청한 User id ( fit leader 여야함 ) |
request-body
{"requestUserId":"leaderUserId"}
curl-request
$ curl 'http://localhost:8080/fit-group-service/managements/mates/1/kickedUserId' -i -X DELETE \
-H 'Content-Type: application/json;charset=UTF-8' \
-H 'Accept: application/json' \
-d '{"requestUserId":"leaderUserId"}'
response-fields
Path | Type | Description |
---|---|---|
|
|
추방 성공 여부 |
response-body
{"isKickSuccess":true}
http-response
HTTP/1.1 200 OK Content-Length: 22 Content-Type: application/json
{"isKickSuccess":true}