Get API v1 sports

get/api/v1/sports/

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Query parameters

limitinteger

Number of sports to return

Example:50
offsetinteger

Number of sports to skip

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

totalinteger required

Total number of sports

Example response

{
  "$schema": "https://example.com/schemas/GetAllSportsResponse.json",
  "sports": [
    {
      "$schema": "https://example.com/schemas/SportResponse.json",
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "Women's Soccer",
      "popularity": 20000
    }
  ],
  "total": 25
}

Changes

No recorded changes to this operation across all 16 revisions of this API.