{
  "opencollection": "1.0.0",
  "info": {
    "name": "RunSignup Corrals API",
    "version": "1.0"
  },
  "request": {
    "auth": {
      "type": "oauth2",
      "flow": "authorization_code",
      "authorizationUrl": "https://runsignup.com/OAuth/Authorize",
      "accessTokenUrl": "https://runsignup.com/OAuth/Token",
      "credentials": {
        "clientId": "{{clientId}}",
        "clientSecret": "{{clientSecret}}"
      }
    }
  },
  "items": [
    {
      "info": {
        "name": "Corrals",
        "type": "folder"
      },
      "items": [
        {
          "info": {
            "name": "Get Race Corrals",
            "type": "http"
          },
          "http": {
            "method": "GET",
            "url": "https://runsignup.com/Rest/race/:race_id/corrals",
            "params": [
              {
                "name": "race_id",
                "value": "",
                "type": "path",
                "description": "The unique ID of the race"
              },
              {
                "name": "event_id",
                "value": "",
                "type": "query",
                "description": "Filter by specific event ID"
              }
            ]
          },
          "docs": "Returns corral configuration for a race event, including corral names and participant assignments for wave-start events."
        }
      ]
    }
  ],
  "bundled": true
}