{
  "opencollection": "1.0.0",
  "info": {
    "name": "Toornament Disciplines Matches API",
    "version": "2.0"
  },
  "request": {
    "auth": {
      "type": "apikey",
      "key": "X-Api-Key",
      "value": "{{X-Api-Key}}",
      "placement": "header"
    }
  },
  "items": [
    {
      "info": {
        "name": "Matches",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "List Matches",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://api.toornament.com/organizer/v2/tournaments/:tournament_id/stages/:stage_id/matches",
            "headers": [
              {
                "name": "X-Api-Key",
                "value": ""
              },
              {
                "name": "Authorization",
                "value": ""
              },
              {
                "name": "Range",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "tournament_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "stage_id",
                "value": "",
                "type": "path"
              }
            ]
          },
          "docs": "Retrieve all matches within a tournament stage, including bracket display data."
        },
        {
          "info": {
            "name": "Report Match Result",
            "type": "http"
          },
          "http": {
            "method": "PATCH",
            "url": "https://api.toornament.com/organizer/v2/tournaments/:tournament_id/matches/:match_id",
            "headers": [
              {
                "name": "X-Api-Key",
                "value": ""
              },
              {
                "name": "Authorization",
                "value": ""
              }
            ],
            "params": [
              {
                "name": "tournament_id",
                "value": "",
                "type": "path"
              },
              {
                "name": "match_id",
                "value": "",
                "type": "path"
              }
            ],
            "body": {
              "type": "json",
              "data": "{}"
            }
          },
          "docs": "Submit or update the result for a specific match. Requires organizer:admin scope."
        }
      ]
    }
  ],
  "bundled": true
}