Get API v1 sport by ID

get/api/v1/sport/{id}

Request

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

Path parameters

idstring required

ID of the sport

Example:123e4567-e89b-12d3-a456-426614174000

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.