MahjongRank
    MahjongRank
    • Player Register
      POST
    • MatchRecord Import
      POST
    • Player Get
      GET
    • MatchRecord Get
      GET
    • Admin Login
      POST

      MatchRecord Get

      开发中
      GET
      /api/v1/match-records

      请求参数

      Query 参数
      name
      string 
      必需

      示例代码

      Shell
      JavaScript
      Java
      Swift
      Go
      PHP
      Python
      HTTP
      C
      C#
      Objective-C
      Ruby
      OCaml
      Dart
      R
      请求示例请求示例
      Shell
      JavaScript
      Java
      Swift
      curl --location --request GET '/api/v1/match-records?name'

      返回响应

      🟢200成功
      application/json
      Body
      array of:
      created_at
      string 
      必需
      record_1
      object (SubMatchRecord) 
      必需
      player_name
      string 
      必需
      points
      integer 
      必需
      start_direction
      enum<string> 
      必需
      枚举值:
      eastsouthwestnorth
      rank
      enum<string> 
      必需
      枚举值:
      novice_1novice_2novice_3practitioner_1practitioner_2practitioner_3elite_1elite_2elite_3expert_1expert_2expert_3sage_1sage_2sage_3
      pt
      integer 
      必需
      record_2
      object (SubMatchRecord) 
      必需
      record_3
      object (SubMatchRecord) 
      必需
      record_4
      object (SubMatchRecord) 
      必需
      match_type
      enum<string> 
      必需
      枚举值:
      eastsouth
      示例
      [
          {
              "created_at": "string",
              "record_1": {
                  "player_name": "string",
                  "points": 0,
                  "start_direction": "east",
                  "rank": "novice_1",
                  "pt": 0
              },
              "record_2": {
                  "player_name": "string",
                  "points": 0,
                  "start_direction": "east",
                  "rank": "novice_1",
                  "pt": 0
              },
              "record_3": {
                  "player_name": "string",
                  "points": 0,
                  "start_direction": "east",
                  "rank": "novice_1",
                  "pt": 0
              },
              "record_4": {
                  "player_name": "string",
                  "points": 0,
                  "start_direction": "east",
                  "rank": "novice_1",
                  "pt": 0
              },
              "match_type": "east"
          }
      ]
      🟠400请求有误
      🔴500服务器错误
      🟠404记录不存在
      修改于 2025-06-28 04:25:15
      上一页
      Player Get
      下一页
      Admin Login
      Built with