{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/entertainment:whapi-sportsdata/get-competitions-for-class":{"get":{"operationId":"entertainment_whapi_sportsdata_get_competitions_for_class","summary":"Retrieves a list of competitions for a given class id.","description":"GET /classes/{classId}/competitions/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"classId","in":"query","required":true,"description":"The class id to retrieve information for.","schema":{"type":"string","description":"The class id to retrieve information for."}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"displayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"channel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"status","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-events-for-class":{"get":{"operationId":"entertainment_whapi_sportsdata_get_events_for_class","summary":"Retrieves a list of events for a given class id.","description":"GET /classes/{classId}/events/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"classId","in":"query","required":true,"description":"The class id to retrieve information for.","schema":{"type":"string","description":"The class id to retrieve information for."}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"displayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"channel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"settled","in":"query","required":false,"description":"Specify wether only settled entities should be returned","schema":{"type":"boolean","description":"Specify wether only settled entities should be returned"}},{"name":"includeEmpty","in":"query","required":false,"description":"When declared as false it should exclude markets and events that have no selections / markets","schema":{"type":"boolean","default":true,"description":"When declared as false it should exclude markets and events that have no selections / markets"}},{"name":"status","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"headlineSummary","in":"query","required":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…","schema":{"type":"boolean","default":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…"}},{"name":"includeAllDescendants","in":"query","required":false,"description":"Include every descendant in the below heirarchy","schema":{"type":"boolean","default":false,"description":"Include every descendant in the below heirarchy"}},{"name":"isInPlay","in":"query","required":false,"description":"Show only events that are in-play","schema":{"type":"boolean","description":"Show only events that are in-play"}},{"name":"marketCount","in":"query","required":false,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…","schema":{"type":"integer","default":1,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…"}},{"name":"date","in":"query","required":false,"description":"Return only events for the specified date (yyyy-MM-dd).","schema":{"type":"string","description":"Return only events for the specified date (yyyy-MM-dd)."}},{"name":"dateFrom","in":"query","required":false,"description":"The UTC datetime from the events to be returned. (yyyy-MM-ddTHH:mm:ss)","schema":{"type":"string","description":"The UTC datetime from the events to be returned. (yyyy-MM-ddTHH:mm:ss)"}},{"name":"dateTo","in":"query","required":false,"description":"The UTC datetime TO the events to be returned. (yyyy-MM-ddTHH:mm:ss)","schema":{"type":"string","description":"The UTC datetime TO the events to be returned. (yyyy-MM-ddTHH:mm:ss)"}},{"name":"eventSort","in":"query","required":false,"description":"Filter event by event sort","schema":{"type":"string","description":"Filter event by event sort"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"marketPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"marketStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"marketDisplayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"marketChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"marketSort","in":"query","required":false,"description":"Filter by market sort (e.g. MR (match result) -- (Outright)).","schema":{"type":"string","description":"Filter by market sort (e.g. MR (match result) -- (Outright))."}},{"name":"marketEW","in":"query","required":false,"description":"Specify whether to return markets with each way betting or those without","schema":{"type":"string","description":"Specify whether to return markets with each way betting or those without"}},{"name":"selectionStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"selectionChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"selectionPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-competition":{"get":{"operationId":"entertainment_whapi_sportsdata_get_competition","summary":"Retrieves a specific competition","description":"GET /competitions/{competitionId}","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"competitionId","in":"query","required":true,"description":"The competition id to retrieve information for.","schema":{"type":"string","description":"The competition id to retrieve information for."}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-events-for-competition":{"get":{"operationId":"entertainment_whapi_sportsdata_get_events_for_competition","summary":"Retrieves a list of events for a given competition id.","description":"GET /competitions/{competitionId}/events/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"competitionId","in":"query","required":true,"description":"The competition id to retrieve information for.","schema":{"type":"string","description":"The competition id to retrieve information for."}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"displayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"channel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"settled","in":"query","required":false,"description":"Specify wether only settled entities should be returned","schema":{"type":"boolean","description":"Specify wether only settled entities should be returned"}},{"name":"includeEmpty","in":"query","required":false,"description":"When declared as false it should exclude markets and events that have no selections / markets","schema":{"type":"boolean","default":true,"description":"When declared as false it should exclude markets and events that have no selections / markets"}},{"name":"status","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"headlineSummary","in":"query","required":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…","schema":{"type":"boolean","default":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…"}},{"name":"includeAllDescendants","in":"query","required":false,"description":"Include every descendant in the below heirarchy","schema":{"type":"boolean","default":false,"description":"Include every descendant in the below heirarchy"}},{"name":"isInPlay","in":"query","required":false,"description":"Show only events that are in-play","schema":{"type":"boolean","description":"Show only events that are in-play"}},{"name":"marketCount","in":"query","required":false,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…","schema":{"type":"integer","default":1,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…"}},{"name":"date","in":"query","required":false,"description":"Return only events for the specified date (yyyy-MM-dd).","schema":{"type":"string","description":"Return only events for the specified date (yyyy-MM-dd)."}},{"name":"dateFrom","in":"query","required":false,"description":"The UTC datetime from the events to be returned. (yyyy-MM-ddTHH:mm:ss)","schema":{"type":"string","description":"The UTC datetime from the events to be returned. (yyyy-MM-ddTHH:mm:ss)"}},{"name":"dateTo","in":"query","required":false,"description":"The UTC datetime TO the events to be returned. (yyyy-MM-ddTHH:mm:ss)","schema":{"type":"string","description":"The UTC datetime TO the events to be returned. (yyyy-MM-ddTHH:mm:ss)"}},{"name":"marketGroupId","in":"query","required":false,"description":"Filter by marketGroupId (e.g. OB_MG1276585).","schema":{"type":"string","description":"Filter by marketGroupId (e.g. OB_MG1276585)."}},{"name":"eventSort","in":"query","required":false,"description":"Filter event by event sort","schema":{"type":"string","description":"Filter event by event sort"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"marketPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"marketStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"marketDisplayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"marketChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"marketSort","in":"query","required":false,"description":"Filter by market sort (e.g. MR (match result) -- (Outright)).","schema":{"type":"string","description":"Filter by market sort (e.g. MR (match result) -- (Outright))."}},{"name":"marketEW","in":"query","required":false,"description":"Specify whether to return markets with each way betting or those without","schema":{"type":"string","description":"Specify whether to return markets with each way betting or those without"}},{"name":"selectionStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"selectionChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"selectionPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-market-groups-for-competition":{"get":{"operationId":"entertainment_whapi_sportsdata_get_market_groups_for_competition","summary":"Retrieves a list of market groups for a given competition id","description":"GET /competitions/{competitionId}/marketgroups/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"competitionId","in":"query","required":true,"description":"The competition id to retrieve information for.","schema":{"type":"string","description":"The competition id to retrieve information for."}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"name","in":"query","required":false,"description":"Filter by market group name","schema":{"type":"string","description":"Filter by market group name"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-markets-by-group-id":{"get":{"operationId":"entertainment_whapi_sportsdata_get_markets_by_group_id","summary":"Retrieves a list of events/markets/selections where markets within said event match selected sort/groupId","description":"GET /competitions/{competitionId}/marketsByGroupid","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"competitionId","in":"query","required":true,"description":"The competition id to retrieve information for.","schema":{"type":"string","description":"The competition id to retrieve information for."}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"marketSort","in":"query","required":true,"description":"Filter by market sort (e.g. MR (match result) -- (Outright)).","schema":{"type":"string","description":"Filter by market sort (e.g. MR (match result) -- (Outright))."}},{"name":"marketGroupId","in":"query","required":true,"description":"Filter by marketGroupId (e.g. OB_MG1276585).","schema":{"type":"string","description":"Filter by marketGroupId (e.g. OB_MG1276585)."}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-events":{"get":{"operationId":"entertainment_whapi_sportsdata_get_events","summary":"Retrieves a list of events for the provided IDs.","description":"GET /events/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"ids","in":"query","required":false,"description":"A comma-separated list of selectionIds","schema":{"type":"array","description":"A comma-separated list of selectionIds"}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"includeAllDescendants","in":"query","required":false,"description":"Include every descendant in the below heirarchy","schema":{"type":"boolean","default":false,"description":"Include every descendant in the below heirarchy"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"channel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"settled","in":"query","required":false,"description":"Specify wether only settled entities should be returned","schema":{"type":"boolean","description":"Specify wether only settled entities should be returned"}},{"name":"includeEmpty","in":"query","required":false,"description":"When declared as false it should exclude markets and events that have no selections / markets","schema":{"type":"boolean","default":true,"description":"When declared as false it should exclude markets and events that have no selections / markets"}},{"name":"headlineSummary","in":"query","required":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…","schema":{"type":"boolean","default":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…"}},{"name":"marketCount","in":"query","required":false,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…","schema":{"type":"integer","default":1,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"marketIds","in":"query","required":false,"description":"Comma-seaerated list of market IDs to filter by","schema":{"type":"array","description":"Comma-seaerated list of market IDs to filter by"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"marketPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"marketStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"marketDisplayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"marketChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"marketSort","in":"query","required":false,"description":"Filter by market sort (e.g. MR (match result) -- (Outright)).","schema":{"type":"string","description":"Filter by market sort (e.g. MR (match result) -- (Outright))."}},{"name":"marketEW","in":"query","required":false,"description":"Specify whether to return markets with each way betting or those without","schema":{"type":"string","description":"Specify whether to return markets with each way betting or those without"}},{"name":"selectionStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"selectionChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"selectionPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-event":{"get":{"operationId":"entertainment_whapi_sportsdata_get_event","summary":"Retrieves a single event by ID.","description":"GET /events/{eventId}","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"eventId","in":"query","required":true,"description":"The event ID to retrieve information for.","schema":{"type":"string","description":"The event ID to retrieve information for."}},{"name":"includeAllDescendants","in":"query","required":false,"description":"Include every descendant in the below heirarchy","schema":{"type":"boolean","default":false,"description":"Include every descendant in the below heirarchy"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"headlineSummary","in":"query","required":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…","schema":{"type":"boolean","default":false,"description":"Return only headline markets (Markets with the lowest display order) Either 1 InPlay and 1 Pre-Match, or the amount specified in…"}},{"name":"marketCount","in":"query","required":false,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…","schema":{"type":"integer","default":1,"description":"Specify the number of markets to return when requesting headlineSummary. This count of InPlay and Pre-Match markets will be returned.For…"}},{"name":"marketIds","in":"query","required":false,"description":"Comma-seaerated list of market IDs to filter by","schema":{"type":"array","description":"Comma-seaerated list of market IDs to filter by"}},{"name":"includeEmpty","in":"query","required":false,"description":"When declared as false it should exclude markets and events that have no selections / markets","schema":{"type":"boolean","default":true,"description":"When declared as false it should exclude markets and events that have no selections / markets"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"marketPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"marketStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"marketDisplayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"marketChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"marketSort","in":"query","required":false,"description":"Filter by market sort (e.g. MR (match result) -- (Outright)).","schema":{"type":"string","description":"Filter by market sort (e.g. MR (match result) -- (Outright))."}},{"name":"marketEW","in":"query","required":false,"description":"Specify whether to return markets with each way betting or those without","schema":{"type":"string","description":"Specify whether to return markets with each way betting or those without"}},{"name":"selectionStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"selectionChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"selectionPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-event-competitors":{"get":{"operationId":"entertainment_whapi_sportsdata_get_event_competitors","summary":"Retrieves competitors for a single event by ID.","description":"GET /events/{eventId}/competitors","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"eventId","in":"query","required":true,"description":"The event ID to retrieve information for.","schema":{"type":"string","description":"The event ID to retrieve information for."}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-markets":{"get":{"operationId":"entertainment_whapi_sportsdata_get_markets","summary":"Gets one or more specific markets","description":"GET /events/{eventId}/markets/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"eventId","in":"query","required":true,"description":"The event ID to retrieve information for.","schema":{"type":"string","description":"The event ID to retrieve information for."}},{"name":"ids","in":"query","required":false,"description":"A comma-separated list of selectionIds","schema":{"type":"array","description":"A comma-separated list of selectionIds"}},{"name":"includeAllDescendants","in":"query","required":false,"description":"Include every descendant in the below heirarchy","schema":{"type":"boolean","default":false,"description":"Include every descendant in the below heirarchy"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"includeEmpty","in":"query","required":false,"description":"When declared as false it should exclude markets and events that have no selections / markets","schema":{"type":"boolean","default":true,"description":"When declared as false it should exclude markets and events that have no selections / markets"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"marketPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"marketStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"marketDisplayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"marketChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"marketSort","in":"query","required":false,"description":"Filter by market sort (e.g. MR (match result) -- (Outright)).","schema":{"type":"string","description":"Filter by market sort (e.g. MR (match result) -- (Outright))."}},{"name":"marketEW","in":"query","required":false,"description":"Specify whether to return markets with each way betting or those without","schema":{"type":"string","description":"Specify whether to return markets with each way betting or those without"}},{"name":"selectionStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"selectionChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"selectionPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-selections":{"get":{"operationId":"entertainment_whapi_sportsdata_get_selections","summary":"Gets one or more selections for a market","description":"GET /events/{eventId}/markets/{marketId}/selections/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"eventId","in":"query","required":true,"description":"The event ID to retrieve information for.","schema":{"type":"string","description":"The event ID to retrieve information for."}},{"name":"marketId","in":"query","required":true,"description":"The market id to retrieve information for","schema":{"type":"string","description":"The market id to retrieve information for"}},{"name":"ids","in":"query","required":false,"description":"A comma-separated list of selectionIds","schema":{"type":"array","description":"A comma-separated list of selectionIds"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"selectionStatus","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"selectionChannel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"selectionPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-sports":{"get":{"operationId":"entertainment_whapi_sportsdata_get_sports","summary":"Gets a list of all sports","description":"GET /sports/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-classes-for-sport":{"get":{"operationId":"entertainment_whapi_sportsdata_get_classes_for_sport","summary":"Retrieves a list of classes for a given sport id.","description":"GET /sports/{sportId}/classes/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"sportId","in":"query","required":true,"description":"The sport id to retrieve information for.","schema":{"type":"string","description":"The sport id to retrieve information for."}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"displayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"channel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"status","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-competitions-for-sport":{"get":{"operationId":"entertainment_whapi_sportsdata_get_competitions_for_sport","summary":"Retrieves a list of competitions for a given sport id.","description":"GET /sports/{sportId}/competitions/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"sportId","in":"query","required":true,"description":"The sport id to retrieve information for.","schema":{"type":"string","description":"The sport id to retrieve information for."}},{"name":"isPublished","in":"query","required":false,"description":"Specify whether only active entities should be returned, according to the William Hill definition of active","schema":{"type":"string","default":"yes","description":"Specify whether only active entities should be returned, according to the William Hill definition of active"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"displayed","in":"query","required":false,"description":"Specify whether to return displayed entities or not","schema":{"type":"string","default":"yes","description":"Specify whether to return displayed entities or not"}},{"name":"channel","in":"query","required":false,"description":"Specify a channel filter and only results from that channel will be returned","schema":{"type":"string","description":"Specify a channel filter and only results from that channel will be returned"}},{"name":"status","in":"query","required":false,"description":"Specify a status to filter results by. This is currently A (active) or S (suspended)","schema":{"type":"string","description":"Specify a status to filter results by. This is currently A (active) or S (suspended)"}},{"name":"sort","in":"query","required":false,"description":"The field to order the response by, followed by the order. For example: name,desc","schema":{"type":"string","default":"id,asc","description":"The field to order the response by, followed by the order. For example: name,desc"}},{"name":"offset","in":"query","required":false,"description":"Skip over a number of elements by specifying a start value for the query","schema":{"type":"integer","default":0,"description":"Skip over a number of elements by specifying a start value for the query"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}},"/v1/entertainment:whapi-sportsdata/get-top-bets":{"get":{"operationId":"entertainment_whapi_sportsdata_get_top_bets","summary":"Retrieves a weighted list of Selections.","description":"GET /topbets/","tags":["entertainment"],"parameters":[{"name":"apiKey","in":"query","required":true,"description":"Your API Key available from your developer portal","schema":{"type":"string","description":"Your API Key available from your developer portal"}},{"name":"sportIds","in":"query","required":false,"description":"A comma-separated list of sportsIds for which to retrieve topBets for","schema":{"type":"array","description":"A comma-separated list of sportsIds for which to retrieve topBets for"}},{"name":"competitionIds","in":"query","required":false,"description":"A comma-separated list of competitionIds for which to retrieve topBets for","schema":{"type":"array","description":"A comma-separated list of competitionIds for which to retrieve topBets for"}},{"name":"limit","in":"query","required":false,"description":"Specify the number of results to return","schema":{"type":"integer","default":100,"description":"Specify the number of results to return"}},{"name":"fields","in":"query","required":false,"description":"Specify an absolute field list to return (Comma-Separated List)","schema":{"type":"array","description":"Specify an absolute field list to return (Comma-Separated List)"}},{"name":"include","in":"query","required":false,"description":"Specify fields in addition to the default to return (Comma-Separated List)","schema":{"type":"array","description":"Specify fields in addition to the default to return (Comma-Separated List)"}},{"name":"exclude","in":"query","required":false,"description":"Specify fields from the default to exclude (Comma-Separated List)","schema":{"type":"array","description":"Specify fields from the default to exclude (Comma-Separated List)"}},{"name":"param_topBetEventId","in":"query","required":false,"description":"The event ID to retrieve top bet information for. Multiple events up to 5 may be used","schema":{"type":"string","description":"The event ID to retrieve top bet information for. Multiple events up to 5 may be used"}},{"name":"sortName","in":"query","required":false,"description":"The market sort code used to further filter event results. Please note this can only be used with event id(s).","schema":{"type":"string","description":"The market sort code used to further filter event results. Please note this can only be used with event id(s)."}},{"name":"culture","in":"query","required":false,"description":"Code used to return responses in language other than English, acceptable values are…","schema":{"type":"string","description":"Code used to return responses in language other than English, acceptable values are…"}},{"name":"Locale","in":"query","required":false,"description":"Code used to select a set of top bets settings, default is \"whapi\" which allows events set in far future to be included, setting the value…","schema":{"type":"string","description":"Code used to select a set of top bets settings, default is \"whapi\" which allows events set in far future to be included, setting the value…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"live"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}