Get API v1 sport by name by name

get/api/v1/sport/by-name/{name}

Request

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

Path parameters

namestring required

Name of the sport to retrieve

Example:Women's Soccer

Response

OK

$schemastring uri

A URL to the JSON Schema for this object.

idstring required

ID of the sport

namestring required

Name of the sport

popularityinteger

Number of players

Example response

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

Changes

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