매칭

매칭 전체 리스트 조회

GET /matches

Query Parameters

Name
Type
Description

cursorId

Number

last index number

size

Number

sport

String

city

String

region

String

date

String

ageGroup

String


  "data": {
    "matchList": [
      {
        "ageGroup": "TEENAGER",
        "city": "string",
        "date": "string",
        "endTime": {
          "hour": 0,
          "minute": 0,
          "nano": 0,
          "second": 0
        },
        "ground": "string",
        "matchId": 0,
        "region": "string",
        "sports": "string",
        "startTime": {
          "hour": 0,
          "minute": 0,
          "nano": 0,
          "second": 0
        },
        "teamId": 0,
        "teamLogo": "string",
        "teamMannerTemperature": 0,
        "teamName": "string"
      }
    ]
  }
}

매칭 상세 정보 조회

GET /matches/{matchId}

Path Parameters

Name
Type
Description

matchId*

Number

매칭 평가

POST /matches/{matchId}/review

Path Parameters

Name
Type
Description

matchId*

Number

Request Body

Name
Type
Description

Tags*

Array

reviewedTeamId*

Number

reviewerTeamId*

Number

매칭 등록

POST /matches

Request Body

Name
Type
Description

registerTeamId

Number

sports

String

city

String

region

String

ground

String

date

String

startTime

String

endTime

String

ageGroup

String

cost

Number

detail

String

players

Array

매칭 정보 수정

PUT /matches/{matchId}

Path Parameters

Name
Type
Description

matchId*

Number

Request Body

Name
Type
Description

city

String

region

String

groundName

String

date

String

startTime

String

endTime

String

ageGroup

String

cost

Number

detail

String

players

Array

매칭 삭제

DELETE /matches/{matchId}

Path Parameters

Name
Type
Description

matchId*

Number

매칭 신청자의 팀&팀원 리스트 조회

GET /teams/info

부주장 이상의 권한을 갖고 있는 팀& 팀원 리스트만 response

Headers

Name
Type
Description

token

String

매칭 신청

POST /matches/{matchId}/waitings

Path Parameters

Name
Type
Description

matchId*

Number

Request Body

Name
Type
Description

teamId

Number

players

Array

매칭 신청한 팀 리스트 조회

GET /matches/{matchId}/waitings

Path Parameters

Name
Type
Description

matchId*

Number

매칭 수락

POST /match-waitings/{teamWaitingId}

Path Parameters

Name
Type
Description

teamWaitingId*

Number

수락되기전 매칭 취소

DELETE /match-waitings/{waitingId}

Path Parameters

Name
Type
Description

waitingId*

Number

Last updated