You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 14, 2021. It is now read-only.
{
"matchs": [
{
"idx": 0, // 경기 idx
"event": "string", // 종목 이름
"event_idx": 0, // 종목 idx
"start_date": 0, //시작 시간 (유닉스)
"end_date": 0, // 종료 시간 (유닉스)
"team1": {
"idx": 0, // 팀 idx
"name": "string",
"score": 0, // 이번 게임 점수
}
"team2": {
"idx": 0, // 팀 idx
"name": "string",
"score": 0, // 이번 게임 점수
}
}
]
}
**[POST] /sports/match
경기를 추가
Payload
{
"event_idx": 0, // 종목 idx
"start_date": 0, //시작 시간 (유닉스)
"end_date": 0, // 종료 시간 (유닉스)
"team1_idx": 0, // 팀1 idx
"team2_idx": 0, // 팀2 idx
}
**[GET] /sports/match/<match_idx>
해당 경기를 불러옴
Response
{
"idx": 0, // 경기 idx
"event": "string", // 종목 이름
"event_idx": 0, // 종목 idx
"start_date": 0, //시작 시간 (유닉스)
"end_date": 0, // 종료 시간 (유닉스)
"team1": {
"idx": 0, // 팀 idx
"name": "string",
"score": 0, // 이번 게임 점수
}
"team2": {
"idx": 0, // 팀 idx
"name": "string",
"score": 0, // 이번 게임 점수
}
}
**[DELETE] /sports/match/<match_idx>
해당 경기일정을 지움
문제있거나 필요한거 있으면 의견좀
The text was updated successfully, but these errors were encountered:
이번에 재민쌤이 디미리그의 진행상황과 점수등을 디미고인을 통해서 볼 수 있게 해달라고 요청하심
선생님이 요구한 사항 :
다 불러옴
event
종목을 추가함
종목을 삭제함
종목들을 불러옴
team
팀을 추가함
해당 idx의 팀을 보여줌
해당 idx의 팀을 삭제
모든 팀을 보여줌 (종목 상관 x)
해당 idx의 종목의 팀들을 보여줌
member
같은사람이라도 종목마다 다른 member_idx를 부여받는다.
해당 idx member를 지움
scorebook/member
점수 등록
점수 수정
점수 등록 삭제
해당 scorebook의 정보를 줌
해당 매치의 해당 idx의 맴버의 득점, 어시스트
해당 idx의 맴버의 총 득점, 어시스트
scorebook/team
점수 등록
점수 수정
점수 등록 삭제
해당 scorebook의 정보를 줌
해당 scorebook의 정보를 줌
match
모든 경기 일정 불러오기
경기를 추가
해당 경기를 불러옴
해당 경기일정을 지움
문제있거나 필요한거 있으면 의견좀
The text was updated successfully, but these errors were encountered: