GET
/
v1
/
sports
List sports
curl --request GET \
  --url http://localhost:8082/v1/sports \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "baseball",
      "display_name": "Baseball"
    },
    {
      "id": "basketball",
      "display_name": "Basketball"
    },
    {
      "id": "soccer",
      "display_name": "Soccer"
    }
  ]
}

Authorizations

Authorization
string
header
default:tok_public_demo
required

Send a workspace API token in the Authorization: Bearer <token> header.

Response

Top-level sports.