v1

latestSwagger 2.02026-07-14152156.8 KB
sportsdata

Retrieves a list of competitions for a given class id.

Retrieves a list of competitions for a given class id.

get/classes/{classId}/competitions/

Path parameters

classIdstring required

The class id to retrieve information for.

Query parameters

isPublishedstring

Specify whether only active entities should be returned, according to the William Hill definition of active

fieldsstring[]

Specify an absolute field list to return (Comma-Separated List)

includestring[]

Specify fields in addition to the default to return (Comma-Separated List)

excludestring[]

Specify fields from the default to exclude (Comma-Separated List)

displayedstring

Specify whether to return displayed entities or not

channelstring

Specify a channel filter and only results from that channel will be returned

statusstring

Specify a status to filter results by. This is currently A (active) or S (suspended)

sortstring

The field to order the response by, followed by the order. For example: name,desc

offsetinteger

Skip over a number of elements by specifying a start value for the query

limitinteger

Specify the number of results to return

culturestring

Code used to return responses in language other than English, acceptable values are en-GB|de-DE|es-ES|fr-FR|nn-NO|fi-FI|ru-RU|pt-PT|hu-HU|sl-SL|ga-IE|en-CA|sr-Latn|sv-SE|el=GR|zh-CHS|it-IT|zh-CHT|cs-CZ|de-AT|ja-JP|pl-PL|da-DK|ro-RO|nl-NL|tr-TR

Headers

apiKeystring required

Your API Key available from your developer portal

Response

Success

All 15 operations