PV4 Documentation

OPTA

The OPTA data integration connects to an OPTA stats provider API, offering both a REST interface and a GraphQL interface. Setup fields below are configured per Show in the PV4 Portal (Show → Data Integrations); field descriptions are transcribed from the Portal setup screen. Required fields are marked.

Fields

Field

Required

Type

Default

Description

Source Url

Required

String

None

URL for the OPTA stats provider API.

Stats Enabled


Boolean

None

Is the stats provider enabled for the Orchestrator.

Competition ID


String

None

Default competition ID.

Season ID


String

None

Default season ID.

Default Match ID


String

None

Default match ID.

Graphql Source Url


String

None

URL for the OPTA GraphQL stats provider API.

Graphql API Key


String

None

API key for the OPTA GraphQL stats provider API.

Graphql Region


String

None

AWS region of the OPTA GraphQL stats provider API.

Graphql Subscribe


Boolean

None

Should we subscribe to the GraphQL stats provider API.

Event Type Ids


String

None

A list of the event type IDs to subscribe to. Must be a comma-separated string, e.g. 3,2,12,5.