Response principles
The exact content of the API JSON response depends on the content type - Stories, Moments, or Videos. The sections that follow detail the common properties and content-specific properties.
Properties
Common properties
Most content types share these common properties:
id: Unique identifier for the contenttype: Content type (Story, Moment, Video)title: Title of the contentdescription: Detailed descriptionversion: Version numberaspectRatios: Available aspect ratiosstatus: Content status (Draft or Active)createTime: Creation timestampupdateTime: Last update timestampthumbnails: Array of thumbnail imagesgeoTargeting: Geographic targeting informationmetadata: Content metadataexecutionTimeType: When content should be shown (PreGame, InGame, PostGame)labels: Content labelsdefaultLanguage: Source language of the content (e.g., "en")translatedTitles: Dictionary of localized titles mapped to language codes
Story-specific properties
Stories have additional properties:
isLive: Boolean indicating if the story is livehtmlUrl: URL to the HTML version of the storypages: Array of Page objects representing story pages
Moment-specific properties
Moments have additional properties:
subtitle: Subtitle textduration: Duration of the momenttranslatedDescriptions: Dictionary of localized descriptionstranslatedSubtitles: Dictionary of localized subtitles
Video-specific properties
Videos have additional properties:
subtitle: Subtitle textduration: Duration of the videotranslatedDescriptions: Dictionary of localized descriptionstranslatedSubtitles: Dictionary of localized subtitles
Pagination response
All list endpoints return a pagination response with:
totalItems: Total number of items availableresult: Array of content items for the current page
Geo-targeting
Content can be targeted to specific geographic regions using:
includedGeos: Array of regions to includeexcludedGeos: Array of regions to exclude
Metadata
Content can be associated with various entities:
competition: Competition metadatagame: Game metadatateam: Team metadataplayer: Player metadataround: Round metadataseason: Season metadata
Each metadata entity contains:
provider: Metadata provider nameproviderId: Provider-specific IDwscId: WSC ID (integer)
Localization
Localized fields (translatedTitles, translatedDescriptions, translatedSubtitles) are dictionaries where the key is a language or locale code and the value is the localized string.
Example:
"translatedTitles": {
"en": "Match Highlights",
"es": "Resumen del partido",
"fr": "Moments forts du match"
}The defaultLanguage field indicates the primary language of the content.
Aspect ratios
The API supports various aspect ratios for content:
- Square
- Horizontal
- Vertical
- FourToFive
- FiveToFour
- ThreeToFour
- FourToThree
- TwoToOne
- OneToTwo
- SevenToEight
- EightToSeven
- TwoToThree
- ThreeToOne
- ThreeToTwo
- OneToThree
- ThreeToEight
- FiveToOne
- Unknown
Updated 1 day ago
