{"openapi":"3.0.0","components":{"examples":{},"headers":{},"parameters":{},"requestBodies":{},"responses":{},"schemas":{"WatchProgressViewModel":{"description":"Where the viewer stopped in one piece of content: the block on a page's read and on a history\nitem. `kind` says which coordinate is filled. For a sidecast episode the seconds are on its whole\ntimeline, all its recordings in the order of `muxAssets`: start the recording they fall in, at what\nis left after the recordings before it.","properties":{"kind":{"type":"string","description":"`video`, `podcastEpisode`, `sidecastEpisode` or `live`. A plain string on purpose: a kind added later\nmust not break a client's strict enum decoding."},"contentId":{"type":"string"},"completed":{"type":"boolean","description":"The viewer reached the end: start from the beginning, or offer \"watch again\"."},"deviceClass":{"type":"string","description":"Device class the position was saved on (`mobile`, `tv`, `web`, `other`)."},"platform":{"type":"string"},"updatedAt":{"type":"string"},"positionSeconds":{"type":"number","format":"double","nullable":true,"description":"A video or episode: media seconds the viewer was at."},"resumeAtSeconds":{"type":"number","format":"double","nullable":true,"description":"A video or episode: where to start on open, a few seconds before the saved second, or 0 once completed or under 15 s."},"durationSeconds":{"type":"number","format":"double","nullable":true,"description":"A video or episode: its length in seconds, null while unknown."},"programDateTime":{"type":"string","nullable":true,"description":"A live: wall-clock of the frame to resume at. Seek to the first content segment whose PDT is at or after it."}},"required":["kind","contentId","completed","deviceClass","platform","updatedAt"],"type":"object","additionalProperties":false},"VideoType":{"enum":["hype","full","post","sidecast","livestream"],"type":"string"},"VideoViewThirdParty":{"properties":{"id":{"type":"string","nullable":true},"playbackId":{"type":"string","nullable":true}},"required":["id","playbackId"],"type":"object","additionalProperties":false},"VideoOrientation":{"enum":["landscape","portrait"],"type":"string"},"ImageInfoModel":{"properties":{"width":{"type":"number","format":"double"},"height":{"type":"number","format":"double"},"url":{"type":"string"}},"required":["width","height","url"],"type":"object","additionalProperties":false},"ImagesViewModel":{"properties":{"alt":{"type":"string"},"original_size":{"$ref":"#/components/schemas/ImageInfoModel"},"preview_sm":{"$ref":"#/components/schemas/ImageInfoModel"},"preview_md":{"$ref":"#/components/schemas/ImageInfoModel"},"preview_lg":{"$ref":"#/components/schemas/ImageInfoModel"},"preview_xl":{"$ref":"#/components/schemas/ImageInfoModel"},"src":{"type":"string","nullable":true},"dominantColor":{"type":"string","nullable":true,"description":"Artwork tint, CSS `#RRGGBB`, or null."}},"required":["alt","original_size","preview_sm","preview_md","preview_lg","preview_xl","src"],"type":"object","additionalProperties":false},"VideoState":{"enum":["draft","scheduled","published","failed","uploading"],"type":"string"},"CloudflareStreamVideoState":{"enum":["pendingupload","downloading","queued","inprogress","ready","error","notset"],"type":"string"},"MuxVideoStatus":{"enum":["preparing","waiting","ready","asset_created","errored","cancelled","timed_out","notset","mrss_await_processing","mrss_await_import","mrss_await_moderation","mrss_moderation_held","mrss_moderation_rejected","bucket_await_upload","bucket_await_processing"],"type":"string"},"UserProfileReferenceViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"claimedEntityId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true}},"required":["id","type","displayName","bzzrHandle","photo","claimedEntityId","isVerified","isCommentsEnabled"],"type":"object","additionalProperties":false},"TaggedUserMetadata":{"properties":{"bzzrHandle":{"type":"string"},"userId":{"type":"string"},"time":{"type":"string"}},"required":["bzzrHandle","userId","time"],"type":"object","additionalProperties":false},"VideoResolutionViewModel":{"properties":{"width":{"type":"number","format":"double"},"height":{"type":"number","format":"double"}},"required":["width","height"],"type":"object","additionalProperties":false},"VideoViewModel":{"properties":{"id":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"type":{"$ref":"#/components/schemas/VideoType"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoViewThirdParty"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string","description":"Seconds as a `string` on the wire, though the domain {@link Video.duration} is a `number`.\nDeliberate: don't \"align\" to number — it breaks existing clients and the text-mapped\n`staging-videos` ES index. Built via `videoDurationToApiString`."},"videoOrientation":{"allOf":[{"$ref":"#/components/schemas/VideoOrientation"}],"nullable":true},"viewsCount":{"type":"number","format":"double"},"publishedDate":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"rate":{"type":"number","format":"double"},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"processingState":{"anyOf":[{"$ref":"#/components/schemas/CloudflareStreamVideoState"},{"$ref":"#/components/schemas/MuxVideoStatus"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"isPublic":{"type":"boolean","nullable":true},"isPremium":{"type":"boolean","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"socialFeedAmplifier":{"type":"number","format":"double","nullable":true},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolutionViewModel"}],"nullable":true}},"required":["id","tags","type","cdnUrl","thirdParty","thirdPartyId","thirdPartyPlaybackId","watchUrl","title","description","maturityLevel","duration","videoOrientation","viewsCount","publishedDate","thumbnail","gif","rate","state","processingState","userProfile","playlists","taggedCreators","taggedUsers","untaggedUsers","createdAt","updatedAt","isPublic","isPremium","isCommentsEnabled","isFeatured","isCrossposted","socialFeedAmplifier","resolution"],"type":"object","additionalProperties":false},"PodcastCategory":{"properties":{"id":{"type":"string"},"name":{"type":"string"}},"required":["id","name"],"type":"object","additionalProperties":false},"PodcastEpisodeTopic":{"properties":{"topicId":{"type":"string"},"topicName":{"type":"string"},"topicNameNormalized":{"type":"string"}},"required":["topicId","topicName","topicNameNormalized"],"type":"object","additionalProperties":false},"PodcastEpisodeFeedActivityViewModel":{"properties":{"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"duration":{"type":"number","format":"double"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"audioUrl":{"type":"string"},"url":{"type":"string"},"postedAt":{"type":"string"},"createdAt":{"type":"string"}},"required":["podcastId","podcastUrl","podcastName","id","title","description","tags","duration","categories","topics","images","audioUrl","url","postedAt","createdAt"],"type":"object","additionalProperties":false},"SidecastEpisodeStatus":{"enum":["scheduled","live","ended"],"type":"string"},"SidecastPublishingState":{"enum":["draft","scheduled","published"],"type":"string"},"SidecastEpisodeFeedActivityViewModel":{"properties":{"id":{"type":"string"},"showId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"status":{"$ref":"#/components/schemas/SidecastEpisodeStatus"},"tags":{"items":{"type":"string"},"type":"array"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"isPublic":{"type":"boolean"},"publishedDate":{"type":"string","nullable":true}},"required":["id","showId","title","description","thumbnail","status","tags","publishedDate"],"type":"object","additionalProperties":false},"WatchHistoryItemViewModel":{"description":"One entry of the viewer's history: what was watched, when, how far, and the content itself in the slot of its kind.","properties":{"kind":{"type":"string","description":"`video`, `hype`, `podcastEpisode` or `sidecastEpisode` today. A plain string on purpose: a kind added\nlater must not break a client's strict enum decoding."},"contentId":{"type":"string"},"lastWatchedAt":{"type":"string"},"watchProgress":{"allOf":[{"$ref":"#/components/schemas/WatchProgressViewModel"}],"nullable":true,"description":"null for a hype: its history keeps no position."},"video":{"allOf":[{"$ref":"#/components/schemas/VideoViewModel"}],"nullable":true,"description":"The video or hype view model that `GET /videos/{id}/v3` extends, without its engagement fields\n(`activityId`, `likesCount`, `isLiked`, `commentsCount`); null for any other kind."},"podcastEpisode":{"allOf":[{"$ref":"#/components/schemas/PodcastEpisodeFeedActivityViewModel"}],"nullable":true,"description":"The episode card the feeds and the popular-episodes rail carry; null for any other kind. The page\nis `GET /podcasts/{podcastId}/episodes/{id}`."},"sidecastEpisode":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeFeedActivityViewModel"}],"nullable":true,"description":"The episode card the feeds carry; null for any other kind. The page is\n`GET /sidecast/shows/{showId}/episodes/{id}`."}},"required":["kind","contentId","lastWatchedAt","watchProgress","video","podcastEpisode","sidecastEpisode"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_WatchHistoryItemViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/WatchHistoryItemViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"WatchHistoryKind":{"description":"The kinds the history and Continue Watching lists serve, and so the only ones a client names.","enum":["video","hype","podcastEpisode","sidecastEpisode"],"type":"string"},"PathSegment":{"type":"string","description":"A value from the URL: one path segment or a cursor. Decoded: no \"/\", not \".\" or \"..\", not __...__, at most 1500 characters.","pattern":"^(?!\\.\\.?$)(?!__.*__$)[^/]{0,1500}$"},"VideoEngagementViewModel":{"properties":{"id":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"type":{"$ref":"#/components/schemas/VideoType"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoViewThirdParty"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string","description":"Seconds as a `string` on the wire, though the domain {@link Video.duration} is a `number`.\nDeliberate: don't \"align\" to number — it breaks existing clients and the text-mapped\n`staging-videos` ES index. Built via `videoDurationToApiString`."},"videoOrientation":{"allOf":[{"$ref":"#/components/schemas/VideoOrientation"}],"nullable":true},"viewsCount":{"type":"number","format":"double"},"publishedDate":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"rate":{"type":"number","format":"double"},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"processingState":{"anyOf":[{"$ref":"#/components/schemas/CloudflareStreamVideoState"},{"$ref":"#/components/schemas/MuxVideoStatus"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"isPublic":{"type":"boolean","nullable":true},"isPremium":{"type":"boolean","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"socialFeedAmplifier":{"type":"number","format":"double","nullable":true},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolutionViewModel"}],"nullable":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["id","tags","type","cdnUrl","thirdParty","thirdPartyId","thirdPartyPlaybackId","watchUrl","title","description","maturityLevel","duration","videoOrientation","viewsCount","publishedDate","thumbnail","gif","rate","state","processingState","userProfile","playlists","taggedCreators","taggedUsers","untaggedUsers","createdAt","updatedAt","isPublic","isPremium","isCommentsEnabled","isFeatured","isCrossposted","socialFeedAmplifier","resolution","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_VideoEngagementViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/VideoEngagementViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"ComponentType":{"enum":["featured","featuredPromo","heroFeaturedPromo","trending","creators","promoCreator"],"type":"string"},"ComponentItemType":{"enum":["video","user"],"type":"string"},"PageComponentReferenceViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"type":{"$ref":"#/components/schemas/ComponentType"},"tags":{"items":{"type":"string"},"type":"array"},"isVisible":{"type":"boolean"},"itemsType":{"allOf":[{"$ref":"#/components/schemas/ComponentItemType"}],"nullable":true},"promoUser":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"featuredPromoType":{"type":"string","nullable":true},"isOttVisible":{"type":"boolean","description":"Whether OTT/TV apps should render this component (filtering is client-side)."}},"required":["id","title","type","tags","isVisible","itemsType","promoUser","featuredPromoType","isOttVisible"],"type":"object","additionalProperties":false},"VideoPageViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"components":{"items":{"$ref":"#/components/schemas/PageComponentReferenceViewModel"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"userId":{"type":"string","nullable":true},"isHome":{"type":"boolean"}},"required":["id","title","components","tags","userId","isHome"],"type":"object","additionalProperties":false},"ComponentItemType.Video":{"enum":["video"],"type":"string"},"ComponentItemVideoViewModel":{"properties":{"id":{"type":"string"},"itemType":{"$ref":"#/components/schemas/ComponentItemType.Video"},"promoImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"isAvailable":{"type":"boolean"},"cdnUrl":{"type":"string","nullable":true},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string"},"viewsCount":{"type":"number","format":"double"},"publishedDate":{"type":"string","nullable":true},"createdAt":{"type":"string","nullable":true},"updatedAt":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"isFeatured":{"type":"boolean"}},"required":["id","itemType","promoImage","isAvailable","cdnUrl","watchUrl","title","description","tags","maturityLevel","duration","viewsCount","publishedDate","createdAt","updatedAt","thumbnail","userProfile","isFeatured"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_ComponentItemVideoViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ComponentItemVideoViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"ComponentItemType.User":{"enum":["user"],"type":"string"},"ComponentItemUserViewModel":{"properties":{"id":{"type":"string"},"itemType":{"$ref":"#/components/schemas/ComponentItemType.User"},"promoImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"isAvailable":{"type":"boolean"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"claimedEntityId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFollowed":{"type":"boolean","nullable":true}},"required":["id","itemType","promoImage","isAvailable","type","displayName","bzzrHandle","photo","claimedEntityId","isVerified","isCommentsEnabled","isFollowed"],"type":"object","additionalProperties":false},"ComponentItemViewModel":{"anyOf":[{"$ref":"#/components/schemas/ComponentItemVideoViewModel"},{"$ref":"#/components/schemas/ComponentItemUserViewModel"}]},"PaginatedCursorResponse_ComponentItemViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ComponentItemViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"VideoDetailViewModel":{"description":"The video page read: the engagement view plus the viewer's own resume point.","properties":{"id":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"type":{"$ref":"#/components/schemas/VideoType"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoViewThirdParty"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string","description":"Seconds as a `string` on the wire, though the domain {@link Video.duration} is a `number`.\nDeliberate: don't \"align\" to number — it breaks existing clients and the text-mapped\n`staging-videos` ES index. Built via `videoDurationToApiString`."},"videoOrientation":{"allOf":[{"$ref":"#/components/schemas/VideoOrientation"}],"nullable":true},"viewsCount":{"type":"number","format":"double"},"publishedDate":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"rate":{"type":"number","format":"double"},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"processingState":{"anyOf":[{"$ref":"#/components/schemas/CloudflareStreamVideoState"},{"$ref":"#/components/schemas/MuxVideoStatus"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"isPublic":{"type":"boolean","nullable":true},"isPremium":{"type":"boolean","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"socialFeedAmplifier":{"type":"number","format":"double","nullable":true},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolutionViewModel"}],"nullable":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"},"watchProgress":{"allOf":[{"$ref":"#/components/schemas/WatchProgressViewModel"}],"nullable":true,"description":"null when the viewer has none, and always for a hype."}},"required":["id","tags","type","cdnUrl","thirdParty","thirdPartyId","thirdPartyPlaybackId","watchUrl","title","description","maturityLevel","duration","videoOrientation","viewsCount","publishedDate","thumbnail","gif","rate","state","processingState","userProfile","playlists","taggedCreators","taggedUsers","untaggedUsers","createdAt","updatedAt","isPublic","isPremium","isCommentsEnabled","isFeatured","isCrossposted","socialFeedAmplifier","resolution","activityId","likesCount","isLiked","commentsCount","watchProgress"],"type":"object","additionalProperties":false},"SidecastParticipantStatus":{"enum":["readyToJoin","requestSent","approved","left"],"type":"string"},"SidecastParticipant":{"properties":{"user":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"title":{"type":"string","nullable":true},"isPinned":{"type":"boolean"},"isMuted":{"type":"boolean"},"isOnline":{"type":"boolean"},"isCameraOff":{"type":"boolean"},"orderIndex":{"type":"number","format":"double","nullable":true},"sessionId":{"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/SidecastParticipantStatus"}],"nullable":true}},"required":["user","title","isPinned","isMuted","isOnline","isCameraOff","orderIndex","sessionId","status"],"type":"object","additionalProperties":false},"ShowStreamDetailsViewModel":{"description":"Safe (secret-free) projection of the show-level persistent stream. Connection\nsecrets (stream key, RTMPS/SRT URLs) are only exposed via the studio\nbroadcastConnection endpoints as `BroadcastConnectionDetailsViewModel`.","properties":{"muxStreamId":{"type":"string"},"muxPlaybackId":{"type":"string"},"muxPlaybackUrl":{"type":"string"},"muxActiveAssetId":{"type":"string","nullable":true},"muxActiveAssetPlaybackId":{"type":"string","nullable":true},"muxActiveAssetPlaybackUrl":{"type":"string","nullable":true},"muxStreamCreatedAt":{"type":"string"},"type":{"anyOf":[{"type":"string"},{"type":"string","enum":["mux"]}]},"activeEpisodeId":{"type":"string","nullable":true}},"required":["muxStreamId","muxPlaybackId","muxPlaybackUrl","muxActiveAssetId","muxActiveAssetPlaybackId","muxActiveAssetPlaybackUrl","muxStreamCreatedAt","type","activeEpisodeId"],"type":"object","additionalProperties":false},"SidecastShowViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"sports":{"items":{"type":"string"},"type":"array"},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"ownerId":{"type":"string"},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"viewsCount":{"type":"number","format":"double"},"episodesCount":{"type":"number","format":"double"},"showStream":{"allOf":[{"$ref":"#/components/schemas/ShowStreamDetailsViewModel"}],"nullable":true},"autoPublishOnConnect":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","title","description","sports","hosts","producers","ownerId","logo","backgroundImage","thumbnail","tags","viewsCount","episodesCount","showStream","autoPublishOnConnect","createdAt","updatedAt"],"type":"object","additionalProperties":false},"ListResultRecordResponse_SidecastShowViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/SidecastShowViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_SidecastShowViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_SidecastShowViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"CompetitorTeam":{"properties":{"id":{"type":"string"},"sourceGuid":{"type":"string"},"slug":{"type":"string"},"location":{"type":"string","nullable":true},"name":{"type":"string"},"abbreviation":{"type":"string"},"displayName":{"type":"string"},"shortDisplayName":{"type":"string","nullable":true},"color":{"type":"string","nullable":true},"alternateColor":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"isAllStar":{"type":"boolean"},"logo":{"type":"string"},"sourceRef":{"type":"string"}},"required":["id","sourceGuid","slug","location","name","abbreviation","displayName","shortDisplayName","color","alternateColor","isActive","isAllStar","logo","sourceRef"],"type":"object","additionalProperties":false},"EventCompetitorShortModel":{"properties":{"id":{"type":"string"},"order":{"type":"number","format":"double"},"homeAway":{"type":"string","enum":["home","away"]},"team":{"$ref":"#/components/schemas/CompetitorTeam"}},"required":["id","order","homeAway","team"],"type":"object","additionalProperties":false},"EventCompetitionShortModel":{"properties":{"id":{"type":"string"},"date":{"type":"string"},"competitors":{"items":{"$ref":"#/components/schemas/EventCompetitorShortModel"},"type":"array"}},"required":["id","date","competitors"],"type":"object","additionalProperties":false},"SidecastEpisodeEventModel":{"properties":{"id":{"type":"string"},"date":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"competitions":{"items":{"$ref":"#/components/schemas/EventCompetitionShortModel"},"type":"array"},"sport":{"type":"string"},"league":{"type":"string"},"gameTitle":{"type":"string","nullable":true}},"required":["id","date","name","shortName","competitions","sport","league","gameTitle"],"type":"object","additionalProperties":false},"CameraLayout":{"enum":["grid","list","agenda"],"type":"string"},"SidebarLayout":{"enum":["none","playByPlay","sponsor","webLink"],"type":"string"},"FooterLayout":{"enum":["none","scoreCrawler","gameInfo","sponsor"],"type":"string"},"LayoutParams":{"properties":{"cameraLayout":{"allOf":[{"$ref":"#/components/schemas/CameraLayout"}],"nullable":true},"sidebarLayout":{"allOf":[{"$ref":"#/components/schemas/SidebarLayout"}],"nullable":true},"footerLayout":{"allOf":[{"$ref":"#/components/schemas/FooterLayout"}],"nullable":true},"isCameraConstraint":{"type":"boolean"},"pinnedUserId":{"type":"string","nullable":true},"showParticipantLabels":{"type":"boolean"}},"required":["cameraLayout","sidebarLayout","footerLayout","isCameraConstraint","pinnedUserId","showParticipantLabels"],"type":"object","additionalProperties":false},"BannerOverlay":{"properties":{"isActive":{"type":"boolean"},"title":{"type":"string","nullable":true},"titleColor":{"type":"string","nullable":true},"subtitle":{"type":"string","nullable":true},"subtitleColor":{"type":"string","nullable":true},"imageLeft":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"imageRight":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["isActive","title","titleColor","subtitle","subtitleColor","imageLeft","imageRight"],"type":"object","additionalProperties":false},"FooterComponent":{"enum":["gameDetails","scoresCrawler"],"type":"string"},"FooterOverlay":{"properties":{"isActive":{"type":"boolean"},"components":{"items":{"$ref":"#/components/schemas/FooterComponent"},"type":"array"}},"required":["isActive","components"],"type":"object","additionalProperties":false},"ScorePosition":{"enum":["topLeft","topRight","bottomLeft","bottomRight","bottomCenter"],"type":"string"},"ScoreOverlay":{"properties":{"isActive":{"type":"boolean"},"position":{"$ref":"#/components/schemas/ScorePosition"}},"required":["isActive","position"],"type":"object","additionalProperties":false},"Overlays":{"properties":{"banner":{"$ref":"#/components/schemas/BannerOverlay"},"footer":{"$ref":"#/components/schemas/FooterOverlay"},"score":{"$ref":"#/components/schemas/ScoreOverlay"}},"required":["banner","footer","score"],"type":"object","additionalProperties":false},"SidecastFeatures":{"properties":{"premiumContentEnabled":{"type":"boolean"},"enableChat":{"type":"boolean"}},"required":["premiumContentEnabled","enableChat"],"type":"object","additionalProperties":false},"StreamStatsViewModel":{"properties":{"status":{"anyOf":[{"type":"string"},{"type":"string","enum":["ended","running","paused"]}]},"lastUpdatedAt":{"type":"string"}},"required":["status","lastUpdatedAt"],"type":"object","additionalProperties":false},"StreamCaptureDetailsViewModel":{"properties":{"stats":{"allOf":[{"$ref":"#/components/schemas/StreamStatsViewModel"}],"nullable":true}},"required":["stats"],"type":"object","additionalProperties":false},"StreamDetailsViewModel":{"properties":{"muxStreamId":{"type":"string"},"muxPlaybackId":{"type":"string"},"muxPlaybackUrl":{"type":"string"},"muxActiveAssetId":{"type":"string","nullable":true},"muxActiveAssetPlaybackId":{"type":"string","nullable":true},"muxActiveAssetPlaybackUrl":{"type":"string","nullable":true},"muxStreamCreatedAt":{"type":"string"},"type":{"anyOf":[{"type":"string"},{"type":"string","enum":["mux"]}]}},"required":["muxStreamId","muxPlaybackId","muxPlaybackUrl","muxActiveAssetId","muxActiveAssetPlaybackId","muxActiveAssetPlaybackUrl","muxStreamCreatedAt","type"],"type":"object","additionalProperties":false},"RecordingTime":{"properties":{"duration":{"type":"number","format":"double"},"startedAt":{"type":"string"},"type":{"type":"string"}},"required":["duration","startedAt","type"],"type":"object","additionalProperties":false},"MuxAsset":{"properties":{"assetId":{"type":"string"},"createdAt":{"type":"string"},"duration":{"type":"number","format":"double"},"playbackId":{"type":"string"},"playbackUrl":{"type":"string"},"recordingTimes":{"items":{"$ref":"#/components/schemas/RecordingTime"},"type":"array"},"status":{"type":"string"}},"required":["assetId","createdAt","duration","playbackId","playbackUrl","recordingTimes","status"],"type":"object","additionalProperties":false},"VideoReferenceThirdParty":{"properties":{"id":{"type":"string","nullable":true},"providerId":{"type":"string"}},"required":["id","providerId"],"type":"object","additionalProperties":false},"VideoReferenceViewModel":{"properties":{"id":{"type":"string"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoReferenceThirdParty"},"watchUrl":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"duration":{"type":"string","description":"Wire stays `string` (see {@link VideoViewModel.duration}) though `Video.duration` is numeric."},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolutionViewModel"}],"nullable":true},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyProviderId":{"type":"string","deprecated":true}},"required":["id","cdnUrl","thirdParty","watchUrl","thumbnail","gif","duration","videoOrientation","resolution","thirdPartyId","thirdPartyProviderId"],"type":"object","additionalProperties":false},"SidecastEpisodeSearchViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"getstreamCallId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/SidecastEpisodeStatus"},"scheduledStart":{"type":"string"},"event":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeEventModel"}],"nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"guests":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"viewsCount":{"type":"number","format":"double"},"liveViewsCount":{"type":"number","format":"double","nullable":true},"orderIndex":{"type":"number","format":"double"},"layoutParams":{"$ref":"#/components/schemas/LayoutParams"},"overlays":{"$ref":"#/components/schemas/Overlays"},"features":{"$ref":"#/components/schemas/SidecastFeatures"},"streamCaptureDetails":{"allOf":[{"$ref":"#/components/schemas/StreamCaptureDetailsViewModel"}],"nullable":true},"streamDetails":{"allOf":[{"$ref":"#/components/schemas/StreamDetailsViewModel"}],"nullable":true},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array"},"videos":{"items":{"$ref":"#/components/schemas/VideoReferenceViewModel"},"type":"array"},"cdnUrl":{"type":"string","nullable":true,"description":"HLS URL for a muted card preview, or null when the episode has none."},"isExternalBroadcast":{"type":"boolean"},"showId":{"type":"string"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"isLiveAvailable":{"type":"boolean"},"isStandBy":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"publishedDate":{"type":"string","nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"showTitle":{"type":"string"},"showLogo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"showBackgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["id","title","description","thumbnail","getstreamCallId","status","scheduledStart","event","hosts","guests","producers","tags","viewsCount","liveViewsCount","orderIndex","layoutParams","overlays","features","streamCaptureDetails","streamDetails","muxAssets","videos","cdnUrl","isExternalBroadcast","showId","liveStartedAt","liveStoppedAt","isLiveAvailable","isStandBy","createdAt","updatedAt","publishedDate","owner","showTitle","showLogo","showBackgroundImage"],"type":"object","additionalProperties":false},"ListResultRecordResponse_SidecastEpisodeSearchViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/SidecastEpisodeSearchViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_SidecastEpisodeSearchViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_SidecastEpisodeSearchViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"SidecastEpisodeSearchEngagementViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"getstreamCallId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/SidecastEpisodeStatus"},"scheduledStart":{"type":"string"},"event":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeEventModel"}],"nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"guests":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"viewsCount":{"type":"number","format":"double"},"liveViewsCount":{"type":"number","format":"double","nullable":true},"orderIndex":{"type":"number","format":"double"},"layoutParams":{"$ref":"#/components/schemas/LayoutParams"},"overlays":{"$ref":"#/components/schemas/Overlays"},"features":{"$ref":"#/components/schemas/SidecastFeatures"},"streamCaptureDetails":{"allOf":[{"$ref":"#/components/schemas/StreamCaptureDetailsViewModel"}],"nullable":true},"streamDetails":{"allOf":[{"$ref":"#/components/schemas/StreamDetailsViewModel"}],"nullable":true},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array"},"videos":{"items":{"$ref":"#/components/schemas/VideoReferenceViewModel"},"type":"array"},"cdnUrl":{"type":"string","nullable":true,"description":"HLS URL for a muted card preview, or null when the episode has none."},"isExternalBroadcast":{"type":"boolean"},"showId":{"type":"string"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"isLiveAvailable":{"type":"boolean"},"isStandBy":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"publishedDate":{"type":"string","nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"showTitle":{"type":"string"},"showLogo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"showBackgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["id","title","description","thumbnail","getstreamCallId","status","scheduledStart","event","hosts","guests","producers","tags","viewsCount","liveViewsCount","orderIndex","layoutParams","overlays","features","streamCaptureDetails","streamDetails","muxAssets","videos","cdnUrl","isExternalBroadcast","showId","liveStartedAt","liveStoppedAt","isLiveAvailable","isStandBy","createdAt","updatedAt","publishedDate","owner","showTitle","showLogo","showBackgroundImage","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"ListResultRecordResponse_SidecastEpisodeSearchEngagementViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/SidecastEpisodeSearchEngagementViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_SidecastEpisodeSearchEngagementViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_SidecastEpisodeSearchEngagementViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"SidecastEpisodeDetailViewModel":{"description":"The sidecast episode page read: the engagement view plus the viewer's own resume point, on the episode's whole timeline.","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"getstreamCallId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/SidecastEpisodeStatus"},"scheduledStart":{"type":"string"},"event":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeEventModel"}],"nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"guests":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"viewsCount":{"type":"number","format":"double"},"liveViewsCount":{"type":"number","format":"double","nullable":true},"orderIndex":{"type":"number","format":"double"},"layoutParams":{"$ref":"#/components/schemas/LayoutParams"},"overlays":{"$ref":"#/components/schemas/Overlays"},"features":{"$ref":"#/components/schemas/SidecastFeatures"},"streamCaptureDetails":{"allOf":[{"$ref":"#/components/schemas/StreamCaptureDetailsViewModel"}],"nullable":true},"streamDetails":{"allOf":[{"$ref":"#/components/schemas/StreamDetailsViewModel"}],"nullable":true},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array"},"videos":{"items":{"$ref":"#/components/schemas/VideoReferenceViewModel"},"type":"array"},"cdnUrl":{"type":"string","nullable":true,"description":"HLS URL for a muted card preview, or null when the episode has none."},"isExternalBroadcast":{"type":"boolean"},"showId":{"type":"string"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"isLiveAvailable":{"type":"boolean"},"isStandBy":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"publishedDate":{"type":"string","nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"showTitle":{"type":"string"},"showLogo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"showBackgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"},"watchProgress":{"allOf":[{"$ref":"#/components/schemas/WatchProgressViewModel"}],"nullable":true,"description":"null when the viewer has none."}},"required":["id","title","description","thumbnail","getstreamCallId","status","scheduledStart","event","hosts","guests","producers","tags","viewsCount","liveViewsCount","orderIndex","layoutParams","overlays","features","streamCaptureDetails","streamDetails","muxAssets","videos","cdnUrl","isExternalBroadcast","showId","liveStartedAt","liveStoppedAt","isLiveAvailable","isStandBy","createdAt","updatedAt","publishedDate","owner","showTitle","showLogo","showBackgroundImage","activityId","likesCount","isLiked","commentsCount","watchProgress"],"type":"object","additionalProperties":false},"SidecastEpisodeViewerCountTokenViewModel":{"properties":{"token":{"type":"string"},"expiresAt":{"type":"string"}},"required":["token","expiresAt"],"type":"object","additionalProperties":false},"TvSearchItemType":{"description":"What a TV search result is — `TvSearchItemViewModel` carries the payload of the same name.","enum":["broadcast","sidecast","video"],"type":"string"},"ScheduledBroadcastTeamImagesViewModel":{"description":"Per-team artwork. The container is ALWAYS present (sides null when unset), so a\nclient never has to null-check two levels — same contract as `display`.","properties":{"home":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"away":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["home","away"],"type":"object","additionalProperties":false},"TeamLogoSource":{"enum":["broadcastOverride","bzzr","thirdParty","none"],"type":"string"},"TeamRefViewModel":{"description":"One side of a matchup, fully resolved — the client never builds a URL or picks a source.","properties":{"key":{"type":"string","description":"The normalized key this resolved from — echoed for debugging and admin QA."},"displayName":{"type":"string"},"abbreviation":{"type":"string","nullable":true},"logoUrl":{"type":"string","nullable":true,"description":"`original_size` URL of the crest in the broadcast's `teamImages` — a bare-`<img>`\nconvenience. Always our CDN; a third-party URL is never returned to consumers."},"logoSource":{"$ref":"#/components/schemas/TeamLogoSource","description":"Which link in the chain answered. Telemetry and admin QA; clients render regardless."},"primaryColor":{"type":"string","nullable":true}},"required":["key","displayName","logoSource"],"type":"object","additionalProperties":false},"BroadcastTeamsViewModel":{"description":"Mirrors the `teamImages` contract: the container is always present so clients null-check\none level, not two. A side is null only when the broadcast carries no usable key — an\nunresolved key still returns a ref with `logoSource: none` (the name renders regardless).","properties":{"home":{"allOf":[{"$ref":"#/components/schemas/TeamRefViewModel"}],"nullable":true},"away":{"allOf":[{"$ref":"#/components/schemas/TeamRefViewModel"}],"nullable":true}},"required":["home","away"],"type":"object","additionalProperties":false},"GameType":{"type":"string","enum":["home","away"]},"SeriesType":{"type":"string","enum":["regular","playoff","spring"]},"ScheduledBroadcastTargeting":{"description":"GAM targeting fields baked onto the broadcast at import / admin-create\ntime. `resolveSsaiConfig` reads these straight onto the provisioned Live\n— no derivation. `homeTeam`/`awayTeam` are required so every cust_params\ncall has both team identifiers; `gameType` is optional (POV сети).","properties":{"homeTeam":{"type":"string","description":"Lowercase team identifier of the home team, e.g. \"rangers\"."},"awayTeam":{"type":"string","description":"Lowercase team identifier of the away team, e.g. \"yankees\"."},"gameType":{"$ref":"#/components/schemas/GameType","description":"\"home\" / \"away\" relative to the broadcasting network."},"gameId":{"type":"string","description":"Upstream calendar / scoring system game id, when known."},"seriesType":{"$ref":"#/components/schemas/SeriesType"}},"required":["homeTeam","awayTeam"],"type":"object","additionalProperties":false},"ScheduledBroadcastDisplay":{"description":"Display-only fields surfaced in UI; never part of GAM cust_params.","properties":{"season":{"type":"string"},"venue":{"type":"string"},"programName":{"type":"string"}},"type":"object","additionalProperties":false},"ScheduledBroadcastStatus":{"enum":["scheduled","provisioning","live","ending","ended","provision_failed","cancelled","skipped"],"type":"string"},"LivePreviewViewModel":{"properties":{"url":{"type":"string","description":"Public URL of the ~60s game preview MP4 (first minute of play). Play it\nmuted/looped — the file carries the broadcast audio track."}},"required":["url"],"type":"object","additionalProperties":false},"BroadcastAccess":{"description":"What it costs to get into a broadcast — derived from the products behind its `entitlementIds`,\nnever from the viewer (`isSubscribed` is the per-viewer half).\n\n`Open` is RESERVED and never emitted: an ungated broadcast cannot be created, cannot be\nprovisioned (the scheduler is fail-closed on it) and cannot be read by id. It ships in the\nvocabulary so that a real ungated state would later arrive as a new value clients already\ntolerate, not as a type change. An empty entitlement set therefore reports `Subscribers` — that\nis legacy data which can never go on air, and calling it free-for-all is the one answer with\nconsequences.","enum":["free","subscribers","open"],"type":"string"},"UpcomingBroadcastViewModel":{"description":"Lightweight view model for consumer-facing upcoming broadcasts.","properties":{"id":{"type":"string"},"liveSourceId":{"type":"string"},"ownerId":{"type":"string"},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"heroImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"3:1 hero art."},"teamImages":{"$ref":"#/components/schemas/ScheduledBroadcastTeamImagesViewModel","description":"The crests to render, one per side — the resolution chain's OUTPUT (per-game override →\nour uploaded artwork → the mirrored third-party fallback → null). Always images we serve.\nSame shape it always had, so a client already reading `teamImages` gets resolved crests\nwith no change; `teams` says which link answered and carries the name/colour metadata."},"teams":{"$ref":"#/components/schemas/BroadcastTeamsViewModel","description":"Which link answered for each side, plus name/abbreviation/colour: `logoSource` is\n`broadcastOverride` when the operator's per-game upload won, `bzzr` for our artwork,\n`thirdParty` for the mirrored fallback, `none` when nothing resolved. Container always\npresent; a side is null only when the broadcast carries no usable key. The image itself\nis in `teamImages` — never duplicated here."},"targeting":{"$ref":"#/components/schemas/ScheduledBroadcastTargeting"},"display":{"$ref":"#/components/schemas/ScheduledBroadcastDisplay"},"label":{"type":"string","nullable":true,"description":"Resolved broadcast → LiveSource; `null` when neither sets one."},"sortPriority":{"type":"number","format":"double"},"pregameStart":{"type":"string","nullable":true},"gameStart":{"type":"string"},"gameEnd":{"type":"string"},"broadcastStart":{"type":"string"},"broadcastEnd":{"type":"string"},"status":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"},"endedAt":{"type":"string","nullable":true,"description":"ACTUAL end (ISO 8601 UTC), stamped at the Ended transition. Null unless the\nbroadcast has ended. For replay cards (status === ended) the FE uses this to\nshow recency (\"2 days ago\")."},"replayExpiresAt":{"type":"string","nullable":true,"description":"When this replay stops being available (ISO 8601 UTC), i.e. the moment behind the\n\"Expires in 22 hours\" label. Null unless the broadcast has ended.\n\nRead this instead of computing `endedAt + 48h`: the window is per partner now, so\nthat arithmetic is wrong for any team on a non-default retention. It is an absolute\ninstant rather than a remaining duration on purpose — these list responses are\nRedis-cached, so a precomputed countdown would be served already stale."},"liveId":{"type":"string","nullable":true,"description":"ID of the Live entity if already provisioned."},"preview":{"allOf":[{"$ref":"#/components/schemas/LivePreviewViewModel"}],"nullable":true,"description":"The ~60s game preview (first minute of play), generated a couple of\nminutes after game start and unchanged thereafter — the same clip while\nthe game is on air and after it ends. Null until generated. Public URL,\nno token; play it muted and looped. Note the file carries the broadcast\naudio track."},"concurrentViews":{"type":"number","format":"double","nullable":true,"description":"Current Mux concurrent-viewer count of the broadcast's live, for initial render. null when\nthe broadcast isn't live. The live-updating value comes from subscribing to the live's\n`clientState/current` doc; this is just a seed and may lag by the list cache TTL."},"isSubscribed":{"type":"boolean","nullable":true,"description":"Whether the calling user holds an active subscription for the entitlements this broadcast\nrequires. `null` means NOT COMPUTED — never \"no\". Clients must test `=== true`.\n\nResolved ONLY on the authenticated single-broadcast fetch. Every list endpoint returns `null`,\non every surface, permanently — that is not an oversight and not a gap to close. Resolving it\ncosts a per-viewer read, and these list responses are cached once and shared by every viewer,\nso it would put the hottest browse rails on Cloud SQL for a badge.\n\nBoth clients compute this themselves instead, by intersecting the card's `entitlementIds`\nagainst `GET /entitlements/me` — one fetch per session, covering every surface including the\nsigned-out-capable public ones the server cannot resolve for. It was briefly populated on two\nrails (#1593) and withdrawn: both halves read the same source, so it was one answer computed\ntwice rather than a redundant one, and the client's set lands before the rails it would have\ncovered. **Do not re-add it to a list endpoint without revisiting that with the clients.**\n\nOn the by-id fetch it also falls back to `null` if the entitlement read fails, rather than\nfailing the request: this is a badge, access is decided by the playback gate, and a detail page\nshould not 500 over one."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"What it costs to get in: `free` when at least one of the required `entitlementIds` is granted\nby an active zero-cost (`ProductSource.Free`) product, else `subscribers`. Drives the badge and\nwhether the CTA claims or purchases. (`open` is reserved — see {@link BroadcastAccess}.)\n\nA property of the CONTENT, not of the viewer: unlike `isSubscribed` it is always resolved, on\nlist and by-id endpoints alike, and is the same for every caller including anonymous ones.\n\nNOT an access grant. The fan still has to claim the free product\n(`POST /subscriptions/free`) before playback opens — `access: \"free\"` with\n`isSubscribed: false` means \"claimable now, one tap away\", which is exactly the state the\ncard should sell."},"league":{"type":"string","nullable":true,"description":"The competition, as the league's short code (`MLB`, `NFL`), resolved from the team bound to the\nbroadcast's owner. Null when the owner has no active team — a reporting dimension, never a gate."}},"required":["id","liveSourceId","ownerId","owner","entitlementIds","title","description","thumbnail","backgroundImage","heroImage","teamImages","teams","targeting","display","label","sortPriority","pregameStart","gameStart","gameEnd","broadcastStart","broadcastEnd","status","endedAt","replayExpiresAt","liveId","concurrentViews","isSubscribed","access","league"],"type":"object","additionalProperties":false},"TvSearchItemViewModel":{"description":"One result. Exactly one payload is set, the one `type` names, and the others are null — as in the `liveNow` items,\nwhose game and sidecast shapes these are; a video has the shape `GET /tv/videos/{videoId}/v3` returns. Skip a record\nwhose `type` you do not know: more types may come.","properties":{"type":{"$ref":"#/components/schemas/TvSearchItemType"},"broadcast":{"allOf":[{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"}],"nullable":true},"sidecast":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeSearchViewModel"}],"nullable":true},"video":{"allOf":[{"$ref":"#/components/schemas/VideoEngagementViewModel"}],"nullable":true}},"required":["type","broadcast","sidecast","video"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_TvSearchItemViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/TvSearchItemViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"SearchHistoryEntryViewModel":{"properties":{"query":{"type":"string"},"searchedAt":{"type":"string","description":"When it was last saved, by opening a result from it: ISO 8601, UTC."}},"required":["query","searchedAt"],"type":"object","additionalProperties":false},"SearchHistoryListViewModel":{"description":"Newest first.","properties":{"records":{"items":{"$ref":"#/components/schemas/SearchHistoryEntryViewModel"},"type":"array"}},"required":["records"],"type":"object","additionalProperties":false},"UpdateWatchProgressRequest":{"description":"`PUT /playback/lives/{liveId}/progress` (and the `/tv/lives/{liveId}/progress` twin). Send it about\nonce a minute while a recording plays, and on pause / stop / leaving the app with `final: true`\n(periodic writes for the same user and recording closer together than 20 s are coalesced). A player\nresuming after a long pause re-reads the saved position first — another device may have moved it.\nOnly for a recording the VIEWER chose to watch (Catch Up / Watch Replay / a replay page) — never for\ntechnical playback: the TV's filler loop IS the latest game's recording, same live id, and would\noverwrite the household's real position (and mark it completed as the loop passes the end).","properties":{"programDateTime":{"type":"string","description":"Wall-clock (ISO 8601 with offset) of the frame on screen: the current segment's\n`EXT-X-PROGRAM-DATE-TIME` plus the offset into it.","maxLength":40},"completed":{"type":"boolean","description":"The viewer reached the end (the server also infers it from a frame at the very end)."},"final":{"type":"boolean","description":"The last write of this viewing (pause, stop, background): not coalesced with the periodic ones\n(only with another `final` at the same position within 2 s)."}},"required":["programDateTime"],"type":"object","additionalProperties":false},"WatchProgressLookupViewModel":{"description":"`GET /playback/lives/{liveId}/progress`: `progress` is `null` when nothing is saved or the live never started.","properties":{"progress":{"allOf":[{"$ref":"#/components/schemas/WatchProgressViewModel"}],"nullable":true}},"required":["progress"],"type":"object","additionalProperties":false},"LivePlaybackStateViewModel":{"description":"`GET /playback/lives/{liveId}/state` and `GET /tv/lives/{liveId}/playback-state`: the live's\nplayback state for a client that cannot subscribe to `lives/{liveId}/clientState/current`\n(Roku), or that wants to poll anyway. The same fields as that document, plus a poll cadence.\n\nEnd-of-live handoff (docs/live-end-handoff.md §5): on `status: \"ended\"` a player at the live edge\nshows its end screen as before; a player BEHIND the edge keeps playing the live. When its playlist\nstalls or fails after `endedAt`, it re-fetches the grant and seeks what it gets to the wall-clock\nmoment (`EXT-X-PROGRAM-DATE-TIME`) it was playing.","properties":{"liveId":{"type":"string"},"status":{"type":"string","description":"`Live.status`: `creating` | `provisioning` | `scheduled` | `live` | `idle` | `ended`. A plain string\non purpose — a new status must not break a client's exhaustive switch; treat unknown as \"not ended\"."},"onAir":{"type":"boolean","description":"The broadcast's air time has arrived (see `LiveClientState.onAir`)."},"playbackEpoch":{"type":"number","format":"double","description":"Bumped by a mid-broadcast pipeline rebuild: re-fetch the grant and re-init the player."},"endedAt":{"type":"string","nullable":true,"description":"When the live ended; absent while it has not."},"replayReady":{"type":"boolean","description":"The live ended and its replay exists. A viewer still playing the live does not switch on it."},"liveServingUntil":{"type":"string","nullable":true,"description":"Until when the live URLs already handed out keep serving after the end; moves later while viewers remain. Absent ⇒ nothing held."},"pollAfterSeconds":{"type":"number","format":"double","description":"Seconds until the next poll is worth making (jittered ±20%: 300 mid-game, 60 within 15 min of the\nscheduled end or after it); `0` ⇒ stop polling — the replay is ready, or the live ended long ago\nwith none coming. On new TV builds this poll replaces polling the broadcast for its end. A client\nthat hits a fatal/stuck live playlist does not wait for the next poll: it asks at once."},"serverTime":{"type":"string"}},"required":["liveId","status","onAir","playbackEpoch","replayReady","pollAfterSeconds","serverTime"],"type":"object","additionalProperties":false},"PlaybackDeliveryMuxHlsViewModel":{"properties":{"kind":{"type":"string","enum":["mux-hls"],"nullable":false},"playbackId":{"type":"string"},"token":{"type":"string","nullable":true,"description":"Null on legacy public-policy playback IDs (no signed token required)."},"expiresAt":{"type":"string","nullable":true,"description":"Null when `token` is null (no expiry concept without a token)."},"storyboardToken":{"type":"string","description":"Scrub-preview token for the same playback ID — `token` (aud `v`) does NOT\nopen `image.mux.com/.../storyboard.jpg`. Pass verbatim to Mux Player as\n`storyboard-token`. Absent when `token` is null, and while `isLive` —\nMux builds storyboards off a finished asset."},"isLive":{"type":"boolean","description":"False for VOD (recorded asset) playback."},"adBreaks":{"items":{"properties":{"durationSeconds":{"type":"number","format":"double"},"scheduledAt":{"type":"string"}},"required":["durationSeconds","scheduledAt"],"type":"object"},"type":"array","description":"Ad break summary for ended hybrid-SSAI lives. The player can use these\ntimestamps to render a \"skip ad\" UI or pre-fetch creatives; the heavy\nlifting is done by `adTimeline.url` (VMAP fed to IMA SDK).\n\nPresent iff `isLive === false` AND the live ran with SSAI ads."},"adTimeline":{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object","description":"VMAP-document URL (signed) the player passes to Google IMA SDK for\nclient-side ad insertion (CSAI) on VOD replays of hybrid lives. SSAI\nis only available during the live broadcast — once the live ends and\nthe Mux asset replaces the CloudFront stream, MediaTailor isn't in\nthe path anymore, so ads are stitched client-side from this VMAP.\n\nPresent iff `adBreaks` is present."}},"required":["kind","playbackId","token","expiresAt","isLive"],"type":"object","additionalProperties":false},"PlaybackDeliveryCloudFrontHlsViewModel":{"properties":{"kind":{"type":"string","enum":["cloudfront-hls"],"nullable":false},"masterUrl":{"type":"string","description":"Bare MediaTailor HLS master URL fronted by the CloudFront live\ndistribution. No URL-level signing — pre-mint gates (geo +\nentitlements) already decided WHO gets this URL; once issued, the\nURL is playable for whoever has it until the MediaTailor session\nexpires (~4h). DRM (Widevine/FairPlay/PlayReady) is the planned\nanswer to dedicated piracy; URL signing of any form is theatre."},"refreshAfter":{"type":"string","description":"Soft deadline (ISO) after which the client should RE-RESOLVE this grant\nand swap to the fresh `masterUrl` instead of keeping the current one.\n\nMediaTailor kills its per-viewer session state server-side roughly 3h\nafter the session starts (measured prod 2026-07-25: the GetManifest.Errors\nsurge tracked the tune-in cohort +3h exactly); a dead session's manifest\nURL answers 400/404 forever, players classify that as fatal, and no retry\nagainst the SAME URL can ever recover. Re-resolving before this deadline\nturns that terminal mid-game error into a seamless stream swap. Clients\nthat ignore the field keep today's behaviour."},"ssaiSessionInitUrl":{"type":"string","description":"Bare MediaTailor SSAI session-init URL. Used by the IMA SDK / ad\ntimeline flow for VMAP/VAST fetches. Present iff the live has SSAI\nconfigured."},"adReportingMode":{"type":"string","enum":["client","server"],"description":"How the player must report ad tracking for this SSAI session:\n- `\"server\"` (default): MediaTailor fires the impression/quartile beacons\n  server-side (hybrid). The player MUST init the session with\n  `reportingMode:\"server\"` and NOT fire beacons itself (else double-count);\n  casting / AirPlay / backgrounded playback then still record impressions.\n- `\"client\"`: the player initializes client-side reporting and fires the\n  beacons itself (better client-originated IVT; opt-in via the\n  `liveAdClientSideReporting` feature flag / a web cohort).\nResolved server-side from the feature flag. Absent ⇒ treat as `\"server\"`."},"isLive":{"type":"boolean","description":"`false` ⇒ this is a finished recording (VOD): render seek/scrub UI, no LIVE badge, no\nlive-edge rejoin on a `playbackEpoch` change. Absent ⇒ live, which is what every\ncloudfront-hls delivery was before replays could be served from AWS — a replay is handed out\nhere only to a player that asked for it with `acceptsReplayCopy=true` (and an account in the\n`replayAwsDelivery` rollout), so shipped clients that ignore the field never see one."},"startOffsetSeconds":{"type":"number","format":"double","description":"Replays only: start playback this many seconds in (`EXT-X-START` equivalent) — where the game\nbegins, the same crop a Mux replay applies via its token. The recording normally STARTS at the\ngame, so this is usually absent; it is sent only when the recording starts earlier (it holds\nthe whole broadcast, or the game start was corrected later). Absent ⇒ start at 0."},"startProgramDateTime":{"type":"string","description":"Replays only, next to `startOffsetSeconds`: the same start as a WALL-CLOCK instant — seek to the\nfirst content segment whose `EXT-X-PROGRAM-DATE-TIME` is at or after it (plus the remainder inside\nit). Exact where the offset is not: a stitched session replaces every broadcaster break before\nthe game with the ads it got, so the game starts earlier than `startOffsetSeconds` by however\nmuch those breaks shrank — differently per session. Prefer it; fall back to the offset."},"insertionMode":{"type":"string","enum":["GUIDED"],"nullable":false,"description":"Present only when the server wants GUIDED ad insertion (HLS Interstitials): send\n`insertionMode: \"GUIDED\"` in the session-init POST to `ssaiSessionInitUrl`. Absent ⇒ stitched\n(MediaTailor's default — send nothing). Only for players that play HLS Interstitials; one that\nignores them plays the content with no ads and no error."},"ssaiAdsParams":{"properties":{},"additionalProperties":{"type":"string"},"type":"object","description":"Player params this session needs: merge every entry into the `adsParams` of the session-init\nPOST to `ssaiSessionInitUrl`, next to whatever the client already sends. Absent ⇒ nothing to\nadd. A replay carries `{ liveId }` — its MediaTailor configuration is shared by every game, and\nthe ad decision server learns which game it is filling only from this. A POST's `adsParams`\nREPLACE the `ads.*` query params already on the URL, so a player that drops this plays the\nreplay with no ads (and no error). A player that just GETs `masterUrl` needs nothing: the\nURL already carries them."}},"required":["kind","masterUrl"],"type":"object","additionalProperties":false},"PlaybackDeliveryExternalHlsViewModel":{"description":"An external HLS master handed through untouched — a linear-channel partner stream. The URL is\nthe partner's own (no signing, no session): pre-mint gates decided WHO gets it, and once issued\nit plays for whoever has it until the partner rotates the host.","properties":{"kind":{"type":"string","enum":["external-hls"],"nullable":false},"masterUrl":{"type":"string"},"refreshAfter":{"type":"string","description":"Soft deadline (ISO) after which the client should re-resolve the grant. There is no session\nto expire behind this URL — the cue exists so a lapsed entitlement is re-checked mid-session."}},"required":["kind","masterUrl"],"type":"object","additionalProperties":false},"PlaybackAudioTelemetryConfigViewModel":{"description":"Server-decided telemetry instructions for one stadium-audio listener.","properties":{"enabled":{"type":"boolean"},"intervalSeconds":{"type":"number","format":"double","description":"Heartbeat cadence in seconds. Ignore when `enabled` is false."}},"required":["enabled","intervalSeconds"],"type":"object","additionalProperties":false},"PlaybackDeliveryWhepViewModel":{"properties":{"kind":{"type":"string","enum":["ivs-whep"],"nullable":false},"token":{"type":"string","description":"AWS IVS Real-Time SUBSCRIBE-only participant token. Feed verbatim into\nthe AWS Broadcast SDK: `IVSBroadcastClient.Stage(token, strategy)` on\nWeb, the native equivalents on iOS / Android. Stage routing, signaling\nURL and ICE configuration are baked into the token's claims and the\nSDK resolves them internally. AWS does NOT expose a public raw WHEP\nendpoint (no `*.whep.live-video.net` host is registered), so generic\nWHEP clients (`whep-cli`, browser `RTCPeerConnection`) cannot consume\nthis token."},"expiresAt":{"type":"string"},"telemetry":{"allOf":[{"$ref":"#/components/schemas/PlaybackAudioTelemetryConfigViewModel"}],"nullable":true,"description":"Whether this listener should report playback telemetry, and how often.\n\nSampling is decided SERVER-side and stamped here rather than left to the\nclient: three platforms implementing their own sampling is three ways to\ndisagree, and the rate has to be tunable without shipping an app. Membership\nis a stable hash of (uid, liveId), so a listener stays in or out for the whole\ngame and the sample never skews toward reconnectors.\n\nAbsent, or `enabled:false` ⇒ send nothing. When enabled, POST\n`/playback/lives/{liveId}/audio-telemetry` on subscribe, every\n`intervalSeconds`, and once more when the session ends or errors."}},"required":["kind","token","expiresAt"],"type":"object","additionalProperties":false},"PlaybackDeliveryViewModel":{"anyOf":[{"$ref":"#/components/schemas/PlaybackDeliveryMuxHlsViewModel"},{"$ref":"#/components/schemas/PlaybackDeliveryCloudFrontHlsViewModel"},{"$ref":"#/components/schemas/PlaybackDeliveryExternalHlsViewModel"},{"$ref":"#/components/schemas/PlaybackDeliveryWhepViewModel"}]},"PlaybackDenialReason":{"type":"string","enum":["geo","entitlement","config","expired"],"description":"Why a particular delivery was NOT included in `deliveries[]`. The\ngrant endpoint always returns 200 — even when the user can't play\nanything — so the client can branch on this single response shape\n(one network call → render UI) instead of mixing 200 / 402 / 403\ncodepaths. The semantics:\n\n  - `geo`         — viewer/audio geo policy denied this delivery\n                     (wrong region, outside venue radius, missing\n                     coords for a radius policy).\n  - `entitlement` — no active subscription covers the required\n                     entitlementIds. `requiredEntitlementIds` is\n                     filled so the FE can build the paywall body\n                     (map IDs to product slugs / Stripe products).\n  - `config`      — pre-condition failure (legacy public-policy\n                     live, etc.). On `ivs-whep` it also covers the two\n                     non-geo audio outcomes: the viewer is not on the\n                     `FeatureKey.StadiumAudio` allowlist, or the token\n                     could not be minted right now (transient).\n  - `expired`     — the recorded replay is no longer offered. Read `code`\n                     to tell the two causes apart: absent = the owner's\n                     replay window has passed (per-owner, not a fixed 48h);\n                     `content_deleted` = the live itself was deleted.\n\nCommon compound cases:\n  - paywall: `deliveries=[]`, `denials=[{kind:\"mux-hls\",reason:\"entitlement\",...}]`\n  - region-blocked: `deliveries=[]`, `denials=[{...,reason:\"geo\"}]`\n  - non-subscriber inside venue: `deliveries=[{kind:\"ivs-whep\",...}]`,\n    `denials=[{kind:\"mux-hls\",reason:\"entitlement\",...}]` — audio\n    plays, FE can show \"subscribe to also unlock video\" upsell.\n  - remote viewer of a live that HAS stadium audio:\n    `deliveries=[{kind:\"cloudfront-hls\",...}]`,\n    `denials=[{kind:\"ivs-whep\",reason:\"geo\",...}]` — the normal steady\n    state, video plays and the radio feed is simply out of range."},"PlaybackDenialViewModel":{"properties":{"kind":{"type":"string","enum":["mux-hls","cloudfront-hls","external-hls","ivs-whep"]},"reason":{"$ref":"#/components/schemas/PlaybackDenialReason"},"message":{"type":"string"},"requiredEntitlementIds":{"items":{"type":"string"},"type":"array"},"code":{"type":"string","description":"Machine-readable sub-reason, for the cases where one `reason` needs more\nthan one piece of UI copy. Set by geo territory denials, a deleted live, an ended live with no recording and\nsome entitlement denials:\n\n  - `geo_out_of_territory` — we DID place the viewer, and they are outside\n    the rights-holder's markets. Terminal: show the \"not available in your\n    area\" panel, do not offer a retry.\n  - `geo_precision` — we could NOT place them (VPN, corporate proxy,\n    carrier NAT). Actionable: prompt to disable the VPN and re-check.\n  - `geo_unenforceable` — server-side geo verification is unavailable.\n    Nothing the viewer can do; show a generic try-later.\n  - `content_deleted` — on `reason: \"expired\"`, the live was deleted rather\n    than merely aged out of its replay window. Not retryable on this grant:\n    no geo evidence, subscription or wait changes it. Treat it as terminal\n    for the session and do not cache the verdict beyond it — an admin\n    restore can lift the denial, though it cannot bring back media the\n    retention purge has already destroyed.\n  - `replay_not_ready` — on `reason: \"config\"`, an ENDED game whose recording\n    is not known yet (it usually lands within minutes). Retryable: wait for\n    `replayReady` on the live's playback state (clientState or the polling\n    endpoints), then fetch the grant again — if `replayReady` is already\n    true, retry once after ~20 s (the grant's content cache).\n  - `replay_unavailable` — on `reason: \"expired\"`, the same, 30 min after the\n    end: no recording is coming. Terminal.\n\nOn an `entitlement` denial, a viewer with a linked TV provider may also get:\n\n  - `mvpd_denied` — the provider answered, and this content is not in their\n    package. Terminal for that provider; the subscription offer still applies.\n  - `mvpd_reauth` — their provider sign-in is stale. Actionable: send them\n    back through the TVE link flow.\n  - `mvpd_unavailable` — the provider could not be asked at all. Nothing the\n    viewer can do; show a generic try-later alongside the subscription offer.\n  - `mvpd_unsupported` — the provider path is not working for this content (our\n    configuration). No retry and no connect-provider prompt: `mvpd` is absent;\n    show only the subscription offer.\n\nAny other `entitlement` denial — no provider linked, or no provider path here\n(TV-provider feature off, no TV channel on the source, a live with no broadcast,\nlinear channel feeds) — carries no code, the ordinary paywall, unless:\n\n  - `not_on_sale` — nothing that grants this content can be bought or claimed\n    right now (between seasons, before a sale opens). Show \"not on sale\" copy\n    instead of a purchase call to action. Never set beside an `mvpd_*` code.\n\nAbsent on every other denial. Clients MUST fall back to `reason` when a\ncode is missing or unrecognised — new codes may be added at any time."},"providerMessage":{"type":"string","description":"The TV operator's own words for any `mvpd_*` denial, as they sent them — including an\n`mvpd_unavailable` that may be about our own configuration, which is why `message` stays ours\nand this is shown beside it, never instead. Absent when the operator sent none."}},"required":["kind","reason","message"],"type":"object","additionalProperties":false},"GeoSource":{"description":"The provenance of a piece of geo evidence — WHERE a `GeoTokenClaims`\ncame from, ordered by descending trust. One geo-restriction policy can\naccept several sources; each source is independently switchable via a\n`FeatureKey` (see `models/featureState/domain.ts`), so a source can be\nturned off without touching the others or the policies themselves.\n\n  - `geocomply`  — GeoComply Core SDK, decrypted + signed server-side.\n                   Anti-spoof (detects VPN / emulators). Carries precise\n                   coordinates AND jurisdiction. Highest trust — the only\n                   source allowed for regulated video jurisdiction on\n                   web/mobile.\n  - `native-gps` — the device's own geolocation, signed by us on the\n                   client's word. Low trust, coordinates only. Accepted\n                   ONLY by venue-radius (stadium) policies, and normally\n                   only after a GeoComply anchor established presence (see\n                   the native re-anchor chain in the stadium-audio flow).\n  - `ip`         — server-side IP → country/region lookup (MaxMind). No\n                   precise coordinates. Medium trust, resolved only on the\n                   TV surface (smart-TVs can't run the GeoComply SDK).\n\nAdmin-issued allowances are deliberately NOT a member here: this enum is\npart of the playback contract (`geo.video.sources`), and a grant is not a\ndata source the client could collect. They reach the gate as a separate\nargument — see `enforceGeoPolicy`.","enum":["geocomply","native-gps","ip"],"type":"string"},"StadiumAudioGeofencePolicy":{"description":"Client-facing geofence enforcement policy. Surfaced verbatim on the live\npayload (`stadiumAudio.geofencePolicy`) so the app knows the authoritative\nlease ceiling (`leaseTtlSeconds`) and how to run its own cheap realtime\nGPS-watcher between authoritative GeoComply re-checks. Resolved from\nenv-driven global defaults merged with a per-live override — see\n`settings/stadiumAudioPolicy.ts`.","properties":{"enforceRealtime":{"type":"boolean","description":"Whether the client should run its realtime GPS monitor."},"graceSeconds":{"type":"number","format":"double","description":"Seconds continuously \"outside\" before the client stops (anti-jitter)."},"updateDistanceMeters":{"type":"number","format":"double","description":"`distanceFilter` for the client GPS stream."},"leaseTtlSeconds":{"type":"number","format":"double","description":"Authoritative lease ceiling. Always sourced from the global\n`resolveLeaseTtlSeconds()` (never from a per-live override) so client and\nbackend agree on the same number. The geo-token and the IVS-WHEP token\nare both bounded by this."},"reAnchorSeconds":{"type":"number","format":"double","description":"How long (seconds) a GeoComply \"anchor\" stays valid for cheap native-GPS\nrenewals via `POST /location/native`. Within this window the client renews\nby sending device GPS (no GeoComply round-trip); once the last anchor ages\npast it, `/location/native` refuses and the client must re-run GeoComply.\nGlobal, like `leaseTtlSeconds`. Surfaced so the client knows when to\nschedule the next authoritative GeoComply check."}},"required":["enforceRealtime","graceSeconds","updateDistanceMeters","leaseTtlSeconds","reAnchorSeconds"],"type":"object","additionalProperties":false},"PlaybackGeoRequirement":{"anyOf":[{"properties":{"sources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"mode":{"type":"string","enum":["none"],"nullable":false}},"required":["sources","mode"],"type":"object"},{"properties":{"sources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"mode":{"type":"string","enum":["token"],"nullable":false}},"required":["sources","mode"],"type":"object"},{"properties":{"sources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"codes":{"items":{"type":"string"},"type":"array"},"mode":{"type":"string","enum":["jurisdiction"],"nullable":false}},"required":["sources","codes","mode"],"type":"object"},{"properties":{"watcher":{"$ref":"#/components/schemas/StadiumAudioGeofencePolicy","description":"Tuning for the client's realtime GPS-watcher between authoritative\nGeoComply re-checks. Present for stadium-audio venue policies; may be\nomitted for a (rare) venue-radius viewer policy."},"sources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"radiusMeters":{"type":"number","format":"double"},"venueLng":{"type":"number","format":"double"},"venueLat":{"type":"number","format":"double"},"mode":{"type":"string","enum":["venue"],"nullable":false}},"required":["sources","radiusMeters","venueLng","venueLat","mode"],"type":"object"}],"description":"The effective geo requirement the client must satisfy for a delivery,\nderived from the authoritative `GeoPolicy` on the LiveSource. It is a\nclient-facing projection — NOT the raw policy — telling the app exactly\nwhat to collect and how to behave:\n\n  - `none`         — no geo-token needed; play immediately.\n  - `token`        — a valid geo-token is required, but there is nothing for\n                     the CLIENT to constrain: run the SDK, send the token,\n                     do not ask for GPS coordinates. Covers two server-side\n                     cases that are indistinguishable from the app's side —\n                     a `world` policy (SDK-pass fact only) and a\n                     rights-holder territory (`allowed-dma`), where the\n                     market is derived server-side from the IP so the client\n                     has nothing extra to collect either way. A territory\n                     denial is reported through `denials[].code`\n                     (`geo_out_of_territory` / `geo_precision`), which is\n                     where the app gets its copy.\n  - `jurisdiction` — geo-token whose country/region matches `codes`.\n  - `venue`        — geo-token carrying GPS coords within `radiusMeters`\n                     of the venue centre. `watcher` carries the tuning for\n                     the client's own realtime GPS monitor so the app can\n                     react (warn / pause / re-verify) the moment the user\n                     leaves the venue — without waiting for the server's\n                     next lease re-check.\n\nThis is surfaced on EVERY grant (`LivePlaybackGrantViewModel.geo`),\nwhether the delivery passed or was denied, so the client knows the policy\neven while access is currently allowed (e.g. to run the leave-the-venue\nwatcher on the happy path).\n\n`sources` lists which geo-data sources the client may present to satisfy the\nrequirement, in the server's order of preference (the policy's allowed\nsources ∩ the globally-enabled ones). It tells the app HOW to collect:\n`geocomply` → run the GeoComply SDK; `native-gps` → send device GPS to\n`/location/native`; `ip` → nothing (the server derives it, TV only). An\nempty list means nothing can/needs be collected — always the case for\n`mode:\"none\"`."},"LivePlaybackGeoViewModel":{"description":"The resolved geo requirement per delivery surface, derived from the\nLiveSource's `viewerGeoPolicy` (video) and `audioGeoPolicy` (stadium\naudio). Always present on the grant.\n\n`audio` is `null` when there is nothing for THIS viewer to satisfy: the live\ncarries no running stadium-audio pipeline, or the viewer isn't on the\nStadiumAudio allowlist (then `denials[]` carries an `ivs-whep` / `config`\nentry saying so). Clients gate their geo-token retry on this field, so a\nnon-null value is a promise that collecting location can actually change the\nanswer — never populate it for a viewer who is refused regardless.","properties":{"video":{"$ref":"#/components/schemas/PlaybackGeoRequirement"},"audio":{"allOf":[{"$ref":"#/components/schemas/PlaybackGeoRequirement"}],"nullable":true}},"required":["video","audio"],"type":"object","additionalProperties":false},"PlaybackMvpdViewModel":{"description":"The viewer's TV Everywhere standing for THIS content, when a provider\nentitlement is a live option for them right now.\n\nPresence is the switch for offering the provider flow, and a PROMISE that the\nflow can change the outcome — the same contract `geo.audio` carries. So it is\nabsent whenever connecting a provider would not help: no TVE binding, flag\noff, already covered by a subscription, or refused for something a provider\ncannot override (a rights-holder territory, an expired replay window).\nAbsence means \"this will not help you now\", NOT \"never accepts a provider\".\n\nEverything here is scoped to the ACTIVE link (the one authorization asks\nabout), which is why there is no \"is it active\" flag — it always would be.\nManaging several links is `GET /tve/link`'s job, not a paywall's.","properties":{"isLinked":{"type":"boolean","description":"Whether this viewer has a provider linked at all. The call-to-action\nswitch: false ⇒ offer \"subscribe OR connect your TV provider\"; true ⇒ the\nprovider was asked and `denials[].code` says what it answered."},"activeIdp":{"type":"string","description":"The linked provider's `idp`, so copy can name it instead of saying \"your provider\"."},"channel":{"type":"string","description":"The content's channel (e.g. `rsn`) — the `provider` query param of the `picker` endpoints."}},"required":["isLinked","channel"],"type":"object","additionalProperties":false},"LivePlaybackGrantViewModel":{"properties":{"deliveries":{"items":{"$ref":"#/components/schemas/PlaybackDeliveryViewModel"},"type":"array"},"denials":{"items":{"$ref":"#/components/schemas/PlaybackDenialViewModel"},"type":"array","description":"Per-delivery denial summary. Empty when every applicable delivery\npassed authorization. Non-empty when at least one delivery was\nfiltered out — see `PlaybackDenialViewModel` for FE branching."},"geo":{"$ref":"#/components/schemas/LivePlaybackGeoViewModel","description":"Effective geo requirement for this content, resolved from the authoritative\npolicy (the LiveSource for a live, the channel for a channel feed). Present\nregardless of pass/deny so the client can drive both \"what to collect when\nblocked\" and \"how to watch on the happy path\" off a single field. See\n`PlaybackGeoRequirement`."},"mvpd":{"$ref":"#/components/schemas/PlaybackMvpdViewModel","description":"TV Everywhere standing, present only when a provider entitlement is a live\noption for this viewer and this content — see `PlaybackMvpdViewModel`.\nRead it BEFORE `denials[].code`: it answers \"should I offer the provider\nflow\", while the code answers \"why did the provider not get you in\"."},"liveId":{"type":"string"},"playbackEpoch":{"type":"number","format":"double","description":"Pipeline-flip counter (mid-broadcast rebuilds). When the `clientState`\ndoc's `playbackEpoch` moves past the value this grant was minted with,\nthe held URLs are stale — re-fetch the grant and re-init playback\n(prefetch-then-swap: init the new session in the background first)."}},"required":["deliveries","denials","geo","liveId","playbackEpoch"],"type":"object","additionalProperties":false},"StoryboardTokenViewModel":{"description":"Storyboard (`aud: s`) token for one scrub-preview window. The requested\nrange is SNAPPED to the backend-owned grid: `start`/`end` are the actual\nwindow (player seconds) — map a tile as `start + tile.start`. Build\n`https://image.mux.com/{playbackId}/storyboard.{vtt|json|jpg|webp}?token=`.","properties":{"playbackId":{"type":"string"},"token":{"type":"string"},"start":{"type":"number","format":"double","description":"Snapped window start, player seconds."},"end":{"type":"number","format":"double","description":"Snapped window end; absent ⇒ the window runs to the end of the recording."},"expiresAt":{"type":"string","description":"ISO — same lifetime as the playback grant."}},"required":["playbackId","token","start","expiresAt"],"type":"object","additionalProperties":false},"LiveStatus":{"enum":["creating","provisioning","scheduled","live","idle","ended"],"type":"string"},"DomainLivePipelineType":{"type":"string","enum":["direct","hybrid","hybrid-mux"],"description":"What was actually provisioned for this live (runtime record, set by the provisioner):\n- `\"direct\"` — no SSAI; Mux passthrough (viewers play Mux directly).\n- `\"hybrid\"` — SSAI via MediaTailor, delivered to viewers through CloudFront (per-viewer ads).\n- `\"hybrid-mux\"` — SSAI via MediaTailor, but a restreamer pushes the ad-stitched output\n  into the Mux live stream; viewers play Mux. One shared ad set for all (no per-viewer\n  personalization); the Mux recording contains ads.\n\nDerived at provision time from `ssaiConfig.enabled` + `Live.deliveryMode` (see\n{@link LiveDeliveryMode}). The playback planner and cleanup branch on this single field."},"LivePipelineType":{"$ref":"#/components/schemas/DomainLivePipelineType"},"MediaLiveInputType":{"description":"Input type for MediaLive pipelines.","enum":["rtmp_push","srt_listener","srt_caller"],"type":"string"},"MediaLivePipelineViewModel":{"properties":{"pipelineType":{"$ref":"#/components/schemas/LivePipelineType"},"generation":{"type":"number","format":"double","description":"1-based pipeline generation (absent ⇒ 1 — never rebuilt)."},"srtSourceIndex":{"type":"number","format":"double","description":"Index into `inputConfig.srtSources[]` this generation's SRT-caller input dials."},"channelId":{"type":"string"},"inputId":{"type":"string"},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType"},"rtmpIngestUrls":{"items":{"type":"string"},"type":"array"},"srtIngestUrls":{"items":{"type":"string"},"type":"array","description":"SRT ingest URL(s) advertised by MediaLive for a SRT_LISTENER input."},"srtIngestPassphrase":{"type":"string","description":"Plaintext SRT_LISTENER passphrase. Encryption is mandatory on SRT_LISTENER inputs."},"srtSourceUrls":{"items":{"type":"string"},"type":"array"},"mediaTailorPlaybackUrl":{"type":"string","description":"Hybrid pipeline only: MediaTailor master HLS URL — generic HLS player required."},"mediaTailorSessionInitUrl":{"type":"string","description":"Hybrid pipeline only: MediaTailor session-init endpoint for per-viewer ad targeting."},"createdAt":{"type":"string"}},"required":["channelId","inputId","inputType","createdAt"],"type":"object","additionalProperties":false},"LivePlaybackViewModel":{"description":"Tells the frontend which player to use and where to read the source from.\n\n- `medialive` — generic HLS (e.g. MediaTailor / CloudFront). Requires hls.js / video.js.\n- `mux` — live source delivered by Mux. `url` is a Mux playback ID.\n- `mux-asset` — VOD source delivered by Mux. `url` is a Mux playback ID.\n  When `adTimeline` is present, the player should drive ad insertion via\n  IMA SDK against `adTimeline.url` (a VMAP document built from the live's\n  recorded ad breaks). The legacy `adBreaks` array is kept during rollout\n  for clients that still drive their own CSAI loop.","properties":{"source":{"type":"string","enum":["medialive","mux","mux-asset"]},"url":{"type":"string"},"ssaiSessionInitUrl":{"type":"string"},"adBreaks":{"items":{"properties":{"durationSeconds":{"type":"number","format":"double"},"scheduledAt":{"type":"string"}},"required":["durationSeconds","scheduledAt"],"type":"object"},"type":"array"},"adTimeline":{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object"}},"required":["source","url"],"type":"object","additionalProperties":false},"StadiumAudioStatus":{"type":"string","enum":["provisioning","running","ending","ended","failed"],"description":"Per-stream runtime status of the audio pipeline. Mirrors the lifecycle of\n`MediaLivePipelineDetails` on the video side: provisioning ⇒ running ⇒\nending ⇒ ended, with `failed` as the terminal error state."},"StadiumAudioPublicGeofenceViewModel":{"properties":{"venueLat":{"type":"number","format":"double"},"venueLng":{"type":"number","format":"double"},"radiusMeters":{"type":"number","format":"double","nullable":true,"description":"Effective haversine radius in meters. Mirrors\n`StadiumAudioGeofence.radiusMeters`: optional. When null/undefined, the\nserver-side enforcement uses `StadiumAudioSettings.defaultGeofenceRadiusMeters`\n(env-configurable, defaults to 400m). Clients can render the same default\nfor the \"you must be within X meters\" hint, or omit the number entirely."}},"required":["venueLat","venueLng"],"type":"object","additionalProperties":false},"StadiumAudioPublicStatusViewModel":{"description":"Slim, consumer-safe audio pipeline status. Surfaces inside `LiveViewModel`\nso the Flutter app can decide whether to render the \"Listen at venue\" CTA\nwithout a second roundtrip, and so the UI can render a venue map pin /\n\"move closer\" hint without a guessing 403 from the WHEP endpoint.\n\nGeofence snapshot is included verbatim from `Live.audioConfig.geofence`\n(the per-broadcast snapshot, not the LiveSource source). Coordinates are\nthe venue's public location (e.g. Globe Life Field) — not sensitive. WHEP\ntokens / stage ARN / secret pointers stay on the admin-only endpoints.","properties":{"status":{"$ref":"#/components/schemas/StadiumAudioStatus"},"geofence":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioPublicGeofenceViewModel"}],"nullable":true,"description":"Present iff the broadcast was provisioned with a geofence. When `null`,\nplayback is jurisdiction-gated only (GeoComply); when set, the WHEP\nendpoint additionally enforces a server-side haversine check against\nthese coordinates. Frontend can pre-empt the 403 by checking the user's\nverified GeoComply position against this radius locally."},"geofencePolicy":{"$ref":"#/components/schemas/StadiumAudioGeofencePolicy","description":"Geofence enforcement policy for the client: the authoritative lease\nceiling (`leaseTtlSeconds`) plus the parameters for the client's own\nrealtime GPS-watcher between GeoComply re-checks. Always present (global\nenv defaults merged with any per-live override). Forward-compatible —\nthe client applies its own defaults for any key it doesn't recognise."}},"required":["status","geofence","geofencePolicy"],"type":"object","additionalProperties":false},"LiveViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"preview":{"allOf":[{"$ref":"#/components/schemas/LivePreviewViewModel"}],"nullable":true,"description":"The ~60s game preview (first minute of play, anchored at game start),\ngenerated automatically a couple of minutes into the game — the same clip\nwhether the live is on air or ended. Null until generated. Public URL —\nno token needed."},"status":{"$ref":"#/components/schemas/LiveStatus"},"scheduledStart":{"type":"string"},"ownerId":{"type":"string"},"scheduledBroadcastId":{"type":"string","nullable":true},"viewsCount":{"type":"number","format":"double"},"streamDetails":{"allOf":[{"$ref":"#/components/schemas/StreamDetailsViewModel"}],"nullable":true},"mediaLivePipeline":{"allOf":[{"$ref":"#/components/schemas/MediaLivePipelineViewModel"}],"nullable":true,"deprecated":true},"playback":{"allOf":[{"$ref":"#/components/schemas/LivePlaybackViewModel"}],"nullable":true,"deprecated":true},"stadiumAudio":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioPublicStatusViewModel"}],"nullable":true,"description":"Slim audio pipeline status for the stadium-audio (IVS Real-Time) feed.\nPresent iff the live was provisioned with `audioConfig.enabled`. The\nFlutter client should only show the \"Listen at venue\" CTA when\n`stadiumAudio?.status === \"running\"`. Creds arrive as the `ivs-whep`\ndelivery on `GET /playback/lives/{liveId}` — the same grant that carries\nvideo, alongside `geo.audio` (the venue policy to satisfy) and, when\nrefused, an `ivs-whep` entry in `denials[]`. The `geofence` here is a\npre-join proximity hint only; `geo.audio` is the authoritative policy."},"hasCaptions":{"type":"boolean","description":"`true` when this live streams with auto-generated captions (Smart\nSubtitles) — the HLS manifest carries a WebVTT subtitles rendition and\nplayers surface their standard CC toggle. Purely informational for\ncaption-related UX (e.g. onboarding hints); the track itself needs no\nextra request."},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array"},"videos":{"items":{"$ref":"#/components/schemas/VideoReferenceViewModel"},"type":"array"},"videoIds":{"items":{"type":"string"},"type":"array"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","title","description","thumbnail","status","scheduledStart","ownerId","scheduledBroadcastId","viewsCount","streamDetails","mediaLivePipeline","playback","stadiumAudio","hasCaptions","muxAssets","videos","videoIds","liveStartedAt","liveStoppedAt","entitlementIds","createdAt","updatedAt"],"type":"object","additionalProperties":false},"DocumentsList_LiveViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/LiveViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"CurrentLiveItemType":{"enum":["broadcast","sidecast"],"type":"string"},"CurrentLiveItemViewModel":{"description":"A single entry in the merged \"currently live\" feed. Exactly one of\n`broadcast` / `sidecast` is populated, discriminated by `type`. `GET /lives/liveNow`\nreturns it inside `DocumentsList`, whose `lastVisibleDocumentId` carries the opaque\ncomposite cursor (empty string once nothing can follow — a full page may still be\nfollowed by an empty one); `GET /tv/lives/liveNow` inside the TV cursor envelope,\nwhose `nextAfter` is empty on the last page. Either way, pass it back as `lastDocId`.","properties":{"type":{"$ref":"#/components/schemas/CurrentLiveItemType"},"startedAt":{"type":"string","description":"Start time (ISO 8601 UTC) the feed sorts on, DESC within each type.\nBroadcasts use `broadcastStart`; sidecasts use the actual `liveStartedAt`.\nNote the feed puts ALL broadcasts before ALL sidecasts, so `startedAt` is\nnot monotonic across the type boundary."},"broadcast":{"allOf":[{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"}],"nullable":true},"sidecast":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeSearchViewModel"}],"nullable":true}},"required":["type","startedAt","broadcast","sidecast"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_CurrentLiveItemViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/CurrentLiveItemViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"DocumentsList_UpcomingBroadcastViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_UpcomingBroadcastViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"TvScheduledBroadcastsViewModel":{"description":"The TV Live page's broadcast lists in one read (`GET /tv/scheduledBroadcasts`). Each holds the\ngames `GET /scheduledBroadcasts?state=…` lists for its state, in the TV cursor envelope: its own\n`nextAfter`, EMPTY on the last page.","properties":{"upcoming":{"$ref":"#/components/schemas/PaginatedCursorResponse_UpcomingBroadcastViewModel_","description":"Not started yet (scheduled / provisioning), soonest first — `state=upcoming`."},"replays":{"$ref":"#/components/schemas/PaginatedCursorResponse_UpcomingBroadcastViewModel_","description":"Ended and still inside their team's replay window, freshest first — `state=ended`."}},"required":["upcoming","replays"],"type":"object","additionalProperties":false},"TvScheduledBroadcastsQueryParams":{"description":"Query params of `GET /tv/scheduledBroadcasts` — the scope filters of\n`GET /scheduledBroadcasts?state=` (`ownerId` or `liveSourceId`), with no `state` (the route fixes\nits two lists) and one cursor per list.","properties":{"limit":{"type":"integer","format":"int32","description":"Page size of EACH list; defaults to its ceiling.","default":200,"minimum":1,"maximum":200},"upcomingLastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor of `upcoming`: its previous page's `nextAfter`."},"replaysLastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor of `replays`: its previous page's `nextAfter`."},"ownerId":{"type":"string","description":"Scope to one team. A team may own several live sources."},"liveSourceId":{"type":"string","description":"Scope to one broadcast source, not a linear channel."}},"type":"object","additionalProperties":false},"ChannelFeedSummaryViewModel":{"description":"One tab as `GET /channels` lists it: identity, order and gating only — nothing here needs a\nprogram read, so the whole page costs one batched feed read on top of the channel page.\nNever carries the partner URLs.","properties":{"id":{"type":"string"},"name":{"type":"string"},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"orderIndex":{"type":"number","format":"double","description":"Ascending tab order; the card opens on the first feed."},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Entitlements gating this tab's playback — the feed override, else the channel defaults.\nClients intersect these with `GET /entitlements/me`, exactly as for broadcast cards."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"See {@link ChannelViewModel.access}; resolved per tab because a tab may override the entitlements."},"hasGuide":{"type":"boolean","description":"Whether a program guide is configured. `false` ⇒ `nowPlaying` is always `null` and the rail is empty."}},"required":["id","name","logo","orderIndex","entitlementIds","access","hasGuide"],"type":"object","additionalProperties":false},"ChannelSummaryViewModel":{"description":"A row of `GET /channels`: the channel and its tabs, no program reads behind it.","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true,"description":"The creator the channel belongs to; `null` only if the profile read failed (the card still renders)."},"ownerId":{"type":"string"},"leagueId":{"type":"number","format":"double","nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Channel-level defaults — see {@link ChannelFeedSummaryViewModel.entitlementIds} for what a tab actually needs."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"What it costs to get in, resolved on the channel defaults: `free` when at least one required\nentitlement is granted by an active zero-cost product, else `subscribers`. A property of the\nCONTENT, the same for every caller. NOT an access grant — a fan still claims the free product\n(`POST /subscriptions/free`) before the playback grant opens."},"isSubscribed":{"type":"boolean","nullable":true,"description":"Always `null` on channels: NOT COMPUTED, never \"no\". Same rule as broadcast lists — these\nresponses are cached once and shared by every viewer, so the per-viewer answer is the\nclient's, from `entitlementIds` ∩ `GET /entitlements/me`."},"feeds":{"items":{"$ref":"#/components/schemas/ChannelFeedSummaryViewModel"},"type":"array","description":"Active tabs in display order. A channel without one is not listed at all."}},"required":["id","name","description","thumbnail","backgroundImage","owner","ownerId","leagueId","entitlementIds","access","isSubscribed","feeds"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_ChannelSummaryViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ChannelSummaryViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"ChannelsQueryParams":{"description":"Query params of `GET /channels`.","properties":{"limit":{"type":"integer","format":"int32","minimum":1,"maximum":100},"lastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor: the previous page's `lastVisibleDocumentId`."},"ownerId":{"type":"string","description":"Scope to one creator's channels (the creator page)."}},"type":"object","additionalProperties":false},"ChannelProgramState":{"description":"Where a program sits relative to the clock. Computed at read time from `startAt`/`endAt`\n(see `util/channelProgramState.ts`), never stored — a 24/7 channel has no status\ntransitions to run, so there is no cron flipping rows and nothing to get stuck.","enum":["now","next","later","ended"],"type":"string"},"ChannelProgramViewModel":{"description":"One program-guide row. Shared by admin and consumer surfaces — it carries nothing sensitive.","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true,"description":"The partner's artwork URL as is — what web renders."},"image":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"Our mirrored copy of that artwork in the platform image shape (sized variants, our CDN) — what\nTV renders. Mirrored by the same sync that stores the row; `null` while that is still pending\n(past the per-run cap) or failed, so `imageUrl` stays the fallback."},"startAt":{"type":"string","description":"ISO 8601, UTC. Clients format in the viewer's zone."},"endAt":{"type":"string","description":"ISO 8601, UTC."},"isLiveEvent":{"type":"boolean","description":"Partner-flagged live event (game), as opposed to a replay or a show. Independent of `state`."},"state":{"$ref":"#/components/schemas/ChannelProgramState","description":"Position relative to the clock at response time."}},"required":["id","title","description","imageUrl","image","startAt","endAt","isLiveEvent","state"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_ChannelProgramViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ChannelProgramViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"ChannelProgramsQueryParams":{"description":"Query params of `GET /channels/feeds/{feedId}/programs`.","properties":{"limit":{"type":"integer","format":"int32","minimum":1,"maximum":100},"lastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor: the previous page's `lastVisibleDocumentId`."}},"type":"object","additionalProperties":false},"ChannelFeedViewModel":{"description":"One tab of the card (`GET /channels/{channelId}`): the summary plus what it is airing.","properties":{"id":{"type":"string"},"name":{"type":"string"},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"orderIndex":{"type":"number","format":"double","description":"Ascending tab order; the card opens on the first feed."},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Entitlements gating this tab's playback — the feed override, else the channel defaults.\nClients intersect these with `GET /entitlements/me`, exactly as for broadcast cards."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"See {@link ChannelViewModel.access}; resolved per tab because a tab may override the entitlements."},"hasGuide":{"type":"boolean","description":"Whether a program guide is configured. `false` ⇒ `nowPlaying` is always `null` and the rail is empty."},"nowPlaying":{"allOf":[{"$ref":"#/components/schemas/ChannelProgramViewModel"}],"nullable":true,"description":"The program airing at response time, or `null` during a gap in the guide or while the guide\nis empty. The player plays regardless — this only drives the title/description block."},"upNext":{"items":{"$ref":"#/components/schemas/ChannelProgramViewModel"},"type":"array","description":"The two programs after `nowPlaying`, states `next` then `later`. The full rail is `GET /channels/feeds/{feedId}/programs`."}},"required":["id","name","logo","orderIndex","entitlementIds","access","hasGuide","nowPlaying","upNext"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_ChannelFeedViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ChannelFeedViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"TvChannelViewModel":{"description":"The card on the TV surface (`GET /tv/channels/{channelId}`): same channel, the tabs in the\ncursor envelope the video-pages surfaces use — `records` + `nextAfter`, empty on the last page.","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true,"description":"The creator the channel belongs to; `null` only if the profile read failed (the card still renders)."},"ownerId":{"type":"string"},"leagueId":{"type":"number","format":"double","nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Channel-level defaults — see {@link ChannelFeedSummaryViewModel.entitlementIds} for what a tab actually needs."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"What it costs to get in, resolved on the channel defaults: `free` when at least one required\nentitlement is granted by an active zero-cost product, else `subscribers`. A property of the\nCONTENT, the same for every caller. NOT an access grant — a fan still claims the free product\n(`POST /subscriptions/free`) before the playback grant opens."},"isSubscribed":{"type":"boolean","nullable":true,"description":"Always `null` on channels: NOT COMPUTED, never \"no\". Same rule as broadcast lists — these\nresponses are cached once and shared by every viewer, so the per-viewer answer is the\nclient's, from `entitlementIds` ∩ `GET /entitlements/me`."},"feeds":{"$ref":"#/components/schemas/PaginatedCursorResponse_ChannelFeedViewModel_"}},"required":["id","name","description","thumbnail","backgroundImage","owner","ownerId","leagueId","entitlementIds","access","isSubscribed","feeds"],"type":"object","additionalProperties":false},"ChannelCardQueryParams":{"description":"Query params of `GET /channels/{channelId}` — the tabs are paged.","properties":{"limit":{"type":"integer","format":"int32","description":"Tabs per page; each tab with a guide costs its own program read. Default 3.","minimum":1,"maximum":20},"lastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor: the previous page's `feeds.lastVisibleDocumentId` (a tab id); stop when a page is shorter than `limit`."}},"type":"object","additionalProperties":false},"ChannelFeedPlaybackGrantViewModel":{"description":"Grant for one tab of a linear channel (`GET /playback/channels/{feedId}`). No `playbackEpoch`,\nbecause a partner stream has no pipeline of ours to flip. The `refreshAfter` on the delivery is\nthe cue to re-fetch the grant mid-session, which also re-checks the entitlement — a cue only:\nthe master URL itself is not time-bounded (no signature, no token), so a client that ignores the\ncue keeps playing until the partner rotates the host.","properties":{"deliveries":{"items":{"$ref":"#/components/schemas/PlaybackDeliveryViewModel"},"type":"array"},"denials":{"items":{"$ref":"#/components/schemas/PlaybackDenialViewModel"},"type":"array","description":"Per-delivery denial summary. Empty when every applicable delivery\npassed authorization. Non-empty when at least one delivery was\nfiltered out — see `PlaybackDenialViewModel` for FE branching."},"geo":{"$ref":"#/components/schemas/LivePlaybackGeoViewModel","description":"Effective geo requirement for this content, resolved from the authoritative\npolicy (the LiveSource for a live, the channel for a channel feed). Present\nregardless of pass/deny so the client can drive both \"what to collect when\nblocked\" and \"how to watch on the happy path\" off a single field. See\n`PlaybackGeoRequirement`."},"mvpd":{"$ref":"#/components/schemas/PlaybackMvpdViewModel","description":"TV Everywhere standing, present only when a provider entitlement is a live\noption for this viewer and this content — see `PlaybackMvpdViewModel`.\nRead it BEFORE `denials[].code`: it answers \"should I offer the provider\nflow\", while the code answers \"why did the provider not get you in\"."},"feedId":{"type":"string"}},"required":["deliveries","denials","geo","feedId"],"type":"object","additionalProperties":false},"SubscriberClaimStatus":{"enum":["new","awaiting_receipt","partial_data","code_issued","partial_approval","awaiting_admin_review","admin_email","subscribed","admin_denied"],"type":"string"},"Record_string.string_":{"properties":{},"additionalProperties":{"type":"string"},"type":"object","description":"Construct a type with a set of properties K of type T"},"PartnerConsentLink":{"description":"A link the statement references by placeholder, so the client can render a real anchor.","properties":{"label":{"type":"string"},"url":{"type":"string"}},"required":["label","url"],"type":"object","additionalProperties":false},"Record_string.PartnerConsentLink_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/PartnerConsentLink"},"type":"object","description":"Construct a type with a set of properties K of type T"},"PartnerConsentViewModel":{"description":"The consent statement as a client renders it. Both forms: `template`+`values`+`links` build a\nsentence with a real anchor, `statement` is that sentence flattened for everything else.\n\nEcho `version` back on acceptance — it pins the record to the text that was shown.","properties":{"partnerId":{"type":"string","description":"Echo this back with `version` when accepting — the pair is what pins the acceptance."},"version":{"type":"number","format":"double"},"template":{"type":"string","description":"Prose with `{placeholder}` slots. Every slot resolves from `values` or `links`."},"values":{"$ref":"#/components/schemas/Record_string.string_"},"links":{"$ref":"#/components/schemas/Record_string.PartnerConsentLink_"},"statement":{"type":"string","description":"The template with every placeholder substituted; links appear as their label."}},"required":["partnerId","version","template","values","links","statement"],"type":"object","additionalProperties":false},"SubscriberClaimViewModel":{"description":"Result of a manual-claim Q2 submit (find-or-create by email + partner) and of admin approve/deny/email\nactions. `status` tells the FE which branch to render; `code` is present for the code-linked states\n(`code_issued` and `partial_approval`, which is UX-identical) — the FE holds it and auto-redeems after\nauth (the user never sees it). All other branches omit it.","properties":{"claimId":{"type":"string"},"status":{"$ref":"#/components/schemas/SubscriberClaimStatus"},"code":{"type":"string"},"creatorId":{"type":"string","description":"The partner (entitlement creator) of the issued code — present with `code` (status `code_issued`),\nso the monthly manual-claim path can route to the creator-scoped checkout without an env bridge."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentViewModel"}],"nullable":true,"description":"Terms to show before the redeem, or null when the code's partner asks nothing. Present with\n`code` — the claim flow auto-redeems and never passes the redeem page, so this is its only source.\n\nEcho `partnerId` + `version` in the redeem's `consent` field. Omitting it doesn't fail the redeem\n(the consent is then collected at playback via `GET /partner-consent/owed`), but asking here is\nthe better moment."}},"required":["claimId","status"],"type":"object","additionalProperties":false},"ClaimPartner":{"enum":["victory-plus"],"type":"string"},"FindOrCreateClaimRequest":{"description":"Manual-claim submit (pre-auth) — only the email + partner; the plan interval is read from the\nreceipt the fan uploads, not declared here.","properties":{"email":{"type":"string"},"partner":{"$ref":"#/components/schemas/ClaimPartner"}},"required":["email","partner"],"type":"object","additionalProperties":false},"SubmitReceiptRequest":{"description":"Receipt submit (pre-auth) — the receipt file as a base64 string.","properties":{"image":{"type":"string","description":"Base64-encoded receipt file.\n\nAccepted formats: **PDF, JPG, PNG, HEIC** (iPhone). The format is detected from the file's bytes\nserver-side (not the extension); anything else is rejected with **400** `unsupported_receipt_format`.\n\nSize: capped at ~16 MB of decoded file via `maxLength` (rejected with **422**). base64 inflates\n~4/3, so 22,400,000 chars ≈ a 16 MB file; the route's `express.json` body limit is the outer envelope.","maxLength":22400000}},"required":["image"],"type":"object","additionalProperties":false},"StadiumAudioGeofence":{"description":"Geofence policy used by `mintWhepViewerToken` to gate WebRTC playback to\nlisteners physically inside the venue. Server-side haversine distance\ncheck on top of the existing GeoComply jurisdiction-only `geo-token`.","properties":{"venueLat":{"type":"number","format":"double"},"venueLng":{"type":"number","format":"double"},"radiusMeters":{"type":"number","format":"double","nullable":true,"description":"Typical range: 300–500m for in-stadium only. Optional — when omitted\n(or null), `StadiumAudioSettings.defaultGeofenceRadiusMeters` is used\n(env-configurable, defaults to 400m). When provided, must be > 0."}},"required":["venueLat","venueLng"],"type":"object","additionalProperties":false},"Partial_StadiumAudioGeofencePolicy_":{"properties":{"enforceRealtime":{"type":"boolean","description":"Whether the client should run its realtime GPS monitor."},"graceSeconds":{"type":"number","format":"double","description":"Seconds continuously \"outside\" before the client stops (anti-jitter)."},"updateDistanceMeters":{"type":"number","format":"double","description":"`distanceFilter` for the client GPS stream."},"leaseTtlSeconds":{"type":"number","format":"double","description":"Authoritative lease ceiling. Always sourced from the global\n`resolveLeaseTtlSeconds()` (never from a per-live override) so client and\nbackend agree on the same number. The geo-token and the IVS-WHEP token\nare both bounded by this."},"reAnchorSeconds":{"type":"number","format":"double","description":"How long (seconds) a GeoComply \"anchor\" stays valid for cheap native-GPS\nrenewals via `POST /location/native`. Within this window the client renews\nby sending device GPS (no GeoComply round-trip); once the last anchor ages\npast it, `/location/native` refuses and the client must re-run GeoComply.\nGlobal, like `leaseTtlSeconds`. Surfaced so the client knows when to\nschedule the next authoritative GeoComply check."}},"type":"object","description":"Make all properties in T optional"},"StadiumAudioConfig":{"description":"Per-venue audio config. Lives on `LiveSource.audioConfig` and gets\nsnapshotted onto `Live.audioConfig` at provisioning so subsequent\nmutations to the source don't change in-flight broadcasts.\n\n`ScheduledBroadcast.audioConfigOverride` overrides this per-broadcast,\nmatching the existing `inputConfigOverride` / `ssaiConfigOverride`\npattern.","properties":{"enabled":{"type":"boolean","description":"Master switch. When false, audio provisioning is skipped end-to-end."},"ingestKeyPrefix":{"type":"string","description":"Stable prefix used in AWS resource names and per-stream identifiers.\nLower-case kebab, e.g. `rangers-rsn` → IVS Stage `stadium-audio-rangers-rsn-{liveId}`.\nValidated on `LiveSource` create/update."},"geofence":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioGeofence"}],"nullable":true,"description":"In-venue radius for the WebRTC tier. Absent ⇒ no haversine check\n(WebRTC token is still gated by JWT + GeoComply jurisdiction)."},"geofencePolicy":{"allOf":[{"$ref":"#/components/schemas/Partial_StadiumAudioGeofencePolicy_"}],"nullable":true,"description":"Per-live override of the global geofence policy. Only the keys present\nare overridden; the rest fall back to env defaults. `leaseTtlSeconds`\ncannot be overridden here (the global ceiling wins) — it is ignored if\nsupplied. Snapshotted onto `Live.audioConfig` like `geofence`."}},"required":["enabled","ingestKeyPrefix"],"type":"object","additionalProperties":false},"PublisherConfigViewModel":{"description":"Returned by `GET /publisher/config` — everything the publisher appliance needs\nto write into its local `config.json` and stream. Fetched with the appliance's\nFirebase login (the `publisher_agent` scope), used for both the first sign-in\nand every ongoing/recovery fetch.\n\n`stadiumAudioKey` is the venue's CURRENT key, read back from Secret Manager —\nit is never rotated on read (retrieve, never auto-rotate), so re-pulling or\nreplacing hardware can't silently break a live stream. Rotation is only ever an\nexplicit admin action. The value is sensitive: TLS + login-scoped, never logged.","properties":{"liveSourceId":{"type":"string","description":"The bound venue."},"venueLabel":{"type":"string","description":"Human-facing venue label — the `LiveSource.name`."},"audioConfig":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioConfig"}],"nullable":true,"description":"The per-venue audio config managed by ops in admin; null if unset."},"stadiumAudioKey":{"type":"string","description":"The CURRENT per-venue StadiumAudioKey, retrieved (not rotated) on read."}},"required":["liveSourceId","venueLabel","audioConfig","stadiumAudioKey"],"type":"object","additionalProperties":false},"PublisherDiagnosticCommand":{"properties":{"requestId":{"type":"string"},"requestedAt":{"type":"string"},"expiresAt":{"type":"string"},"lookbackMinutes":{"type":"number","enum":[30],"nullable":false}},"required":["requestId","requestedAt","expiresAt","lookbackMinutes"],"type":"object","additionalProperties":false},"PublisherHealthResponse":{"properties":{"version":{"type":"number","enum":[1],"nullable":false},"acknowledgedSequence":{"type":"number","format":"double"},"serverTime":{"type":"string"},"reportingDisabled":{"type":"boolean"},"diagnosticRequest":{"allOf":[{"$ref":"#/components/schemas/PublisherDiagnosticCommand"}],"nullable":true}},"required":["version","acknowledgedSequence","serverTime","reportingDisabled","diagnosticRequest"],"type":"object","additionalProperties":false},"PublisherIndicator":{"type":"string","enum":["healthy","idle","unhealthy","unknown"]},"PublisherHealthIndicators":{"properties":{"app":{"$ref":"#/components/schemas/PublisherIndicator"},"engine":{"$ref":"#/components/schemas/PublisherIndicator"},"backend":{"$ref":"#/components/schemas/PublisherIndicator"},"audio":{"$ref":"#/components/schemas/PublisherIndicator"}},"required":["app","engine","backend","audio"],"type":"object","additionalProperties":false},"PublisherSubsystem":{"type":"string","enum":["app","engine","backend","audio","config","auth"],"description":"Versioned wire contracts for publisher health and diagnostics."},"PublisherLatestProblem":{"properties":{"subsystem":{"$ref":"#/components/schemas/PublisherSubsystem"},"kind":{"type":"string"},"detail":{"type":"string"},"openedAt":{"type":"string"},"occurrenceCount":{"type":"number","format":"double"}},"required":["subsystem","kind","detail","openedAt","occurrenceCount"],"type":"object","additionalProperties":false},"PublisherHealthSummary":{"properties":{"appVersion":{"type":"string","nullable":true},"engineVersion":{"type":"string","nullable":true},"appUptimeSec":{"type":"number","format":"double"},"engineUptimeSec":{"type":"number","format":"double","nullable":true},"intendedRunning":{"type":"boolean"},"runState":{"type":"string"},"engineState":{"type":"string","nullable":true},"snapshotAgeSec":{"type":"number","format":"double","nullable":true},"snapshotFresh":{"type":"boolean"},"lastPollAt":{"type":"string","nullable":true},"lastPollOk":{"type":"boolean","nullable":true},"lastPollActive":{"type":"boolean","nullable":true},"lastPollErrorKind":{"type":"string","nullable":true},"publishing":{"type":"boolean"},"liveId":{"type":"string","nullable":true},"reconnectCount":{"type":"number","format":"double"},"consecutiveFailures":{"type":"number","format":"double"},"audioLevel":{"type":"number","format":"double","nullable":true},"bytesSent":{"type":"number","format":"double","nullable":true},"audioActive":{"type":"boolean","nullable":true},"indicators":{"$ref":"#/components/schemas/PublisherHealthIndicators"},"latestProblem":{"allOf":[{"$ref":"#/components/schemas/PublisherLatestProblem"}],"nullable":true}},"required":["appVersion","engineVersion","appUptimeSec","engineUptimeSec","intendedRunning","runState","engineState","snapshotAgeSec","snapshotFresh","lastPollAt","lastPollOk","lastPollActive","lastPollErrorKind","publishing","liveId","reconnectCount","consecutiveFailures","audioLevel","bytesSent","audioActive","indicators","latestProblem"],"type":"object","additionalProperties":false},"PublisherEventPhase":{"type":"string","enum":["opened","repeated","recovered","observed"]},"PublisherHealthEvent":{"properties":{"eventId":{"type":"string"},"occurredAt":{"type":"string"},"subsystem":{"$ref":"#/components/schemas/PublisherSubsystem"},"kind":{"type":"string"},"phase":{"$ref":"#/components/schemas/PublisherEventPhase"},"occurrenceCount":{"type":"number","format":"double"},"detail":{"type":"string","nullable":true},"logExcerpt":{"type":"string","nullable":true},"excerptTruncated":{"type":"boolean"}},"required":["eventId","occurredAt","subsystem","kind","phase","occurrenceCount","detail","logExcerpt","excerptTruncated"],"type":"object","additionalProperties":false},"PublisherHealthRequest":{"properties":{"version":{"type":"number","enum":[1],"nullable":false},"installId":{"type":"string"},"sessionId":{"type":"string"},"sequence":{"type":"number","format":"double"},"cadenceSec":{"type":"number","enum":[60,300]},"reportedAt":{"type":"string"},"configuredLiveSourceId":{"type":"string","nullable":true},"configuredVenueLabel":{"type":"string","nullable":true},"environment":{"type":"string","nullable":true},"droppedEventCount":{"type":"number","format":"double"},"summary":{"$ref":"#/components/schemas/PublisherHealthSummary"},"events":{"items":{"$ref":"#/components/schemas/PublisherHealthEvent"},"type":"array"}},"required":["version","installId","sessionId","sequence","cadenceSec","reportedAt","droppedEventCount","summary","events"],"type":"object","additionalProperties":false},"PublisherDiagnosticsUploadRequest":{"properties":{"version":{"type":"number","enum":[1],"nullable":false},"installId":{"type":"string"},"sessionId":{"type":"string"},"collectedAt":{"type":"string"},"status":{"type":"string","enum":["completed","failed"]},"failureReason":{"type":"string","nullable":true},"encoding":{"type":"string","enum":["gzip-base64"],"nullable":false,"description":"gzip-compressed JSON, base64 encoded. Maximum 1 MiB decoded."},"compressedData":{"type":"string","nullable":true},"compressedBytes":{"type":"number","format":"double","nullable":true},"uncompressedBytes":{"type":"number","format":"double","nullable":true}},"required":["version","installId","sessionId","collectedAt","status"],"type":"object","additionalProperties":false},"EngagementModel":{"properties":{"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"ListResultRecordResponse_VideoViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/VideoViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_VideoViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_VideoViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"ShareLinkKind":{"description":"What a share link carries.","enum":["bleacherSetup","groupInvite"],"type":"string"},"CatalogEntityType":{"description":"What a sports entity is: the registry's `sport_entities.type`, and the `type` clients name a catalog entity by. The\npicker offers only `BLEACHERS_PICKER_TYPES`: a team, a league, a conference or a division.","enum":["sport","league","conference","division","team","athlete"],"type":"string"},"CatalogLeagueViewModel":{"description":"The league a card is labelled with (\"MLB\").","properties":{"id":{"type":"string"},"name":{"type":"string"},"abbreviation":{"type":"string","nullable":true}},"required":["id","name","abbreviation"],"type":"object","additionalProperties":false},"CatalogLocationViewModel":{"description":"A team's stadium city: the client builds \"Near you, Arlington\" from it.","properties":{"city":{"type":"string"},"state":{"type":"string","nullable":true}},"required":["city","state"],"type":"object","additionalProperties":false},"CatalogEntityAvailability":{"description":"How a catalog entity stands for a client, from its status down the chain (its own, its league's and its sport's) and\nits provider's view (docs/sports-registry.md, \"Statuses\"): `discovered` entities never reach a client.","enum":["active","hidden","retired","inactiveAtProvider"],"type":"string"},"CatalogSuggestionReason":{"description":"Why `GET /bleachers/suggested` or `/related` offers an entity.","enum":["nearYou","regional","featured","popular","rival","sameDivision","sameConference","sameLeague"],"type":"string"},"CatalogEntityViewModel":{"description":"Any entity of the Bleachers catalog, whatever its type.","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/CatalogEntityType"},"name":{"type":"string"},"shortName":{"type":"string","description":"ESPN's chip-sized name, else `name`: for a line like \"Texas Rangers + Astros\"."},"abbreviation":{"type":"string","nullable":true},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"league":{"allOf":[{"$ref":"#/components/schemas/CatalogLeagueViewModel"}],"nullable":true,"description":"Null for a league."},"sportId":{"type":"string","nullable":true,"description":"The registry sport of the entity's league (a sport's own), as `GET /sports-interests` lists them; null when none."},"location":{"allOf":[{"$ref":"#/components/schemas/CatalogLocationViewModel"}],"nullable":true,"description":"Teams only, when the provider gives the stadium's city."},"availability":{"$ref":"#/components/schemas/CatalogEntityAvailability","description":"How the entity stands for a client, down the chain (its status with its league's and its sport's): the picker offers\nonly `active` ones; a user's Bleachers shows any other value as unavailable, kept to remove\n(docs/bleachers-config-frontend-guide.md)."},"offered":{"type":"boolean","description":"Whether the picker offers it now: a picker type, `active`, under an `active` league and sport\n(`isBleachersEntityOffered`). A new Bleachers takes an offered entity as its base and an offered team as an\naddition. False on a card a Bleachers already holds under a hidden league or sport: shown, not to be added again."},"reason":{"allOf":[{"$ref":"#/components/schemas/CatalogSuggestionReason"}],"nullable":true,"description":"Only on `GET /bleachers/suggested`."}},"required":["id","type","name","shortName","abbreviation","logo","league","sportId","location","offered"],"type":"object","additionalProperties":false},"FollowableEntityTypeEnum":{"enum":["profile","podcast","user"],"type":"string"},"FollowingShortViewModel":{"properties":{"bzzrHandle":{"type":"string","nullable":true},"displayName":{"type":"string"},"id":{"type":"string"},"entityType":{"$ref":"#/components/schemas/FollowableEntityTypeEnum"},"isVerified":{"type":"boolean"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"updatedAt":{"type":"string","nullable":true}},"required":["displayName","id","entityType","isVerified","images","updatedAt"],"type":"object","additionalProperties":false},"BleacherSetupViewModel":{"description":"What a shared Bleachers held when it was shared, as the catalog offers it now.","properties":{"base":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"nested":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array","description":"An entity the picker no longer offers is not listed."},"creators":{"items":{"$ref":"#/components/schemas/FollowingShortViewModel"},"type":"array","description":"The creator list a Bleachers saved from the link starts with: the creators tied to its teams now and the ones the\nsharer added, without the ones the sharer removed. A creator whose account is gone, or a promotional\naccount, is not listed."}},"required":["base","nested","creators"],"type":"object","additionalProperties":false},"GroupInviteSenderViewModel":{"description":"The sender of a group invite as anyone holding the link sees them.","properties":{"displayName":{"type":"string"}},"required":["displayName"],"type":"object","additionalProperties":false},"GroupInviteViewModel":{"description":"A group invite as the group is now. Anyone holding the link reads it, signed in or not, so it says nothing about\nthe members but their number. A link to a deleted group answers `410` (`share_link_gone`) instead.","properties":{"name":{"type":"string"},"avatar":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"The avatar entity's logo; null when the catalog has no logo for it."},"entities":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array","description":"What the group follows, in order, as the catalog has it now."},"memberCount":{"type":"number","format":"double"},"memberCap":{"type":"number","format":"double"},"isFull":{"type":"boolean","description":"Joining answers `409` (`group_full`) while true."},"sender":{"allOf":[{"$ref":"#/components/schemas/GroupInviteSenderViewModel"}],"nullable":true,"description":"Who sent the link, by name only (no avatar, as design asks); null once their account is gone."},"viewerIsMember":{"type":"boolean","description":"Whether the signed-in reader is already a member, so the app opens the group instead; false for a reader not signed in."}},"required":["name","avatar","entities","memberCount","memberCap","isFull","sender","viewerIsMember"],"type":"object","additionalProperties":false},"ShareLinkViewModel":{"description":"`GET /share-links/{token}`.","properties":{"kind":{"$ref":"#/components/schemas/ShareLinkKind"},"shareId":{"type":"string","description":"The id the client gave the share that made the link."},"contentId":{"type":"string","description":"The id of what the link shares: for `bleacherSetup`, the snapshot of the Bleachers; for `groupInvite`, the group."},"payload":{"anyOf":[{"$ref":"#/components/schemas/BleacherSetupViewModel"},{"$ref":"#/components/schemas/GroupInviteViewModel"}],"nullable":true,"description":"What the link shares, when its id alone does not give it. Always sent: `BleacherSetupViewModel` for\n`bleacherSetup`, `GroupInviteViewModel` for `groupInvite`; tell them apart by `kind`."}},"required":["kind","shareId","contentId"],"type":"object","additionalProperties":false},"UpcomingBroadcastEngagementViewModel":{"properties":{"id":{"type":"string"},"liveSourceId":{"type":"string"},"ownerId":{"type":"string"},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"heroImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"3:1 hero art."},"teamImages":{"$ref":"#/components/schemas/ScheduledBroadcastTeamImagesViewModel","description":"The crests to render, one per side — the resolution chain's OUTPUT (per-game override →\nour uploaded artwork → the mirrored third-party fallback → null). Always images we serve.\nSame shape it always had, so a client already reading `teamImages` gets resolved crests\nwith no change; `teams` says which link answered and carries the name/colour metadata."},"teams":{"$ref":"#/components/schemas/BroadcastTeamsViewModel","description":"Which link answered for each side, plus name/abbreviation/colour: `logoSource` is\n`broadcastOverride` when the operator's per-game upload won, `bzzr` for our artwork,\n`thirdParty` for the mirrored fallback, `none` when nothing resolved. Container always\npresent; a side is null only when the broadcast carries no usable key. The image itself\nis in `teamImages` — never duplicated here."},"targeting":{"$ref":"#/components/schemas/ScheduledBroadcastTargeting"},"display":{"$ref":"#/components/schemas/ScheduledBroadcastDisplay"},"label":{"type":"string","nullable":true,"description":"Resolved broadcast → LiveSource; `null` when neither sets one."},"sortPriority":{"type":"number","format":"double"},"pregameStart":{"type":"string","nullable":true},"gameStart":{"type":"string"},"gameEnd":{"type":"string"},"broadcastStart":{"type":"string"},"broadcastEnd":{"type":"string"},"status":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"},"endedAt":{"type":"string","nullable":true,"description":"ACTUAL end (ISO 8601 UTC), stamped at the Ended transition. Null unless the\nbroadcast has ended. For replay cards (status === ended) the FE uses this to\nshow recency (\"2 days ago\")."},"replayExpiresAt":{"type":"string","nullable":true,"description":"When this replay stops being available (ISO 8601 UTC), i.e. the moment behind the\n\"Expires in 22 hours\" label. Null unless the broadcast has ended.\n\nRead this instead of computing `endedAt + 48h`: the window is per partner now, so\nthat arithmetic is wrong for any team on a non-default retention. It is an absolute\ninstant rather than a remaining duration on purpose — these list responses are\nRedis-cached, so a precomputed countdown would be served already stale."},"liveId":{"type":"string","nullable":true,"description":"ID of the Live entity if already provisioned."},"preview":{"allOf":[{"$ref":"#/components/schemas/LivePreviewViewModel"}],"nullable":true,"description":"The ~60s game preview (first minute of play), generated a couple of\nminutes after game start and unchanged thereafter — the same clip while\nthe game is on air and after it ends. Null until generated. Public URL,\nno token; play it muted and looped. Note the file carries the broadcast\naudio track."},"concurrentViews":{"type":"number","format":"double","nullable":true,"description":"Current Mux concurrent-viewer count of the broadcast's live, for initial render. null when\nthe broadcast isn't live. The live-updating value comes from subscribing to the live's\n`clientState/current` doc; this is just a seed and may lag by the list cache TTL."},"isSubscribed":{"type":"boolean","nullable":true,"description":"Whether the calling user holds an active subscription for the entitlements this broadcast\nrequires. `null` means NOT COMPUTED — never \"no\". Clients must test `=== true`.\n\nResolved ONLY on the authenticated single-broadcast fetch. Every list endpoint returns `null`,\non every surface, permanently — that is not an oversight and not a gap to close. Resolving it\ncosts a per-viewer read, and these list responses are cached once and shared by every viewer,\nso it would put the hottest browse rails on Cloud SQL for a badge.\n\nBoth clients compute this themselves instead, by intersecting the card's `entitlementIds`\nagainst `GET /entitlements/me` — one fetch per session, covering every surface including the\nsigned-out-capable public ones the server cannot resolve for. It was briefly populated on two\nrails (#1593) and withdrawn: both halves read the same source, so it was one answer computed\ntwice rather than a redundant one, and the client's set lands before the rails it would have\ncovered. **Do not re-add it to a list endpoint without revisiting that with the clients.**\n\nOn the by-id fetch it also falls back to `null` if the entitlement read fails, rather than\nfailing the request: this is a badge, access is decided by the playback gate, and a detail page\nshould not 500 over one."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"What it costs to get in: `free` when at least one of the required `entitlementIds` is granted\nby an active zero-cost (`ProductSource.Free`) product, else `subscribers`. Drives the badge and\nwhether the CTA claims or purchases. (`open` is reserved — see {@link BroadcastAccess}.)\n\nA property of the CONTENT, not of the viewer: unlike `isSubscribed` it is always resolved, on\nlist and by-id endpoints alike, and is the same for every caller including anonymous ones.\n\nNOT an access grant. The fan still has to claim the free product\n(`POST /subscriptions/free`) before playback opens — `access: \"free\"` with\n`isSubscribed: false` means \"claimable now, one tap away\", which is exactly the state the\ncard should sell."},"league":{"type":"string","nullable":true,"description":"The competition, as the league's short code (`MLB`, `NFL`), resolved from the team bound to the\nbroadcast's owner. Null when the owner has no active team — a reporting dimension, never a gate."},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["id","liveSourceId","ownerId","owner","entitlementIds","title","description","thumbnail","backgroundImage","heroImage","teamImages","teams","targeting","display","label","sortPriority","pregameStart","gameStart","gameEnd","broadcastStart","broadcastEnd","status","endedAt","replayExpiresAt","liveId","concurrentViews","isSubscribed","access","league","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"ProviderSignInViewModel":{"description":"Response of `POST /public/auth/signinWithProvider`. The FE finishes with\n`signInWithCustomToken(auth, customToken)` and ends up with the exact same Firebase session a\nnormal sign-in produces (same uid, same custom claims). Because the token is minted only for\nan EXISTING uid, the exchange can never create a new Auth record.","properties":{"customToken":{"type":"string","description":"Firebase custom token (valid ~1h) — consume immediately with `signInWithCustomToken`."}},"required":["customToken"],"type":"object","additionalProperties":false},"SignInProviderId":{"type":"string","enum":["google.com","apple.com"],"description":"Identity providers accepted by `POST /public/auth/signinWithProvider`."},"ProviderSignInRequest":{"description":"Body of `POST /public/auth/signinWithProvider` — sign-in-only entry for activation surfaces\nof store-restricted TV platforms (Fire TV / Vega, whose policies forbid the TV flow from\nproviding sign-up functionality). The page obtains the provider ID token itself (GIS /\nApple JS) instead of `signInWithPopup`, so Firebase Auth is not touched until the backend has\nconfirmed the account already exists.","properties":{"providerId":{"$ref":"#/components/schemas/SignInProviderId","description":"Which identity provider issued `idToken`."},"idToken":{"type":"string","description":"The provider-issued ID token — the GIS `credential` for Google, `authorization.id_token`\nfrom Apple JS. Verified server-side against the provider's JWKS.","minLength":1,"maxLength":4096}},"required":["providerId","idToken"],"type":"object","additionalProperties":false},"ProductType":{"enum":["subscription","oneTime"],"type":"string"},"ProductInterval":{"enum":["monthly","season"],"type":"string"},"ProductSource":{"enum":["stripe","app_store","play_store","free","tv"],"type":"string"},"ProductPriceViewModel":{"properties":{"id":{"type":"string"},"amount":{"type":"number","format":"double"},"currency":{"type":"string"},"isActive":{"type":"boolean"}},"required":["id","amount","currency","isActive"],"type":"object","additionalProperties":false},"ProductViewModel":{"properties":{"id":{"type":"number","format":"double"},"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"image":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"creator":{"allOf":[{"$ref":"#/components/schemas/FollowingShortViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/ProductType"},"interval":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true},"source":{"$ref":"#/components/schemas/ProductSource"},"price":{"allOf":[{"$ref":"#/components/schemas/ProductPriceViewModel"}],"nullable":true},"isActive":{"type":"boolean"},"isSubscribed":{"type":"boolean"},"seasonEnd":{"type":"string","nullable":true},"accessEnd":{"type":"string","nullable":true,"description":"When access actually ENDS for this product if taken out now — the instant stamped as the\nsubscription's period end, 12:00 UTC the day after the last covered day. Later than `seasonEnd`\nfor a free product with a post-season tail, and a day later than it for everything else, because\nthe final season day has to stay watchable through its evening games.\n\n`seasonEnd` stays the LEAGUE's season end, so the two answer different questions: \"when does the\nseason finish\" vs \"how long do I keep watching\". The two are filled independently — the creator\ncatalog carries both, the profile's offer halves carry only this one, and `GET /subscriptions`\ncarries neither (a held subscription's own `currentPeriod.end` is the answer there)."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentViewModel"}],"nullable":true,"description":"Terms the fan must accept to claim or buy this product, or null when its partner asks nothing\n(most). Present on every surface that offers a product — the paid catalog and the creator\nprofile's free half alike, since $0 is not an exemption.\n\nDelivered alongside the product because those surfaces are already keyed by `creatorId`, which\nmakes rendering one partner's statement against another's product impossible. Echo `version`\nback in the `consent` field of the call that creates the subscription."},"entitlementIds":{"items":{"type":"string"},"type":"array"}},"required":["id","code","name","description","image","creator","type","interval","source","price","isActive","isSubscribed","seasonEnd","accessEnd","entitlementIds"],"type":"object","additionalProperties":false},"EntitlementViewModel":{"properties":{"id":{"type":"string"},"lookupKey":{"type":"string"},"displayName":{"type":"string"},"benefits":{"items":{"type":"string"},"type":"array"},"creatorId":{"type":"string"},"isActive":{"type":"boolean"},"products":{"items":{"$ref":"#/components/schemas/ProductViewModel"},"type":"array"}},"required":["id","lookupKey","displayName","benefits","creatorId","isActive"],"type":"object","additionalProperties":false},"ProductExpandedViewModel":{"properties":{"id":{"type":"number","format":"double"},"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"image":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"creator":{"allOf":[{"$ref":"#/components/schemas/FollowingShortViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/ProductType"},"interval":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true},"source":{"$ref":"#/components/schemas/ProductSource"},"price":{"allOf":[{"$ref":"#/components/schemas/ProductPriceViewModel"}],"nullable":true},"isActive":{"type":"boolean"},"isSubscribed":{"type":"boolean"},"seasonEnd":{"type":"string","nullable":true},"accessEnd":{"type":"string","nullable":true,"description":"When access actually ENDS for this product if taken out now — the instant stamped as the\nsubscription's period end, 12:00 UTC the day after the last covered day. Later than `seasonEnd`\nfor a free product with a post-season tail, and a day later than it for everything else, because\nthe final season day has to stay watchable through its evening games.\n\n`seasonEnd` stays the LEAGUE's season end, so the two answer different questions: \"when does the\nseason finish\" vs \"how long do I keep watching\". The two are filled independently — the creator\ncatalog carries both, the profile's offer halves carry only this one, and `GET /subscriptions`\ncarries neither (a held subscription's own `currentPeriod.end` is the answer there)."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentViewModel"}],"nullable":true,"description":"Terms the fan must accept to claim or buy this product, or null when its partner asks nothing\n(most). Present on every surface that offers a product — the paid catalog and the creator\nprofile's free half alike, since $0 is not an exemption.\n\nDelivered alongside the product because those surfaces are already keyed by `creatorId`, which\nmakes rendering one partner's statement against another's product impossible. Echo `version`\nback in the `consent` field of the call that creates the subscription."},"entitlements":{"items":{"$ref":"#/components/schemas/EntitlementViewModel"},"type":"array"}},"required":["id","code","name","description","image","creator","type","interval","source","price","isActive","isSubscribed","seasonEnd","accessEnd","entitlements"],"type":"object","additionalProperties":false},"BzzrProfileReferenceViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"claimedByUserId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"}},"required":["id","type","displayName","bzzrHandle","tags","images","claimedByUserId","isVerified"],"type":"object","additionalProperties":false},"PodcastSocialLink":{"properties":{"platform":{"type":"string"},"url":{"type":"string"}},"required":["platform","url"],"type":"object","additionalProperties":false},"PodcastReach":{"properties":{"audienceSize":{"type":"number","format":"double"},"email":{"type":"string"},"website":{"type":"string"},"socialLinks":{"items":{"$ref":"#/components/schemas/PodcastSocialLink"},"type":"array"},"itunes":{"properties":{"itunesRatingCountBracket":{"type":"string","nullable":true},"itunesRatingCount":{"type":"string","nullable":true},"itunesRatingAverage":{"type":"string","nullable":true}},"required":["itunesRatingCountBracket","itunesRatingCount","itunesRatingAverage"],"type":"object"},"spotify":{"properties":{"spotifyRatingCountBracket":{"type":"string","nullable":true},"spotifyRatingCount":{"type":"string","nullable":true},"spotifyRatingAverage":{"type":"string","nullable":true}},"required":["spotifyRatingCountBracket","spotifyRatingCount","spotifyRatingAverage"],"type":"object"}},"required":["audienceSize","email","website","socialLinks"],"type":"object","additionalProperties":false},"PodcastViewModel":{"properties":{"id":{"type":"string"},"podcastGuid":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"},"type":"array","nullable":true},"language":{"type":"string"},"region":{"type":"string"},"rssUrl":{"type":"string"},"url":{"type":"string"},"publisherName":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"episodeCount":{"type":"number","format":"double"},"totalEpisodes":{"type":"number","format":"double"},"reach":{"$ref":"#/components/schemas/PodcastReach"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"isActive":{"type":"boolean"},"isVerified":{"type":"boolean"},"itunesRatingCount":{"type":"string"},"lastPostedAt":{"type":"string"},"lastScannedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true}},"required":["id","podcastGuid","name","description","images","hosts","language","region","rssUrl","url","publisherName","tags","episodeCount","totalEpisodes","reach","isActive","isVerified","itunesRatingCount","lastPostedAt","lastScannedAt","createdAt","updatedAt","claimedByUserId","claimedByUserName"],"type":"object","additionalProperties":false},"ListResultRecordResponse_PodcastViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/PodcastViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_PodcastViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_PodcastViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"PodcastEpisodeSocialMediaLink":{"properties":{"platform":{"type":"string"},"url":{"type":"string"}},"required":["platform","url"],"type":"object","additionalProperties":false},"PodcastEpisodeHostViewModel":{"properties":{"hostName":{"type":"string"},"hostCompany":{"type":"string"},"speakerLabel":{"type":"string"},"hostSocialMediaLinks":{"$ref":"#/components/schemas/PodcastEpisodeSocialMediaLink"},"bzzrProfile":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"}],"nullable":true}},"required":["hostName","hostCompany","speakerLabel","hostSocialMediaLinks","bzzrProfile"],"type":"object","additionalProperties":false},"PodcastEpisodeGuestViewModel":{"properties":{"guestName":{"type":"string"},"guestCompany":{"type":"string"},"guestIndustry":{"type":"string"},"guestOccupation":{"type":"string"},"speakerLabel":{"type":"string"},"guestSocialMediaLinks":{"$ref":"#/components/schemas/PodcastEpisodeSocialMediaLink"},"bzzrProfile":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"}],"nullable":true}},"required":["guestName","guestCompany","guestIndustry","guestOccupation","speakerLabel","guestSocialMediaLinks","bzzrProfile"],"type":"object","additionalProperties":false},"PodcastEpisodeSponsorViewModel":{"properties":{"sponsorName":{"type":"string"},"sponsorUrl":{"type":"string"},"sponsorIsCommercial":{"type":"boolean"},"sponsorProductMentioned":{"type":"string"},"speakerLabel":{"type":"string"},"bzzrProfile":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"}],"nullable":true}},"required":["sponsorName","sponsorUrl","sponsorIsCommercial","sponsorProductMentioned","speakerLabel","bzzrProfile"],"type":"object","additionalProperties":false},"Record_string.unknown_":{"properties":{},"additionalProperties":{},"type":"object","description":"Construct a type with a set of properties K of type T"},"PodcastEpisodeMetadataViewModel":{"properties":{"hasHosts":{"type":"boolean"},"hasGuests":{"type":"boolean"},"hasSponsors":{"type":"boolean"},"isBranded":{"type":"boolean"},"isBrandedConfidenceScore":{"type":"number","format":"double","nullable":true},"isBrandedConfidenceReason":{"type":"string","nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/PodcastEpisodeHostViewModel"},"type":"array"},"guests":{"items":{"$ref":"#/components/schemas/PodcastEpisodeGuestViewModel"},"type":"array"},"sponsors":{"items":{"$ref":"#/components/schemas/PodcastEpisodeSponsorViewModel"},"type":"array"},"summaryShort":{"type":"string","nullable":true},"summaryLong":{"type":"string","nullable":true},"summaryKeywords":{"items":{"type":"string"},"type":"array"},"speakers":{"allOf":[{"$ref":"#/components/schemas/Record_string.unknown_"}],"nullable":true}},"required":["hasHosts","hasGuests","hasSponsors","isBranded","isBrandedConfidenceScore","isBrandedConfidenceReason","hosts","guests","sponsors","summaryShort","summaryLong","summaryKeywords","speakers"],"type":"object","additionalProperties":false},"FirebaseFirestore.VectorValue":{"description":"Represent a vector type in Firestore documents.","properties":{},"type":"object","additionalProperties":false},"KeyTermNeedsReview":{"properties":{"quote":{"type":"string"},"timeMarker":{"type":"string"}},"required":["quote","timeMarker"],"type":"object","additionalProperties":false},"KeyTermViewModel":{"properties":{"category":{"type":"string"},"commonTerm":{"type":"string"},"mentionCount":{"type":"number","format":"double"},"sports":{"items":{"type":"string"},"type":"array","nullable":true},"summary":{"type":"string"},"teams":{"items":{"type":"string"},"type":"array","nullable":true},"term":{"type":"string"},"embedding":{"anyOf":[{"items":{"type":"number","format":"double"},"type":"array"},{"$ref":"#/components/schemas/FirebaseFirestore.VectorValue"}],"nullable":true},"timeMarkers":{"items":{"type":"string"},"type":"array"},"needsReview":{"items":{"$ref":"#/components/schemas/KeyTermNeedsReview"},"type":"array"},"bzzrProfile":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"}],"nullable":true}},"required":["category","commonTerm","mentionCount","sports","summary","teams","term","embedding","timeMarkers","needsReview","bzzrProfile"],"type":"object","additionalProperties":false},"PodcastEpisodePublicViewModel":{"description":"`isLiked` is always false here — the public page has no viewer.","properties":{"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"id":{"type":"string"},"guid":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string"},"transcript":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"metadata":{"allOf":[{"$ref":"#/components/schemas/PodcastEpisodeMetadataViewModel"}],"nullable":true},"wordCount":{"type":"number","format":"double"},"duration":{"type":"number","format":"double"},"listens":{"type":"number","format":"double","description":"Cumulative listens for this episode. Always populated on single-episode reads; on list endpoints\nit is 0 unless `includeListens=true` is requested (each count is a separate aggregate query)."},"shares":{"type":"number","format":"double","description":"Not tracked — no backing signal exists. Always 0."},"keyTermsCount":{"type":"number","format":"double"},"keyTerms":{"items":{"$ref":"#/components/schemas/KeyTermViewModel"},"type":"array"},"imageUrl":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"audioUrl":{"type":"string"},"url":{"type":"string"},"publisherName":{"type":"string","nullable":true},"episodeFullyProcessed":{"type":"boolean"},"isDuplidate":{"type":"boolean","nullable":true,"deprecated":true},"isDuplicate":{"type":"boolean","nullable":true},"isDuplicateOf":{"type":"string","nullable":true},"postedAt":{"type":"string"},"postedAtAtom":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"},"podcastFollowersCount":{"type":"number","format":"double"},"podcastIsVerified":{"type":"boolean"},"podcastImages":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["podcastId","podcastUrl","podcastName","id","guid","title","description","transcript","tags","categories","topics","metadata","wordCount","duration","listens","shares","keyTermsCount","keyTerms","imageUrl","images","audioUrl","url","publisherName","episodeFullyProcessed","isDuplidate","isDuplicate","isDuplicateOf","postedAt","postedAtAtom","createdAt","updatedAt","activityId","likesCount","isLiked","commentsCount","podcastFollowersCount","podcastIsVerified","podcastImages"],"type":"object","additionalProperties":false},"PlaylistStudioState":{"enum":["published","draft","failed"],"type":"string"},"MrssFeedType":{"description":"Kind of content an MRSS feed produces. `Video` imports full videos through the normal real-time path.\n`Hype` imports situational hype clips; on first connect the historical backlog is seeded into GetStream\nvia the backdated Import API (`created_at` = source pubDate) so it lands in chronological order without\nflooding timelines, while subsequent items arrive through the normal path. See {@link MrssFeedIntegrationService }.","enum":["video","hype","post"],"type":"string"},"MrssSyncState":{"enum":["created","sync_initiated","backfill_processing","failed","synced","disconnected"],"type":"string"},"MrssConfig":{"properties":{"url":{"type":"string"},"nickname":{"type":"string"},"feedType":{"$ref":"#/components/schemas/MrssFeedType","description":"Content kind of the feed. Server-determined by the create endpoint (`video` vs `hype`); read-only for clients."},"importMedia":{"type":"boolean","description":"Post feeds only: pull each new item's clip through Mux and attach it to the post. Defaults to true on create."},"includeReplies":{"type":"boolean","description":"Post feeds only: X replies become posts too. Defaults to false on create."},"includeQuotes":{"type":"boolean","description":"Post feeds only: quoted X posts become posts too. Defaults to false on create."},"isSyncing":{"type":"boolean"},"lastSynced":{"type":"string","nullable":true},"state":{"$ref":"#/components/schemas/MrssSyncState","description":"Coarse sync status for the client: `created` (link just added) → `sync_initiated` (syncing / hype\nbacklog importing) → `synced` / `failed`. Read-only; the internal import task bookkeeping is never exposed."},"isCrosspostEnabled":{"type":"boolean","description":"When `true` (and the playlist itself is Published), items the hourly scheduler pulls on later syncs are\ncrossposted to the timeline (the User-feed mirror, like a video with `isCrossposted`). Items present at feed\ncreation (first sync), items from a manual \"sync now\", and any items while the playlist is Draft are never\ncrossposted. Client-settable on create/update; new feeds default to `true`, while an absent value (legacy\nfeed) reads as `false`."},"disconnectedAt":{"type":"string","nullable":true,"description":"Set when an admin disconnected the feed (`state: disconnected`)."}},"required":["url","nickname"],"type":"object","additionalProperties":false},"PlaylistVideoAppendOrder":{"enum":["start","end"],"type":"string"},"PlaylistViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"state":{"$ref":"#/components/schemas/PlaylistStudioState"},"mrss":{"allOf":[{"$ref":"#/components/schemas/MrssConfig"}],"nullable":true},"videoAppend":{"$ref":"#/components/schemas/PlaylistVideoAppendOrder"},"userProfileReference":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"videosCount":{"type":"number","format":"double"},"publishedVideosCount":{"type":"number","format":"double"},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true}},"required":["id","title","description","state","mrss","videoAppend","userProfileReference","thumbnail","videosCount","publishedVideosCount","taggedCreators","isPublic","isPremium","createdAt","updatedAt"],"type":"object","additionalProperties":false},"PlaylistVideoViewThirdParty":{"properties":{"id":{"type":"string","nullable":true},"playbackId":{"type":"string","nullable":true}},"required":["id","playbackId"],"type":"object","additionalProperties":false},"PlaylistVideoReferenceEngagementViewModel":{"properties":{"id":{"type":"string"},"playlistId":{"type":"string"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/PlaylistVideoViewThirdParty"},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string"},"viewsCount":{"type":"number","format":"double"},"addedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["id","playlistId","cdnUrl","thirdParty","watchUrl","title","description","tags","maturityLevel","duration","viewsCount","addedAt","createdAt","updatedAt","thumbnail","gif","state","userProfile","taggedCreators","playlists","isPublic","isPremium","isCommentsEnabled","isFeatured","thirdPartyId","thirdPartyPlaybackId","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"SendCodeViewModel":{"description":"A code was sent for an email or password change, or a password reset was asked for.","properties":{"maskedAddress":{"type":"string","description":"`j***@example.com`: for an email change, the new address; for a reset, the address asked for."},"resendAvailableAt":{"type":"string"}},"required":["maskedAddress","resendAvailableAt"],"type":"object","additionalProperties":false},"SendPasswordResetRequest":{"properties":{"email":{"type":"string","pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"}},"required":["email"],"type":"object","additionalProperties":false},"VerifyPasswordResetRequest":{"properties":{"email":{"type":"string","pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},"code":{"type":"string","pattern":"^\\d{6}$"}},"required":["email","code"],"type":"object","additionalProperties":false},"ConfirmPasswordResetRequest":{"properties":{"email":{"type":"string","pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},"code":{"type":"string","pattern":"^\\d{6}$"},"newPassword":{"type":"string","description":"The sign-up rule: 8 to 20 characters, a letter, and a number or special character. A refused one\nanswers 400 on `newPassword`, naming the part it breaks, and keeps the code."}},"required":["email","code","newPassword"],"type":"object","additionalProperties":false},"ArticleStatus":{"enum":["published","archive"],"type":"string"},"NewsArticleKeyTermNeedsReview":{"properties":{"quote":{"type":"string"}},"required":["quote"],"type":"object","additionalProperties":false},"NewsArticleKeyTermViewModel":{"properties":{"category":{"type":"string"},"commonTerm":{"type":"string"},"mentionCount":{"type":"number","format":"double"},"sports":{"items":{"type":"string"},"type":"array","nullable":true},"summary":{"type":"string"},"teams":{"items":{"type":"string"},"type":"array","nullable":true},"term":{"type":"string"},"embedding":{"anyOf":[{"items":{"type":"number","format":"double"},"type":"array"},{"$ref":"#/components/schemas/FirebaseFirestore.VectorValue"}],"nullable":true},"needsReview":{"items":{"$ref":"#/components/schemas/NewsArticleKeyTermNeedsReview"},"type":"array"},"bzzrProfile":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"}],"nullable":true}},"required":["category","commonTerm","mentionCount","sports","summary","teams","term","embedding","needsReview","bzzrProfile"],"type":"object","additionalProperties":false},"NewsArticleViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"content":{"type":"string","nullable":true},"summary":{"type":"string","nullable":true},"categories":{"items":{"type":"string"},"type":"array"},"articleLink":{"type":"string"},"author":{"type":"string","nullable":true},"language":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"source":{"type":"string","nullable":true},"posted":{"type":"string"},"wordsCount":{"type":"number","format":"double"},"viewsCount":{"type":"number","format":"double"},"status":{"$ref":"#/components/schemas/ArticleStatus"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"keyTerms":{"items":{"$ref":"#/components/schemas/NewsArticleKeyTermViewModel"},"type":"array"}},"required":["id","title","description","content","summary","categories","articleLink","author","language","region","source","posted","wordsCount","viewsCount","status","images","createdAt","updatedAt","keyTerms"],"type":"object","additionalProperties":false},"MarketingPageSummaryViewModel":{"description":"Consumed by the web app's generateStaticParams and nothing else — deliberately minimal.","properties":{"slug":{"type":"string"},"updatedAt":{"type":"string"}},"required":["slug","updatedAt"],"type":"object","additionalProperties":false},"PartnerTheme":{"description":"The `theme` setting — the partner skin (v1: logo + primary color).","properties":{"logoUrl":{"type":"string"},"primaryColor":{"type":"string"}},"type":"object","additionalProperties":false},"MarketingImage":{"$ref":"#/components/schemas/ImagesViewModel","description":"Page assets are stored as the platform's resolved image shape — the public read is one\nround-trip and the renderer resolves nothing."},"MarketingSeo":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"ogImage":{"allOf":[{"$ref":"#/components/schemas/MarketingImage"}],"nullable":true,"description":"Uploaded per page, 1200×630. Never rendered on the page itself — link previews only."}},"required":["title","description"],"type":"object","additionalProperties":false},"SectionKey":{"enum":["hero","schedule","howItWorks","walkthrough","audioDemo","comparison","partnership","pricing","faq","support","cta"],"type":"string"},"HeroEyebrow":{"anyOf":[{"properties":{"seasonLabel":{"type":"string"},"league":{"type":"string"},"kind":{"type":"string","enum":["league"],"nullable":false}},"required":["league","kind"],"type":"object"},{"properties":{"kind":{"type":"string","enum":["brand"],"nullable":false}},"required":["kind"],"type":"object"}],"description":"What sits above the hero title. A union rather than two more optional fields, for the\nreason `showPricingLink` was deleted: an editor who fills in a season label the chosen\neyebrow does not draw has been misled by the form. `brand` carries no data — the mark is\na component in `bzzr-web`, and choosing that arm is the whole of the configuration."},"Record_string._label-string--url-string__":{"properties":{},"additionalProperties":{"properties":{"url":{"type":"string"},"label":{"type":"string"}},"required":["url","label"],"type":"object"},"type":"object","description":"Construct a type with a set of properties K of type T"},"RichText":{"description":"Copy that carries a live value or a link. Prose with `{placeholder}` slots — a template,\nnever a function: copy must serialize (the shape `PartnerConsent` already uses, for the\nreason it documents). The runtime token set the renderer resolves is closed and small\n(`RUNTIME_RICH_TEXT_TOKENS` in `util/marketingPageValidation.ts`); everything else is a\nliteral in `values` or an anchor in `links` — keeping it closed is what stops the CMS\nbecoming a template language.","properties":{"template":{"type":"string"},"values":{"$ref":"#/components/schemas/Record_string.string_","description":"Literal substitutions authored in the panel."},"links":{"$ref":"#/components/schemas/Record_string._label-string--url-string__","description":"Substitutions rendered as real anchors. A url of `{action:migrate}` mounts the\nmigration flow — a closed vocabulary, never raw HTML."},"omitClauseWhenUnresolved":{"items":{"type":"string"},"type":"array","description":"Placeholders whose enclosing clause is dropped when unresolved."}},"required":["template"],"type":"object","additionalProperties":false},"HeroButton":{"properties":{"kind":{"type":"string","enum":["signup","migrate","appDownload"],"description":"What the button does."},"buttonLabel":{"type":"string"}},"required":["kind","buttonLabel"],"type":"object","additionalProperties":false},"HeroSection":{"properties":{"eyebrow":{"$ref":"#/components/schemas/HeroEyebrow","description":"Absent ⇒ the title starts the block."},"title":{"type":"string"},"subtitle":{"$ref":"#/components/schemas/RichText"},"backgroundImage":{"$ref":"#/components/schemas/MarketingImage"},"buttons":{"items":{"$ref":"#/components/schemas/HeroButton"},"type":"array","description":"Zero, one, or two buttons. Empty ⇒ a title-only hero."}},"required":["title","backgroundImage","buttons"],"type":"object","additionalProperties":false},"ScheduleSection":{"description":"The entire CMS surface for the schedule: being in `order` is the toggle, games come from\nthe existing public broadcasts-by-creator endpoint, and crests arrive resolved on that\npayload (`teams`, the teams-assets registry). A CMS that re-enters games is a second\nschedule that drifts.\n\nIt speaks only about streamed broadcasts. Stadium audio is venue-scoped, never game-scoped\n(MVP decision 2026-08-20) — no per-game audio badge, no join between an audio section and the\nbroadcast list. Recorded here because the offering sections that used to carry it are gone.","properties":{"label":{"type":"string"},"title":{"type":"string"},"emptyMessage":{"type":"string"}},"type":"object","additionalProperties":false},"StepIcon":{"type":"string","enum":["user","ticket","broadcast","stadium"],"description":"A name, not an asset. The icons are components in `bzzr-web`; a page picks which one and the\nasset never travels. Matching by position held while one design existed and broke the moment\nthe LSU eligibility block drew a stadium where the partner pages draw a ticket."},"HowItWorksSection":{"properties":{"label":{"type":"string"},"title":{"type":"string"},"steps":{"items":{"properties":{"icon":{"$ref":"#/components/schemas/StepIcon"},"description":{"type":"string"},"title":{"type":"string"}},"required":["description","title"],"type":"object"},"type":"array","description":"A step carries both texts or it is not a step. One without an icon name renders without one."}},"type":"object","additionalProperties":false},"WalkthroughSection":{"properties":{"steps":{"items":{"properties":{"image":{"$ref":"#/components/schemas/MarketingImage"},"description":{"type":"string"},"title":{"type":"string"}},"required":["image","description","title"],"type":"object"},"type":"array","description":"Each step is a full-width row: the image on one side, the copy on the other, alternating\ndown the section. The alternation is POSITIONAL — a partner choosing sides per step is a\ndesign decision escaping into content. Uncapped; the alternation carries on.\n\nNo kicker and no section title: the design goes straight into the first row and each row\ncarries its own headline, so the fields are left out rather than offered and ignored."}},"type":"object","additionalProperties":false},"MarketingAudio":{"description":"The one page asset that is not an image. No variant ladder — there is nothing to resample, so\nthe file is stored as uploaded under a random push id and `CACHE_CONTROL_IMMUTABLE`: replacing\na clip produces a new URL and nothing needs a CDN purge.\n\n`duration` is deliberately absent — the player reads it from the element's metadata.","properties":{"src":{"type":"string","description":"Storage path, like an image's `src`."},"url":{"type":"string","description":"The public URL on the media host."},"size":{"type":"number","format":"double","description":"Bytes, so the editor can be told when a clip is too heavy to autoload."},"contentType":{"type":"string","description":"MIME type as stored — the renderer hands it to the audio element."}},"required":["src","url","size","contentType"],"type":"object","additionalProperties":false},"AudioDemoSection":{"description":"The first section to store something that is not an image — see `MarketingAudio`.\n\nTwo things deliberately absent: the waveform (a drawn pattern, not an analysis of the file)\nand the duration (read from the audio element's metadata; an authored one rots the first time\nsomeone replaces the clip).","properties":{"label":{"type":"string"},"title":{"type":"string"},"caption":{"type":"string","description":"What the clip is — \"LSU vs. Clemson, 4th and goal\"."},"audio":{"$ref":"#/components/schemas/MarketingAudio"},"button":{"properties":{"label":{"type":"string"}},"required":["label"],"type":"object","description":"Presence is the switch. The destination is not a field: it scrolls to `howItWorks`. A\nconfigurable target would be a field whose only correct value is the one we would have\npicked. `button` rather than `cta` because `cta` is a section of its own here."}},"required":["audio"],"type":"object","additionalProperties":false},"ComparisonPanel":{"properties":{"image":{"$ref":"#/components/schemas/MarketingImage"},"badge":{"type":"string","description":"The pill over the image — \"Without BZZR\" / \"With BZZR\". Both panels or neither."},"caption":{"type":"string"}},"required":["image","caption"],"type":"object","additionalProperties":false},"ComparisonSection":{"description":"Exactly two panels, and the ORDER carries the claim: this without us, then this with us.\nWhich pill wears the BZZR mark is positional and platform-owned — a per-panel flag would only\nbuy states that contradict the layout. The muted-speaker badge over the first image arrives in\nthat upload; nothing in this shape refers to it.","properties":{"label":{"type":"string"},"title":{"type":"string"},"panels":{"items":{"$ref":"#/components/schemas/ComparisonPanel"},"type":"array","description":"Exactly two, enforced at the edge rather than in the type: tsoa cannot resolve a TS tuple\n(`Unknown type: TupleType`), so the pair is expressed as item bounds the generated validator\nand the spec both carry. The publish gate re-checks it for content stored before this rule.","minItems":2,"maxItems":2}},"required":["panels"],"type":"object","additionalProperties":false},"PartnershipCard":{"properties":{"logo":{"$ref":"#/components/schemas/MarketingImage","description":"An upload, not a resolved crest: one of the parties is usually BZZR, which has no crest, and\na sponsor or a venue has none either. Alt text names the party — there is no other text."},"background":{"type":"string","description":"The card's fill. The ONE field on a partner page holding a raw hex rather than a token: a\npartner's brand colour is not in our palette and never will be."}},"required":["logo","background"],"type":"object","additionalProperties":false},"PartnershipSection":{"description":"The count is the admin's and the layout follows it: a card is always half the container minus\nthe gap and an unfilled row is centred, so one card sits alone in the middle at the same width\nas any other. Nothing about that is authored.","properties":{"label":{"type":"string"},"title":{"type":"string"},"cards":{"items":{"$ref":"#/components/schemas/PartnershipCard"},"type":"array"}},"type":"object","additionalProperties":false},"PricingPlan":{"properties":{"productId":{"type":"number","format":"double","description":"Which product this card prices. Its interval and amount resolve live at render."},"name":{"type":"string","description":"Card heading, e.g. \"Monthly Pass\" / \"2026 Season Pass\"."},"unit":{"type":"string","description":"Rendered beside the amount, e.g. \"/ monthly\", \"for the full season\"."},"billingNote":{"type":"string"},"staticPrice":{"type":"string","description":"Fixed label (e.g. \"Included\") that wins over the live amount — for a pass not sold\nthrough a paid product."},"fallbackPrice":{"type":"string","description":"Shown until the live amount resolves. Ignored when `staticPrice` is set — and required only when it is not."},"ctaLabel":{"type":"string"},"isHighlighted":{"type":"boolean","description":"Marks one card as the recommended option. At most one per section."},"extraFeatures":{"items":{"type":"string"},"type":"array","description":"Plan-specific bullets appended to the shared `features`."}},"required":["productId","unit","ctaLabel"],"type":"object","additionalProperties":false},"PricingSection":{"properties":{"sectionLabel":{"type":"string"},"title":{"type":"string"},"features":{"items":{"type":"string"},"type":"array","description":"Shared across every plan — the durations buy the SAME access; restating bullets per\ncard is how they drift."},"image":{"$ref":"#/components/schemas/MarketingImage"},"offerNote":{"type":"string"},"plans":{"items":{"$ref":"#/components/schemas/PricingPlan"},"type":"array","description":"One card per purchasable duration, in display order — the renderer iterates, never\nassumes one interval."}},"required":["title","features","plans"],"type":"object","additionalProperties":false},"FaqLibraryItemRef":{"properties":{"source":{"type":"string","enum":["library"],"nullable":false},"itemId":{"type":"string"},"overrides":{"properties":{"answer":{"$ref":"#/components/schemas/RichText"},"question":{"$ref":"#/components/schemas/RichText"}},"type":"object","description":"Per-page copy override — the shared edit then does not reach this page."}},"required":["source","itemId"],"type":"object","additionalProperties":false},"FaqInlineItem":{"properties":{"source":{"type":"string","enum":["inline"],"nullable":false},"question":{"$ref":"#/components/schemas/RichText"},"answer":{"$ref":"#/components/schemas/RichText"}},"required":["source","question","answer"],"type":"object","additionalProperties":false},"FaqSection":{"properties":{"label":{"type":"string"},"title":{"type":"string"},"items":{"items":{"anyOf":[{"$ref":"#/components/schemas/FaqLibraryItemRef"},{"$ref":"#/components/schemas/FaqInlineItem"}]},"type":"array","description":"Ordered. Library refs resolve at read; inline items are one-offs that never enter the picker."}},"required":["items"],"type":"object","additionalProperties":false},"SupportSection":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"linkLabel":{"type":"string"},"linkUrl":{"type":"string"}},"required":["linkUrl"],"type":"object","additionalProperties":false},"CtaSection":{"properties":{"label":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"backgroundImage":{"$ref":"#/components/schemas/MarketingImage"},"buttonLabel":{"type":"string"},"kind":{"type":"string","enum":["signup","appDownload"],"description":"Defaults to the signup funnel; an app-download CTA closes a stadium-audio page."}},"required":["title","backgroundImage","buttonLabel"],"type":"object","additionalProperties":false},"MarketingSections":{"properties":{"hero":{"$ref":"#/components/schemas/HeroSection"},"schedule":{"$ref":"#/components/schemas/ScheduleSection"},"howItWorks":{"$ref":"#/components/schemas/HowItWorksSection"},"walkthrough":{"$ref":"#/components/schemas/WalkthroughSection"},"audioDemo":{"$ref":"#/components/schemas/AudioDemoSection"},"comparison":{"$ref":"#/components/schemas/ComparisonSection"},"partnership":{"$ref":"#/components/schemas/PartnershipSection"},"pricing":{"$ref":"#/components/schemas/PricingSection"},"faq":{"$ref":"#/components/schemas/FaqSection"},"support":{"$ref":"#/components/schemas/SupportSection"},"cta":{"$ref":"#/components/schemas/CtaSection"}},"type":"object","additionalProperties":false},"MarketingPageViewModel":{"description":"One published page — everything the renderer needs, in one payload. FAQ library refs\narrive RESOLVED (converted to inline items, overrides applied): there is no public\nlibrary endpoint, so an unresolved ref would be unrenderable.","properties":{"slug":{"type":"string"},"partnerName":{"type":"string"},"creatorId":{"type":"string","nullable":true,"description":"From the tenant's commerceCreator binding — always sent; null for a partner with no\nproduct (an audio-only page is legal and simply has fewer keys in `order`)."},"theme":{"allOf":[{"$ref":"#/components/schemas/PartnerTheme"}],"nullable":true,"description":"The tenant's Theme setting (one source of truth for partner branding); null when unset."},"seo":{"$ref":"#/components/schemas/MarketingSeo"},"order":{"items":{"$ref":"#/components/schemas/SectionKey"},"type":"array","description":"Render sequence. A key absent here is NOT rendered, even if its section has content."},"sections":{"$ref":"#/components/schemas/MarketingSections"}},"required":["slug","partnerName","creatorId","theme","seo","order","sections"],"type":"object","additionalProperties":false},"Record_string.any_":{"properties":{},"additionalProperties":{},"type":"object","description":"Construct a type with a set of properties K of type T"},"Action":{"properties":{"name":{"type":"string"},"text":{"type":"string"},"type":{"type":"string"},"style":{"type":"string"},"value":{"type":"string"}},"required":["name","text","type"],"type":"object","additionalProperties":false},"Field":{"properties":{"short":{"type":"boolean"},"title":{"type":"string"},"value":{"type":"string"}},"required":["short","title","value"],"type":"object","additionalProperties":false},"ImageData":{"properties":{"frames":{"type":"string"},"height":{"type":"string"},"size":{"type":"string"},"url":{"type":"string"},"width":{"type":"string"}},"required":["frames","height","size","url","width"],"type":"object","additionalProperties":false},"Images":{"properties":{"fixed_height":{"$ref":"#/components/schemas/ImageData"},"fixed_height_downsampled":{"$ref":"#/components/schemas/ImageData"},"fixed_height_still":{"$ref":"#/components/schemas/ImageData"},"fixed_width":{"$ref":"#/components/schemas/ImageData"},"fixed_width_downsampled":{"$ref":"#/components/schemas/ImageData"},"fixed_width_still":{"$ref":"#/components/schemas/ImageData"},"original":{"$ref":"#/components/schemas/ImageData"}},"required":["fixed_height","fixed_height_downsampled","fixed_height_still","fixed_width","fixed_width_downsampled","fixed_width_still","original"],"type":"object","additionalProperties":false},"Attachment":{"properties":{"custom":{"$ref":"#/components/schemas/Record_string.any_"},"asset_url":{"type":"string"},"author_icon":{"type":"string"},"author_link":{"type":"string"},"author_name":{"type":"string"},"color":{"type":"string"},"fallback":{"type":"string"},"footer":{"type":"string"},"footer_icon":{"type":"string"},"image_url":{"type":"string"},"og_scrape_url":{"type":"string"},"original_height":{"type":"number","format":"double"},"original_width":{"type":"number","format":"double"},"pretext":{"type":"string"},"text":{"type":"string"},"thumb_url":{"type":"string"},"title":{"type":"string"},"title_link":{"type":"string"},"type":{"type":"string","description":"Attachment type (e.g. image, video, url)"},"actions":{"items":{"$ref":"#/components/schemas/Action"},"type":"array"},"fields":{"items":{"$ref":"#/components/schemas/Field"},"type":"array"},"giphy":{"$ref":"#/components/schemas/Images"}},"required":["custom"],"type":"object","additionalProperties":false},"DeviceResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"Date/time of creation"},"id":{"type":"string","description":"Device ID"},"push_provider":{"type":"string","description":"Push provider"},"user_id":{"type":"string","description":"User ID"},"disabled":{"type":"boolean","description":"Whether device is disabled or not"},"disabled_reason":{"type":"string","description":"Reason explaining why device had been disabled"},"push_provider_name":{"type":"string","description":"Push provider name"},"voip":{"type":"boolean","description":"When true the token is for Apple VoIP push notifications"}},"required":["created_at","id","push_provider","user_id"],"type":"object","additionalProperties":false},"DeliveryReceiptsResponse":{"properties":{"enabled":{"type":"boolean"}},"type":"object","additionalProperties":false},"ReadReceiptsResponse":{"properties":{"enabled":{"type":"boolean"}},"type":"object","additionalProperties":false},"TypingIndicatorsResponse":{"properties":{"enabled":{"type":"boolean"}},"type":"object","additionalProperties":false},"PrivacySettingsResponse":{"properties":{"delivery_receipts":{"$ref":"#/components/schemas/DeliveryReceiptsResponse"},"read_receipts":{"$ref":"#/components/schemas/ReadReceiptsResponse"},"typing_indicators":{"$ref":"#/components/schemas/TypingIndicatorsResponse"}},"type":"object","additionalProperties":false},"PushNotificationSettingsResponse":{"properties":{"disabled":{"type":"boolean"},"disabled_until":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"UserResponse":{"properties":{"banned":{"type":"boolean","description":"Whether a user is banned or not"},"created_at":{"type":"string","format":"date-time","description":"Date/time of creation"},"id":{"type":"string","description":"Unique user identifier"},"invisible":{"type":"boolean"},"language":{"type":"string","description":"Preferred language of a user"},"online":{"type":"boolean","description":"Whether a user online or not"},"role":{"type":"string","description":"Determines the set of user permissions"},"shadow_banned":{"type":"boolean","description":"Whether a user is shadow banned"},"updated_at":{"type":"string","format":"date-time","description":"Date/time of the last update"},"blocked_user_ids":{"items":{"type":"string"},"type":"array"},"teams":{"items":{"type":"string"},"type":"array","description":"List of teams user is a part of"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for this object"},"avg_response_time":{"type":"number","format":"double"},"ban_expires":{"type":"string","format":"date-time","description":"Date when ban expires"},"bypass_moderation":{"type":"boolean"},"deactivated_at":{"type":"string","format":"date-time","description":"Date of deactivation"},"deleted_at":{"type":"string","format":"date-time","description":"Date/time of deletion"},"image":{"type":"string"},"last_active":{"type":"string","format":"date-time","description":"Date of last activity"},"name":{"type":"string","description":"Optional name of user"},"revoke_tokens_issued_before":{"type":"string","format":"date-time","description":"Revocation date for tokens"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"type":"array","description":"List of devices user is using"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse"},"push_notifications":{"$ref":"#/components/schemas/PushNotificationSettingsResponse"},"teams_role":{"$ref":"#/components/schemas/Record_string.string_"}},"required":["banned","created_at","id","invisible","language","online","role","shadow_banned","updated_at","blocked_user_ids","teams","custom"],"type":"object","additionalProperties":false},"FeedsReactionResponse":{"properties":{"activity_id":{"type":"string","description":"ID of the activity that was reacted to"},"created_at":{"type":"string","format":"date-time","description":"When the reaction was created"},"type":{"type":"string","description":"Type of reaction"},"updated_at":{"type":"string","format":"date-time","description":"When the reaction was last updated"},"user":{"$ref":"#/components/schemas/UserResponse"},"comment_id":{"type":"string","description":"ID of the comment that was reacted to"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the reaction"}},"required":["activity_id","created_at","type","updated_at","user"],"type":"object","additionalProperties":false},"ModerationV2Response":{"properties":{"action":{"type":"string"},"original_text":{"type":"string"},"blocklist_matched":{"type":"string"},"platform_circumvented":{"type":"boolean"},"semantic_filter_matched":{"type":"string"},"blocklists_matched":{"items":{"type":"string"},"type":"array"},"image_harms":{"items":{"type":"string"},"type":"array"},"text_harms":{"items":{"type":"string"},"type":"array"}},"required":["action","original_text"],"type":"object","additionalProperties":false},"FeedsReactionGroupResponse":{"properties":{"count":{"type":"number","format":"double","description":"Number of reactions in this group"},"first_reaction_at":{"type":"string","format":"date-time","description":"Time of the first reaction"},"last_reaction_at":{"type":"string","format":"date-time","description":"Time of the most recent reaction"}},"required":["count","first_reaction_at","last_reaction_at"],"type":"object","additionalProperties":false},"Record_string.FeedsReactionGroupResponse_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/FeedsReactionGroupResponse"},"type":"object","description":"Construct a type with a set of properties K of type T"},"CommentResponse":{"properties":{"bookmark_count":{"type":"number","format":"double"},"confidence_score":{"type":"number","format":"double","description":"Confidence score of the comment"},"created_at":{"type":"string","format":"date-time","description":"When the comment was created"},"downvote_count":{"type":"number","format":"double","description":"Number of downvotes for this comment"},"id":{"type":"string","description":"Unique identifier for the comment"},"object_id":{"type":"string","description":"ID of the object this comment is associated with"},"object_type":{"type":"string","description":"Type of the object this comment is associated with"},"reaction_count":{"type":"number","format":"double","description":"Number of reactions to this comment"},"reply_count":{"type":"number","format":"double","description":"Number of replies to this comment"},"score":{"type":"number","format":"double","description":"Score of the comment based on reactions"},"status":{"type":"string","enum":["active","deleted","removed","hidden","shadow_blocked"],"description":"Status of the comment. One of: active, deleted, removed, hidden"},"updated_at":{"type":"string","format":"date-time","description":"When the comment was last updated"},"upvote_count":{"type":"number","format":"double","description":"Number of upvotes for this comment"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","description":"Users mentioned in the comment"},"own_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Current user's reactions to this activity"},"user":{"$ref":"#/components/schemas/UserResponse"},"controversy_score":{"type":"number","format":"double","description":"Controversy score of the comment"},"deleted_at":{"type":"string","format":"date-time","description":"When the comment was deleted"},"edited_at":{"type":"string","format":"date-time","description":"When the comment was last edited"},"parent_id":{"type":"string","description":"ID of parent comment for nested replies"},"text":{"type":"string","description":"Text content of the comment"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","description":"Attachments associated with the comment"},"latest_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Recent reactions to the comment"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the comment"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response"},"reaction_groups":{"$ref":"#/components/schemas/Record_string.FeedsReactionGroupResponse_","description":"Grouped reactions by type"}},"required":["bookmark_count","confidence_score","created_at","downvote_count","id","object_id","object_type","reaction_count","reply_count","score","status","updated_at","upvote_count","mentioned_users","own_reactions","user"],"type":"object","additionalProperties":false},"ActivityResponse":{"properties":{"bookmark_count":{"type":"number","format":"double","description":"Number of bookmarks on the activity"},"comment_count":{"type":"number","format":"double","description":"Number of comments on the activity"},"created_at":{"type":"string","format":"date-time","description":"When the activity was created"},"hidden":{"type":"boolean","description":"If this activity is hidden by this user (using activity feedback)"},"id":{"type":"string","description":"Unique identifier for the activity"},"popularity":{"type":"number","format":"double","description":"Popularity score of the activity"},"preview":{"type":"boolean","description":"If this activity is obfuscated for this user. For premium content where you want to show a preview"},"reaction_count":{"type":"number","format":"double","description":"Number of reactions to the activity"},"restrict_replies":{"type":"string","enum":["everyone","people_i_follow","nobody"],"description":"Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody"},"score":{"type":"number","format":"double","description":"Ranking score for this activity"},"share_count":{"type":"number","format":"double","description":"Number of times the activity was shared"},"type":{"type":"string","description":"Type of activity"},"updated_at":{"type":"string","format":"date-time","description":"When the activity was last updated"},"visibility":{"type":"string","enum":["public","private","tag"],"description":"Visibility setting for the activity. One of: public, private, tag"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","description":"Media attachments for the activity"},"comments":{"items":{"$ref":"#/components/schemas/CommentResponse"},"type":"array","description":"Latest 5 comments of this activity (comment replies excluded)"},"feeds":{"items":{"type":"string"},"type":"array","description":"List of feed IDs containing this activity"},"filter_tags":{"items":{"type":"string"},"type":"array","description":"Tags for filtering"},"interest_tags":{"items":{"type":"string"},"type":"array","description":"Tags for user interests"},"latest_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Recent reactions to the activity"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","description":"Users mentioned in the activity"},"own_bookmarks":{"items":{"$ref":"#/components/schemas/BookmarkResponse"},"type":"array","description":"Current user's bookmarks for this activity"},"own_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Current user's reactions to this activity"},"collections":{"$ref":"#/components/schemas/Record_string.EnrichedCollectionResponse_","description":"Enriched collection data referenced by this activity"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the activity"},"reaction_groups":{"$ref":"#/components/schemas/Record_string.FeedsReactionGroupResponse_","description":"Grouped reactions by type"},"search_data":{"$ref":"#/components/schemas/Record_string.any_","description":"Data for search indexing"},"user":{"$ref":"#/components/schemas/UserResponse"},"deleted_at":{"type":"string","format":"date-time","description":"When the activity was deleted"},"edited_at":{"type":"string","format":"date-time","description":"When the activity was last edited"},"expires_at":{"type":"string","format":"date-time","description":"When the activity will expire"},"friend_reaction_count":{"type":"number","format":"double","description":"Total count of reactions from friends on this activity"},"is_read":{"type":"boolean","description":"Whether this activity has been read. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_seen":{"type":"boolean","description":"Whether this activity has been seen. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_watched":{"type":"boolean"},"moderation_action":{"type":"string"},"selector_source":{"type":"string","description":"Which activity selector provided this activity (e.g., 'following', 'popular', 'interest'). Only set when using multiple activity selectors with ranking."},"text":{"type":"string","description":"Text content of the activity"},"visibility_tag":{"type":"string","description":"If visibility is 'tag', this is the tag name"},"friend_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Reactions from users the current user follows or has mutual follows with"},"current_feed":{"$ref":"#/components/schemas/FeedResponse"},"location":{"$ref":"#/components/schemas/Location"},"metrics":{"$ref":"#/components/schemas/Record_string.number_"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response"},"notification_context":{"$ref":"#/components/schemas/NotificationContext"},"parent":{"$ref":"#/components/schemas/ActivityResponse"},"poll":{"$ref":"#/components/schemas/PollResponseData"},"score_vars":{"$ref":"#/components/schemas/Record_string.any_","description":"Variable values used at ranking time. Only included when include_score_vars is enabled in enrichment options."}},"required":["bookmark_count","comment_count","created_at","hidden","id","popularity","preview","reaction_count","restrict_replies","score","share_count","type","updated_at","visibility","attachments","comments","feeds","filter_tags","interest_tags","latest_reactions","mentioned_users","own_bookmarks","own_reactions","collections","custom","reaction_groups","search_data","user"],"type":"object","additionalProperties":false},"BookmarkFolderResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the folder was created"},"id":{"type":"string","description":"Unique identifier for the folder"},"name":{"type":"string","description":"Name of the folder"},"updated_at":{"type":"string","format":"date-time","description":"When the folder was last updated"},"user":{"$ref":"#/components/schemas/UserResponse"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the folder"}},"required":["created_at","id","name","updated_at","user"],"type":"object","additionalProperties":false},"BookmarkResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the bookmark was created"},"object_id":{"type":"string","description":"ID of the bookmarked object"},"object_type":{"type":"string","description":"Type of the bookmarked object (activity or comment)"},"updated_at":{"type":"string","format":"date-time","description":"When the bookmark was last updated"},"activity":{"$ref":"#/components/schemas/ActivityResponse"},"user":{"$ref":"#/components/schemas/UserResponse"},"activity_id":{"type":"string"},"comment":{"$ref":"#/components/schemas/CommentResponse"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the bookmark"},"folder":{"$ref":"#/components/schemas/BookmarkFolderResponse"}},"required":["created_at","object_id","object_type","updated_at","activity","user"],"type":"object","additionalProperties":false},"EnrichedCollectionResponse":{"properties":{"id":{"type":"string","description":"Unique identifier for the collection within its name"},"name":{"type":"string","description":"Name/type of the collection"},"status":{"type":"string","enum":["ok","notfound"],"description":"Enrichment status of the collection. One of: ok, notfound"},"created_at":{"type":"string","format":"date-time","description":"When the collection was created"},"updated_at":{"type":"string","format":"date-time","description":"When the collection was last updated"},"user_id":{"type":"string","description":"ID of the user who owns this collection"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the collection"}},"required":["id","name","status"],"type":"object","additionalProperties":false},"Record_string.EnrichedCollectionResponse_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/EnrichedCollectionResponse"},"type":"object","description":"Construct a type with a set of properties K of type T"},"FeedOwnCapability":{"type":"string","enum":["add-activity","add-activity-bookmark","add-activity-reaction","add-comment","add-comment-reaction","create-feed","delete-any-activity","delete-any-comment","delete-feed","delete-own-activity","delete-own-activity-bookmark","delete-own-activity-reaction","delete-own-comment","delete-own-comment-reaction","follow","pin-activity","query-feed-members","query-follows","read-activities","read-feed","unfollow","update-any-activity","update-any-comment","update-feed","update-feed-followers","update-feed-members","update-own-activity","update-own-activity-bookmark","update-own-comment"]},"FeedResponse":{"properties":{"activity_count":{"type":"number","format":"double"},"created_at":{"type":"string","format":"date-time","description":"When the feed was created"},"description":{"type":"string","description":"Description of the feed"},"feed":{"type":"string","description":"Fully qualified feed ID (group_id:id)"},"follower_count":{"type":"number","format":"double","description":"Number of followers of this feed"},"following_count":{"type":"number","format":"double","description":"Number of feeds this feed follows"},"group_id":{"type":"string","description":"Group this feed belongs to"},"id":{"type":"string","description":"Unique identifier for the feed"},"member_count":{"type":"number","format":"double","description":"Number of members in this feed"},"name":{"type":"string","description":"Name of the feed"},"pin_count":{"type":"number","format":"double","description":"Number of pinned activities in this feed"},"updated_at":{"type":"string","format":"date-time","description":"When the feed was last updated"},"created_by":{"$ref":"#/components/schemas/UserResponse"},"deleted_at":{"type":"string","format":"date-time","description":"When the feed was deleted"},"visibility":{"type":"string","enum":["public","visible","followers","members","private"],"description":"Visibility setting for the feed"},"filter_tags":{"items":{"type":"string"},"type":"array","description":"Tags used for filtering feeds"},"own_capabilities":{"items":{"$ref":"#/components/schemas/FeedOwnCapability"},"type":"array","description":"Capabilities the current user has for this feed"},"own_followings":{"items":{"$ref":"#/components/schemas/FollowResponse"},"type":"array","description":"Follow relationships where the feed owner’s feeds are following the current user's feeds"},"own_follows":{"items":{"$ref":"#/components/schemas/FollowResponse"},"type":"array","description":"Follow relationships where the current user's feeds are following this feed"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the feed"},"location":{"$ref":"#/components/schemas/Location"},"own_membership":{"$ref":"#/components/schemas/FeedMemberResponse"}},"required":["activity_count","created_at","description","feed","follower_count","following_count","group_id","id","member_count","name","pin_count","updated_at","created_by"],"type":"object","additionalProperties":false},"FollowResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the follow relationship was created"},"follower_role":{"type":"string","description":"Role of the follower (source user) in the follow relationship"},"push_preference":{"type":"string","enum":["all","none"],"description":"Push preference for notifications. One of: all, none"},"status":{"type":"string","enum":["accepted","pending","rejected"],"description":"Status of the follow relationship. One of: accepted, pending, rejected"},"updated_at":{"type":"string","format":"date-time","description":"When the follow relationship was last updated"},"source_feed":{"$ref":"#/components/schemas/FeedResponse"},"target_feed":{"$ref":"#/components/schemas/FeedResponse"},"request_accepted_at":{"type":"string","format":"date-time","description":"When the follow request was accepted"},"request_rejected_at":{"type":"string","format":"date-time","description":"When the follow request was rejected"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the follow relationship"}},"required":["created_at","follower_role","push_preference","status","updated_at","source_feed","target_feed"],"type":"object","additionalProperties":false},"Location":{"properties":{"lat":{"type":"number","format":"double","description":"Latitude coordinate"},"lng":{"type":"number","format":"double","description":"Longitude coordinate"}},"required":["lat","lng"],"type":"object","additionalProperties":false},"MembershipLevelResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the membership level was created"},"id":{"type":"string","description":"Unique identifier for the membership level"},"name":{"type":"string","description":"Display name for the membership level"},"priority":{"type":"number","format":"double","description":"Priority level"},"updated_at":{"type":"string","format":"date-time","description":"When the membership level was last updated"},"tags":{"items":{"type":"string"},"type":"array","description":"Activity tags this membership level gives access to"},"description":{"type":"string","description":"Description of the membership level"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the membership level"}},"required":["created_at","id","name","priority","updated_at","tags"],"type":"object","additionalProperties":false},"FeedMemberResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the membership was created"},"role":{"type":"string","description":"Role of the member in the feed"},"status":{"type":"string","enum":["member","pending","rejected"],"description":"Status of the membership. One of: member, pending, rejected"},"updated_at":{"type":"string","format":"date-time","description":"When the membership was last updated"},"user":{"$ref":"#/components/schemas/UserResponse"},"invite_accepted_at":{"type":"string","format":"date-time","description":"When the invite was accepted"},"invite_rejected_at":{"type":"string","format":"date-time","description":"When the invite was rejected"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the membership"},"membership_level":{"$ref":"#/components/schemas/MembershipLevelResponse"}},"required":["created_at","role","status","updated_at","user"],"type":"object","additionalProperties":false},"Record_string.number_":{"properties":{},"additionalProperties":{"type":"number","format":"double"},"type":"object","description":"Construct a type with a set of properties K of type T"},"NotificationComment":{"properties":{"comment":{"type":"string"},"id":{"type":"string"},"user_id":{"type":"string"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array"}},"required":["comment","id","user_id"],"type":"object","additionalProperties":false},"NotificationParentActivity":{"properties":{"id":{"type":"string"},"text":{"type":"string"},"type":{"type":"string"},"user_id":{"type":"string"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array"}},"required":["id"],"type":"object","additionalProperties":false},"NotificationTarget":{"properties":{"id":{"type":"string","description":"The ID of the target (activity ID or user ID)"},"name":{"type":"string","description":"The name of the target user (for user targets like follows)"},"text":{"type":"string","description":"The text content of the target activity (for activity targets)"},"type":{"type":"string","description":"The type of the target activity (for activity targets)"},"user_id":{"type":"string","description":"The ID of the user who created the target activity (for activity targets)"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","description":"Attachments on the target activity (for activity targets)"},"comment":{"$ref":"#/components/schemas/NotificationComment"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data from the target activity"},"parent_activity":{"$ref":"#/components/schemas/NotificationParentActivity"}},"required":["id"],"type":"object","additionalProperties":false},"NotificationTrigger":{"properties":{"text":{"type":"string","description":"Human-readable text describing the notification"},"type":{"type":"string","description":"The type of notification (mention, reaction, comment, follow, etc.)"},"comment":{"$ref":"#/components/schemas/NotificationComment"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data from the trigger object (comment, reaction, etc.)"}},"required":["text","type"],"type":"object","additionalProperties":false},"NotificationContext":{"properties":{"target":{"$ref":"#/components/schemas/NotificationTarget"},"trigger":{"$ref":"#/components/schemas/NotificationTrigger"}},"type":"object","additionalProperties":false},"PollVoteResponseData":{"properties":{"created_at":{"type":"string","format":"date-time"},"id":{"type":"string"},"option_id":{"type":"string"},"poll_id":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"answer_text":{"type":"string"},"is_answer":{"type":"boolean"},"user_id":{"type":"string"},"user":{"$ref":"#/components/schemas/UserResponse"}},"required":["created_at","id","option_id","poll_id","updated_at"],"type":"object","additionalProperties":false},"PollOptionResponseData":{"properties":{"id":{"type":"string"},"text":{"type":"string"},"custom":{"$ref":"#/components/schemas/Record_string.any_"}},"required":["id","text","custom"],"type":"object","additionalProperties":false},"Record_string.PollVoteResponseData-Array_":{"properties":{},"additionalProperties":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array"},"type":"object","description":"Construct a type with a set of properties K of type T"},"PollResponseData":{"properties":{"allow_answers":{"type":"boolean"},"allow_user_suggested_options":{"type":"boolean"},"answers_count":{"type":"number","format":"double"},"created_at":{"type":"string","format":"date-time"},"created_by_id":{"type":"string"},"description":{"type":"string"},"enforce_unique_vote":{"type":"boolean"},"id":{"type":"string"},"name":{"type":"string"},"updated_at":{"type":"string","format":"date-time"},"vote_count":{"type":"number","format":"double"},"voting_visibility":{"type":"string"},"latest_answers":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array"},"options":{"items":{"$ref":"#/components/schemas/PollOptionResponseData"},"type":"array"},"own_votes":{"items":{"$ref":"#/components/schemas/PollVoteResponseData"},"type":"array"},"custom":{"$ref":"#/components/schemas/Record_string.any_"},"latest_votes_by_option":{"$ref":"#/components/schemas/Record_string.PollVoteResponseData-Array_"},"vote_counts_by_option":{"$ref":"#/components/schemas/Record_string.number_"},"is_closed":{"type":"boolean"},"max_votes_allowed":{"type":"number","format":"double"},"created_by":{"$ref":"#/components/schemas/UserResponse"}},"required":["allow_answers","allow_user_suggested_options","answers_count","created_at","created_by_id","description","enforce_unique_vote","id","name","updated_at","vote_count","voting_visibility","latest_answers","options","own_votes","custom","latest_votes_by_option","vote_counts_by_option"],"type":"object","additionalProperties":false},"UserProfileType":{"enum":["newApplicant","fan","athlete","trainer","sportsPersonality","consumer","creator","bzzrAdmin"],"type":"string"},"UserProfileSignupStatus":{"enum":["needsReview","approved","denied","incomplete","system"],"type":"string"},"Partial_Record_UserSocialNetwork.string__":{"properties":{"Instagram":{"type":"string"},"YouTube":{"type":"string"},"TikTok":{"type":"string"},"X":{"type":"string"},"Facebook":{"type":"string"},"LinkTree":{"type":"string"},"Other":{"type":"string"}},"type":"object","description":"Make all properties in T optional"},"ContentCounts":{"properties":{"posts":{"type":"number","format":"double"},"hypes":{"type":"number","format":"double"},"videos":{"type":"number","format":"double"},"sidecasts":{"type":"number","format":"double"},"playlists":{"type":"number","format":"double"},"podcasts":{"type":"number","format":"double","description":"Absent until the backfill has run in this environment — see scripts/migrateUserContentCounts.ts."}},"required":["posts","hypes","videos","sidecasts","playlists"],"type":"object","additionalProperties":false},"UserFollowedProfileViewModel":{"properties":{"id":{"type":"string"},"displayName":{"type":"string","nullable":true},"disabled":{"type":"boolean"},"bzzrHandle":{"type":"string","nullable":true},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/UserProfileType"},"sport":{"type":"string","nullable":true},"team":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"personalUrl":{"type":"string","nullable":true},"personalUrlName":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"signupStatus":{"$ref":"#/components/schemas/UserProfileSignupStatus"},"socialLinks":{"$ref":"#/components/schemas/Partial_Record_UserSocialNetwork.string__"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"claimedEntityId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"},"followersCount":{"type":"number","format":"double","nullable":true},"followingsCount":{"type":"number","format":"double","nullable":true},"subscribersCount":{"type":"number","format":"double","nullable":true},"isFollowed":{"type":"boolean","nullable":true},"isSubscribed":{"type":"boolean","nullable":true},"isBlocked":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"contentCounts":{"$ref":"#/components/schemas/ContentCounts"},"socialFeedAmplifier":{"type":"number","format":"double"}},"required":["id","displayName","disabled","bzzrHandle","photo","backgroundImage","type","sport","team","position","bio","personalUrl","personalUrlName","tags","signupStatus","socialLinks","createdAt","updatedAt","claimedEntityId","followersCount","followingsCount","subscribersCount","isFollowed","isSubscribed","isBlocked","isBlockedByMe","contentCounts","socialFeedAmplifier"],"type":"object","additionalProperties":false},"PaidProductsState":{"enum":["none","available","purchased"],"type":"string"},"UserProfileWithFeedAndPaidStateViewModel":{"properties":{"id":{"type":"string"},"displayName":{"type":"string","nullable":true},"disabled":{"type":"boolean"},"bzzrHandle":{"type":"string","nullable":true},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/UserProfileType"},"sport":{"type":"string","nullable":true},"team":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"personalUrl":{"type":"string","nullable":true},"personalUrlName":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"signupStatus":{"$ref":"#/components/schemas/UserProfileSignupStatus"},"socialLinks":{"$ref":"#/components/schemas/Partial_Record_UserSocialNetwork.string__"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"claimedEntityId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"},"followersCount":{"type":"number","format":"double","nullable":true},"followingsCount":{"type":"number","format":"double","nullable":true},"subscribersCount":{"type":"number","format":"double","nullable":true},"isFollowed":{"type":"boolean","nullable":true},"isSubscribed":{"type":"boolean","nullable":true},"isBlocked":{"type":"boolean"},"isBlockedByMe":{"type":"boolean"},"contentCounts":{"$ref":"#/components/schemas/ContentCounts"},"socialFeedAmplifier":{"type":"number","format":"double"},"paidProductsState":{"$ref":"#/components/schemas/PaidProductsState","description":"PAID half. `paidProductsState` is the paywall state and `product` the currently purchasable\nStripe product (null off-season, or when the creator has nothing paid). A zero-cost grant never\nmoves this to `purchased` — free access is not paid access."},"product":{"allOf":[{"$ref":"#/components/schemas/ProductViewModel"}],"nullable":true},"freeProduct":{"allOf":[{"$ref":"#/components/schemas/ProductViewModel"}],"nullable":true,"description":"FREE half. The creator's claimable zero-cost product, or null; at most ONE per creator, its\nbreadth expressed by the entitlement set. Independent of the paid half — a free-only creator\nreports `paidProductsState: none` with this populated. No state enum: `freeProduct.isSubscribed`\nanswers claim-vs-claimed, and claiming is `POST /subscriptions/free`, not Stripe checkout."}},"required":["id","displayName","disabled","bzzrHandle","photo","backgroundImage","type","sport","team","position","bio","personalUrl","personalUrlName","tags","signupStatus","socialLinks","createdAt","updatedAt","claimedEntityId","followersCount","followingsCount","subscribersCount","isFollowed","isSubscribed","isBlocked","isBlockedByMe","contentCounts","socialFeedAmplifier","paidProductsState","product","freeProduct"],"type":"object","additionalProperties":false},"DeviceCodeViewModel":{"description":"Response of `POST /public/auth/device/code`.","properties":{"deviceCode":{"type":"string","description":"SECRET — held by the TV, sent on every poll. Never displayed."},"userCode":{"type":"string","description":"6 digits, shown on screen / typed manually."},"verificationUri":{"type":"string","description":"Manual fallback URL (text)."},"verificationUriComplete":{"type":"string","description":"URL with the code pre-filled — encoded into the QR."},"expiresAt":{"type":"string","description":"ISO-8601 UTC — when this code stops being valid."},"interval":{"type":"number","format":"double","description":"Minimum seconds between polls."}},"required":["deviceCode","userCode","verificationUri","verificationUriComplete","expiresAt","interval"],"type":"object","additionalProperties":false},"DeviceCodeRequest":{"description":"Body of `POST /public/auth/device/code`.","properties":{"clientId":{"type":"string","description":"Identifies the TV client (e.g. `bzzr-tv`). The issued `deviceCode` is bound to it."},"platform":{"type":"string","description":"TV platform label — normalized to lower-case server-side and free-form so new TV OSes aren't\nrejected. Common values: androidtv | firetv | vega | tvos | roku | webos | tizen |\ngoogletv | vizio. Mostly informational, with one behavioural effect: store-restricted\nplatforms (`firetv`, `vega`) get the sign-in-only activation page in `verificationUri`;\neverything else gets the ordinary one.","minLength":1,"maxLength":32},"deviceName":{"type":"string","description":"Optional human-readable device name shown on the phone approval screen.","maxLength":120}},"required":["clientId","platform"],"type":"object","additionalProperties":false},"DeviceTokenPollStatus.Pending":{"enum":["pending"],"type":"string"},"DeviceTokenPendingViewModel":{"description":"Not approved yet — keep polling.","properties":{"status":{"$ref":"#/components/schemas/DeviceTokenPollStatus.Pending"}},"required":["status"],"type":"object","additionalProperties":false},"DeviceTokenPollStatus.SlowDown":{"enum":["slowDown"],"type":"string"},"DeviceTokenSlowDownViewModel":{"description":"Poll less frequently — the TV should bump its interval to `interval`.","properties":{"status":{"$ref":"#/components/schemas/DeviceTokenPollStatus.SlowDown"},"interval":{"type":"number","format":"double"}},"required":["status","interval"],"type":"object","additionalProperties":false},"DeviceTokenPollStatus.Authorized":{"enum":["authorized"],"type":"string"},"DeviceTokenAuthorizedViewModel":{"description":"Approved — login complete. `token` is the Firebase ID token for the `jwt` bearer scheme.","properties":{"status":{"$ref":"#/components/schemas/DeviceTokenPollStatus.Authorized"},"token":{"type":"string"},"refreshToken":{"type":"string","description":"Firebase refresh token — the TV refreshes `token` via Google's securetoken endpoint."},"expiresAt":{"type":"string","description":"ISO-8601 UTC — when `token` expires."}},"required":["status","token","refreshToken","expiresAt"],"type":"object","additionalProperties":false},"DeviceTokenPollStatus.Expired":{"enum":["expired"],"type":"string"},"DeviceTokenExpiredViewModel":{"description":"The code expired before approval.","properties":{"status":{"$ref":"#/components/schemas/DeviceTokenPollStatus.Expired"}},"required":["status"],"type":"object","additionalProperties":false},"DeviceTokenViewModel":{"anyOf":[{"$ref":"#/components/schemas/DeviceTokenPendingViewModel"},{"$ref":"#/components/schemas/DeviceTokenSlowDownViewModel"},{"$ref":"#/components/schemas/DeviceTokenAuthorizedViewModel"},{"$ref":"#/components/schemas/DeviceTokenExpiredViewModel"}],"description":"Discriminated union returned by `POST /public/auth/device/token` (always HTTP 200)."},"DeviceTokenRequest":{"description":"Body of `POST /public/auth/device/token`.","properties":{"clientId":{"type":"string"},"deviceCode":{"type":"string","description":"The secret device code held by the TV, issued by `POST /public/auth/device/code`."}},"required":["clientId","deviceCode"],"type":"object","additionalProperties":false},"CompCodeLookupResponse":{"description":"Pre-auth, read-only code check. Minimal by design (no status reason) to limit code enumeration.","properties":{"valid":{"type":"boolean","description":"Whether the code is currently redeemable (invalid / expired / revoked → false)."},"interval":{"$ref":"#/components/schemas/ProductInterval","description":"The plan the code grants, in our native vocabulary — only present when `valid`. `season` =\nseason pass (access through season end, not 365 days), `monthly` = monthly subscription."},"creatorId":{"type":"string","description":"The partner (entitlement creator) the code's product belongs to — only present when `valid`. The\nFE routes a **monthly** code into the creator-scoped checkout (`/checkout/seasonal-pass/{creatorId}`)."},"expiresAt":{"type":"string","nullable":true,"description":"When the unredeemed code expires (ISO) — only present when `valid`."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentViewModel"}],"nullable":true,"description":"Terms the fan must accept to redeem this code, or null when the product's partner asks nothing.\n\nDelivered here because the redeem page cannot get it anywhere else: the code's product may not\nappear in the creator catalog at all (deactivated, outside its sale window, or replaced by an\nin-window offer). Echo `partnerId` + `version` in the `consent` field of the redeem call."}},"required":["valid"],"type":"object","additionalProperties":false},"LookupCompCodeRequest":{"properties":{"code":{"type":"string","description":"The code to check; matched case-insensitively."}},"required":["code"],"type":"object","additionalProperties":false},"PublicChannelOwnerViewModel":{"description":"The channel's owner on the public page.","properties":{"id":{"type":"string"},"displayName":{"type":"string"},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"bzzrHandle":{"type":"string","nullable":true},"isVerified":{"type":"boolean"}},"required":["id","displayName","photo","bzzrHandle","isVerified"],"type":"object","additionalProperties":false},"PublicChannelFeedViewModel":{"description":"A tab on the public page and what it airs.","properties":{"id":{"type":"string"},"name":{"type":"string"},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"orderIndex":{"type":"number","format":"double"},"nowPlaying":{"allOf":[{"$ref":"#/components/schemas/ChannelProgramViewModel"}],"nullable":true,"description":"What airs now; `null` in a gap between programs or on a tab without a guide."},"upNext":{"items":{"$ref":"#/components/schemas/ChannelProgramViewModel"},"type":"array","description":"Up to two programs after it (the next ones during a gap); empty on a tab without a guide."}},"required":["id","name","logo","orderIndex","nowPlaying","upNext"],"type":"object","additionalProperties":false},"PublicChannelViewModel":{"description":"The public channel page (`GET /public/channels/{channelId}`): every active tab in display order, and nothing per\nviewer or about access.","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"Also the link preview (OG) image."},"owner":{"allOf":[{"$ref":"#/components/schemas/PublicChannelOwnerViewModel"}],"nullable":true},"feeds":{"items":{"$ref":"#/components/schemas/PublicChannelFeedViewModel"},"type":"array"}},"required":["id","name","description","thumbnail","backgroundImage","owner","feeds"],"type":"object","additionalProperties":false},"VenueAddress":{"properties":{"city":{"type":"string"},"state":{"type":"string"},"zipCode":{"type":"string","nullable":true}},"required":["city","state","zipCode"],"type":"object","additionalProperties":false},"Image":{"properties":{"href":{"type":"string"},"width":{"type":"number","format":"double"},"height":{"type":"number","format":"double"},"alt":{"type":"string"},"rel":{"items":{"type":"string"},"type":"array"},"lastUpdated":{"type":"string","nullable":true}},"required":["href","width","height","alt","rel","lastUpdated"],"type":"object","additionalProperties":false},"Venue":{"properties":{"id":{"type":"string"},"fullName":{"type":"string"},"address":{"$ref":"#/components/schemas/VenueAddress"},"grass":{"type":"boolean","nullable":true},"indoor":{"type":"boolean","nullable":true},"images":{"items":{"$ref":"#/components/schemas/Image"},"type":"array"},"sourceRef":{"type":"string"}},"required":["id","fullName","address","grass","indoor","images","sourceRef"],"type":"object","additionalProperties":false},"EventCompetitor":{"properties":{"id":{"type":"string"},"uid":{"type":"string"},"type":{"anyOf":[{"type":"string"},{"type":"string","enum":["team"]}]},"order":{"type":"number","format":"double"},"homeAway":{"type":"string","enum":["home","away"]},"winner":{"type":"boolean","nullable":true},"team":{"$ref":"#/components/schemas/CompetitorTeam"},"score":{"type":"string"},"sourceRef":{"type":"string"}},"required":["id","uid","type","order","homeAway","winner","team","score","sourceRef"],"type":"object","additionalProperties":false},"PlayType":{"properties":{"id":{"type":"string"},"text":{"type":"string"},"alternativeText":{"type":"string"},"type":{"type":"string"}},"required":["id","text","alternativeText","type"],"type":"object","additionalProperties":false},"Play":{"properties":{"id":{"type":"string"},"atBatId":{"type":"string"},"type":{"$ref":"#/components/schemas/PlayType"},"text":{"type":"string"},"scoreValue":{"type":"number","format":"double"},"team":{"properties":{"id":{"type":"string"}},"required":["id"],"type":"object"},"summaryType":{"type":"string"}},"required":["id","atBatId","type","text","scoreValue","team","summaryType"],"type":"object","additionalProperties":false},"AthleteDetails":{"properties":{"sourceId":{"type":"string"},"fullName":{"type":"string"},"displayName":{"type":"string"},"shortName":{"type":"string"},"headshot":{"type":"string"},"jersey":{"type":"string"},"position":{"type":"string"}},"required":["sourceId","fullName","displayName","shortName","headshot","jersey","position"],"type":"object","additionalProperties":false},"Player":{"properties":{"playerId":{"type":"number","format":"double"},"period":{"type":"number","format":"double"},"athlete":{"$ref":"#/components/schemas/AthleteDetails"},"summary":{"type":"string"}},"required":["playerId","period","athlete","summary"],"type":"object","additionalProperties":false},"EventCompetitionSituation":{"properties":{"lastPlay":{"$ref":"#/components/schemas/Play"},"balls":{"type":"number","format":"double","nullable":true},"strikes":{"type":"number","format":"double","nullable":true},"outs":{"type":"number","format":"double","nullable":true},"pitcher":{"allOf":[{"$ref":"#/components/schemas/Player"}],"nullable":true},"batter":{"allOf":[{"$ref":"#/components/schemas/Player"}],"nullable":true},"onFirst":{"type":"boolean","nullable":true},"onSecond":{"type":"boolean","nullable":true},"onThird":{"type":"boolean","nullable":true}},"required":["lastPlay","balls","strikes","outs","pitcher","batter","onFirst","onSecond","onThird"],"type":"object","additionalProperties":false},"EventStatusType":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"state":{"type":"string"},"completed":{"type":"boolean"},"description":{"type":"string"},"detail":{"type":"string"},"shortDetail":{"type":"string"}},"required":["id","name","state","completed","description","detail","shortDetail"],"type":"object","additionalProperties":false},"EventStatus":{"properties":{"clock":{"type":"number","format":"double"},"displayClock":{"type":"string"},"period":{"type":"number","format":"double"},"type":{"$ref":"#/components/schemas/EventStatusType"}},"required":["clock","displayClock","period","type"],"type":"object","additionalProperties":false},"EventCompetition":{"properties":{"id":{"type":"string"},"guid":{"type":"string"},"uid":{"type":"string"},"date":{"type":"string"},"timeOfDay":{"anyOf":[{"type":"string"},{"type":"string","enum":["NIGHT","DAY"]}]},"attendance":{"type":"number","format":"double"},"duration":{"type":"string"},"venue":{"allOf":[{"$ref":"#/components/schemas/Venue"}],"nullable":true},"competitors":{"items":{"$ref":"#/components/schemas/EventCompetitor"},"type":"array"},"situation":{"allOf":[{"$ref":"#/components/schemas/EventCompetitionSituation"}],"nullable":true},"status":{"$ref":"#/components/schemas/EventStatus"},"sourceRef":{"type":"string"}},"required":["id","guid","uid","date","timeOfDay","attendance","duration","venue","competitors","situation","status","sourceRef"],"type":"object","additionalProperties":false},"CalendarEvent":{"properties":{"id":{"type":"string"},"date":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string"},"competitions":{"items":{"$ref":"#/components/schemas/EventCompetition"},"type":"array"},"status":{"$ref":"#/components/schemas/EventStatus"},"sport":{"type":"string"},"league":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"sourceRef":{"type":"string"},"sourceId":{"type":"string"},"sourceUid":{"type":"string"}},"required":["id","date","name","shortName","competitions","status","sport","league","createdAt","updatedAt","sourceRef","sourceId","sourceUid"],"type":"object","additionalProperties":false},"DocumentsList_CalendarEvent_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/CalendarEvent"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"AppVersionCheckViewModel":{"description":"Result of `GET /public/app-version/check`.","properties":{"platform":{"type":"string"},"currentVersion":{"type":"string"},"minSupportedVersion":{"type":"string","nullable":true,"description":"Null when no rule is configured for this platform — the check fails open."},"updateRequired":{"type":"boolean"},"updateUrl":{"type":"string","nullable":true},"message":{"type":"string","nullable":true}},"required":["platform","currentVersion","minSupportedVersion","updateRequired","updateUrl","message"],"type":"object","additionalProperties":false},"StadiumAudioListenerCredentialsViewModel":{"description":"Paired SUBSCRIBE-only AWS IVS Real-Time participant token, returned\nalongside every publisher-facing credential payload. Lets the broadcaster\nrun a self-test by subscribing to their own stage from a separate client\n(the PUBLISH token alone can't be reused — IVS Real-Time rejects two\nconcurrent sessions under the same participant identity).\n\n**Consumption.** This token only works with the AWS Broadcast SDK\n(Web / iOS / Android) — `IVSBroadcastClient.Stage(token, strategy)` or\nthe native equivalent. AWS does NOT expose a public raw WHEP endpoint;\nthe SDK negotiates signaling internally using the `topic` / `whip_url`\nclaims baked into the token. Generic WHEP clients (`whep-cli`, browser\n`RTCPeerConnection` against `global.whep.live-video.net`) will not\nconnect.","properties":{"token":{"type":"string"},"expiresAt":{"type":"string"}},"required":["token","expiresAt"],"type":"object","additionalProperties":false},"StadiumAudioActiveResponse":{"anyOf":[{"properties":{"active":{"type":"boolean","enum":[false],"nullable":false}},"required":["active"],"type":"object"},{"properties":{"listener":{"$ref":"#/components/schemas/StadiumAudioListenerCredentialsViewModel"},"stageArn":{"type":"string"},"expiresAt":{"type":"string"},"token":{"type":"string"},"whipEndpoint":{"type":"string"},"liveId":{"type":"string"},"active":{"type":"boolean","enum":[true],"nullable":false}},"required":["listener","stageArn","expiresAt","token","whipEndpoint","liveId","active"],"type":"object"}],"description":"Polled by the publisher (Audacy encoder integration) every ~30s against\n`GET /liveSources/{id}/stadium-audio/active`. When `active:false` the\npublisher should idle. When `active:true` the publisher should push WHIP\nto `whipEndpoint` with the bearer `token` until either the live ends\n(next poll returns `active:false`) or `liveId` changes (different\nbroadcast — publisher tears down and reconnects).\n\n`listener` is a paired SUBSCRIBE-only token minted fresh on every active\nresponse — convenience handle so the publisher can run an end-to-end\nself-test by subscribing to their own stream from a separate client.\nThe broadcaster `token` itself carries PUBLISH+SUBSCRIBE capabilities,\nbut AWS IVS Real-Time rejects two concurrent sessions under the same\nparticipant identity, so a publishing encoder can't reuse its own token\nto listen at the same time. Distinct `userId` on the listener token\nfixes that."},"PartnerSubscriptionsProductRowViewModel":{"properties":{"subscribers":{"type":"number","format":"double","description":"Distinct people."},"subscriptions":{"type":"number","format":"double","description":"Purchases — higher than `subscribers` whenever anyone bought more than once."},"productId":{"type":"number","format":"double","description":"Links to `PartnerProductViewModel.id` in the products catalog."},"productCode":{"type":"string"},"productName":{"type":"string","description":"What the product is called — the SKU is an identifier, not a label."},"productSource":{"type":"string","description":"Which rail it sells on — a `ProductSource` value (`stripe`, `free`, `app_store`, `play_store`).\nPlain string like `PartnerSubscriptionsSourceRowViewModel.source` beside it: breakdown rows carry\nlabels, and a rail added later must not break the dashboard build. The catalog model is where the\nclosed enum lives.\n\nLoad-bearing because a zero-cost product and its paid counterpart share a SKU: without it two\nrows of this breakdown are identical apart from `productId`, and reading the rail would mean\njoining every row against the catalog."},"withAccess":{"type":"number","format":"double","description":"People entitled right now — a purchase of theirs is in an access state (active, under cancellation, replay tail)."},"compSubscriptions":{"type":"number","format":"double","description":"Purchases redeemed with a comp code rather than paid for — the code-campaign share."}},"required":["subscribers","subscriptions","productId","productCode","productName","productSource","withAccess","compSubscriptions"],"type":"object","additionalProperties":false},"SubscriptionState":{"enum":["init","active","under_cancellation","replay_tail","past_due","paused","expired","refunded"],"type":"string"},"PartnerSubscriptionsStateRowViewModel":{"properties":{"subscribers":{"type":"number","format":"double","description":"Distinct people."},"subscriptions":{"type":"number","format":"double","description":"Purchases — higher than `subscribers` whenever anyone bought more than once."},"state":{"$ref":"#/components/schemas/SubscriptionState","description":"Never `replay_tail`: a partner sees it folded into `active`. `past_due` (a renewal under retry, access withheld) is its own row."}},"required":["subscribers","subscriptions","state"],"type":"object","additionalProperties":false},"PartnerSubscriptionsSourceRowViewModel":{"properties":{"subscribers":{"type":"number","format":"double","description":"Distinct people."},"subscriptions":{"type":"number","format":"double","description":"Purchases — higher than `subscribers` whenever anyone bought more than once."},"source":{"type":"string","description":"Which rail it was taken out on: `stripe`, `free`, `app_store` or `play_store`."}},"required":["subscribers","subscriptions","source"],"type":"object","additionalProperties":false},"PartnerSubscriptionsSummaryViewModel":{"description":"The partner's subscriber numbers — AGGREGATES ONLY, by decision: the partner surface never\nlists people, so no roster, no emails, no profiles, no per-person rows of any kind. `byState`\nis always the full breakdown (there is deliberately no state filter — a filtered total reads\nas \"our subscribers\" while silently meaning something narrower), and `bySource` is what keeps\nthe numbers reconcilable: a store purchase is a real subscriber that no Stripe-only product\nview will show.","properties":{"subscribers":{"type":"number","format":"double","description":"Distinct people."},"subscriptions":{"type":"number","format":"double","description":"Purchases — higher than `subscribers` whenever anyone bought more than once."},"withAccess":{"type":"number","format":"double"},"compSubscriptions":{"type":"number","format":"double"},"byProduct":{"items":{"$ref":"#/components/schemas/PartnerSubscriptionsProductRowViewModel"},"type":"array"},"byState":{"items":{"$ref":"#/components/schemas/PartnerSubscriptionsStateRowViewModel"},"type":"array"},"bySource":{"items":{"$ref":"#/components/schemas/PartnerSubscriptionsSourceRowViewModel"},"type":"array"},"scope":{"properties":{"productIds":{"items":{"type":"number","format":"double"},"type":"array"}},"required":["productIds"],"type":"object","description":"What was actually counted, echoed back so an empty summary caused by \"no products bound to\nthis partner yet\" reads differently from \"no subscribers yet\"."}},"required":["subscribers","subscriptions","withAccess","compSubscriptions","byProduct","byState","bySource","scope"],"type":"object","additionalProperties":false},"Partial_Record_PartnerModule.boolean__":{"properties":{"codes":{"type":"boolean"},"analytics":{"type":"boolean"},"moderation":{"type":"boolean"},"subscriptions":{"type":"boolean"},"lives":{"type":"boolean"},"channels":{"type":"boolean"}},"type":"object","description":"Make all properties in T optional"},"PartnerModules":{"$ref":"#/components/schemas/Partial_Record_PartnerModule.boolean__","description":"The `modules` setting — a module absent from the map is OFF."},"ReplayRetentionKind.Duration":{"enum":["duration"],"type":"string"},"ReplayRetentionUnit":{"description":"Units a {@link ReplayRetentionKind.Duration} can be expressed in. Calendar-variable units\nare safe here because the window is resolved to an absolute instant ONCE, at the Ended\ntransition — nothing ever does millisecond arithmetic on \"a month\" at read time.","enum":["hours","days","months"],"type":"string"},"ReplayRetentionKind.UntilSeasonEnd":{"enum":["untilSeasonEnd"],"type":"string"},"ReplayRetentionKind.Unlimited":{"enum":["unlimited"],"type":"string"},"ReplayRetention":{"anyOf":[{"properties":{"unit":{"$ref":"#/components/schemas/ReplayRetentionUnit"},"amount":{"type":"number","format":"double"},"kind":{"$ref":"#/components/schemas/ReplayRetentionKind.Duration"}},"required":["unit","amount","kind"],"type":"object"},{"properties":{"kind":{"$ref":"#/components/schemas/ReplayRetentionKind.UntilSeasonEnd"}},"required":["kind"],"type":"object"},{"properties":{"kind":{"$ref":"#/components/schemas/ReplayRetentionKind.Unlimited"}},"required":["kind"],"type":"object"}],"description":"The `replayRetention` setting. An absent row means \"nothing configured\" and resolves to\n{@link ReplayRetentionKind.Unlimited} — giving a partner a limit is an explicit act."},"VodRetention":{"description":"The `vodRetention` setting — the grace period between a video's soft-delete and the\nirreversible purge of its Mux asset and GCS artifacts.\n\nA flat `{ days }` rather than a {@link ReplayRetention}-style union on purpose: every\nvariant that union exists for is meaningless here. \"Unlimited\" would be a partner asking\nus to keep deleted media forever, which is the opposite of what these deals ask for, and\na season anchor cannot describe a window that starts when someone presses delete.","properties":{"days":{"type":"number","format":"double","description":"Whole days from `deletionData.deletedAt` to the purge. Bounded by\n`MIN_VOD_RETENTION_DAYS`/`MAX_VOD_RETENTION_DAYS`; the floor is 2 rather than 1 so the\npartner keeps a usable undo window — at 1 day a same-day mistake is unrecoverable."}},"required":["days"],"type":"object","additionalProperties":false},"PartnerSettingsViewModel":{"description":"Every setting of one tenant — the partner settings KV resolved in one read.\n\nReads are grouped because the dashboard shell needs most of them at once; WRITES stay\nper-key, since `modules` is privilege-granting and must remain a global-admin act while\n`replayRetention` is partner-editable behind the Lives module.","properties":{"modules":{"$ref":"#/components/schemas/PartnerModules"},"theme":{"allOf":[{"$ref":"#/components/schemas/PartnerTheme"}],"nullable":true},"replayRetention":{"allOf":[{"$ref":"#/components/schemas/ReplayRetention"}],"nullable":true,"description":"What the partner explicitly configured, or null when nothing is set."},"effectiveReplayRetention":{"$ref":"#/components/schemas/ReplayRetention","description":"What is actually applied right now — the configured value, or the platform default when\nthere is none. Spelled out so the dashboard never duplicates the \"null means unlimited\"\nrule the whole replay window turns on."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentViewModel"}],"nullable":true,"description":"The consent statement fans accept before buying this tenant's products, or null when they\nrequire none. Same shape the checkout renders, so the dashboard can preview it exactly as a\nfan sees it — `template`/`values`/`links` populate the editor, `statement` is the preview.\n\n`version` is read-only here: it moves when the text changes, or when a `republish` write says\nthe policy behind an unchanged link did."},"vodRetention":{"allOf":[{"$ref":"#/components/schemas/VodRetention"}],"nullable":true,"description":"What the partner explicitly configured, or null when nothing is set."},"effectiveVodRetention":{"$ref":"#/components/schemas/VodRetention","description":"What is actually applied right now — the configured value, or the platform's 40 days when\nthere is none. Spelled out so the dashboard never duplicates the default."}},"required":["modules","theme","replayRetention","effectiveReplayRetention","partnerConsent","vodRetention","effectiveVodRetention"],"type":"object","additionalProperties":false},"PartnerSettingKey.Theme":{"enum":["theme"],"type":"string"},"PartnerSettingKey.ReplayRetention":{"enum":["replayRetention"],"type":"string"},"PartnerSettingKey.PartnerConsent":{"enum":["partnerConsent"],"type":"string"},"PartnerConsentInput":{"description":"What an admin writes. Not {@link PartnerConsent}: version and hash are derived, and a\ncaller-set version could collide with one acceptance records already point at.","properties":{"template":{"type":"string"},"values":{"$ref":"#/components/schemas/Record_string.string_"},"links":{"$ref":"#/components/schemas/Record_string.PartnerConsentLink_"},"republish":{"type":"boolean","description":"Bump the version despite byte-identical text — the partner changed the policy their link\npoints to, which the content hash cannot see."},"reason":{"type":"string","description":"Free text stored on the version, e.g. \"Rangers updated their privacy policy 2026-08-01\"."}},"required":["template","values"],"type":"object","additionalProperties":false},"UpdatePartnerSettingRequest":{"anyOf":[{"properties":{"value":{"allOf":[{"$ref":"#/components/schemas/PartnerTheme"}],"nullable":true},"key":{"$ref":"#/components/schemas/PartnerSettingKey.Theme"}},"required":["value","key"],"type":"object"},{"properties":{"value":{"allOf":[{"$ref":"#/components/schemas/ReplayRetention"}],"nullable":true},"key":{"$ref":"#/components/schemas/PartnerSettingKey.ReplayRetention"}},"required":["value","key"],"type":"object"},{"properties":{"value":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentInput"}],"nullable":true},"key":{"$ref":"#/components/schemas/PartnerSettingKey.PartnerConsent"}},"required":["value","key"],"type":"object"}],"description":"Body of `PUT /partner/{slug}/settings` — deliberately EXCLUDES `modules`.\n\nModules decide which surfaces a tenant may reach, so the tenant-facing route must not be\nable to express a write to them at all. A runtime rank check would do the same job, but a\ntype that cannot represent the request is not something a future refactor can weaken by\naccident. Granting or revoking a module stays a staff act on\n`PATCH /admin/partners/{slug}`.\n\nAuthorization is still per key for what remains (see `SETTING_POLICIES`):\n`replayRetention` requires the Lives module; `theme` and `partnerConsent` do not."},"PartnerProductViewModel":{"description":"Read-only catalog item for the partner surface — a WHITELIST of the product row: no Stripe /\nstore identifiers (`externalId`, price ids), no internal SKU, no sale-scheduling internals.\nProducts are created by a global admin; the partner only views them.","properties":{"id":{"type":"number","format":"double"},"name":{"type":"string"},"description":{"type":"string"},"image":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/ProductType"},"interval":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true},"source":{"$ref":"#/components/schemas/ProductSource","description":"Which rail it sells on — `free` is a zero-cost product, everything else is sold."},"price":{"properties":{"currency":{"type":"string"},"amount":{"type":"number","format":"double"}},"required":["currency","amount"],"type":"object","nullable":true,"description":"Display price of the active price row, if any."},"isActive":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","name","description","image","type","interval","source","price","isActive","createdAt"],"type":"object","additionalProperties":false},"PartnerUserBanStatus":{"enum":["active","lifted"],"type":"string"},"PartnerUserBanViewModel":{"description":"One shadow-ban row for the partner surface. WHITELIST: no `createdBy`/`liftedBy` — actor\nuids (including our staff) stay internal, same rule as the member roster; attribution lives\nin `partner_audit_log`. Display fields come from the Firestore profile and are null when the\naccount is gone — the ban row outlives the profile on purpose.","properties":{"id":{"type":"string"},"userId":{"type":"string"},"displayName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/PartnerUserBanStatus"},"createdAt":{"type":"string"},"liftedAt":{"type":"string","nullable":true}},"required":["id","userId","displayName","bzzrHandle","reason","status","createdAt","liftedAt"],"type":"object","additionalProperties":false},"Pagination":{"properties":{"page":{"type":"number","format":"double"},"perPage":{"type":"number","format":"double"},"lastPage":{"type":"number","format":"double"},"total":{"type":"number","format":"double"}},"required":["page","perPage","lastPage","total"],"type":"object","additionalProperties":false},"PaginatedList_PartnerUserBanViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PartnerUserBanViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"PartnerBanUserRequest":{"properties":{"userId":{"type":"string","description":"Firebase UID of the user to shadow-ban from commenting on this partner's content."},"reason":{"type":"string","description":"Why the ban exists — REQUIRED on the partner surface (the audit trail and a later\nmoderator must be able to answer \"why is this person banned\"). Never shown to the\nbanned user."}},"required":["userId","reason"],"type":"object","additionalProperties":false},"PartnerRole":{"description":"What a member may do inside their partner tenant — ranked (see PartnerAccessService\nROLE_RANK): owner ≥ admin ≥ viewer. Owner is DORMANT in v1 (behaviorally an admin) until\nPhase 4 self-serve member management; at most one active owner per partner (partial unique\nindex). Distinct from the flat `partner` value in the token's `roles[]`, which only says\n\"has at least one membership\".","enum":["partner_owner","partner_admin","partner_viewer"],"type":"string"},"MyPartnerMembershipViewModel":{"description":"One tenant the authenticated user belongs to — the `GET /partner/memberships` item the\ndashboard shell routes and renders from (theme + enabled modules drive the nav).","properties":{"slug":{"type":"string"},"displayName":{"type":"string"},"role":{"$ref":"#/components/schemas/PartnerRole"},"modules":{"$ref":"#/components/schemas/PartnerModules"},"theme":{"allOf":[{"$ref":"#/components/schemas/PartnerTheme"}],"nullable":true}},"required":["slug","displayName","role","modules","theme"],"type":"object","additionalProperties":false},"PartnerMembershipStatus":{"enum":["active","invited","revoked"],"type":"string"},"PartnerMemberViewModel":{"properties":{"id":{"type":"string","description":"Row id — addresses members and pending invites alike (an invite has no uid yet)."},"userId":{"type":"string","nullable":true},"email":{"type":"string","nullable":true,"description":"The member's account address, or the invited one while an invite is pending."},"role":{"$ref":"#/components/schemas/PartnerRole"},"status":{"$ref":"#/components/schemas/PartnerMembershipStatus"},"createdAt":{"type":"string"}},"required":["id","userId","email","role","status","createdAt"],"type":"object","additionalProperties":false},"AddPartnerMemberRequest":{"properties":{"email":{"type":"string","description":"Address of the person to add — the identity an admin actually has at hand. If it already\nbelongs to a verified BZZR account the membership is active immediately; otherwise the row\nis a pending invite that binds itself when they sign up and first open the dashboard.\nAn account with an UNVERIFIED address is refused, not invited."},"role":{"$ref":"#/components/schemas/PartnerRole","description":"Re-posting an existing member's address with a different role RE-ROLES them."}},"required":["email","role"],"type":"object","additionalProperties":false},"CouponDuration":{"description":"Mirrors Stripe coupon duration — how long the discount applies on recurring subscriptions.","enum":["once","repeating","forever"],"type":"string"},"PartnerCouponViewModel":{"description":"Coupon as the partner sees it — a WHITELIST: no Stripe coupon id, no creator/admin uids.\nCoupons are read-only on this surface (they carry the pricing levers); the partner manages\nCODES within them.","properties":{"id":{"type":"string"},"name":{"type":"string"},"productId":{"type":"number","format":"double","description":"Links to `PartnerProductViewModel.id` in the products catalog."},"isFreeProduct":{"type":"boolean","description":"True when the codes grant a ZERO-COST product — the fan lands on the free roster, not the paid\npass. A boolean, not our `productSource`: the billing rail is ours, and free-vs-paid is the only\npart that changes what the partner is handing out (`discountPct: 100` reads the same for both)."},"discountPct":{"type":"number","format":"double"},"duration":{"$ref":"#/components/schemas/CouponDuration"},"redemptionDeadline":{"type":"string","nullable":true},"campaign":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","name","productId","isFreeProduct","discountPct","duration","redemptionDeadline","campaign","isActive","createdAt"],"type":"object","additionalProperties":false},"PaginatedList_PartnerCouponViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PartnerCouponViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"CompCodeBatchStatus":{"enum":["pending","processing","completed","failed"],"type":"string"},"CompCodeBatchViewModel":{"properties":{"id":{"type":"string"},"couponId":{"type":"string"},"quantity":{"type":"number","format":"double"},"status":{"$ref":"#/components/schemas/CompCodeBatchStatus","description":"Generation lifecycle — poll until `completed` (then export CSV) or `failed`."},"generatedCount":{"type":"number","format":"double","description":"Codes inserted so far; equals `quantity` once `completed`."},"error":{"type":"string","nullable":true,"description":"Failure detail, set only when `status` is `failed`."},"completedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","couponId","quantity","status","generatedCount","error","completedAt","createdAt"],"type":"object","additionalProperties":false},"GenerateCompCodesRequest":{"properties":{"quantity":{"type":"integer","format":"int32","description":"How many codes to generate in this batch. Generation runs asynchronously and is chunked, so a\nsingle large run (e.g. the ~70k Rangers migration) is fine — poll the batch until `completed`.","minimum":1,"maximum":100000},"codeExpiration":{"type":"string","description":"ISO datetime; unredeemed-code shelf life. Defaults to 7 days from generation."}},"required":["quantity"],"type":"object","additionalProperties":false},"PartnerBatchRevokeResult":{"description":"Batch-revoke outcome. Partner naming is `revoke` (the legacy admin route says `invalidate`).","properties":{"revokedCount":{"type":"number","format":"double"}},"required":["revokedCount"],"type":"object","additionalProperties":false},"CompCodeStatus":{"enum":["new","redeemed","revoked","expired"],"type":"string"},"PartnerCompCodeViewModel":{"description":"Code row for the partner — `redeemedByAccount` (consumer identity) is deliberately absent\nuntil corpus open Q4 (redeemer PII exposure) is decided; `isRedeemed`/`redeemedAt` carry the\noperational signal. The raw `code` string is a bearer asset — endpoints returning it are\nadmin-gated.","properties":{"id":{"type":"string"},"couponId":{"type":"string"},"batchId":{"type":"string","nullable":true},"code":{"type":"string"},"status":{"$ref":"#/components/schemas/CompCodeStatus"},"codeExpiration":{"type":"string","nullable":true},"isRedeemed":{"type":"boolean"},"redeemedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","couponId","batchId","code","status","codeExpiration","isRedeemed","redeemedAt","createdAt"],"type":"object","additionalProperties":false},"GenerateSingleCompCodeRequest":{"properties":{"codeExpiration":{"type":"string","description":"ISO datetime; unredeemed-code shelf life. Defaults to 7 days from generation."}},"type":"object","additionalProperties":false},"PartnerCodesListResponse":{"properties":{"coupon":{"$ref":"#/components/schemas/PartnerCouponViewModel"},"documents":{"items":{"$ref":"#/components/schemas/PartnerCompCodeViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["coupon","documents","pagination"],"type":"object","additionalProperties":false},"CouponCodesListQueryParams":{"properties":{"status":{"$ref":"#/components/schemas/CompCodeStatus"},"batchId":{"type":"string"},"source":{"type":"string","enum":["batch","single"],"description":"`batch` = code belongs to a generated batch; `single` = CS-rep single code (no batch)."},"createdAtFrom":{"type":"string","format":"date-time"},"createdAtTo":{"type":"string","format":"date-time"},"expiresAtFrom":{"type":"string","format":"date-time"},"expiresAtTo":{"type":"string","format":"date-time"},"offset":{"type":"integer","format":"int32","minimum":0},"limit":{"type":"integer","format":"int32","description":"Page size, default 50. Capped at the same ceiling as the other identity-hydrating list endpoints\n(`GET /user/blacklist`): every row on the page is joined to a claim and an account, and a 70k-code\ncoupon makes an uncapped page an easy way to hang the admin UI. Use the CSV export when you need\nthe whole set rather than a page.","minimum":1,"maximum":50}},"type":"object","additionalProperties":false},"PartnerCodeLookupRequest":{"properties":{"code":{"type":"string","description":"The exact code string a fan quotes."}},"required":["code"],"type":"object","additionalProperties":false},"PartnerChannelViewModel":{"description":"Partner-tier channel row (`GET /partner/{slug}/channels`): the tenant's own channels, active\nor not, without their tabs — those are `GET /partner/{slug}/channels/{channelId}/feeds`, paged,\nbecause each tab with a guide there costs a program read (and that page carries the tab count).","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"isActive":{"type":"boolean"},"sortPriority":{"type":"number","format":"double"}},"required":["id","name","description","thumbnail","isActive","sortPriority"],"type":"object","additionalProperties":false},"PartnerChannelFeedViewModel":{"description":"Partner-tier feed: a whitelist — guide facts and sync health only. No partner URLs\n(`playbackUrl`, `guideSource.url`), no owner uids.","properties":{"id":{"type":"string"},"name":{"type":"string"},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"orderIndex":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"hasGuide":{"type":"boolean"},"guideSync":{"properties":{"programsCount":{"type":"number","format":"double"},"lastError":{"type":"string","nullable":true},"lastSyncedAt":{"type":"string","nullable":true}},"required":["programsCount","lastError","lastSyncedAt"],"type":"object","description":"Last successful guide sync, the last error if any, rows on file."},"nowPlaying":{"allOf":[{"$ref":"#/components/schemas/ChannelProgramViewModel"}],"nullable":true,"description":"What the tab is airing at response time; `null` during a gap, when inactive, or without a guide."}},"required":["id","name","logo","orderIndex","isActive","hasGuide","guideSync","nowPlaying"],"type":"object","additionalProperties":false},"DocumentsList_PartnerChannelFeedViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PartnerChannelFeedViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"DocumentsList_ChannelProgramViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/ChannelProgramViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PartnerLiveSourceViewModel":{"description":"Live source as the partner sees it — a WHITELIST: no `inputConfig` (RTMP/SRT ingest URLs\nare credentials), no `ownerId`/`editorIds` (internal uids), no encoder/pregame internals.","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","name","description","isActive","createdAt"],"type":"object","additionalProperties":false},"PartnerScheduledBroadcastViewModel":{"description":"A scheduled game as the partner sees it — the schedule that feeds the analytics pages, and the\nplace a `liveId` comes from before a game has stats. A WHITELIST over the admin broadcast\nmodel: no owner uid/profile, no entitlement ids, no delivery/encoder/prewarm overrides, no\nprovisioning internals — schedule facts only.","properties":{"id":{"type":"string"},"liveSourceId":{"type":"string","description":"Links to `PartnerLiveSourceViewModel.id` — the source picker's key."},"status":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"pregameStart":{"type":"string","nullable":true},"pregameEnd":{"type":"string","nullable":true},"gameStart":{"type":"string"},"gameEnd":{"type":"string"},"broadcastStart":{"type":"string"},"broadcastEnd":{"type":"string"},"endedAt":{"type":"string","nullable":true},"liveIds":{"items":{"type":"string"},"type":"array","description":"Lives minted for this game — the ids `live-stats/{liveId}` and the timeseries accept."},"pregameLiveId":{"type":"string","nullable":true}},"required":["id","liveSourceId","status","title","description","thumbnail","pregameStart","pregameEnd","gameStart","gameEnd","broadcastStart","broadcastEnd","endedAt","liveIds","pregameLiveId"],"type":"object","additionalProperties":false},"DocumentsList_PartnerScheduledBroadcastViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PartnerScheduledBroadcastViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"LiveStatsAudioSlice":{"description":"One slice of a stadium-audio breakdown (platform / country / SDK version).\n\n`sharePct` is derived from `SampleCount` of `SubscribeBitrate` for the slice's\ndimension — IVS emits one sample per subscriber per ~20 s, so the count is\nroughly `subscribers × period / 20 s`. Only the RATIO between rows is\nmeaningful: these are NOT head counts, and summing them and comparing against\n`peakListeners` is a category error.","properties":{"key":{"type":"string","description":"Dimension value — platform (`web`/`ios`/`android`), ISO country code, or SDK version."},"sharePct":{"type":"number","format":"double","description":"Share of the window's subscriber-samples, 0..1."},"packetLossAvgPct":{"type":"number","format":"double","nullable":true,"description":"Slice's average `DownloadPacketLoss`. Populated for the platform breakdown only; null elsewhere."}},"required":["key","sharePct","packetLossAvgPct"],"type":"object","additionalProperties":false},"LiveStatsAudioErrorCount":{"description":"One client-reported terminal error code and how often it occurred in the sample.","properties":{"code":{"type":"string"},"count":{"type":"number","format":"double"}},"required":["code","count"],"type":"object","additionalProperties":false},"LiveStatsAudioClientQoe":{"description":"Listener-reported playback quality for stadium audio, aggregated from the\nclient telemetry beacon (`POST /playback/lives/{id}/audio-telemetry` → BigQuery).\n\nThis is the ONLY source of real latency: `AWS/IVSRealTime` publishes no latency\nmetric of any kind, so everything the server can see (packet loss, bitrate) is a\ntransport proxy. `playoutBuffer*` is the WebRTC jitter-buffer delay — literally\nhow far behind live the player is rendering — and with `rtt*` accounts for the\nnetwork + buffer legs of end-to-end delay. The encoder→IVS ingest leg stays\nunmeasured, which is why no field here claims to be glass-to-ear.\n\nComputed over a SAMPLED cohort (see `sampleRatePct`): the grant decides\nmembership server-side from a stable hash, so a listener is in or out for the\nwhole game and the sample is unbiased. Null while no beacons have arrived.","properties":{"sampleSessions":{"type":"number","format":"double","description":"Distinct client listen-sessions in the sample — the denominator for every rate below."},"sampleRatePct":{"type":"number","format":"double","description":"Sampling rate the grant applied, 0..1 — divide by it to extrapolate to the full audience."},"timeToFirstAudioMedianMs":{"type":"number","format":"double","nullable":true,"description":"Grant received → first audible frame, ms. The number a fan experiences as \"how long until I hear it\"."},"timeToFirstAudioP90Ms":{"type":"number","format":"double","nullable":true},"joinLatencyMedianMs":{"type":"number","format":"double","nullable":true,"description":"`subscribe()` → stage JOINED, ms — the connection-setup leg alone."},"joinLatencyP90Ms":{"type":"number","format":"double","nullable":true},"playoutBufferMedianMs":{"type":"number","format":"double","nullable":true,"description":"WebRTC jitter-buffer delay, ms — the playout-delay contribution."},"playoutBufferP90Ms":{"type":"number","format":"double","nullable":true},"rttMedianMs":{"type":"number","format":"double","nullable":true,"description":"ICE candidate-pair round-trip time, ms."},"rttP90Ms":{"type":"number","format":"double","nullable":true},"packetsLostPctAvg":{"type":"number","format":"double","nullable":true,"description":"Client-observed inbound packet loss (0..1). Compare against the server-side `packetLossAvgPct`."},"rebufferSessionPct":{"type":"number","format":"double","nullable":true,"description":"Share of sessions that rebuffered at least once (0..1)."},"rebufferMinutesPer100Min":{"type":"number","format":"double","nullable":true,"description":"Rebuffer minutes per 100 listening minutes — severity, where `rebufferSessionPct` is incidence."},"silentSessionPct":{"type":"number","format":"double","nullable":true,"description":"Share of sessions whose audio level stayed at silence (0..1) — a live feed nobody can hear."},"errorSessionPct":{"type":"number","format":"double","nullable":true,"description":"Share of sessions that reported a terminal error (0..1)."},"errorCodes":{"items":{"$ref":"#/components/schemas/LiveStatsAudioErrorCount"},"type":"array","description":"Terminal error codes by frequency, most common first."},"sessionDurationMedianMin":{"type":"number","format":"double","nullable":true,"description":"Median listen-session length, minutes."},"asOf":{"type":"string","description":"When the aggregate was last computed."}},"required":["sampleSessions","sampleRatePct","timeToFirstAudioMedianMs","timeToFirstAudioP90Ms","joinLatencyMedianMs","joinLatencyP90Ms","playoutBufferMedianMs","playoutBufferP90Ms","rttMedianMs","rttP90Ms","packetsLostPctAvg","rebufferSessionPct","rebufferMinutesPer100Min","silentSessionPct","errorSessionPct","errorCodes","sessionDurationMedianMin","asOf"],"type":"object","additionalProperties":false},"LiveStatsAudio":{"description":"Stadium-audio (AWS IVS Real-Time Stage) block of the per-live passport — the\nsub-second WebRTC audio delivery that runs alongside the video pipeline.\n\nSourced from CloudWatch `AWS/IVSRealTime` (dimension `Stage` = the last segment\nof the stage ARN), the BigQuery `views` rows tagged `deliveryKind:\"ivs-whep\"`,\nand — for anything latency-shaped — the client beacon. CloudWatch retains the\nmetrics 15 months and `Live.audioPipeline.stageArn` survives cleanup (unlike\n`mediaLivePipeline`, which is nulled), so finalize and recompute both work long\nafter `DeleteStage` has run.\n\nRead `isMetricsReporting` before any figure: it separates \"nobody listened\"\nfrom \"nobody measured\".","properties":{"stageId":{"type":"string","nullable":true,"description":"CloudWatch `Stage` dimension value. Snapshotted so a recompute resolves it even if the pipeline doc changes."},"stageRegion":{"type":"string","nullable":true},"listeners":{"type":"number","format":"double","nullable":true,"description":"Latest measured concurrent listeners."},"peakListeners":{"type":"number","format":"double","description":"Max over the game — max-preserved against the stored value, so it never regresses."},"avgListeners":{"type":"number","format":"double","nullable":true,"description":"Mean concurrent listeners over the measured window (the audio AMA)."},"listenerMinutes":{"type":"number","format":"double","description":"Listener-minutes — `Σ(bucket average × bucket minutes)`, period-aware."},"listenerHours":{"type":"number","format":"double"},"timeToPeakMin":{"type":"number","format":"double","nullable":true,"description":"Minutes from window start to the peak."},"listenersSparkline":{"items":{"type":"number","format":"double"},"type":"array","description":"Down-sampled listener curve for the admin sparkline."},"minutesWithListeners":{"type":"number","format":"double","description":"Measured minutes with at least one listener — with `metricSampleCount`, the \"was anyone there\" answer."},"uniqueListeners":{"type":"number","format":"double","nullable":true,"description":"Distinct authenticated users granted an `ivs-whep` delivery (BigQuery). Null when the query failed."},"attachRatePeak":{"type":"number","format":"double","nullable":true,"description":"`peakListeners / peakAllPlatform` — peak-over-peak, for the same stability reason as `nonWebSharePct`."},"attachRateNow":{"type":"number","format":"double","nullable":true,"description":"`listeners / concurrentAllPlatform` right now — the live-dashboard variant."},"publishersNow":{"type":"number","format":"double","nullable":true,"description":"Venue encoder publishers connected right now (expect 1)."},"publisherUptimePct":{"type":"number","format":"double","nullable":true,"description":"Share of measured buckets with ≥1 publisher (0..1). Mirrors `encoderUptimePct`."},"publisherOutageCount":{"type":"number","format":"double","description":"Contiguous runs of zero-publisher buckets. Split out from uptime because\n\"97% uptime\" hides whether that was one 7-minute dropout or twenty 20-second\nones — and only the second is an encoder problem."},"publisherOutageMinutes":{"type":"number","format":"double"},"longestOutageMinutes":{"type":"number","format":"double"},"publishBitrateAvgBps":{"type":"number","format":"double","nullable":true},"publishBitrateMinBps":{"type":"number","format":"double","nullable":true,"description":"Lowest per-bucket average — a dip is the venue uplink wobbling before it drops."},"packetLossAvgPct":{"type":"number","format":"double","nullable":true,"description":"Average `DownloadPacketLoss` over the window, in CloudWatch's own scale."},"packetLossMaxPct":{"type":"number","format":"double","nullable":true},"subscribeBitrateAvgBps":{"type":"number","format":"double","nullable":true},"droppedFramesAvg":{"type":"number","format":"double","nullable":true,"description":"Expected ~0 on an audio-only stage; non-zero means SDK decode/jitter distress."},"degradedMinutes":{"type":"number","format":"double","description":"Minutes spent above the degraded-loss threshold — the \"bad minutes\" count."},"platformMix":{"items":{"$ref":"#/components/schemas/LiveStatsAudioSlice"},"type":"array"},"countryMix":{"items":{"$ref":"#/components/schemas/LiveStatsAudioSlice"},"type":"array"},"sdkVersionMix":{"items":{"$ref":"#/components/schemas/LiveStatsAudioSlice"},"type":"array"},"breakdownsAsOf":{"type":"string","nullable":true,"description":"When the breakdowns were last built (~10-min cadence, far rarer than the summary)."},"clientQoe":{"allOf":[{"$ref":"#/components/schemas/LiveStatsAudioClientQoe"}],"nullable":true,"description":"Client-reported quality + the only real latency numbers. Null until beacons arrive."},"asOf":{"type":"string"},"metricPeriodSeconds":{"type":"number","format":"double","description":"CloudWatch bucket size actually used (60/300/3600) — every time-weighted sum scales by it."},"isMetricsReporting":{"type":"boolean","description":"CloudWatch answered AND returned ≥1 `Subscribers` datapoint. False ⇒ treat every figure above as unmeasured."},"metricSampleCount":{"type":"number","format":"double","nullable":true,"description":"`Subscribers` datapoint count — the sample size behind the audience figures."},"unavailableReason":{"type":"string","nullable":true,"description":"Why the block is unmeasured, when it is. Null on a healthy measurement."}},"required":["stageId","stageRegion","listeners","peakListeners","avgListeners","listenerMinutes","listenerHours","timeToPeakMin","listenersSparkline","minutesWithListeners","uniqueListeners","attachRatePeak","attachRateNow","publishersNow","publisherUptimePct","publisherOutageCount","publisherOutageMinutes","longestOutageMinutes","publishBitrateAvgBps","publishBitrateMinBps","packetLossAvgPct","packetLossMaxPct","subscribeBitrateAvgBps","droppedFramesAvg","degradedMinutes","platformMix","countryMix","sdkVersionMix","breakdownsAsOf","clientQoe","asOf","metricPeriodSeconds","isMetricsReporting","metricSampleCount","unavailableReason"],"type":"object","additionalProperties":false},"AudienceSegment":{"description":"One audience slice parsed from a CloudFront `cs(User-Agent)`, carrying every\ndimension separately so the admin UI can group/pivot by any of them (app flavor,\nOS, version, device class, how-they-watch) and chart it — rather than a single\npre-baked label. One row per distinct combination of the fields below.\n\nOur clients self-identify as `BZZR-<FLAVOR>/<version> (<os> <ver>; <model>)`\n(e.g. `BZZR-FLUTTER` for mobile, `BZZR-OTT` for the TV apps); clients that don't\nset a `BZZR-*` UA (browsers, cast, the native iOS/Apple-TV AVPlayer) are filled\nin heuristically.","properties":{"client":{"type":"string","description":"How they watch: \"app\" | \"browser\" | \"cast\" | \"other\"."},"appFlavor":{"type":"string","nullable":true,"description":"App flavor from `BZZR-<FLAVOR>/…` (e.g. \"BZZR-FLUTTER\", \"BZZR-OTT\"); null for browser/cast/native-player."},"appVersion":{"type":"string","nullable":true,"description":"App version (e.g. \"1.2.3\"); null for non-app clients."},"os":{"type":"string","description":"OS family: \"iOS\" | \"Android\" | \"tvOS\" | \"Tizen\" | \"webOS\" | \"Fire OS\" |\n\"Windows\" | \"macOS\" | \"Linux\" | \"Roku\" | \"Chromecast\" | \"AirPlay\" | \"Other\"."},"deviceClass":{"type":"string","description":"Friendly device class for a default chart: \"iPhone\" | \"iPad\" | \"Android phone\" |\n\"Apple TV\" | \"Android TV\" | \"Fire TV\" | \"Samsung TV\" | \"LG TV\" | \"Chromecast\" |\n\"AirPlay\" | \"Roku\" | \"Desktop web\" | \"Other\"."},"sessions":{"type":"number","format":"double"}},"required":["client","appFlavor","appVersion","os","deviceClass","sessions"],"type":"object","additionalProperties":false},"LiveStatsPlatformMix":{"description":"Session counts rolled up to the ad-sales super-categories (living-room vs handheld vs desktop).","properties":{"ctv":{"type":"number","format":"double","description":"Connected-TV / living-room: Apple TV, Android TV, Fire TV, Samsung/LG TV, Roku, Chromecast, AirPlay."},"mobile":{"type":"number","format":"double","description":"Handheld: iPhone, iPad, Android phone."},"web":{"type":"number","format":"double","description":"Desktop web."},"other":{"type":"number","format":"double"}},"required":["ctv","mobile","web","other"],"type":"object","additionalProperties":false},"LiveStatsGeoRegion":{"description":"One geographic bucket of the audience — a US state or a Nielsen DMA.","properties":{"code":{"type":"string","description":"State ISO 3166-2 subdivision (`TX`) for states, or the Nielsen DMA code (`623`) as a string for DMAs."},"name":{"type":"string","description":"Display name — `Texas` / `Dallas-Ft. Worth`."},"sessions":{"type":"number","format":"double"},"sharePct":{"type":"number","format":"double","description":"Share of geo-resolved sessions, 0..1."}},"required":["code","name","sessions","sharePct"],"type":"object","additionalProperties":false},"LiveStatsGeo":{"description":"[F/log] Audience broken down by US state and Nielsen DMA, from IP-geolocating\nthe CloudFront sessions (MaxMind GeoLite2-City). DMA is the unit ad-buyers\ntarget (e.g. DFW = 623). `unresolvedSessions` are sessions with no DMA match —\nchiefly mobile IPv6 (carrier gateways) — so a DMA's share is a floor. Null on\nenvs with no geo database. Sessions are CDN sessions, not unique people.","properties":{"asOf":{"type":"string"},"resolvedSessions":{"type":"number","format":"double","description":"Sessions that resolved to a DMA (denominator for `sharePct`)."},"unresolvedSessions":{"type":"number","format":"double","description":"Sessions with no DMA match (mostly mobile IPv6); excluded from `sharePct`."},"states":{"items":{"$ref":"#/components/schemas/LiveStatsGeoRegion"},"type":"array","description":"By US state, sessions desc."},"dmas":{"items":{"$ref":"#/components/schemas/LiveStatsGeoRegion"},"type":"array","description":"By Nielsen DMA, sessions desc."}},"required":["asOf","resolvedSessions","unresolvedSessions","states","dmas"],"type":"object","additionalProperties":false},"LiveStatsSessionBucket":{"description":"One bucket of the session-length distribution — the device-reach engagement curve.","properties":{"label":{"type":"string","description":"Human label, e.g. \"1–5 min\"."},"maxMin":{"type":"number","format":"double","nullable":true,"description":"Upper bound of the bucket in minutes; null = open-ended top bucket."},"sessions":{"type":"number","format":"double"}},"required":["label","maxMin","sessions"],"type":"object","additionalProperties":false},"LiveStatsSessionQuality":{"description":"Per-device session-quality slice: volume + how many bail early — surfaces device-specific playback issues.","properties":{"device":{"type":"string","description":"Device class (same taxonomy as `AudienceSegment.deviceClass`)."},"sessions":{"type":"number","format":"double"},"shortShare":{"type":"number","format":"double","description":"Share of this device's sessions shorter than the short-session threshold (0..1)."},"medianMin":{"type":"number","format":"double","description":"Median session length for this device, minutes."}},"required":["device","sessions","shortShare","medianMin"],"type":"object","additionalProperties":false},"LiveStatsWebQoe":{"description":"Web-only playback quality from Mux Data (native/TV apps aren't Mux-instrumented).\nAll fields are null when Mux Data isn't flowing for the live — currently the case,\nas the web player must report Mux Data keyed by `video_id = liveId`. The backend\nfetch is fail-soft, so the block self-populates once the client feed is restored.","properties":{"startupTimeMs":{"type":"number","format":"double","nullable":true,"description":"Avg video startup time, ms."},"rebufferPct":{"type":"number","format":"double","nullable":true,"description":"Rebuffering as a share of watch time (0..1)."},"playbackFailurePct":{"type":"number","format":"double","nullable":true,"description":"Playback failures as a share of views (0..1)."},"exitsBeforeStartPct":{"type":"number","format":"double","nullable":true,"description":"Views that exited before video started (0..1)."}},"required":["startupTimeMs","rebufferPct","playbackFailurePct","exitsBeforeStartPct"],"type":"object","additionalProperties":false},"LiveStatsAdSkips":{"description":"Ads the ad decision server returned but MediaTailor DID NOT insert, split by reason (from `SkippedReason.*`).","properties":{"durationExceeded":{"type":"number","format":"double","description":"Creative longer than the avail slot (`SkippedReason.DurationExceeded`)."},"earlyCueIn":{"type":"number","format":"double","description":"Break ended / cue-in arrived before the ad could play (`SkippedReason.EarlyCueIn`)."},"notTranscoded":{"type":"number","format":"double","description":"Ad not transcoded in time (`SkippedReason.NewCreative` + `TranscodeInProgress` + `AdNotReady`)."},"total":{"type":"number","format":"double"}},"required":["durationExceeded","earlyCueIn","notTranscoded","total"],"type":"object","additionalProperties":false},"LiveStatsAdFunnel":{"description":"Per-game ad funnel from MediaTailor — the request→fill→deliver picture the\nflat `ad*` summary fields above don't give. All fill rates are 0..1 fractions\n(MediaTailor's native scale — NOT percents, so never fracFromPct'd). Counts are\nsummed across all sessions (billed impressions ARE the per-viewer ad-sales\ncurrency). Null when the live has no SSAI/MediaTailor config.","properties":{"adServerFillRate":{"type":"number","format":"double","nullable":true,"description":"DEMAND-side fill: the share of requested ad time the ad server actually returned\n(`AdDecisionServer.FillRate`), volume-weighted. Low ⇒ the ad server had nothing\nto give. This is about the RESPONSE to a request; the two rates below are about\nthe avails themselves."},"durationFillRate":{"type":"number","format":"double","nullable":true,"description":"SECONDS SOLD: `Avail.FilledDuration / Avail.Duration`.\n\n**This is the revenue figure. Quote this one when someone says \"fill rate\" and\nmoney is in the sentence.** A 90 s break carrying a single 15 s spot is 17% here."},"observedFillRate":{"type":"number","format":"double","nullable":true,"description":"BREAKS SERVED: the share of ad opportunities that got any ad at all\n(`Avail.ObservedFillRate`), volume-weighted. That same 90 s break with one 15 s\nspot counts as fully served here — which is exactly why it must never be quoted\nas \"fill rate\" without saying which kind.\n\nEmpirically this tracks an independent count of the MediaTailor ad-decision log\n(`FILLED_AVAIL / MAKING_ADS_REQUEST`) to within 2-3 points — 77.3% vs 80.4% on\n2026-09-05, 60.2% vs 62.1% on 2026-09-06."},"podFillDepth":{"type":"number","format":"double","nullable":true,"description":"How much of a break gets filled WHEN it is served at all:\n`durationFillRate / observedFillRate`, 0..1.\n\nThis is the field that separates two problems the other rates cannot tell apart:\n  - `observedFillRate` LOW ⇒ breaks are going out empty. A demand shortfall —\n    take it to the ad server. (2026-09-04: 17.7% of breaks served.)\n  - `observedFillRate` HIGH but `podFillDepth` LOW ⇒ breaks ARE being served,\n    just not filled. The ad server is answering with fewer or shorter spots than\n    the pod asked for. (2026-09-05: 77% of breaks served, 62% of seconds sold —\n    a depth of 0.80, so a fifth of every served break went unsold.)\n\nNull whenever either input is null or no break was served."},"impressions":{"type":"number","format":"double","nullable":true,"description":"Total ad impressions across all sessions (`Avail.Impression`) — the ad-sales impression count + VCR denominator."},"completions":{"type":"number","format":"double","nullable":true,"description":"Ads completed across all sessions (`Avail.Complete`) — the VCR numerator."},"vcr":{"type":"number","format":"double","nullable":true,"description":"Video completion rate = `Avail.Complete / Avail.Impression` (0..1), server-side,\nall-platform, CLAMPED to 1.\n\nThe denominator is approximate: `Avail.Impression` counts impression beacons and\na play fires a different NUMBER of tracking URLs depending on the creative, so the\nraw ratio drifts either side of 1 (2026-09-06 computed 1.0001). That is also why\nthe beacon-derived report in `adReportsService` uses `complete / thirdQuartile`\ninstead — CloudWatch publishes no quartile metric. Two deliberately different\ndenominators, not a discrepancy to reconcile."},"adsBilled":{"type":"number","format":"double","nullable":true,"description":"Ads MediaTailor BILLED US for inserting (`AdsBilled`) — a MediaTailor cost/scale metric,\nNOT ad-sales \"billed impressions\" (use `impressions` for that). Runs higher than\n`impressions` because it counts per-ad insertion billing, not per-impression."},"adServerTimeouts":{"type":"number","format":"double","nullable":true,"description":"Ad-decision-server timeouts over the game (`AdDecisionServer.Timeouts`), split out from `adServerErrors`."},"skipped":{"allOf":[{"$ref":"#/components/schemas/LiveStatsAdSkips"}],"nullable":true,"description":"Ads returned by the ADS but dropped by MediaTailor, by reason.\n\n`notTranscoded` comes from `AdNotReady`, which IS the aggregate of the\n`SkippedReason.NewCreative` + `SkippedReason.TranscodeInProgress` metrics rather\nthan a third reason alongside them (verified exact on three prod games). Adding\nall three counted every transcode skip twice."},"skipRate":{"type":"number","format":"double","nullable":true,"description":"Share of returned ads that were dropped (`skipped.total / adsInserted`), 0..1 — the fixable-loss KPI."}},"required":["adServerFillRate","durationFillRate","observedFillRate","podFillDepth","impressions","completions","vcr","adsBilled","adServerTimeouts","skipped","skipRate"],"type":"object","additionalProperties":false},"LiveStatsUsage":{"description":"Raw, rate-independent usage quantities so cost can be re-derived at any rate.","properties":{"egressBytes":{"type":"number","format":"double"},"mediaLiveChannelHours":{"type":"number","format":"double"},"mediaTailorRequests":{"type":"number","format":"double"},"cfRequests":{"type":"number","format":"double","nullable":true,"description":"Total CloudFront requests for this live (log-exact); null on passports finalized before this field existed."}},"required":["egressBytes","mediaLiveChannelHours","mediaTailorRequests"],"type":"object","additionalProperties":false},"Pick_LiveStatsViewModel.Exclude_keyofLiveStatsViewModel.ratesUsed-or-costLines-or-egressCost-or-fixedInfraCostEst-or-totalCostEst-or-costPerViewerHour-or-costPerUniqueUser-or-egressCostOnDemandRef__":{"properties":{"audio":{"$ref":"#/components/schemas/LiveStatsAudio","description":"Stadium-audio (IVS Real-Time) delivery. Absent on games that never provisioned\nan audio stage.\n\nOPTIONAL (`?`), deliberately — not `audio: LiveStatsAudio | null`. TSOA expands\n`PartnerLiveStatsViewModel`'s `Omit<...>` into a NEW flat schema that keeps\n`required` while DROPPING `nullable`, so a non-optional nullable field here\nhands the generated partner client a key it must have but may receive as null.\nOptionality survives the expansion; nullability does not. See CLAUDE.md and the\nassertion in `tests/partnerDashboardApi.test.ts`.\n\nWritten whole or not at all: `upsertLiveStats` merges recursively, so a partial\nwrite would leave stale sub-fields standing, and it only prunes `undefined` at\nthe TOP level — a nested `undefined` throws. On a measurement failure the\nbuilder omits the key entirely, leaving the last good block untouched (the same\nnon-destructive discipline as `finalLogsAvailable`)."},"liveId":{"type":"string"},"title":{"type":"string"},"deliveryMode":{"type":"string"},"pipelineType":{"type":"string"},"startedAt":{"type":"string"},"endedAt":{"type":"string"},"durationMin":{"type":"number","format":"double"},"asOf":{"type":"string","description":"When this snapshot was computed."},"isLive":{"type":"boolean","description":"true = still updating live; false = frozen final."},"mediaTailorConfigName":{"type":"string","description":"CloudWatch dimension refs captured while the pipeline is alive so `finalize`\n(which runs AFTER the pipeline is torn down and `Live.mediaLivePipeline` is\nnulled) can still query the metrics. Without these, finalize would resolve a\nnull config/channel and zero out the MediaTailor/MediaLive-derived fields,\nclobbering the good live values (CloudWatch itself retains the data 15 mo)."},"channelId":{"type":"string"},"cdnDistributionId":{"type":"string","description":"Distribution serving this live (the leased CDN slot's, else the legacy\nshared one). Same post-teardown rationale as the refs above. With slots,\nCloudFront metrics become genuinely per-live; on the legacy shared\ndistribution they remain cross-contaminated between concurrent games\nuntil the finalize log scan corrects the log-derived fields."},"mediaTailorConfigNames":{"items":{"type":"string"},"type":"array","description":"ALL generations' CloudWatch refs (mid-broadcast rebuilds create a new\nMediaTailor config + channel per generation). The singular fields above\nstay the CURRENT generation for back-compat; metric queries union over\nthese so a rebuilt game's totals don't lose the pre-flip generations."},"channelIds":{"items":{"type":"string"},"type":"array"},"concurrentAllPlatform":{"type":"number","format":"double","description":"MediaTailor manifest-poll ÷15 — web + STB + mobile."},"peakAllPlatform":{"type":"number","format":"double"},"avgAllPlatform":{"type":"number","format":"double"},"concurrentMux":{"type":"number","format":"double","description":"Mux current-concurrent-viewers — realtime, web-instrumented only."},"peakMux":{"type":"number","format":"double"},"nonWebSharePct":{"type":"number","format":"double","description":"≈ 1 − Mux/AllPlatform (share of non-web platforms)."},"uniqueUsers":{"type":"number","format":"double","description":"True authenticated unique users (BQ `views` COUNT DISTINCT). Null for games before uid recording shipped."},"finalLogsAvailable":{"type":"boolean","description":"Whether the finalize CloudFront-log pass found data. `false` = the game's\naccess logs were unavailable (expired past retention, no traffic, or a scan\nerror) at finalize/recompute — the log-derived `[F]` fields (`uniqueSessions`,\n`uniqueIps`, `audienceSegments`, session-length, `geoBreakdown`, corrected\negress/cost) are then LEFT AS-IS rather than zeroed, so a recompute after log\nexpiry never clobbers a good passport. Null on games finalized before this flag."},"uniqueSessions":{"type":"number","format":"double","description":"[final] all-platform device reach from CloudFront logs."},"uniqueIps":{"type":"number","format":"double"},"audienceSegments":{"items":{"$ref":"#/components/schemas/AudienceSegment"},"type":"array","description":"[final] audience sliced from the CloudFront `cs(User-Agent)` into structured\ndimensions (`client` / `appFlavor` / `appVersion` / `os` / `deviceClass`), one\nrow per distinct combination — so the admin UI can group/pivot/chart by any\naxis (by app type, by OS, by version, by device). Null while live or when the\nenv has no CloudFront access-log group. Sorted by sessions desc.\n\nCaveat: app version is accurate for clients whose player uses the app UA on\nevery request (Android/Flutter); the native iOS/Apple-TV AVPlayer fetches\nsegments as `AppleCoreMedia` without a version, so those sessions land as\n`client:\"app\"` with a null `appVersion`."},"platformMix":{"$ref":"#/components/schemas/LiveStatsPlatformMix","description":"Session counts rolled up to CTV / mobile / web — the ad-sales platform split. Derived from `audienceSegments`."},"geoBreakdown":{"$ref":"#/components/schemas/LiveStatsGeo","description":"[F/log] Audience by US state + Nielsen DMA (IP-geolocated). Null while live or on envs with no geo DB."},"audienceAsOf":{"type":"string","description":"When `audienceSegments`/`platformMix` were last built — refreshed ~every 10 min while live, then frozen."},"watchTimeMinutesTotal":{"type":"number","format":"double"},"avgWatchTimeMin":{"type":"number","format":"double"},"ama":{"type":"number","format":"double","description":"Average Minute Audience — avg concurrent viewers over the game (industry rating currency = `avgAllPlatform`)."},"viewerMinutes":{"type":"number","format":"double","description":"Total viewer-minutes (= `watchTimeMinutesTotal`, named for ad reports)."},"viewerHours":{"type":"number","format":"double","description":"Total viewer-hours (= viewer-minutes / 60)."},"sessionLenMedianMin":{"type":"number","format":"double","description":"[final] session-length distribution from CloudFront logs."},"sessionLenP90Min":{"type":"number","format":"double"},"sessionLenHistogram":{"items":{"$ref":"#/components/schemas/LiveStatsSessionBucket"},"type":"array","description":"[final] session-length distribution buckets (engagement curve), from the CloudFront-log sample."},"rejoinRate":{"type":"number","format":"double","description":"[final] avg sessions per distinct IP (≈ per household) — high = reconnects / instability."},"bounceRate":{"type":"number","format":"double","description":"[final] share of sessions that bailed after a single manifest hit (~0 length), 0..1."},"sessionQualityByDevice":{"items":{"$ref":"#/components/schemas/LiveStatsSessionQuality"},"type":"array","description":"[final] per-device session quality (session count, short-session share, median length). Sorted by sessions desc."},"timeToPeakMin":{"type":"number","format":"double"},"concurrencySparkline":{"items":{"type":"number","format":"double"},"type":"array"},"cacheHitRateAvg":{"type":"number","format":"double"},"error5xxRateAvg":{"type":"number","format":"double"},"error5xxRateMax":{"type":"number","format":"double"},"totalErrorRateAvg":{"type":"number","format":"double"},"error4xxRateAvg":{"type":"number","format":"double","description":"Avg CloudFront 4xx error rate (0..1). Split into 403/404 counts below for diagnosis."},"manifestLatencyP95Ms":{"type":"number","format":"double"},"maxManifestAgeMs":{"type":"number","format":"double"},"stallMinutes":{"type":"number","format":"double"},"encoderUptimePct":{"type":"number","format":"double"},"status403Count":{"type":"number","format":"double","description":"[final] CloudFront 403 responses over the game (signed-cookie / geo / DRM auth failures)."},"status404Count":{"type":"number","format":"double","description":"[final] CloudFront 404 responses over the game (missing segments / manifest gaps)."},"webQoe":{"$ref":"#/components/schemas/LiveStatsWebQoe"},"adBreaksCount":{"type":"number","format":"double"},"adSecondsTotal":{"type":"number","format":"double"},"adFillRateAvg":{"type":"number","format":"double"},"adsInserted":{"type":"number","format":"double","description":"Ad impressions served (from MediaTailor `AdDecisionServer.Ads`)."},"adFrequency":{"type":"number","format":"double","description":"Average impressions per unique user (`adsInserted / uniqueUsers`). Null without uid data."},"adServerLatencyMs":{"type":"number","format":"double","description":"Avg ad-decision-server response time over the game, ms (`AdDecisionServer.Latency`)."},"adServerErrors":{"type":"number","format":"double","description":"Total ad-decision-server errors + timeouts over the game."},"adFunnel":{"$ref":"#/components/schemas/LiveStatsAdFunnel","description":"Detailed ad funnel (demand / fill / skip / impressions / observed) from MediaTailor. Null without SSAI."},"usage":{"$ref":"#/components/schemas/LiveStatsUsage"},"avgBitrateMbps":{"type":"number","format":"double","description":"[final] Avg delivered bitrate across all viewers, Mbps (egress ÷ viewer-time) — ABR-ladder usage signal."},"gbPerViewerHour":{"type":"number","format":"double","description":"[final] Egress GB per viewer-hour — cost/quality efficiency."}},"required":["liveId","durationMin","asOf","isLive","concurrentAllPlatform","peakAllPlatform","avgAllPlatform","concurrentMux","peakMux","nonWebSharePct","uniqueUsers","watchTimeMinutesTotal","avgWatchTimeMin","ama","viewerMinutes","viewerHours","timeToPeakMin","concurrencySparkline","cacheHitRateAvg","error5xxRateAvg","error5xxRateMax","totalErrorRateAvg","error4xxRateAvg","manifestLatencyP95Ms","maxManifestAgeMs","stallMinutes","encoderUptimePct","adBreaksCount","adSecondsTotal","adFillRateAvg","adsInserted","adFrequency","adServerLatencyMs","adServerErrors","adFunnel","usage"],"type":"object","description":"From T, pick a set of properties whose keys are in the union K"},"PartnerLiveStatsViewModel":{"description":"The per-game passport as the partner sees it: the admin model minus **money**. What a game\ncost US to deliver — our rates and every figure derived from them — is our economics, not\nthe partner's (product decision, 2026-08-05).\n\nThe line is drawn at prices, not at everything cost-adjacent: `usage` STAYS, because it is\nrate-independent quantities (bytes delivered, encoder hours, CDN/ad requests) with no money\nin it — the partner's own delivery telemetry, and the very thing `avgBitrateMbps` is\nderived from, so hiding one while showing the other would be incoherent. What leaves is\n`ratesUsed` (our negotiated rates) and every computed cost figure.\n\n`Omit` rather than a hand-kept whitelist: the excluded set is one coherent, closed block,\nwhile a whitelist would silently withhold every new AUDIENCE metric added upstream until\nsomeone remembered to widen it. The AWS resource handles (`mediaTailorConfigName`,\n`channelId`) are deliberately NOT excluded — they were judged non-sensitive; add them here\nif that ever changes.\n\nThe time-series model is returned as-is: it carries no cost fields at all.","properties":{"audio":{"$ref":"#/components/schemas/LiveStatsAudio","description":"Stadium-audio (IVS Real-Time) delivery. Absent on games that never provisioned\nan audio stage.\n\nOPTIONAL (`?`), deliberately — not `audio: LiveStatsAudio | null`. TSOA expands\n`PartnerLiveStatsViewModel`'s `Omit<...>` into a NEW flat schema that keeps\n`required` while DROPPING `nullable`, so a non-optional nullable field here\nhands the generated partner client a key it must have but may receive as null.\nOptionality survives the expansion; nullability does not. See CLAUDE.md and the\nassertion in `tests/partnerDashboardApi.test.ts`.\n\nWritten whole or not at all: `upsertLiveStats` merges recursively, so a partial\nwrite would leave stale sub-fields standing, and it only prunes `undefined` at\nthe TOP level — a nested `undefined` throws. On a measurement failure the\nbuilder omits the key entirely, leaving the last good block untouched (the same\nnon-destructive discipline as `finalLogsAvailable`)."},"liveId":{"type":"string"},"title":{"type":"string"},"deliveryMode":{"type":"string"},"pipelineType":{"type":"string"},"startedAt":{"type":"string"},"endedAt":{"type":"string"},"durationMin":{"type":"number","format":"double"},"asOf":{"type":"string","description":"When this snapshot was computed."},"isLive":{"type":"boolean","description":"true = still updating live; false = frozen final."},"mediaTailorConfigName":{"type":"string","description":"CloudWatch dimension refs captured while the pipeline is alive so `finalize`\n(which runs AFTER the pipeline is torn down and `Live.mediaLivePipeline` is\nnulled) can still query the metrics. Without these, finalize would resolve a\nnull config/channel and zero out the MediaTailor/MediaLive-derived fields,\nclobbering the good live values (CloudWatch itself retains the data 15 mo)."},"channelId":{"type":"string"},"cdnDistributionId":{"type":"string","description":"Distribution serving this live (the leased CDN slot's, else the legacy\nshared one). Same post-teardown rationale as the refs above. With slots,\nCloudFront metrics become genuinely per-live; on the legacy shared\ndistribution they remain cross-contaminated between concurrent games\nuntil the finalize log scan corrects the log-derived fields."},"mediaTailorConfigNames":{"items":{"type":"string"},"type":"array","description":"ALL generations' CloudWatch refs (mid-broadcast rebuilds create a new\nMediaTailor config + channel per generation). The singular fields above\nstay the CURRENT generation for back-compat; metric queries union over\nthese so a rebuilt game's totals don't lose the pre-flip generations."},"channelIds":{"items":{"type":"string"},"type":"array"},"concurrentAllPlatform":{"type":"number","format":"double","description":"MediaTailor manifest-poll ÷15 — web + STB + mobile."},"peakAllPlatform":{"type":"number","format":"double"},"avgAllPlatform":{"type":"number","format":"double"},"concurrentMux":{"type":"number","format":"double","description":"Mux current-concurrent-viewers — realtime, web-instrumented only."},"peakMux":{"type":"number","format":"double"},"nonWebSharePct":{"type":"number","format":"double","description":"≈ 1 − Mux/AllPlatform (share of non-web platforms)."},"uniqueUsers":{"type":"number","format":"double","description":"True authenticated unique users (BQ `views` COUNT DISTINCT). Null for games before uid recording shipped."},"finalLogsAvailable":{"type":"boolean","description":"Whether the finalize CloudFront-log pass found data. `false` = the game's\naccess logs were unavailable (expired past retention, no traffic, or a scan\nerror) at finalize/recompute — the log-derived `[F]` fields (`uniqueSessions`,\n`uniqueIps`, `audienceSegments`, session-length, `geoBreakdown`, corrected\negress/cost) are then LEFT AS-IS rather than zeroed, so a recompute after log\nexpiry never clobbers a good passport. Null on games finalized before this flag."},"uniqueSessions":{"type":"number","format":"double","description":"[final] all-platform device reach from CloudFront logs."},"uniqueIps":{"type":"number","format":"double"},"audienceSegments":{"items":{"$ref":"#/components/schemas/AudienceSegment"},"type":"array","description":"[final] audience sliced from the CloudFront `cs(User-Agent)` into structured\ndimensions (`client` / `appFlavor` / `appVersion` / `os` / `deviceClass`), one\nrow per distinct combination — so the admin UI can group/pivot/chart by any\naxis (by app type, by OS, by version, by device). Null while live or when the\nenv has no CloudFront access-log group. Sorted by sessions desc.\n\nCaveat: app version is accurate for clients whose player uses the app UA on\nevery request (Android/Flutter); the native iOS/Apple-TV AVPlayer fetches\nsegments as `AppleCoreMedia` without a version, so those sessions land as\n`client:\"app\"` with a null `appVersion`."},"platformMix":{"$ref":"#/components/schemas/LiveStatsPlatformMix","description":"Session counts rolled up to CTV / mobile / web — the ad-sales platform split. Derived from `audienceSegments`."},"geoBreakdown":{"$ref":"#/components/schemas/LiveStatsGeo","description":"[F/log] Audience by US state + Nielsen DMA (IP-geolocated). Null while live or on envs with no geo DB."},"audienceAsOf":{"type":"string","description":"When `audienceSegments`/`platformMix` were last built — refreshed ~every 10 min while live, then frozen."},"watchTimeMinutesTotal":{"type":"number","format":"double"},"avgWatchTimeMin":{"type":"number","format":"double"},"ama":{"type":"number","format":"double","description":"Average Minute Audience — avg concurrent viewers over the game (industry rating currency = `avgAllPlatform`)."},"viewerMinutes":{"type":"number","format":"double","description":"Total viewer-minutes (= `watchTimeMinutesTotal`, named for ad reports)."},"viewerHours":{"type":"number","format":"double","description":"Total viewer-hours (= viewer-minutes / 60)."},"sessionLenMedianMin":{"type":"number","format":"double","description":"[final] session-length distribution from CloudFront logs."},"sessionLenP90Min":{"type":"number","format":"double"},"sessionLenHistogram":{"items":{"$ref":"#/components/schemas/LiveStatsSessionBucket"},"type":"array","description":"[final] session-length distribution buckets (engagement curve), from the CloudFront-log sample."},"rejoinRate":{"type":"number","format":"double","description":"[final] avg sessions per distinct IP (≈ per household) — high = reconnects / instability."},"bounceRate":{"type":"number","format":"double","description":"[final] share of sessions that bailed after a single manifest hit (~0 length), 0..1."},"sessionQualityByDevice":{"items":{"$ref":"#/components/schemas/LiveStatsSessionQuality"},"type":"array","description":"[final] per-device session quality (session count, short-session share, median length). Sorted by sessions desc."},"timeToPeakMin":{"type":"number","format":"double"},"concurrencySparkline":{"items":{"type":"number","format":"double"},"type":"array"},"cacheHitRateAvg":{"type":"number","format":"double"},"error5xxRateAvg":{"type":"number","format":"double"},"error5xxRateMax":{"type":"number","format":"double"},"totalErrorRateAvg":{"type":"number","format":"double"},"error4xxRateAvg":{"type":"number","format":"double","description":"Avg CloudFront 4xx error rate (0..1). Split into 403/404 counts below for diagnosis."},"manifestLatencyP95Ms":{"type":"number","format":"double"},"maxManifestAgeMs":{"type":"number","format":"double"},"stallMinutes":{"type":"number","format":"double"},"encoderUptimePct":{"type":"number","format":"double"},"status403Count":{"type":"number","format":"double","description":"[final] CloudFront 403 responses over the game (signed-cookie / geo / DRM auth failures)."},"status404Count":{"type":"number","format":"double","description":"[final] CloudFront 404 responses over the game (missing segments / manifest gaps)."},"webQoe":{"$ref":"#/components/schemas/LiveStatsWebQoe"},"adBreaksCount":{"type":"number","format":"double"},"adSecondsTotal":{"type":"number","format":"double"},"adFillRateAvg":{"type":"number","format":"double"},"adsInserted":{"type":"number","format":"double","description":"Ad impressions served (from MediaTailor `AdDecisionServer.Ads`)."},"adFrequency":{"type":"number","format":"double","description":"Average impressions per unique user (`adsInserted / uniqueUsers`). Null without uid data."},"adServerLatencyMs":{"type":"number","format":"double","description":"Avg ad-decision-server response time over the game, ms (`AdDecisionServer.Latency`)."},"adServerErrors":{"type":"number","format":"double","description":"Total ad-decision-server errors + timeouts over the game."},"adFunnel":{"$ref":"#/components/schemas/LiveStatsAdFunnel","description":"Detailed ad funnel (demand / fill / skip / impressions / observed) from MediaTailor. Null without SSAI."},"usage":{"$ref":"#/components/schemas/LiveStatsUsage"},"avgBitrateMbps":{"type":"number","format":"double","description":"[final] Avg delivered bitrate across all viewers, Mbps (egress ÷ viewer-time) — ABR-ladder usage signal."},"gbPerViewerHour":{"type":"number","format":"double","description":"[final] Egress GB per viewer-hour — cost/quality efficiency."}},"required":["liveId","durationMin","asOf","isLive","concurrentAllPlatform","peakAllPlatform","avgAllPlatform","concurrentMux","peakMux","nonWebSharePct","uniqueUsers","watchTimeMinutesTotal","avgWatchTimeMin","ama","viewerMinutes","viewerHours","timeToPeakMin","concurrencySparkline","cacheHitRateAvg","error5xxRateAvg","error5xxRateMax","totalErrorRateAvg","error4xxRateAvg","manifestLatencyP95Ms","maxManifestAgeMs","stallMinutes","encoderUptimePct","adBreaksCount","adSecondsTotal","adFillRateAvg","adsInserted","adFrequency","adServerLatencyMs","adServerErrors","adFunnel","usage"],"type":"object","additionalProperties":false},"Pick_LiveStatsListItemViewModel.Exclude_keyofLiveStatsListItemViewModel.stats__":{"properties":{"liveId":{"type":"string"},"title":{"type":"string"},"status":{"$ref":"#/components/schemas/LiveStatus"},"scheduledStart":{"type":"string"},"liveStartedAt":{"type":"string"},"liveStoppedAt":{"type":"string"},"deliveryMode":{"type":"string"},"pipelineType":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home` / `away` relative to the broadcasting network, from the schedule import. Absent on\nlives with no targeting, so a filter needs a third state rather than defaulting either way."}},"required":["liveId","title","status","scheduledStart","liveStartedAt","liveStoppedAt"],"type":"object","description":"From T, pick a set of properties whose keys are in the union K"},"PartnerLiveStatsListItemViewModel":{"description":"Games-table row — the admin row with the cost-free passport attached.","properties":{"liveId":{"type":"string"},"title":{"type":"string"},"status":{"$ref":"#/components/schemas/LiveStatus"},"scheduledStart":{"type":"string"},"liveStartedAt":{"type":"string"},"liveStoppedAt":{"type":"string"},"deliveryMode":{"type":"string"},"pipelineType":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home` / `away` relative to the broadcasting network, from the schedule import. Absent on\nlives with no targeting, so a filter needs a third state rather than defaulting either way."},"stats":{"allOf":[{"$ref":"#/components/schemas/PartnerLiveStatsViewModel"}],"nullable":true}},"required":["liveId","title","status","scheduledStart","liveStartedAt","liveStoppedAt","stats"],"type":"object","additionalProperties":false},"DocumentsList_PartnerLiveStatsListItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PartnerLiveStatsListItemViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PartnerAnalyticsRollupViewModel":{"description":"Totals across every game of the partner that AIRED inside the window (`liveStartedAt`\nwithin `[from, to]`) — aggregated from the per-game passports, so a rollup costs no\nBigQuery scan and always agrees with the numbers on each game's page. Carries no cost\nfigures, for the same reason the per-game passport doesn't.","properties":{"from":{"type":"string"},"to":{"type":"string"},"gamesCount":{"type":"number","format":"double","description":"Games with a computed passport inside the window (a game that never aired has none)."},"isTruncated":{"type":"boolean","description":"True when a source hit the per-source page cap — totals are then a lower bound."},"peakConcurrent":{"type":"number","format":"double","description":"Highest concurrent audience of any single game in the window."},"amaAcrossWindow":{"type":"number","format":"double","nullable":true,"description":"Average-minute audience over the window (total viewer-minutes ÷ total aired minutes)."},"airedMinutesTotal":{"type":"number","format":"double"},"viewerHoursTotal":{"type":"number","format":"double"},"egressBytesTotal":{"type":"number","format":"double","description":"Bytes delivered across the window — a quantity, not a price (see the passport model)."},"watchTimeMinutesTotal":{"type":"number","format":"double"},"uniqueUsersSum":{"type":"number","format":"double","nullable":true,"description":"SUM of each game's unique users — a fan who watched five games counts five times.\nDeliberately NOT called `uniqueUsers`: true cross-game de-duplication needs a BigQuery\nCOUNT(DISTINCT) pass, which this rollup does not do. Null when no game recorded uids."},"uniqueSessionsSum":{"type":"number","format":"double","nullable":true,"description":"SUM of each game's unique CDN sessions — same caveat as `uniqueUsersSum`: one fan across five\ngames counts five times, so this is a views figure, not a de-duplicated audience. Null when no\ngame reported one; a game reports it only once its finalize pass found logs, so a window\ncontaining just-ended games understates rather than waits."},"adBreaksTotal":{"type":"number","format":"double"},"adSecondsTotal":{"type":"number","format":"double"},"adsInsertedTotal":{"type":"number","format":"double","nullable":true},"adImpressionsTotal":{"type":"number","format":"double","nullable":true,"description":"AD impressions (`Avail.Impression`) summed over the window — creatives that started playing\nfor a viewer, the IAB count and the VCR denominator. Runs below `adsInsertedTotal` (inserted\nbut never started). NOT content views: the platform has no such counter; `uniqueSessionsSum`\nis the nearest reach figure. A game that ran SSAI with no campaigns reports 0, not null, so\nnull here means no game in the window had an ad pipeline at all."},"adCompletionsTotal":{"type":"number","format":"double","nullable":true,"description":"Ads played to the end (`Avail.Complete`) — the VCR numerator. Same null rule as impressions."},"adVcr":{"type":"number","format":"double","nullable":true,"description":"Season video completion rate = `adCompletionsTotal / adImpressionsTotal`, 0..1. Computed from\nthe SUMS, not averaged over games — a game with a million impressions must outweigh one with\na thousand (the same reason `amaAcrossWindow` divides totals). Null when there are no impressions."},"adFillRateAvg":{"type":"number","format":"double","nullable":true,"description":"Mean fill rate over the games that reported one."}},"required":["from","to","gamesCount","isTruncated","peakConcurrent","amaAcrossWindow","airedMinutesTotal","viewerHoursTotal","egressBytesTotal","watchTimeMinutesTotal","uniqueUsersSum","uniqueSessionsSum","adBreaksTotal","adSecondsTotal","adsInsertedTotal","adImpressionsTotal","adCompletionsTotal","adVcr","adFillRateAvg"],"type":"object","additionalProperties":false},"LiveStatsFrame":{"description":"One time-bucket of the per-live charting series (default 5-minute buckets).\n`t` is the ISO bucket-start, aligned to `bucketMinutes`. CloudWatch-derived\nfields are recomputed from the metric series each rebuild (self-healing);\n`concurrentMux` is carried forward per bucket because Mux exposes no history,\nand `uniqueUsers` is the cumulative distinct-uid count up to this bucket (BQ).","properties":{"t":{"type":"string","description":"ISO bucket-start timestamp, aligned to `bucketMinutes`."},"concurrentAllPlatform":{"type":"number","format":"double","description":"MediaTailor manifest-poll ÷15 averaged over the bucket — web + STB + mobile."},"concurrentMux":{"type":"number","format":"double","nullable":true,"description":"Mux current-concurrent sampled at this bucket (web only). Null for a bucket never sampled live."},"uniqueUsers":{"type":"number","format":"double","nullable":true,"description":"Cumulative distinct authenticated users up to this bucket (BQ). Null pre-uid-recording."},"egressBytes":{"type":"number","format":"double","description":"Egress in THIS bucket (bytes) — diff for a bandwidth chart, cumsum for total."},"error5xxRate":{"type":"number","format":"double","nullable":true},"cacheHitRate":{"type":"number","format":"double","nullable":true},"encoderUptimePct":{"type":"number","format":"double","nullable":true},"adFillRate":{"type":"number","format":"double","nullable":true},"adServerAds":{"type":"number","format":"double","nullable":true,"description":"Ads returned by the ad decision server in this bucket (MediaTailor `AdDecisionServer.Ads`)."},"adServerLatencyMs":{"type":"number","format":"double","nullable":true,"description":"Avg ad-decision-server response time in this bucket, ms (`AdDecisionServer.Latency`)."},"adServerErrors":{"type":"number","format":"double","nullable":true,"description":"Ad-decision-server errors + timeouts in this bucket."},"adServerFillRate":{"type":"number","format":"double","nullable":true,"description":"[ad funnel] Demand-side fill this bucket — `AdDecisionServer.FillRate` (0..1)."},"durationFillRate":{"type":"number","format":"double","nullable":true,"description":"[ad funnel] Delivered fill this bucket — `Avail.FilledDuration / Avail.Duration` (0..1)."},"adImpressions":{"type":"number","format":"double","nullable":true,"description":"[ad funnel] Ad impressions this bucket (`Avail.Impression`)."},"adVcr":{"type":"number","format":"double","nullable":true,"description":"[ad funnel] Video completion rate this bucket = `Avail.Complete / Avail.Impression` (0..1)."},"adsSkipped":{"type":"number","format":"double","nullable":true,"description":"[ad funnel] Ads returned but dropped this bucket (all `SkippedReason.*` + `AdNotReady`)."},"audioListeners":{"type":"number","format":"double","nullable":true,"description":"Stadium-audio concurrent listeners in this bucket (`Subscribers` [Stage]).\n\nOPTIONAL, like the three below and `LiveStats.audio`: frames persisted before\nstadium-audio stats shipped simply don't carry these keys, and a frozen game's\nseries is never rebuilt unless someone recomputes it. Declaring them required\nwould tell every generated client a key is always present that, for every\nhistorical game, is not."},"audioPublishers":{"type":"number","format":"double","nullable":true,"description":"Venue encoder publishers in this bucket — a zero here is the audio equivalent of an encoder outage."},"audioPacketLossPct":{"type":"number","format":"double","nullable":true,"description":"Stadium-audio listener packet loss in this bucket (`DownloadPacketLoss`)."}},"required":["t","concurrentAllPlatform","concurrentMux","uniqueUsers","egressBytes","error5xxRate","cacheHitRate","encoderUptimePct","adFillRate","adServerAds","adServerLatencyMs","adServerErrors","adServerFillRate","durationFillRate","adImpressions","adVcr","adsSkipped"],"type":"object","additionalProperties":false},"LiveStatsTimeseries":{"description":"Persisted charting time-series for a live, written to\n`lives/{liveId}/stats/timeseries`. Separate from the `stats/summary` passport\nso the (larger, growing) frame array doesn't bloat the frequently-read summary.\nRebuilt on a ~`bucketMinutes` cadence while live, frozen on end. Persisted\n(rather than served on-demand from CloudWatch) so charts survive CloudWatch's\ngranularity-tiered retention (1-min → 15 days, 5-min → 63 days) and to keep the\nMux line, which has no queryable history.","properties":{"liveId":{"type":"string"},"bucketMinutes":{"type":"number","format":"double"},"asOf":{"type":"string","description":"When this series was last rebuilt."},"isLive":{"type":"boolean"},"frames":{"items":{"$ref":"#/components/schemas/LiveStatsFrame"},"type":"array"}},"required":["liveId","bucketMinutes","asOf","isLive","frames"],"type":"object","additionalProperties":false},"LiveStatsTimeseriesViewModel":{"$ref":"#/components/schemas/LiveStatsTimeseries","description":"Persisted 5-minute charting series for a game (`GET /admin/live-stats/{id}/timeseries`).\nSame shape as the stored `LiveStatsTimeseries` — an array of per-bucket frames\nready to plot (concurrent all-platform + Mux, cumulative unique users, egress,\nerror/cache rates, encoder uptime, ad fill)."},"ReplayStatsPartnerQoeViewModel":{"description":"Playback quality shared with partners. All percentages are 0..1 fractions.","properties":{"startupTimeMedianMs":{"type":"number","format":"double","nullable":true,"description":"Median time from press-play to first frame, ms."},"rebufferPct":{"type":"number","format":"double","nullable":true,"description":"Share of watch time spent buffering, 0..1."},"playbackFailurePct":{"type":"number","format":"double","nullable":true,"description":"Share of views that hit a playback failure, 0..1."},"startupFailurePct":{"type":"number","format":"double","nullable":true,"description":"Share of views that never started, 0..1."},"exitsBeforeStartPct":{"type":"number","format":"double","nullable":true,"description":"Share of views abandoned before video began, 0..1."},"weightedAvgBitrate":{"type":"number","format":"double","nullable":true,"description":"Median delivered bitrate, bits per second."}},"required":["startupTimeMedianMs","rebufferPct","playbackFailurePct","startupFailurePct","exitsBeforeStartPct","weightedAvgBitrate"],"type":"object","additionalProperties":false},"ReplayStatsWindowViewModel":{"description":"The measurement window a passport's figures were taken over.","properties":{"from":{"type":"string","description":"Window start — when the broadcast ended."},"to":{"type":"string","description":"Window end — when this snapshot was taken."}},"required":["from","to"],"type":"object","additionalProperties":false},"ReplayStatsCadenceTier":{"description":"Refresh cadence, chosen from the replay's age since `liveStoppedAt`.","enum":["hot","warm","cool","final"],"type":"string"},"ReplayStatsFreezeReason":{"description":"Why a replay passport stopped refreshing. Set together with `isFinal`.","enum":["replay-expired","mux-retention-wall"],"type":"string"},"ReplayStatsUnavailableReason":{"description":"Why the Mux block is empty — what separates \"nobody watched\" from \"nobody measured\".","enum":["no-matching-views","no-recording-asset","retention-expired","rate-limited","api-error"],"type":"string"},"ReplayStatsAvailabilityViewModel":{"description":"Why the figures are what they are — read this before trusting any number.","properties":{"joinKeyValues":{"items":{"type":"string"},"type":"array","description":"The exact filters sent to Mux, so a figure can be reproduced by hand."},"isMuxDataReporting":{"type":"boolean","description":"Whether Mux answered and matched at least one view."},"muxViewsMatched":{"type":"number","format":"double","nullable":true,"description":"Views Mux matched — the sample size behind every Mux figure here."},"unavailableReason":{"allOf":[{"$ref":"#/components/schemas/ReplayStatsUnavailableReason"}],"nullable":true,"description":"Why the Mux figures are missing; null when Mux reported normally."},"reportingPlayers":{"items":{"type":"string"},"type":"array","description":"Player names Mux saw for this replay."}},"required":["joinKeyValues","isMuxDataReporting","muxViewsMatched","unavailableReason","reportingPlayers"],"type":"object","additionalProperties":false},"ReplayStatsAudienceViewModel":{"description":"Replay audience figures.","properties":{"views":{"type":"number","format":"double","nullable":true,"description":"Playback sessions. A reload counts again."},"uniqueViewers":{"type":"number","format":"double","nullable":true,"description":"Distinct viewers."},"watchTimeMinutes":{"type":"number","format":"double","nullable":true,"description":"Total watch time incl. startup and buffering, minutes."},"playingTimeMinutes":{"type":"number","format":"double","nullable":true,"description":"Time actually spent playing content, minutes."},"avgPlayingTimeMin":{"type":"number","format":"double","nullable":true,"description":"Mean playing time per view, minutes."},"completionRate":{"type":"number","format":"double","nullable":true,"description":"Share of the replay an average view got through, 0..1."},"playableDurationSeconds":{"type":"number","format":"double","nullable":true,"description":"Playable replay length, seconds."}},"required":["views","uniqueViewers","watchTimeMinutes","playingTimeMinutes","avgPlayingTimeMin","completionRate","playableDurationSeconds"],"type":"object","additionalProperties":false},"ReplayStatsBreakdownRowViewModel":{"description":"One row of a per-dimension audience breakdown.","properties":{"field":{"type":"string","nullable":true,"description":"The dimension value; null is the \"unknown\" bucket."},"views":{"type":"number","format":"double","description":"Views in this bucket."},"watchTimeMinutes":{"type":"number","format":"double","nullable":true,"description":"Watch time in this bucket, minutes."}},"required":["field","views","watchTimeMinutes"],"type":"object","additionalProperties":false},"ReplayStatsBreakdownsViewModel":{"description":"Audience sliced by dimension. Each list is capped at 25 rows, views desc — a long tail is truncated.","properties":{"country":{"items":{"$ref":"#/components/schemas/ReplayStatsBreakdownRowViewModel"},"type":"array","description":"Views by viewer country."},"region":{"items":{"$ref":"#/components/schemas/ReplayStatsBreakdownRowViewModel"},"type":"array","description":"Views by viewer region / state, worldwide."},"usStates":{"items":{"$ref":"#/components/schemas/ReplayStatsBreakdownRowViewModel"},"type":"array","description":"Views by US state only."},"deviceCategory":{"items":{"$ref":"#/components/schemas/ReplayStatsBreakdownRowViewModel"},"type":"array","description":"Views by device class (desktop, phone, tablet, tv)."},"playerName":{"items":{"$ref":"#/components/schemas/ReplayStatsBreakdownRowViewModel"},"type":"array","description":"Views by reporting player. Empty until players declare a name."}},"required":["country","region","usStates","deviceCategory","playerName"],"type":"object","additionalProperties":false},"ReplayStatsAdsViewModel":{"description":"Replay ad delivery. Null throughout until client ad instrumentation ships.","properties":{"viewsWithAdPct":{"type":"number","format":"double","nullable":true,"description":"Share of views that carried at least one ad, 0..1."},"impressions":{"type":"number","format":"double","nullable":true,"description":"Ads that successfully started."},"breaks":{"type":"number","format":"double","nullable":true,"description":"Ad breaks entered."},"errorPct":{"type":"number","format":"double","nullable":true,"description":"Share of ad attempts that errored, 0..1."},"exitBeforeStartPct":{"type":"number","format":"double","nullable":true,"description":"Share of viewers who left during a pre-roll, 0..1."}},"required":["viewsWithAdPct","impressions","breaks","errorPct","exitBeforeStartPct"],"type":"object","additionalProperties":false},"ReplayStatsPartnerViewModel":{"description":"The partner-facing passport. A whitelist, not a subtraction: `errors`,\n`qoe.businessExceptionPct` and `qoe.viewerExperienceScore` are absent by\nconstruction, so no partner route can leak them.","properties":{"liveId":{"type":"string","description":"The live this replay belongs to."},"title":{"type":"string","nullable":true,"description":"Game title."},"endedAt":{"type":"string","nullable":true,"description":"When the broadcast ended."},"replayExpiresAt":{"type":"string","nullable":true,"description":"When the replay stops being playable."},"asOf":{"type":"string","description":"When this snapshot was computed."},"window":{"$ref":"#/components/schemas/ReplayStatsWindowViewModel","description":"The window the figures were measured over."},"cadenceTier":{"$ref":"#/components/schemas/ReplayStatsCadenceTier","description":"How often this passport still refreshes."},"nextRefreshAt":{"type":"string","nullable":true,"description":"When it refreshes next; null once frozen."},"isFinal":{"type":"boolean","description":"Whether the figures are frozen and will no longer change."},"freezeReason":{"allOf":[{"$ref":"#/components/schemas/ReplayStatsFreezeReason"}],"nullable":true,"description":"Why it froze; null while still refreshing."},"muxAssetId":{"type":"string","nullable":true,"description":"The recording the replay currently plays from."},"replayClipOffsetSeconds":{"type":"number","format":"double","nullable":true,"description":"Seconds trimmed off the head of the recording."},"availability":{"$ref":"#/components/schemas/ReplayStatsAvailabilityViewModel","description":"Data provenance and coverage."},"audience":{"$ref":"#/components/schemas/ReplayStatsAudienceViewModel","description":"Audience figures."},"breakdowns":{"$ref":"#/components/schemas/ReplayStatsBreakdownsViewModel","description":"Audience by country, region, device and player."},"ads":{"$ref":"#/components/schemas/ReplayStatsAdsViewModel","description":"Ad delivery."},"qoe":{"$ref":"#/components/schemas/ReplayStatsPartnerQoeViewModel","description":"Playback quality, without the admin-only figures."}},"required":["liveId","endedAt","replayExpiresAt","asOf","window","cadenceTier","nextRefreshAt","isFinal","freezeReason","muxAssetId","replayClipOffsetSeconds","availability","audience","breakdowns","ads","qoe"],"type":"object","additionalProperties":false},"ReplayStatsPartnerListItemViewModel":{"description":"One row of the replays table, partner-facing. Declared here beside the passport\nwhitelists rather than in `models/partners/` on purpose: it has to stay in\nlockstep with them, and splitting the pair across files is exactly how a newly\nadded field leaks to a tenant.","properties":{"liveId":{"type":"string","description":"The live this row is for."},"title":{"type":"string","description":"Game title."},"status":{"$ref":"#/components/schemas/LiveStatus","description":"Live status; always `ended` for a replay."},"liveSourceId":{"type":"string","nullable":true,"description":"Owning live source."},"scheduledBroadcastId":{"type":"string","nullable":true,"description":"Owning scheduled broadcast."},"endedAt":{"type":"string","nullable":true,"description":"When the broadcast ended — the table's sort key."},"replayExpiresAt":{"type":"string","nullable":true,"description":"When the replay stops being playable."},"stats":{"allOf":[{"$ref":"#/components/schemas/ReplayStatsPartnerViewModel"}],"nullable":true,"description":"The passport; null when it has not been computed yet."}},"required":["liveId","title","status","stats"],"type":"object","additionalProperties":false},"DocumentsList_ReplayStatsPartnerListItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/ReplayStatsPartnerListItemViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"ReplayStatsFrameViewModel":{"description":"One day of the replay's decay curve.","properties":{"t":{"type":"string","description":"Day bucket start."},"views":{"type":"number","format":"double","nullable":true,"description":"Views in this day."},"playingTimeMinutes":{"type":"number","format":"double","nullable":true,"description":"Content playing time in this day, minutes."}},"required":["t","views","playingTimeMinutes"],"type":"object","additionalProperties":false},"ReplayStatsTimeseriesViewModel":{"description":"The replay's day-by-day decay curve.","properties":{"liveId":{"type":"string","description":"The live this curve belongs to."},"asOf":{"type":"string","description":"When the curve was last rebuilt."},"isFinal":{"type":"boolean","description":"Whether the curve is frozen."},"frames":{"items":{"$ref":"#/components/schemas/ReplayStatsFrameViewModel"},"type":"array","description":"One entry per day, oldest first."}},"required":["liveId","asOf","isFinal","frames"],"type":"object","additionalProperties":false},"VideoUploadUrlCreateResponse":{"properties":{"videoId":{"type":"string"},"thirdPartyId":{"type":"string","nullable":true},"url":{"type":"string"}},"required":["videoId","thirdPartyId","url"],"type":"object","additionalProperties":false},"StudioState":{"enum":["draft","scheduled","published"],"type":"string"},"VideoSourceTimingRequest":{"description":"Per-track PRESENTATION START the CLIENT measured in the file it is about to upload.\n\nNeeded because a direct upload goes straight to Mux: the quality level is baked into the upload\nlink before a single byte reaches us, so unlike the MRSS and bucket paths we cannot probe the\nsource ourselves. See `util/mp4Timing.ts` for what the numbers mean and why they matter.\n\n── The quantity, precisely ──────────────────────────────────────────────────────────────────\nNOT the raw `elst` `media_time`. The wanted value is `media_time - min(DTS_i + ctts_i)`, clamped\nat zero: how much media is genuinely trimmed before presentation begins.\n\nThe difference is not academic. Muxers that emit B-frames write an edit list whose `media_time`\nEQUALS the first frame's composition offset, purely so playback starts on the first presentable\nframe — a no-op, present in a large share of ordinary files. Sending the raw value scores those\nat 60-77 ms of skew (measured across a whole publisher feed), which clears the 50 ms routing\nthreshold and bills every such upload to `plus` for nothing. The server-side prober had exactly\nthis bug and it was fixed by subtracting the composition term; a client sending the raw number\nputs it straight back, on the one path where the server cannot check the file itself.\n\nIf a client can only obtain the raw `elst` value, it should send NOTHING. The filename heuristic\nthat absent fields fall back to is imperfect but never invents skew.\n\nOPTIONAL, and expected to be absent for a long while — every client build predating this field\nomits it, and those fall back to the heuristic exactly as before.","properties":{"videoStartOffsetMs":{"type":"number","format":"double","description":"Video track presentation start in ms, composition-corrected. See the type doc."},"audioStartOffsetMs":{"type":"number","format":"double","description":"Audio track presentation start in ms, composition-corrected. Audio has no `ctts`, so for it the\ncorrection is a no-op and the raw `elst` value is already right."}},"type":"object","additionalProperties":false},"VideoUploadUrlCreateRequest":{"properties":{"type":{"$ref":"#/components/schemas/VideoType"},"fileName":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","deprecated":true},"playlistsIds":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isCommentsEnabled":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"length":{"type":"number","format":"double"},"sourceTiming":{"$ref":"#/components/schemas/VideoSourceTimingRequest","description":"Optional; absent on clients predating it. See {@link VideoSourceTimingRequest}."}},"required":["type","fileName","videoOrientation","state"],"type":"object","additionalProperties":false},"VideoBucketUploadCreateResponse":{"properties":{"videoId":{"type":"string"},"uploadUrl":{"type":"string","nullable":true,"description":"Signed PUT URL for direct-to-GCS upload. Null when `uploadSource = \"url\"`."},"storagePath":{"type":"string","nullable":true,"description":"GCS object path the client should upload to. Null when `uploadSource = \"url\"`."},"uploadUrlExpiresInSeconds":{"type":"number","format":"double","nullable":true,"description":"Seconds the upload URL is valid for. Null when `uploadSource = \"url\"`."}},"required":["videoId","uploadUrl","storagePath","uploadUrlExpiresInSeconds"],"type":"object","additionalProperties":false},"VideoBucketUploadSource":{"enum":["bucket","url"],"type":"string"},"VideoBucketUploadCreateRequest":{"properties":{"type":{"$ref":"#/components/schemas/VideoType"},"fileName":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","deprecated":true},"playlistsIds":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isCommentsEnabled":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"length":{"type":"number","format":"double"},"sourceTiming":{"$ref":"#/components/schemas/VideoSourceTimingRequest","description":"Optional; absent on clients predating it. See {@link VideoSourceTimingRequest}."},"uploadSource":{"$ref":"#/components/schemas/VideoBucketUploadSource","description":"\"bucket\" — client uploads to GCS via the returned signed URL.\n\"url\"    — backend pulls from `remoteUrl`."},"remoteUrl":{"type":"string","description":"Required when `uploadSource` = \"url\"."},"contentType":{"type":"string","description":"MIME type of the file the client will upload (e.g. \"video/mp4\"). Required for bucket uploads."}},"required":["type","fileName","videoOrientation","state","uploadSource"],"type":"object","additionalProperties":false},"DocumentsList_VideoEngagementViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/VideoEngagementViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"VideoPageCreateRequest":{"properties":{"title":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"userId":{"type":"string"},"preferredOrder":{"type":"number","format":"double"}},"required":["title","tags"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_VideoPageViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/VideoPageViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"VideoPageFilter":{"enum":["all","homeOnly","excludeHome"],"type":"string"},"PageComponentWithItemsViewModel_ComponentItemVideoViewModel_":{"description":"A page component grouped with its items","properties":{"component":{"$ref":"#/components/schemas/PageComponentReferenceViewModel"},"items":{"items":{"$ref":"#/components/schemas/ComponentItemVideoViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["component","items","nextAfter"],"type":"object","additionalProperties":false},"PaginatedComponentResponse":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ComponentItemVideoViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"VideoStatistic":{"properties":{"videoId":{"type":"string"},"viewers":{"type":"number","format":"double","nullable":true},"uniqueViewers":{"type":"number","format":"double","nullable":true},"startedPlay":{"type":"number","format":"double","nullable":true},"exitBeforeVideoStart":{"type":"number","format":"double","nullable":true},"totalPlayingTime":{"type":"number","format":"double","nullable":true},"totalWatchTime":{"type":"number","format":"double","nullable":true},"averagePlayingTime":{"type":"number","format":"double","nullable":true},"videoCompletion":{"type":"number","format":"double","nullable":true}},"required":["videoId","viewers","uniqueViewers","startedPlay","exitBeforeVideoStart","totalPlayingTime","totalWatchTime","averagePlayingTime","videoCompletion"],"type":"object","additionalProperties":false},"FileUploadRequest":{"properties":{"file":{"type":"string","description":"Base64 encoded file."},"fileName":{"type":"string","description":"File name. Must contain extension."}},"required":["file","fileName"],"type":"object","additionalProperties":false},"VideoUpdateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","deprecated":true},"playlistsIds":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"thumbnail":{"anyOf":[{"$ref":"#/components/schemas/FileUploadRequest"},{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object"}]},"isCommentsEnabled":{"type":"boolean"},"isCrossposted":{"type":"boolean"}},"type":"object","additionalProperties":false},"Record_string.ListResultReponse_VideoViewModel__":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/ListResultReponse_VideoViewModel_"},"type":"object","description":"Construct a type with a set of properties K of type T"},"VideoTranscriptionStatus":{"enum":["rendering","recognizing","completed","failed"],"type":"string"},"SilenceRange":{"properties":{"start":{"type":"number","format":"double"},"end":{"type":"number","format":"double"}},"required":["start","end"],"type":"object","additionalProperties":false},"TranscriptSegment":{"properties":{"start":{"type":"number","format":"double"},"end":{"type":"number","format":"double"},"text":{"type":"string"}},"required":["start","end","text"],"type":"object","additionalProperties":false},"ClipsExtractionStatus":{"description":"Lifecycle of the clip-extraction Cloud Task. Re-running on terminal states wipes\nprior clips; re-running while `Pending`/`Running` is rejected.","enum":["pending","running","completed","failed"],"type":"string"},"KeyTermsExtractionStatus":{"description":"Lifecycle of automated key-terms extraction (driven by the transcriptionCompleted\nFirestore trigger). Lets clients see when the LLM step failed without scraping logs.","enum":["running","completed","failed"],"type":"string"},"WhisperJobState":{"description":"Where a `recognizing` transcription stands with whisper-asr (docs/video-transcription.md):\n`queued` waits for the next dispatch, `dispatched` is in a Batch job under `whisperRunId`.","enum":["queued","dispatched"],"type":"string"},"InitiatorKind":{"description":"Sentinel values for `VideoTranscription.initiatedByUserId` when the run wasn't\nstarted by a real user. The `string` value can't collide with a Firebase UID\n(28-char alphanumeric). Extend with more kinds (scheduled job, migration, etc.)\nas the system grows.","enum":["system"],"type":"string"},"VideoTranscription":{"properties":{"id":{"type":"string"},"videoId":{"type":"string"},"status":{"$ref":"#/components/schemas/VideoTranscriptionStatus"},"language":{"type":"string"},"audioRenditionId":{"type":"string","nullable":true},"audioGcsUri":{"type":"string","nullable":true},"silences":{"items":{"$ref":"#/components/schemas/SilenceRange"},"type":"array"},"segments":{"items":{"$ref":"#/components/schemas/TranscriptSegment"},"type":"array"},"text":{"type":"string"},"durationSec":{"type":"number","format":"double"},"clipsExtractionStatus":{"allOf":[{"$ref":"#/components/schemas/ClipsExtractionStatus"}],"nullable":true},"clipsExtractionError":{"type":"string","nullable":true},"keyTermsExtractionStatus":{"allOf":[{"$ref":"#/components/schemas/KeyTermsExtractionStatus"}],"nullable":true},"keyTermsExtractionError":{"type":"string","nullable":true},"error":{"type":"string","nullable":true},"awaitingExternalTranscription":{"type":"boolean","nullable":true,"description":"When true, this transcription's audio has been uploaded to GCS but the\ninline ASR engine (Deepgram / Gemini) was deliberately skipped — an\nexternal processor (the on-VM faster-whisper service) will pick it up,\ntranscribe, and write `status: 'completed'` + segments/text back here.\nToggle via the `ENABLE_EXTERNAL_TRANSCRIPTION` env var (read in\n`processAudioRendition`). Status stays at `'recognizing'` while we wait\n— frontend treats it like any other in-progress transcription.\n`null` means \"inline path\" (default), matching the project convention\nof clearing nullable fields with `null` rather than omitting them."},"whisperState":{"allOf":[{"$ref":"#/components/schemas/WhisperJobState"}],"nullable":true,"description":"The whisper-asr job's hold on a `recognizing` transcription; null or absent on the Deepgram and VM paths."},"whisperRunId":{"type":"string","nullable":true,"description":"The run a dispatch minted; a result for any other run is stale and dropped."},"whisperQueuedAt":{"type":"string","nullable":true},"whisperDispatchedAt":{"type":"string","nullable":true},"whisperTask":{"type":"string","nullable":true,"description":"`<batch>/<task index>` of the Batch task running it; counts the GPUs in use."},"whisperAttempts":{"type":"number","format":"double","description":"Dispatches so far; a run that reports nothing is queued again up to a cap."},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"initiatedByUserId":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/InitiatorKind"}]}},"required":["id","videoId","status","language","audioRenditionId","audioGcsUri","silences","segments","text","durationSec","clipsExtractionStatus","clipsExtractionError","keyTermsExtractionStatus","keyTermsExtractionError","error","awaitingExternalTranscription","createdAt","updatedAt","initiatedByUserId"],"type":"object","additionalProperties":false},"StartTranscriptionRequest":{"properties":{"languageCodes":{"items":{"type":"string"},"type":"array","description":"BCP-47 language codes the recognizer should consider. First entry becomes the\nauthoritative `language` on the transcription record. Defaults to [\"en-US\"] if omitted."}},"type":"object","additionalProperties":false},"ClipExtractionRequestViewModel":{"properties":{"videoId":{"type":"string"},"transcriptionId":{"type":"string"},"clipsExtractionStatus":{"$ref":"#/components/schemas/ClipsExtractionStatus"}},"required":["videoId","transcriptionId","clipsExtractionStatus"],"type":"object","additionalProperties":false},"ClipScore":{"type":"number","format":"double","description":"Score on the 1-10 scale used by Pass 4 scoring. Clamped on parse."},"VideoClip":{"properties":{"id":{"type":"string","description":"Firestore document id — pre-allocated by the repository's `getNextAvailableClipId`."},"title":{"type":"string","description":"Short catchy clip title (Pass 1 LLM output)."},"description":{"type":"string","description":"≤200 chars. What the clip covers (Pass 1 LLM output)."},"startTime":{"type":"number","format":"double","description":"Start of the clip in seconds from the beginning of the source video. Always equals\nthe `start` of a real transcript segment after Pass 1 snap and Pass 3 silence-snap."},"endTime":{"type":"number","format":"double","description":"End of the clip in seconds. Same constraint as `startTime`."},"keyTerms":{"items":{"type":"string"},"type":"array","description":"Subset of key term strings whose mentions fall within this clip's range."},"watchability":{"$ref":"#/components/schemas/ClipScore","description":"1-10. How engaging the clip is to watch — hook + hold attention. Pass 4 score."},"shareability":{"$ref":"#/components/schemas/ClipScore","description":"1-10. Likelihood a viewer forwards / posts the clip. Pass 4 score."},"virality":{"$ref":"#/components/schemas/ClipScore","description":"1-10. Potential for broader reach / memetic spread. Pass 4 score."},"scoreRationale":{"type":"string","nullable":true,"description":"One concise sentence justifying the three scores. Pass 4 LLM output.\n`null` when Gemini omitted the rationale under structured output — we keep the\nscores rather than dropping the clip for missing debug-only metadata."},"createdAt":{"type":"string"}},"required":["id","title","description","startTime","endTime","keyTerms","watchability","shareability","virality","scoreRationale","createdAt"],"type":"object","additionalProperties":false},"VideoClipsListViewModel":{"properties":{"clips":{"items":{"$ref":"#/components/schemas/VideoClip"},"type":"array"},"clipsExtractionStatus":{"allOf":[{"$ref":"#/components/schemas/ClipsExtractionStatus"}],"nullable":true},"clipsExtractionError":{"type":"string","nullable":true}},"required":["clips","clipsExtractionStatus","clipsExtractionError"],"type":"object","additionalProperties":false},"ListResultRecordResponse_UserProfileReferenceViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_UserProfileReferenceViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_UserProfileReferenceViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"VerificationMethod":{"description":"How a platform proves a new account's email: the Firebase link (today) or a 6-digit code typed in-app.","enum":["link","code"],"type":"string"},"VerificationStateViewModel":{"description":"What the verify screen needs on arrival and on resume.","properties":{"method":{"$ref":"#/components/schemas/VerificationMethod"},"verified":{"type":"boolean"},"codeOutstanding":{"type":"boolean","description":"A code was sent and has not expired or been used up."},"resendAvailableAt":{"type":"string","description":"ISO time after which `send` is accepted again; absent when it is accepted now."}},"required":["method","verified","codeOutstanding"],"type":"object","additionalProperties":false},"VerificationPlatform":{"description":"Which client asks. Each platform flips on its own, because their release cycles differ.","enum":["web","mobile"],"type":"string"},"SendVerificationViewModel":{"properties":{"verified":{"type":"boolean"},"maskedAddress":{"type":"string","description":"`j***@example.com`; absent when the account was already verified and nothing was sent."},"resendAvailableAt":{"type":"string"}},"required":["verified"],"type":"object","additionalProperties":false},"VerificationTarget":{"description":"What a code proves ownership of. Named after the account flag it sets (`emailVerified`, later `phoneNumberVerified`).","enum":["email"],"type":"string"},"SendVerificationRequest":{"properties":{"target":{"$ref":"#/components/schemas/VerificationTarget"}},"required":["target"],"type":"object","additionalProperties":false},"ConfirmVerificationViewModel":{"properties":{"verified":{"type":"boolean"}},"required":["verified"],"type":"object","additionalProperties":false},"ConfirmVerificationRequest":{"properties":{"target":{"$ref":"#/components/schemas/VerificationTarget"},"code":{"type":"string","pattern":"^\\d{6}$"}},"required":["target","code"],"type":"object","additionalProperties":false},"UserSportsInterestViewModel":{"properties":{"sportId":{"type":"string"},"name":{"type":"string"}},"required":["sportId","name"],"type":"object","additionalProperties":false},"SaveUserSportsInterestsRequest":{"properties":{"sportIds":{"items":{"type":"string"},"type":"array","description":"The sports' catalog ids the user selected; replaces the previous selection.","minItems":1,"maxItems":50}},"required":["sportIds"],"type":"object","additionalProperties":false},"ClaimRequestStatus":{"enum":["needsReview","approved","denied","revoked"],"type":"string"},"OnboardingCreatorStateViewModel":{"description":"The creator path's state, present once the caller has filed a claim that is still on the profile.","properties":{"claimStatus":{"$ref":"#/components/schemas/ClaimRequestStatus","description":"`needsReview` | `approved` | `denied` | `revoked`; the reason of a denial is on `GET /user/me` (`claimRequest.denialInfo`)."},"instagramHandleSet":{"type":"boolean"}},"required":["claimStatus","instagramHandleSet"],"type":"object","additionalProperties":false},"OnboardingPath":{"description":"The sign-up wizard's fork-screen choice (docs/onboarding-state.md).","enum":["fan","creator"],"type":"string"},"OnboardingStateViewModel":{"description":"Which sign-up steps the caller has passed (`GET /user/me/onboarding-state`), each read from where the step writes.\nPlain facts, no verdict: the client decides which screen is next, and `hasCompletedOnboarding`\n(`util/userOnboarding.ts`) keeps gating the deferred default follows on its own.","properties":{"emailVerified":{"type":"boolean"},"dateOfBirthSet":{"type":"boolean"},"displayNameSet":{"type":"boolean"},"bzzrHandleSet":{"type":"boolean"},"sportsInterestsSelected":{"type":"boolean"},"bleachersSaved":{"type":"boolean"},"notificationAskAnswered":{"type":"boolean","description":"The fan answered the sign-up's notification screen (the toggles, or the older `yes` / `notNow`); the answer itself\nis in `preferences`."},"creator":{"allOf":[{"$ref":"#/components/schemas/OnboardingCreatorStateViewModel"}],"nullable":true,"description":"null when the caller never filed a claim, or withdrew it."},"path":{"allOf":[{"$ref":"#/components/schemas/OnboardingPath"}],"nullable":true,"description":"The fork screen's choice; independent of `creator`, null until chosen."}},"required":["emailVerified","dateOfBirthSet","displayNameSet","bzzrHandleSet","sportsInterestsSelected","bleachersSaved","notificationAskAnswered","creator","path"],"type":"object","additionalProperties":false},"SetOnboardingPathRequest":{"properties":{"path":{"$ref":"#/components/schemas/OnboardingPath"}},"required":["path"],"type":"object","additionalProperties":false},"IntroId":{"description":"The one-time intros the apps show once per fan (docs/one-time-intros.md). Later releases add values: skip one you do not know.","enum":["whatsNew","discoverTip","unfollowExplainer"],"type":"string"},"IntroOutcome":{"description":"How an intro closed for a fan: gone through, closed with ×, or not for this account. Skip a value you do not know.","enum":["seen","dismissed","skipped"],"type":"string"},"IntroViewModel":{"description":"One intro in `GET /user/me/intros`.","properties":{"id":{"$ref":"#/components/schemas/IntroId"},"enabled":{"type":"boolean","description":"On for this fan: the `intros` flag and the intro's own switch in the app config."},"outcome":{"allOf":[{"$ref":"#/components/schemas/IntroOutcome"}],"nullable":true,"description":"How the intro closed for the caller; null while it is not closed (to show, off, or not decided yet)."},"show":{"type":"boolean","description":"The verdict the apps act on: enabled, not closed, and for this account."}},"required":["id","enabled","outcome","show"],"type":"object","additionalProperties":false},"IntrosViewModel":{"description":"`GET /user/me/intros`: every known intro, in `IntroId` order. A later release's intro is listed from the deploy that\nadds it, on or off, so find intros by `id`, not by position.","properties":{"intros":{"items":{"$ref":"#/components/schemas/IntroViewModel"},"type":"array"}},"required":["intros"],"type":"object","additionalProperties":false},"MarkIntroSeenRequest":{"description":"Body of `PUT /user/me/intros/{introId}`; `{}` marks the intro seen.","properties":{"dismissed":{"type":"boolean","description":"The fan closed the intro (×) rather than going through it."}},"type":"object","additionalProperties":false},"UserInterestsViewModel":{"description":"`GET /user/me/interests`.","properties":{"interestWeights":{"$ref":"#/components/schemas/Record_string.number_","description":"The user's interests as GetStream `interest_weights`, tag to weight: sent as it is with a feed read. Empty when the user has none."}},"required":["interestWeights"],"type":"object","additionalProperties":false},"CreatorAlertViewModel":{"description":"One creator whose live alert the fan has on.","properties":{"creator":{"$ref":"#/components/schemas/FollowingShortViewModel"},"since":{"type":"string","description":"When the fan turned it on, ISO."}},"required":["creator","since"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_CreatorAlertViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/CreatorAlertViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"FollowedCreatorViewModel":{"description":"One creator the fan follows, in Settings › Notifications › Creator lives.","properties":{"creator":{"$ref":"#/components/schemas/FollowingShortViewModel"},"isLiveAlertOn":{"type":"boolean","description":"Whether the fan has the creator's live alert (🔔) on."}},"required":["creator","isLiveAlertOn"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_FollowedCreatorViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/FollowedCreatorViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"EntityCreateRequest":{"properties":{"description":{"type":"string"}},"required":["description"],"type":"object","additionalProperties":false},"EntityClaimCreateRequest":{"properties":{"entityId":{"type":"string"},"entityCreateRequest":{"$ref":"#/components/schemas/EntityCreateRequest"},"instagramHandle":{"type":"string"}},"type":"object","additionalProperties":false},"UserProfileStatus":{"enum":["retired","active"],"type":"string"},"ClaimRequestType":{"enum":["claim","createEntity","promote"],"type":"string"},"ClaimedEntityType":{"enum":["podcast","profile"],"type":"string"},"EntityClaimDenialInfo":{"properties":{"deniedAt":{"type":"string"},"deniedBy":{"type":"string"},"reason":{"type":"string","nullable":true}},"required":["deniedAt","deniedBy","reason"],"type":"object","additionalProperties":false},"EntityClaimRevokeInfo":{"properties":{"revokedAt":{"type":"string"},"revokedBy":{"type":"string"},"reason":{"type":"string","nullable":true}},"required":["revokedAt","revokedBy","reason"],"type":"object","additionalProperties":false},"EntityClaimViewModel":{"properties":{"id":{"type":"string"},"userId":{"type":"string"},"entityId":{"type":"string","nullable":true},"entityType":{"allOf":[{"$ref":"#/components/schemas/ClaimedEntityType"}],"nullable":true},"entityCreateRequest":{"allOf":[{"$ref":"#/components/schemas/EntityCreateRequest"}],"nullable":true},"requestType":{"$ref":"#/components/schemas/ClaimRequestType"},"instagramHandle":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/ClaimRequestStatus"},"denialInfo":{"allOf":[{"$ref":"#/components/schemas/EntityClaimDenialInfo"}],"nullable":true},"revokeInfo":{"allOf":[{"$ref":"#/components/schemas/EntityClaimRevokeInfo"}],"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"createdBy":{"type":"string"},"updatedBy":{"type":"string"}},"required":["id","userId","entityId","entityType","entityCreateRequest","requestType","instagramHandle","status","denialInfo","revokeInfo","createdAt","updatedAt","createdBy","updatedBy"],"type":"object","additionalProperties":false},"Record_FeatureKey.boolean_":{"properties":{"lives":{"type":"boolean"},"channels":{"type":"boolean"},"subscriptions":{"type":"boolean"},"compCodes":{"type":"boolean"},"partnerDashboard":{"type":"boolean"},"stadiumAudio":{"type":"boolean"},"tveEntitlements":{"type":"boolean"},"tveHouseholdLimitExempt":{"type":"boolean"},"geoComply":{"type":"boolean"},"geoNativeGps":{"type":"boolean"},"geoIp":{"type":"boolean"},"liveHighFrameRate":{"type":"boolean"},"liveAdClientSideReporting":{"type":"boolean"},"autoCaptions":{"type":"boolean"},"replayAwsDelivery":{"type":"boolean"},"replayGuidedAds":{"type":"boolean"},"gameFeed":{"type":"boolean"},"bleachers":{"type":"boolean"},"bleachersOnboarding":{"type":"boolean"},"bleachersChat":{"type":"boolean"},"bleachersGame":{"type":"boolean"},"bleachersRooms":{"type":"boolean"},"bleachersShares":{"type":"boolean"},"bleachersCorePushRules":{"type":"boolean"},"topicGrouping":{"type":"boolean"},"discoverTopics":{"type":"boolean"},"discoverHypes":{"type":"boolean"},"intros":{"type":"boolean"}},"required":["lives","channels","subscriptions","compCodes","partnerDashboard","stadiumAudio","tveEntitlements","tveHouseholdLimitExempt","geoComply","geoNativeGps","geoIp","liveHighFrameRate","liveAdClientSideReporting","autoCaptions","replayAwsDelivery","replayGuidedAds","gameFeed","bleachers","bleachersOnboarding","bleachersChat","bleachersGame","bleachersRooms","bleachersShares","bleachersCorePushRules","topicGrouping","discoverTopics","discoverHypes","intros"],"type":"object","description":"Construct a type with a set of properties K of type T"},"FeatureFlags":{"$ref":"#/components/schemas/Record_FeatureKey.boolean_","description":"Resolved on/off for every known feature. Absent keys resolve to `false`\n(default-OFF / opt-in) — a feature is disabled until an admin explicitly\nenables it (`true`), so a brand-new feature ships dark and a missing config\ndocument keeps everything off rather than exposing an unfinished surface."},"FeatureStateViewModel":{"description":"Resolved on/off for every known feature — the payload the client uses to\nshow/hide feature UI proactively (backend still hard-gates the endpoints).\nEvery known key is always present (fail-open defaults applied). For a signed-in\nuser this reflects the EFFECTIVE flags (global overlaid with their per-user\noverrides); the global-only view is used by the admin `GET`.","properties":{"features":{"$ref":"#/components/schemas/FeatureFlags"}},"required":["features"],"type":"object","additionalProperties":false},"CaptionsPreference":{"properties":{"enabled":{"type":"boolean"}},"required":["enabled"],"type":"object","additionalProperties":false},"NotificationAskAnswer":{"description":"The fan's answer on the sign-up's own notification screen; the system prompt follows only a `yes`.","enum":["yes","notNow"],"type":"string"},"NotificationAskPreference":{"description":"The sign-up's notification ask. Kept with its date because a `notNow` is asked again in a later phase, and on iOS\nthe system prompt can be shown only once, so the fan's own answer is what says it is still unspent.","properties":{"answer":{"$ref":"#/components/schemas/NotificationAskAnswer"},"answeredAt":{"type":"string"}},"required":["answer","answeredAt"],"type":"object","additionalProperties":false,"deprecated":true},"InAppNotificationsPreference":{"description":"The app's own sounds and vibration while it is open; stored so a fan's devices agree.","properties":{"sounds":{"type":"boolean"},"vibration":{"type":"boolean"}},"required":["sounds","vibration"],"type":"object","additionalProperties":false},"NotificationsPreference":{"description":"The per-type toggles. Mentions and Replies are always saved together, by the sign-up's notification screen or by\nSettings › Notifications; the rest only by Settings. Account and security notices have no toggle: always on.\nAn absent push toggle is on, but for `comments` (below); an absent `inApp` means the app's built-in default, not the\ndevice's last value.","properties":{"mentions":{"type":"boolean"},"replies":{"type":"boolean","description":"Replies to the fan's comments."},"comments":{"type":"boolean","description":"Comments on your posts, the toggle Settings shows creators: under the Core push rules (`bleachersCorePushRules`), the\npush to a post's owner for a top-level comment on it. Never saved, it reads as `replies`."},"groupReactions":{"type":"boolean","description":"Groups › Reactions to your messages, stored for the groups backend's reaction pushes."},"inApp":{"$ref":"#/components/schemas/InAppNotificationsPreference"}},"required":["mentions","replies"],"type":"object","additionalProperties":false},"UserPreferencesViewModel":{"description":"A section is absent until the user has ever set it; an explicit `enabled: false` is a real \"off\".","properties":{"captions":{"$ref":"#/components/schemas/CaptionsPreference"},"notificationAsk":{"$ref":"#/components/schemas/NotificationAskPreference","description":"Absent until the fan answers the sign-up's notification screen.","deprecated":true},"notifications":{"$ref":"#/components/schemas/NotificationsPreference","description":"Absent until the fan first saves the notification toggles."}},"type":"object","additionalProperties":false},"UserProfileViewModel":{"properties":{"id":{"type":"string"},"email":{"type":"string","nullable":true},"emailVerified":{"type":"boolean"},"phoneNumber":{"type":"string","nullable":true},"phoneNumberVerified":{"type":"boolean"},"displayName":{"type":"string","nullable":true},"disabled":{"type":"boolean"},"roles":{"items":{"type":"string"},"type":"array","nullable":true,"description":"The stored profile roles — NOT the roles in the caller's ID token, and not an authorization\nsource. Derived roles are absent by design: `partner` lives in the token claims and in\n`partner_membership`, never here, so a partner admin's profile will not list it. To discover\npartner access (and which tenants, with which role), call `GET /partner/memberships`."},"bzzrHandle":{"type":"string","nullable":true},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/UserProfileType"},"driversLicensePhoto":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"driversLicenseVerified":{"type":"boolean"},"username":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true,"deprecated":true},"lastName":{"type":"string","nullable":true,"deprecated":true},"dateOfBirth":{"type":"string","nullable":true},"profileStatus":{"allOf":[{"$ref":"#/components/schemas/UserProfileStatus"}],"nullable":true},"sport":{"type":"string","nullable":true},"team":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"personalUrl":{"type":"string","nullable":true},"personalUrlName":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"signupStatus":{"$ref":"#/components/schemas/UserProfileSignupStatus"},"socialLinks":{"$ref":"#/components/schemas/Partial_Record_UserSocialNetwork.string__"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"claimRequestType":{"allOf":[{"$ref":"#/components/schemas/ClaimRequestType"}],"nullable":true},"claimedEntityId":{"type":"string","nullable":true},"claimRequest":{"allOf":[{"$ref":"#/components/schemas/EntityClaimViewModel"}],"nullable":true},"isVerified":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true},"hasPaidProducts":{"type":"boolean"},"contentCounts":{"$ref":"#/components/schemas/ContentCounts"},"networks":{"items":{"type":"string"},"type":"array","description":"The networks an admin put the account in (`locked-on`, `si`)."},"socialFeedAmplifier":{"type":"number","format":"double"},"isPromotionalAccount":{"type":"boolean","description":"A promotional account, whose posts, videos and Hypes no Bleacher shows\n(`PATCH /admin/users/{userId}/promotionalAccount`)."},"geoTokenOverride":{"type":"string","nullable":true,"description":"Test-mode override for the GeoComply geo-token. When non-null, the\nclient should send this string as the `X-Geo-Token` header on every\ngated request instead of running the GeoComply SDK. Production user\ndocuments leave this null. See `POST /admin/users/{uid}/geo-token-override`."},"hasGeoOverrides":{"type":"boolean","description":"True when ANY geo override is stored for this account — the legacy single\ntoken or a server-side grant. A deliberate one-bit cue for the player:\nrequest the playback grant token-less FIRST and run the GeoComply SDK only\nif that comes back geo-denied, sparing grant holders a doomed multi-second\nscan. Exposes existence only — locations, count and tokens stay admin-only."},"featureState":{"$ref":"#/components/schemas/FeatureStateViewModel","description":"EFFECTIVE feature flags for this user (global flags overlaid with their\nper-user overrides), embedded on `GET /user/me` so the client gets them on\nbootstrap without a separate `GET /feature-state` call. Populated ONLY on\n`/user/me` (not stored on the document, not returned by admin/list reads);\nabsent when the flag read failed (advisory payload fails soft — the backend\nstill hard-gates the endpoints)."},"preferences":{"$ref":"#/components/schemas/UserPreferencesViewModel","description":"The caller's stored preferences (`PATCH /user/me/preferences`), populated ONLY on\n`/user/me`: `{}` when nothing was ever set, absent when the read failed."}},"required":["id","email","emailVerified","phoneNumber","phoneNumberVerified","displayName","disabled","roles","bzzrHandle","photo","backgroundImage","type","driversLicensePhoto","driversLicenseVerified","username","firstName","lastName","dateOfBirth","profileStatus","sport","team","position","bio","personalUrl","personalUrlName","tags","signupStatus","socialLinks","createdAt","updatedAt","claimRequestType","claimedEntityId","claimRequest","isCommentsEnabled","hasPaidProducts","contentCounts","networks","socialFeedAmplifier","isPromotionalAccount","hasGeoOverrides"],"type":"object","additionalProperties":false},"NotificationAskRequest":{"description":"The fan's answer on the notification screen; the backend stamps when.","properties":{"answer":{"$ref":"#/components/schemas/NotificationAskAnswer"}},"required":["answer"],"type":"object","additionalProperties":false,"deprecated":true},"UpdateUserPreferencesRequest":{"description":"Merge semantics — sections omitted from the body keep their stored value.","properties":{"captions":{"$ref":"#/components/schemas/CaptionsPreference"},"notificationAsk":{"$ref":"#/components/schemas/NotificationAskRequest","deprecated":true},"notifications":{"$ref":"#/components/schemas/NotificationsPreference","description":"The notification toggles; `comments`, `groupReactions` or a whole `inApp` left out keeps its stored value. Leave a toggle\nout rather than sending it as null, which is read as off."}},"type":"object","additionalProperties":false},"UserUpdatePersonalRequest":{"description":"v1: image fields carry an inline base64 blob.","properties":{"email":{"type":"string","description":"Must be the account's current address, in which case it is ignored. A different one is refused\n(400 `email_change_requires_code`): the address moves only through `POST /user/me/email-change/send` + `confirm`."},"phoneNumber":{"type":"string","nullable":true},"password":{"type":"string","description":"Sets the password with no proof of the inbox. `POST /user/me/password-change/send` + `confirm` proves it first."},"displayName":{"type":"string","description":"Trimmed; empty or only spaces is refused (400, \"Display name is required.\"). Left out on an account that has a\nhandle and no display name, the handle becomes its display name unless it is on the restricted-words list."},"bzzrHandle":{"type":"string"},"username":{"type":"string"},"firstName":{"type":"string","nullable":true,"deprecated":true},"lastName":{"type":"string","nullable":true,"deprecated":true},"dateOfBirth":{"type":"string","nullable":true},"profileStatus":{"allOf":[{"$ref":"#/components/schemas/UserProfileStatus"}],"nullable":true},"sport":{"type":"string","nullable":true},"team":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"personalUrl":{"type":"string","nullable":true},"personalUrlName":{"type":"string","nullable":true},"socialLinks":{"$ref":"#/components/schemas/Partial_Record_UserSocialNetwork.string__"},"isCommentsEnabled":{"type":"boolean"},"photo":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"driversLicensePhoto":{"$ref":"#/components/schemas/FileUploadRequest"}},"type":"object","additionalProperties":false},"ImageUploadUrlCreateResponse":{"description":"Response for `POST /user/v2/me/images/upload-url`.","properties":{"storagePath":{"type":"string","description":"Object key to PUT the bytes to; pass this back as the image field's `storagePath` on the v2 update."},"uploadUrl":{"type":"string","description":"Signed PUT URL for the direct-to-GCS upload."},"uploadUrlExpiresInSeconds":{"type":"number","format":"double","description":"Signed URL lifetime, in seconds."}},"required":["storagePath","uploadUrl","uploadUrlExpiresInSeconds"],"type":"object","additionalProperties":false},"UserImageTarget":{"enum":["photo","backgroundImage","driversLicensePhoto"],"type":"string"},"ImageUploadUrlCreateRequest":{"description":"Body for `POST /user/v2/me/images/upload-url` — request a signed URL to upload one image.","properties":{"target":{"$ref":"#/components/schemas/UserImageTarget","description":"Which user image field this upload will populate."},"contentType":{"type":"string","description":"MIME type the client will PUT. Must be an allowed image type; it binds the v4 signature."},"fileName":{"type":"string","description":"Original file name (with extension). Optional — only kept for stored-object metadata."}},"required":["target","contentType"],"type":"object","additionalProperties":false},"UploadedImageReference":{"description":"Reference to an image already uploaded directly to GCS via a signed URL (v2 update flow).","properties":{"storagePath":{"type":"string","description":"Object key returned by the upload-url endpoint, e.g. `image-uploads/{userId}/{target}/{id}.{ext}`."},"fileName":{"type":"string","description":"Original file name (optional) — only kept for stored-object metadata."}},"required":["storagePath"],"type":"object","additionalProperties":false},"UserUpdatePersonalRequestV2":{"description":"v2: image fields reference an object the client already uploaded directly to GCS\n(see `POST /user/v2/me/images/upload-url`) instead of carrying an inline base64 blob —\nkeeps the request body tiny (well under the ~32MB cap).","properties":{"email":{"type":"string","description":"Must be the account's current address, in which case it is ignored. A different one is refused\n(400 `email_change_requires_code`): the address moves only through `POST /user/me/email-change/send` + `confirm`."},"phoneNumber":{"type":"string","nullable":true},"password":{"type":"string","description":"Sets the password with no proof of the inbox. `POST /user/me/password-change/send` + `confirm` proves it first."},"displayName":{"type":"string","description":"Trimmed; empty or only spaces is refused (400, \"Display name is required.\"). Left out on an account that has a\nhandle and no display name, the handle becomes its display name unless it is on the restricted-words list."},"bzzrHandle":{"type":"string"},"username":{"type":"string"},"firstName":{"type":"string","nullable":true,"deprecated":true},"lastName":{"type":"string","nullable":true,"deprecated":true},"dateOfBirth":{"type":"string","nullable":true},"profileStatus":{"allOf":[{"$ref":"#/components/schemas/UserProfileStatus"}],"nullable":true},"sport":{"type":"string","nullable":true},"team":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"personalUrl":{"type":"string","nullable":true},"personalUrlName":{"type":"string","nullable":true},"socialLinks":{"$ref":"#/components/schemas/Partial_Record_UserSocialNetwork.string__"},"isCommentsEnabled":{"type":"boolean"},"photo":{"allOf":[{"$ref":"#/components/schemas/UploadedImageReference"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/UploadedImageReference"}],"nullable":true},"driversLicensePhoto":{"$ref":"#/components/schemas/UploadedImageReference"}},"type":"object","additionalProperties":false},"PushDevicePlatform":{"enum":["ios","android","web"],"type":"string"},"RegisterPushDeviceRequest":{"properties":{"fcmToken":{"type":"string","description":"FCM registration token obtained on the device. The charset/length gate matters:\nthe raw value becomes a Firestore doc id, so an unconstrained string (empty, a\n`/`-containing path, >1500 bytes) would write orphan docs outside the collection\nor throw unhandled. Keep in sync with `FCM_TOKEN_REGEX` in `domain.ts`.\n\nNAMED `fcmToken` ON PURPOSE: the auth layer (`expressAuthentication`) reads\n`request.body.token` BEFORE the Authorization header as a legacy fallback, so a\nbody field named `token` would be treated as the caller's Firebase JWT and fail\nverification with a misleading \"Token has been revoked\".","pattern":"^[A-Za-z0-9_:-]{1,512}$"},"platform":{"$ref":"#/components/schemas/PushDevicePlatform"},"appVersion":{"type":"string","description":"Informational, e.g. the mobile app build (\"1.4.2+87\") or the site's release."},"notificationsAllowed":{"type":"boolean","description":"Whether the device allows notifications, after the system prompt. Omitted keeps the stored answer."}},"required":["fcmToken","platform"],"type":"object","additionalProperties":false},"PushDeviceViewModel":{"description":"One of the caller's registered devices (`GET /user/me/push-devices`).","properties":{"fcmToken":{"type":"string"},"platform":{"$ref":"#/components/schemas/PushDevicePlatform"},"appVersion":{"type":"string","nullable":true},"notificationsAllowed":{"type":"boolean","nullable":true,"description":"The system prompt's answer on this device; null until the app has reported one."},"notificationsAskedAt":{"type":"string","nullable":true,"description":"When the app last reported the answer; null means the fan was not asked on this device yet."},"updatedAt":{"type":"string"}},"required":["fcmToken","platform","appVersion","notificationsAllowed","notificationsAskedAt","updatedAt"],"type":"object","additionalProperties":false},"PaginatedCursorResponse_FollowingShortViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/FollowingShortViewModel"},"type":"array"},"nextAfter":{"type":"string"}},"required":["records","nextAfter"],"type":"object","additionalProperties":false},"BlacklistAction":{"enum":["block","unblock"],"type":"string"},"UpdateBlacklistRequest":{"properties":{"userId":{"type":"string"},"action":{"$ref":"#/components/schemas/BlacklistAction"}},"required":["userId","action"],"type":"object","additionalProperties":false},"BlockedUserViewModel":{"properties":{"user":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"blockedAt":{"type":"string"}},"required":["user","blockedAt"],"type":"object","additionalProperties":false},"DocumentsList_BlockedUserViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/BlockedUserViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"ReportType":{"enum":["user","post","video","hype","comment","commentReply","sidecastShow","sidecastEpisode","podcast","podcastEpisode"],"type":"string"},"ReportViewModel":{"properties":{"id":{"type":"string"},"entityId":{"type":"string"},"type":{"$ref":"#/components/schemas/ReportType"},"reason":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","entityId","type","reason","createdAt"],"type":"object","additionalProperties":false},"CreateReportRequest":{"properties":{"entityId":{"type":"string"},"type":{"$ref":"#/components/schemas/ReportType"},"reason":{"type":"string","nullable":true}},"required":["entityId","type","reason"],"type":"object","additionalProperties":false},"TveUserProviderViewModel":{"description":"A catalogue entry with the caller's own link state attached — what\n`GET /tve/providers` returns, so a picker that marks the connected provider\nneeds no second request. The flags are computed per request and never reach\nthe cached catalogue, which stays global.","properties":{"idp":{"type":"string","description":"Picker `bridge_identifier` → use as `idp` on `/tve/authn/loginUrl`."},"name":{"type":"string","description":"Human-readable MVPD name, e.g. \"Spectrum\"."},"logo":{"type":"string","description":"MVPD logo URL for the picker UI."},"featured":{"type":"boolean","description":"Featured MVPDs are shown more prominently; sorted first."},"type":{"type":"string","description":"Provider kind — \"CABLE\" | \"STREAMING\"."},"isLinked":{"type":"boolean","description":"The user already has a link with this provider."},"isActiveLink":{"type":"boolean","description":"That link is the one authorization uses by default. Subset of {@link isLinked}."}},"required":["idp","name","featured","isLinked","isActiveLink"],"type":"object","additionalProperties":false},"CloudIdProvidersQuery":{"properties":{"provider":{"type":"string","description":"Picker `provider` filter — only the IDPs valid for this content provider (e.g. `rsn`)."}},"type":"object","additionalProperties":false},"TveLinkItemViewModel":{"properties":{"idp":{"type":"string"},"name":{"type":"string","description":"Display name from the IDP Picker; absent when the Picker could not be reached in time."},"logo":{"type":"string","description":"Logo URL from the IDP Picker; absent when the Picker could not be reached in time."},"isActive":{"type":"boolean"},"isExpired":{"type":"boolean","description":"AuthZ answered REAUTHN (or the token TTL passed) — re-link this provider."},"expiresAt":{"type":"string","description":"ISO timestamp of the AuthN token expiry, when the provider reported one."},"linkedAt":{"type":"string"}},"required":["idp","isActive","isExpired","linkedAt"],"type":"object","additionalProperties":false},"TveLinkViewModel":{"description":"MVPD link state for the signed-in user (`GET /tve/link`).","properties":{"linked":{"type":"boolean","description":"True when the active link is usable for AuthZ (exists and is not expired)."},"activeIdp":{"type":"string"},"links":{"items":{"$ref":"#/components/schemas/TveLinkItemViewModel"},"type":"array"}},"required":["linked","links"],"type":"object","additionalProperties":false},"CloudIdSetActiveLinkRequest":{"properties":{"idp":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"}},"required":["idp"],"type":"object","additionalProperties":false},"TveAuthUrlViewModel":{"description":"A built (and possibly signed) Authentication Bridge login/logout URL.","properties":{"url":{"type":"string","description":"Fully-qualified URL the client should redirect the browser to."},"timestamp":{"type":"number","format":"double","description":"Unix-seconds timestamp baked into the URL (and the HMAC token, when signed)."},"signed":{"type":"boolean","description":"True when a custom `return_url` was supplied and the URL carries an HMAC `token`."}},"required":["url","timestamp","signed"],"type":"object","additionalProperties":false},"CloudIdLoginUrlQuery":{"properties":{"idp":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"},"force":{"type":"boolean","description":"Force credential entry (disable SSO). Only ever ADDS force: the server already\nforces whenever `idp` is not the currently linked provider."},"returnTo":{"type":"string","description":"Where the public callback redirects the browser afterwards: a web app origin or the mobile scheme."},"provider":{"type":"string","description":"The IDP Picker `provider` the client listed operators by (`GET /tve/providers?provider=rsn`). When\nit names a channel we carry, the redirect back reports the operator's verdict on it as\n`permitted=true|false`; absent when the operator could not be asked, or it is no channel of ours.","pattern":"^[A-Za-z0-9_.-]{1,64}$"}},"required":["idp","returnTo"],"type":"object","additionalProperties":false},"CloudIdLogoutUrlQuery":{"properties":{"idp":{"type":"string","description":"Provider to log out; defaults to the active link.","pattern":"^[A-Za-z0-9_.-]{1,64}$"},"returnTo":{"type":"string","description":"Where the logout callback redirects the browser afterwards: a web app origin or the mobile scheme."}},"required":["returnTo"],"type":"object","additionalProperties":false},"CloudIdAuthStatusCode":{"description":"Authorization Bridge `statusCode` values (the `statusCode` field in the JSON\nbody, NOT the HTTP status).","enum":["PERMIT","DENY","SUCCESS","REAUTHN","NOT_FOUND","INVALID_PARAMS","INDETERMINATE","TIMEOUT"],"type":"string"},"CloudIdParentalControls":{"properties":{"tv":{"type":"string"},"movie":{"type":"string"}},"type":"object","additionalProperties":false},"CloudIdAuthzResult":{"description":"Result of a single-entitlement Authorization Bridge call, normalized so\ncallers can branch on a boolean without re-deriving it from the status code.","properties":{"permitted":{"type":"boolean","description":"Convenience boolean: `statusCode === PERMIT`."},"statusCode":{"anyOf":[{"$ref":"#/components/schemas/CloudIdAuthStatusCode"},{"type":"string"}],"description":"Raw upstream `statusCode` (PERMIT/DENY/REAUTHN/…)."},"subStatusCode":{"type":"string","description":"Downstream IDP code accompanying INDETERMINATE outcomes, when present."},"httpStatus":{"type":"number","format":"double","description":"Upstream HTTP status (200 PERMIT, 403 DENY, 401 REAUTHN, …)."},"opaqueId":{"type":"string","description":"Echoed subscriber id (`opaqueId`), when present."},"message":{"type":"string","description":"Human-readable message from the upstream body, when present."},"parentalControls":{"$ref":"#/components/schemas/CloudIdParentalControls","description":"Parental-control ratings returned alongside an entitlement decision."}},"required":["permitted","statusCode","httpStatus"],"type":"object","additionalProperties":false},"TveAuthzSingleViewModel":{"$ref":"#/components/schemas/CloudIdAuthzResult","description":"Single-entitlement authorization decision."},"CloudIdAuthorizeSingleQuery":{"description":"Query params for a **single-entitlement** Authorization Bridge check.\n\n`affiliate`, `OPAQUE_ID` and `AUTHN_DE` come from the stored MVPD link\n(the active one unless `idp` says otherwise), `service` is the app's fixed\nSynacor id, and `IP_ADDRESS` is derived server-side.","properties":{"idp":{"type":"string","description":"Check a specific linked provider instead of the active one.","pattern":"^[A-Za-z0-9_.-]{1,64}$"},"resource":{"type":"string","description":"Authorization Bridge channel to ask about — the `service` segment of\n`/authz/affiliates/{idp}/services/{service}`. Testing only: playback reads\nthis from `LiveSource.tveConfig.resourceName`, never from the client.\nOmitted falls back to the app-wide `CLOUD_ID_SERVICE`, which is an AuthN\nidentifier and is NOT a registered channel at every operator.","pattern":"^[A-Za-z0-9_.-]{1,64}$"},"assetId":{"type":"string"},"assetNamespace":{"type":"string"},"assetTitle":{"type":"string"},"assetRating":{"type":"string"},"assetRatingType":{"type":"string"}},"type":"object","additionalProperties":false},"TopicShownReason":{"description":"Why the Topics row shows a topic to this fan.","enum":["fanTeam","fanLeague","platformTop"],"type":"string"},"TrendingTopicViewModel":{"description":"A topic as Discover's Topics row and the topic's own page show it.","properties":{"id":{"type":"string"},"title":{"type":"string"},"summary":{"type":"string","nullable":true,"description":"Up to two short sentences; null when the topic has none."},"coverImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"The cover an admin gave the topic; null when none did."},"entity":{"allOf":[{"$ref":"#/components/schemas/CatalogEntityViewModel"}],"nullable":true,"description":"The team most of its posts are tagged with, else the league; null when the catalog holds neither."},"postsCount":{"type":"number","format":"double","description":"How many posts it has."},"voicesCount":{"type":"number","format":"double","description":"How many creators wrote them."},"videosCount":{"type":"number","format":"double","description":"How many full videos are about it: 0 means its page has no Videos block. One deleted since is still counted."},"lastEventAt":{"type":"string","description":"When its latest post was written."},"whyShown":{"$ref":"#/components/schemas/TopicShownReason"}},"required":["id","title","summary","coverImage","entity","postsCount","voicesCount","videosCount","lastEventAt","whyShown"],"type":"object","additionalProperties":false},"DocumentsList_TrendingTopicViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TrendingTopicViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PostAudience":{"enum":["public","subscribers"],"type":"string"},"ActivityPollOption":{"properties":{"id":{"type":"string"},"text":{"type":"string"}},"required":["id","text"],"type":"object","additionalProperties":false},"ActivityPoll":{"properties":{"question":{"type":"string"},"options":{"items":{"$ref":"#/components/schemas/ActivityPollOption"},"type":"array"},"allowMultiple":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"createdAt":{"type":"string"},"expiresAt":{"type":"string","nullable":true}},"required":["question","options","allowMultiple","isAnonymous","createdAt","expiresAt"],"type":"object","additionalProperties":false},"PostLinkPreviewViewModel":{"description":"`PostLinkPreview` for clients: same card data minus the `fetchedAt` stamp. `imageUrl` is\nalways stored when the page gives one — clients honour the post's `isLinkImagesEnabled`\nwhen rendering it.","properties":{"url":{"type":"string"},"domain":{"type":"string"},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"siteName":{"type":"string","nullable":true}},"required":["url","domain","title","description","imageUrl","siteName"],"type":"object","additionalProperties":false},"FeedActivityCustomViewModel":{"description":"An activity's own fields: a post's, a video's or a Hype's, or an episode's, and the fields a Bleacher reads.","properties":{"id":{"type":"string"},"userId":{"type":"string","description":"The author's id; an episode, whose author is its podcast, carries none."},"audience":{"$ref":"#/components/schemas/PostAudience"},"content":{"type":"string"},"media":{"items":{"anyOf":[{"$ref":"#/components/schemas/ImagesViewModel"},{"$ref":"#/components/schemas/VideoReferenceViewModel"}]},"type":"array"},"geolocation":{"type":"string"},"createdAt":{"type":"string"},"poll":{"$ref":"#/components/schemas/ActivityPoll"},"repostedActivityId":{"type":"string"},"isDeleted":{"type":"boolean"},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array"},"taggedUsersIds":{"items":{"type":"string"},"type":"array"},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array"},"untaggedUsersIds":{"items":{"type":"string"},"type":"array"},"isCommentsEnabled":{"type":"boolean"},"isLinkImagesEnabled":{"type":"boolean"},"linkPreview":{"$ref":"#/components/schemas/PostLinkPreviewViewModel","description":"Absent on activities synced before the field existed."},"publishedDate":{"type":"string"},"type":{"$ref":"#/components/schemas/VideoType"},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array"},"title":{"type":"string"},"cdnUrl":{"type":"string"},"thirdPartyProviderId":{"type":"string"},"watchUrl":{"type":"string"},"description":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"maturityLevel":{"type":"string"},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"viewsCount":{"type":"number","format":"double"},"thumbnail":{"$ref":"#/components/schemas/ImagesViewModel"},"gif":{"$ref":"#/components/schemas/ImagesViewModel"},"rate":{"type":"number","format":"double"},"contentListsIds":{"items":{"type":"string"},"type":"array"},"updatedAt":{"type":"string"},"isFeatured":{"type":"boolean"},"isPublic":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"resolution":{"$ref":"#/components/schemas/VideoResolutionViewModel"},"socialFeedAmplifier":{"type":"number","format":"double","description":"Video-level override (null if admin has not set it)."},"userFeedAmplifier":{"type":"number","format":"double","description":"Creator-level amplifier snapshot. Propagated to recent activities when admin changes user.socialFeedAmplifier."},"applyAmplifier":{"type":"boolean","description":"Marks the activity as participating in the amplifier ranking system. Absent on non-video activities (e.g. posts)."},"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"images":{"$ref":"#/components/schemas/ImagesViewModel"},"audioUrl":{"type":"string"},"url":{"type":"string"},"postedAt":{"type":"string"},"entitySlugs":{"items":{"type":"string"},"type":"array","description":"The slugs of the topic feeds the activity is listed on because its tags name them; one it is on by its author's tie\nalone has a tie tag (`tieFilterTag`) instead."},"life":{"type":"number","format":"double","description":"2 for a post, a video or a Hype stamped evergreen, 0 for the rest, an episode always."},"duration":{"anyOf":[{"type":"string"},{"type":"number","format":"double"}],"description":"The length in seconds: a string on a video or a Hype (\"-1\" while it is unknown), a number on an episode."}},"type":"object","additionalProperties":false},"FeedActivityAuthorViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"photo":{"$ref":"#/components/schemas/ImagesViewModel"},"claimedEntityId":{"type":"string"},"isVerified":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean"},"url":{"type":"string"},"name":{"type":"string"},"images":{"$ref":"#/components/schemas/ImagesViewModel"},"claimedByUserId":{"type":"string"},"claimedByUserName":{"type":"string"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"isFollowed":{"type":"boolean","description":"On a Bleacher feed's page alone: whether the signed-in fan follows this author, a user or an episode's podcast."}},"type":"object","additionalProperties":false},"Pick_UserResponse.Exclude_keyofUserResponse.custom__":{"properties":{"role":{"type":"string","description":"Determines the set of user permissions"},"name":{"type":"string","description":"Optional name of user"},"created_at":{"type":"string","format":"date-time","description":"Date/time of creation"},"id":{"type":"string","description":"Unique user identifier"},"updated_at":{"type":"string","format":"date-time","description":"Date/time of the last update"},"deleted_at":{"type":"string","format":"date-time","description":"Date/time of deletion"},"banned":{"type":"boolean","description":"Whether a user is banned or not"},"invisible":{"type":"boolean"},"language":{"type":"string","description":"Preferred language of a user"},"online":{"type":"boolean","description":"Whether a user online or not"},"shadow_banned":{"type":"boolean","description":"Whether a user is shadow banned"},"blocked_user_ids":{"items":{"type":"string"},"type":"array"},"teams":{"items":{"type":"string"},"type":"array","description":"List of teams user is a part of"},"avg_response_time":{"type":"number","format":"double"},"ban_expires":{"type":"string","format":"date-time","description":"Date when ban expires"},"bypass_moderation":{"type":"boolean"},"deactivated_at":{"type":"string","format":"date-time","description":"Date of deactivation"},"image":{"type":"string"},"last_active":{"type":"string","format":"date-time","description":"Date of last activity"},"revoke_tokens_issued_before":{"type":"string","format":"date-time","description":"Revocation date for tokens"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"type":"array","description":"List of devices user is using"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse"},"push_notifications":{"$ref":"#/components/schemas/PushNotificationSettingsResponse"},"teams_role":{"$ref":"#/components/schemas/Record_string.string_"}},"required":["role","created_at","id","updated_at","banned","invisible","language","online","shadow_banned","blocked_user_ids","teams"],"type":"object","description":"From T, pick a set of properties whose keys are in the union K"},"FeedActivityUserViewModel":{"description":"The author: GetStream's user with our own fields, a user's profile or, on an episode, its podcast.","properties":{"role":{"type":"string","description":"Determines the set of user permissions"},"name":{"type":"string","description":"Optional name of user"},"created_at":{"type":"string","format":"date-time","description":"Date/time of creation"},"id":{"type":"string","description":"Unique user identifier"},"updated_at":{"type":"string","format":"date-time","description":"Date/time of the last update"},"deleted_at":{"type":"string","format":"date-time","description":"Date/time of deletion"},"banned":{"type":"boolean","description":"Whether a user is banned or not"},"invisible":{"type":"boolean"},"language":{"type":"string","description":"Preferred language of a user"},"online":{"type":"boolean","description":"Whether a user online or not"},"shadow_banned":{"type":"boolean","description":"Whether a user is shadow banned"},"blocked_user_ids":{"items":{"type":"string"},"type":"array"},"teams":{"items":{"type":"string"},"type":"array","description":"List of teams user is a part of"},"avg_response_time":{"type":"number","format":"double"},"ban_expires":{"type":"string","format":"date-time","description":"Date when ban expires"},"bypass_moderation":{"type":"boolean"},"deactivated_at":{"type":"string","format":"date-time","description":"Date of deactivation"},"image":{"type":"string"},"last_active":{"type":"string","format":"date-time","description":"Date of last activity"},"revoke_tokens_issued_before":{"type":"string","format":"date-time","description":"Revocation date for tokens"},"devices":{"items":{"$ref":"#/components/schemas/DeviceResponse"},"type":"array","description":"List of devices user is using"},"privacy_settings":{"$ref":"#/components/schemas/PrivacySettingsResponse"},"push_notifications":{"$ref":"#/components/schemas/PushNotificationSettingsResponse"},"teams_role":{"$ref":"#/components/schemas/Record_string.string_"},"custom":{"$ref":"#/components/schemas/FeedActivityAuthorViewModel"}},"required":["role","created_at","id","updated_at","banned","invisible","language","online","shadow_banned","blocked_user_ids","teams","custom"],"type":"object","additionalProperties":false},"FeedActivityViewModel":{"description":"An activity of a feed page, whatever its kind: GetStream's activity as GetStream answers it, so an app reads it with\nits GetStream SDK, with our own fields typed. One shape for every kind and not a union of one model per kind, which\nthe apps' OpenAPI generators cannot read: `type` names the kind, and a field of `custom` or of the author's `custom`\nis set on the kinds that have it.","properties":{"type":{"type":"string","description":"Type of activity"},"bookmark_count":{"type":"number","format":"double","description":"Number of bookmarks on the activity"},"comment_count":{"type":"number","format":"double","description":"Number of comments on the activity"},"created_at":{"type":"string","format":"date-time","description":"When the activity was created"},"hidden":{"type":"boolean","description":"If this activity is hidden by this user (using activity feedback)"},"id":{"type":"string","description":"Unique identifier for the activity"},"popularity":{"type":"number","format":"double","description":"Popularity score of the activity"},"preview":{"type":"boolean","description":"If this activity is obfuscated for this user. For premium content where you want to show a preview"},"reaction_count":{"type":"number","format":"double","description":"Number of reactions to the activity"},"restrict_replies":{"type":"string","enum":["everyone","people_i_follow","nobody"],"description":"Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody"},"score":{"type":"number","format":"double","description":"Ranking score for this activity"},"share_count":{"type":"number","format":"double","description":"Number of times the activity was shared"},"updated_at":{"type":"string","format":"date-time","description":"When the activity was last updated"},"visibility":{"type":"string","enum":["public","private","tag"],"description":"Visibility setting for the activity. One of: public, private, tag"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","description":"Media attachments for the activity"},"comments":{"items":{"$ref":"#/components/schemas/CommentResponse"},"type":"array","description":"Latest 5 comments of this activity (comment replies excluded)"},"feeds":{"items":{"type":"string"},"type":"array","description":"List of feed IDs containing this activity"},"filter_tags":{"items":{"type":"string"},"type":"array","description":"Tags for filtering"},"interest_tags":{"items":{"type":"string"},"type":"array","description":"Tags for user interests"},"latest_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Recent reactions to the activity"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","description":"Users mentioned in the activity"},"own_bookmarks":{"items":{"$ref":"#/components/schemas/BookmarkResponse"},"type":"array","description":"Current user's bookmarks for this activity"},"own_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Current user's reactions to this activity"},"collections":{"$ref":"#/components/schemas/Record_string.EnrichedCollectionResponse_","description":"Enriched collection data referenced by this activity"},"reaction_groups":{"$ref":"#/components/schemas/Record_string.FeedsReactionGroupResponse_","description":"Grouped reactions by type"},"search_data":{"$ref":"#/components/schemas/Record_string.any_","description":"Data for search indexing"},"deleted_at":{"type":"string","format":"date-time","description":"When the activity was deleted"},"edited_at":{"type":"string","format":"date-time","description":"When the activity was last edited"},"expires_at":{"type":"string","format":"date-time","description":"When the activity will expire"},"friend_reaction_count":{"type":"number","format":"double","description":"Total count of reactions from friends on this activity"},"is_read":{"type":"boolean","description":"Whether this activity has been read. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_seen":{"type":"boolean","description":"Whether this activity has been seen. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_watched":{"type":"boolean"},"moderation_action":{"type":"string"},"selector_source":{"type":"string","description":"Which activity selector provided this activity (e.g., 'following', 'popular', 'interest'). Only set when using multiple activity selectors with ranking."},"text":{"type":"string","description":"Text content of the activity"},"visibility_tag":{"type":"string","description":"If visibility is 'tag', this is the tag name"},"friend_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Reactions from users the current user follows or has mutual follows with"},"current_feed":{"$ref":"#/components/schemas/FeedResponse"},"location":{"$ref":"#/components/schemas/Location"},"metrics":{"$ref":"#/components/schemas/Record_string.number_"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response"},"notification_context":{"$ref":"#/components/schemas/NotificationContext"},"poll":{"$ref":"#/components/schemas/PollResponseData"},"score_vars":{"$ref":"#/components/schemas/Record_string.any_","description":"Variable values used at ranking time. Only included when include_score_vars is enabled in enrichment options."},"custom":{"$ref":"#/components/schemas/FeedActivityCustomViewModel"},"user":{"$ref":"#/components/schemas/FeedActivityUserViewModel"},"parent":{"$ref":"#/components/schemas/FeedActivityViewModel","description":"The original of a repost."}},"required":["type","bookmark_count","comment_count","created_at","hidden","id","popularity","preview","reaction_count","restrict_replies","score","share_count","updated_at","visibility","attachments","comments","feeds","filter_tags","interest_tags","latest_reactions","mentioned_users","own_bookmarks","own_reactions","collections","reaction_groups","search_data","custom","user"],"type":"object","additionalProperties":false},"Pick_ActivityResponse.Exclude_keyofActivityResponse.custom-or-user-or-parent__":{"properties":{"type":{"type":"string","description":"Type of activity"},"bookmark_count":{"type":"number","format":"double","description":"Number of bookmarks on the activity"},"comment_count":{"type":"number","format":"double","description":"Number of comments on the activity"},"created_at":{"type":"string","format":"date-time","description":"When the activity was created"},"hidden":{"type":"boolean","description":"If this activity is hidden by this user (using activity feedback)"},"id":{"type":"string","description":"Unique identifier for the activity"},"popularity":{"type":"number","format":"double","description":"Popularity score of the activity"},"preview":{"type":"boolean","description":"If this activity is obfuscated for this user. For premium content where you want to show a preview"},"reaction_count":{"type":"number","format":"double","description":"Number of reactions to the activity"},"restrict_replies":{"type":"string","enum":["everyone","people_i_follow","nobody"],"description":"Controls who can add comments/replies to this activity. One of: everyone, people_i_follow, nobody"},"score":{"type":"number","format":"double","description":"Ranking score for this activity"},"share_count":{"type":"number","format":"double","description":"Number of times the activity was shared"},"updated_at":{"type":"string","format":"date-time","description":"When the activity was last updated"},"visibility":{"type":"string","enum":["public","private","tag"],"description":"Visibility setting for the activity. One of: public, private, tag"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array","description":"Media attachments for the activity"},"comments":{"items":{"$ref":"#/components/schemas/CommentResponse"},"type":"array","description":"Latest 5 comments of this activity (comment replies excluded)"},"feeds":{"items":{"type":"string"},"type":"array","description":"List of feed IDs containing this activity"},"filter_tags":{"items":{"type":"string"},"type":"array","description":"Tags for filtering"},"interest_tags":{"items":{"type":"string"},"type":"array","description":"Tags for user interests"},"latest_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Recent reactions to the activity"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array","description":"Users mentioned in the activity"},"own_bookmarks":{"items":{"$ref":"#/components/schemas/BookmarkResponse"},"type":"array","description":"Current user's bookmarks for this activity"},"own_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Current user's reactions to this activity"},"collections":{"$ref":"#/components/schemas/Record_string.EnrichedCollectionResponse_","description":"Enriched collection data referenced by this activity"},"reaction_groups":{"$ref":"#/components/schemas/Record_string.FeedsReactionGroupResponse_","description":"Grouped reactions by type"},"search_data":{"$ref":"#/components/schemas/Record_string.any_","description":"Data for search indexing"},"deleted_at":{"type":"string","format":"date-time","description":"When the activity was deleted"},"edited_at":{"type":"string","format":"date-time","description":"When the activity was last edited"},"expires_at":{"type":"string","format":"date-time","description":"When the activity will expire"},"friend_reaction_count":{"type":"number","format":"double","description":"Total count of reactions from friends on this activity"},"is_read":{"type":"boolean","description":"Whether this activity has been read. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_seen":{"type":"boolean","description":"Whether this activity has been seen. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_watched":{"type":"boolean"},"moderation_action":{"type":"string"},"selector_source":{"type":"string","description":"Which activity selector provided this activity (e.g., 'following', 'popular', 'interest'). Only set when using multiple activity selectors with ranking."},"text":{"type":"string","description":"Text content of the activity"},"visibility_tag":{"type":"string","description":"If visibility is 'tag', this is the tag name"},"friend_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array","description":"Reactions from users the current user follows or has mutual follows with"},"current_feed":{"$ref":"#/components/schemas/FeedResponse"},"location":{"$ref":"#/components/schemas/Location"},"metrics":{"$ref":"#/components/schemas/Record_string.number_"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response"},"notification_context":{"$ref":"#/components/schemas/NotificationContext"},"poll":{"$ref":"#/components/schemas/PollResponseData"},"score_vars":{"$ref":"#/components/schemas/Record_string.any_","description":"Variable values used at ranking time. Only included when include_score_vars is enabled in enrichment options."}},"required":["type","bookmark_count","comment_count","created_at","hidden","id","popularity","preview","reaction_count","restrict_replies","score","share_count","updated_at","visibility","attachments","comments","feeds","filter_tags","interest_tags","latest_reactions","mentioned_users","own_bookmarks","own_reactions","collections","reaction_groups","search_data"],"type":"object","description":"From T, pick a set of properties whose keys are in the union K"},"FeedPageViewModel":{"description":"A page of a feed we lay out ourselves, a Bleacher's or a topic's, in the two fields of the Home timeline's answer.","properties":{"activities":{"items":{"$ref":"#/components/schemas/FeedActivityViewModel"},"type":"array","description":"GetStream's activities as read as the fan."},"next":{"type":"string","description":"The opaque cursor of the same feed's next page; \"\" once the feed has ended."}},"required":["activities","next"],"type":"object","additionalProperties":false},"SubscriptionPastDueViewModel":{"description":"A renewal failed and Stripe is retrying the card; access is withheld until a payment goes through.","properties":{"since":{"type":"string","description":"When access was withheld (the first failed attempt)."},"nextRetryAt":{"type":"string","nullable":true,"description":"Stripe's next scheduled retry, when it reported one."},"updateCardBy":{"type":"string","description":"Last day to fix the card: past it the subscription expires — at the season's end, the last invoice is forgiven instead."}},"required":["since","nextRetryAt","updateCardBy"],"type":"object","additionalProperties":false},"BillingAddressViewModel":{"properties":{"city":{"type":"string","nullable":true},"country":{"type":"string","nullable":true},"line1":{"type":"string","nullable":true},"line2":{"type":"string","nullable":true},"postalCode":{"type":"string","nullable":true},"state":{"type":"string","nullable":true}},"required":["city","country","line1","line2","postalCode","state"],"type":"object","additionalProperties":false},"BillingDetailsViewModel":{"properties":{"cardholderName":{"type":"string","nullable":true},"address":{"allOf":[{"$ref":"#/components/schemas/BillingAddressViewModel"}],"nullable":true}},"required":["cardholderName","address"],"type":"object","additionalProperties":false},"PaymentMethodViewModel":{"properties":{"id":{"type":"string"},"brand":{"type":"string"},"last4":{"type":"string"},"expMonth":{"type":"number","format":"double"},"expYear":{"type":"number","format":"double"},"nickname":{"type":"string","nullable":true},"isDefault":{"type":"boolean"},"hasActiveSubscriptions":{"type":"boolean","description":"True when the card still backs at least one active/under-cancellation recurring subscription."},"billingDetails":{"allOf":[{"$ref":"#/components/schemas/BillingDetailsViewModel"}],"nullable":true,"description":"Cardholder billing details from Stripe (`billing_details`); `null` when Stripe returns none."}},"required":["id","brand","last4","expMonth","expYear","nickname","isDefault","hasActiveSubscriptions","billingDetails"],"type":"object","additionalProperties":false},"SubscriptionViewModel":{"properties":{"id":{"type":"string"},"productId":{"type":"number","format":"double"},"productSource":{"$ref":"#/components/schemas/ProductSource"},"state":{"$ref":"#/components/schemas/SubscriptionState"},"currentPeriod":{"properties":{"end":{"type":"string"},"start":{"type":"string"}},"required":["end","start"],"type":"object","nullable":true},"cancellationEffectiveAt":{"type":"string","nullable":true},"expiredAt":{"type":"string","nullable":true},"pause":{"properties":{"autoResumeAt":{"type":"string","nullable":true},"pausedAt":{"type":"string"}},"required":["autoResumeAt","pausedAt"],"type":"object","nullable":true},"pastDue":{"allOf":[{"$ref":"#/components/schemas/SubscriptionPastDueViewModel"}],"nullable":true,"description":"Set while `state` is `past_due`; null otherwise."},"product":{"allOf":[{"$ref":"#/components/schemas/ProductViewModel"}],"nullable":true},"creator":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"paymentMethod":{"allOf":[{"$ref":"#/components/schemas/PaymentMethodViewModel"}],"nullable":true}},"required":["id","productId","productSource","state","currentPeriod","cancellationEffectiveAt","expiredAt","pause","pastDue","product","creator","paymentMethod"],"type":"object","additionalProperties":false},"PaginatedList_SubscriptionViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/SubscriptionViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"CreateSubscriptionResponse":{"properties":{"clientSecret":{"type":"string","nullable":true,"description":"Client secret for the FE to confirm the first charge (PaymentIntent / invoice). `null` when\nthere's nothing to confirm — a 100% comp code redeemed at checkout activates with no charge."},"subscriptionId":{"type":"string","nullable":true,"description":"Granted subscription id — set only when a comp code was redeemed here."}},"required":["clientSecret"],"type":"object","additionalProperties":false},"PartnerConsentAcceptance":{"description":"A fan accepting a partner's terms, sent inside the call that creates the purchase — not as a\nseparate pre-step, which would race the purchase and leave rows behind for abandoned checkouts.\n\nBoth fields come from the consent document the client was served. A superseded `version` is a\n409 (`consent_version_stale`) — refetch and ask again.","properties":{"partnerId":{"type":"string"},"version":{"type":"integer","format":"int32","minimum":1}},"required":["partnerId","version"],"type":"object","additionalProperties":false},"CreateSubscriptionRequest":{"properties":{"productId":{"type":"number","format":"double"},"paymentMethodId":{"type":"string"},"code":{"type":"string","description":"Optional comp/promo code. When set, the comp is redeemed here at checkout (a payment method is\nrequired; the card-optional path is the standalone `POST /comp-codes/redeem`). The code must be\nfor `productId` — in the normal flow the FE resolves the code's product via the lookup endpoint\nand sets the cart to match, so they line up; a mismatch is rejected with `code_product_mismatch`\nrather than silently switching the product."},"consent":{"$ref":"#/components/schemas/PartnerConsentAcceptance","description":"Acceptance of the partner's terms, when this product requires them; the statement and the\n`version` come back with `GET /subscriptions/products/{creatorId}`.\n\nOmitting it against a product that requires consent is a 400 (`consent_required`); a\nsuperseded `version` is a 409 (`consent_version_stale`) — refetch the catalog and ask again."}},"required":["productId","paymentMethodId"],"type":"object","additionalProperties":false},"FreeSubscriptionStatus":{"description":"Outcome of a self-serve free-subscription request.","enum":["subscribed","alreadySubscribed"],"type":"string"},"CreateFreeSubscriptionResponse":{"properties":{"subscriptionId":{"type":"string","description":"The granted (or pre-existing) subscription id."},"status":{"$ref":"#/components/schemas/FreeSubscriptionStatus"}},"required":["subscriptionId","status"],"type":"object","additionalProperties":false},"CreateFreeSubscriptionRequest":{"properties":{"productId":{"type":"number","format":"double","description":"A zero-cost (`ProductSource.Free`) product. Paid products are rejected here — this endpoint\nnever grants anything that has a billing rail behind it."},"consent":{"$ref":"#/components/schemas/PartnerConsentAcceptance","description":"Acceptance of the partner's terms, when this product requires them. Free is not exempt: what\nthe fan agrees to is the sharing of their details with the partner, which happens at $0 too.\n\nNot required on the idempotent re-claim — a fan who already holds the product gets\n`alreadySubscribed` without being asked again."}},"required":["productId"],"type":"object","additionalProperties":false},"StripeCountryViewModel":{"properties":{"code":{"type":"string","description":"ISO 3166-1 alpha-2 country code (Stripe CountrySpec id)."},"defaultCurrency":{"type":"string"}},"required":["code","defaultCurrency"],"type":"object","additionalProperties":false},"SubscriptionPaymentMethodsResponse":{"properties":{"subscriptionPaymentMethod":{"allOf":[{"$ref":"#/components/schemas/PaymentMethodViewModel"}],"nullable":true},"customerPaymentMethods":{"items":{"$ref":"#/components/schemas/PaymentMethodViewModel"},"type":"array"}},"required":["subscriptionPaymentMethod","customerPaymentMethods"],"type":"object","additionalProperties":false},"InvoicePaymentAttemptStatus":{"description":"Outcome of charging a past-due subscription's open invoice right now, on a card save.","enum":["paid","requiresAction","declined","processing"],"type":"string"},"InvoicePaymentAttemptResponse":{"description":"Result of charging a past-due subscription's open invoice right now.","properties":{"status":{"$ref":"#/components/schemas/InvoicePaymentAttemptStatus"},"clientSecret":{"type":"string","nullable":true,"description":"Set only for `requiresAction`: the invoice's confirmation secret for Stripe.js."},"declineCode":{"type":"string","nullable":true,"description":"Set only for `declined`: the bank's decline code where it gave one (`insufficient_funds`, …), else Stripe's error code."},"declineMessage":{"type":"string","nullable":true,"description":"Set only for `declined`: the cardholder-facing message, verbatim."}},"required":["status","clientSecret","declineCode","declineMessage"],"type":"object","additionalProperties":false},"UpdateSubscriptionPaymentMethodResponse":{"properties":{"success":{"type":"boolean"},"payment":{"allOf":[{"$ref":"#/components/schemas/InvoicePaymentAttemptResponse"}],"nullable":true,"description":"Set when the subscription was past due: the saved card was charged for the open invoice at once\n(`processing` when nothing was open to charge). A `declined` means the card WAS changed and only\nthe charge failed."}},"required":["success","payment"],"type":"object","additionalProperties":false},"UpdateSubscriptionPaymentMethodRequest":{"properties":{"paymentMethodId":{"type":"string"}},"required":["paymentMethodId"],"type":"object","additionalProperties":false},"PaymentMethodAddressRequest":{"properties":{"line1":{"type":"string"},"line2":{"type":"string"},"city":{"type":"string"},"state":{"type":"string"},"postalCode":{"type":"string"}},"type":"object","additionalProperties":false},"UpdatePaymentMethodRequest":{"properties":{"address":{"$ref":"#/components/schemas/PaymentMethodAddressRequest","description":"Billing address fields to update (US-only today)."},"cardholderName":{"type":"string","minLength":1,"maxLength":200},"nickname":{"type":"string","nullable":true},"setAsDefault":{"type":"boolean","description":"true also makes this card the customer's default (false/omitted leaves the default as is)."}},"type":"object","additionalProperties":false},"ReassignSubscriptionsResponse":{"properties":{"reassignedSubscriptionIds":{"items":{"type":"string"},"type":"array","description":"Ids of the subscriptions repointed onto the new card."},"failedSubscriptionIds":{"items":{"type":"string"},"type":"array","description":"Ids that could not be moved (e.g. a transient Stripe error). The source card stays pinned by\nthese — the FE can surface them and let the user retry rather than silently failing the batch."}},"required":["reassignedSubscriptionIds","failedSubscriptionIds"],"type":"object","additionalProperties":false},"ReassignSubscriptionsRequest":{"properties":{"newPaymentMethodId":{"type":"string","description":"Card to move all of the source card's billable (active / under-cancellation / past-due) subscriptions onto."},"setAsDefault":{"type":"boolean","description":"When true, requires the source card to be the customer's current default and promotes the\ntarget card to default once every subscription has been moved."}},"required":["newPaymentMethodId"],"type":"object","additionalProperties":false},"PaymentMethodDeletionReason":{"description":"Why a payment method can't be deleted yet. Empty `reasons` on the response means it was removed.","enum":["isDefault","hasActiveSubscriptions"],"type":"string"},"DeletePaymentMethodResponse":{"properties":{"deleted":{"type":"boolean"},"reasons":{"items":{"$ref":"#/components/schemas/PaymentMethodDeletionReason"},"type":"array"}},"required":["deleted","reasons"],"type":"object","additionalProperties":false},"SetupIntentResponse":{"properties":{"clientSecret":{"type":"string"}},"required":["clientSecret"],"type":"object","additionalProperties":false},"RegionViewModel":{"properties":{"id":{"type":"number","format":"double"},"country":{"type":"string"},"region":{"type":"string"}},"required":["id","country","region"],"type":"object","additionalProperties":false},"AllowedListViewModel":{"properties":{"userId":{"type":"string"},"product":{"$ref":"#/components/schemas/ProductExpandedViewModel","description":"The purchasable PAID product — in-window offer, then season, then monthly. Falls back to the\nfree one for a creator who sells nothing, so they get a response rather than a 404.\n`isSubscribed` = bought the pass; a free grant sharing its entitlements does not set it, or the\nbuy path would vanish for a fan who only claimed the free tier."},"freeProduct":{"allOf":[{"$ref":"#/components/schemas/ProductExpandedViewModel"}],"nullable":true,"description":"The claimable zero-cost product, or null; at most one per creator. Render a free claim from\nTHIS half — `product`'s free fallback only fires for a creator with nothing paid, so trusting\nit sells the paid pass's marketing above a free claim button.\n`isSubscribed` = already claimed THIS product, read off the free subscription rather than an\nentitlement match (buying the pass is not claiming this)."},"allowedStates":{"items":{"$ref":"#/components/schemas/RegionViewModel"},"type":"array"}},"required":["userId","product","freeProduct","allowedStates"],"type":"object","additionalProperties":false},"TaxBreakdownViewModel":{"properties":{"isInclusive":{"type":"boolean"},"taxType":{"type":"string","nullable":true},"taxRatePercentage":{"type":"number","format":"double"},"taxableAmount":{"type":"number","format":"double"},"taxAmount":{"type":"number","format":"double"}},"required":["isInclusive","taxType","taxRatePercentage","taxableAmount","taxAmount"],"type":"object","additionalProperties":false},"CalculateTaxResponse":{"properties":{"amountSubtotal":{"type":"number","format":"double"},"amountTax":{"type":"number","format":"double"},"amountTotal":{"type":"number","format":"double"},"taxPercentage":{"type":"number","format":"double"},"currency":{"type":"string"},"taxBreakdown":{"items":{"$ref":"#/components/schemas/TaxBreakdownViewModel"},"type":"array"}},"required":["amountSubtotal","amountTax","amountTotal","taxPercentage","currency","taxBreakdown"],"type":"object","additionalProperties":false},"CalculateTaxRequest":{"properties":{"productId":{"type":"number","format":"double"},"paymentMethodId":{"type":"string"}},"required":["productId","paymentMethodId"],"type":"object","additionalProperties":false},"BillingHistoryEntryViewModel":{"properties":{"date":{"type":"string","description":"Newest attempt on this charge."},"subscriptionId":{"type":"string"},"subscriptionName":{"type":"string"},"status":{"type":"string","enum":["succeeded","failed"],"description":"Outcome of the newest attempt."},"amount":{"type":"number","format":"double"},"currency":{"type":"string"},"failedAttempts":{"type":"number","format":"double","description":"Attempts on this charge that failed before (or instead of) succeeding — one line per invoice, never per retry."}},"required":["date","subscriptionId","subscriptionName","status","amount","currency","failedAttempts"],"type":"object","additionalProperties":false},"PaginatedList_BillingHistoryEntryViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/BillingHistoryEntryViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"SubscriptionEventType":{"enum":["initial_payment","season_pass_purchase","free_pass_grant","tv_provider_grant","renewal","payment_failed","cancellation_initiated","cancellation_revoked","expired","revoked","extended","refunded","paused","product_changed"],"type":"string"},"PaymentStatus":{"enum":["succeeded","failed"],"type":"string"},"PaymentViewModel":{"properties":{"id":{"type":"string"},"externalId":{"type":"string","nullable":true},"eventId":{"type":"string"},"amount":{"type":"number","format":"double"},"currency":{"type":"string"},"defaultAmount":{"type":"number","format":"double","nullable":true},"defaultCurrency":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/PaymentStatus"},"createdAt":{"type":"string"},"parentPaymentId":{"type":"string","nullable":true}},"required":["id","externalId","eventId","amount","currency","defaultAmount","defaultCurrency","status","createdAt","parentPaymentId"],"type":"object","additionalProperties":false},"SubscriptionEventViewModel":{"properties":{"id":{"type":"string"},"subscriptionId":{"type":"string"},"type":{"$ref":"#/components/schemas/SubscriptionEventType"},"source":{"$ref":"#/components/schemas/ProductSource"},"createdAt":{"type":"string"},"payment":{"$ref":"#/components/schemas/PaymentViewModel"}},"required":["id","subscriptionId","type","source","createdAt"],"type":"object","additionalProperties":false},"PaginatedList_SubscriptionEventViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/SubscriptionEventViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"StudioVideoEngagementViewModel":{"properties":{"id":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"type":{"$ref":"#/components/schemas/VideoType"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoViewThirdParty"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string","description":"Seconds as a `string` on the wire, though the domain {@link Video.duration} is a `number`.\nDeliberate: don't \"align\" to number — it breaks existing clients and the text-mapped\n`staging-videos` ES index. Built via `videoDurationToApiString`."},"videoOrientation":{"allOf":[{"$ref":"#/components/schemas/VideoOrientation"}],"nullable":true},"viewsCount":{"type":"number","format":"double"},"publishedDate":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"rate":{"type":"number","format":"double"},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"processingState":{"anyOf":[{"$ref":"#/components/schemas/CloudflareStreamVideoState"},{"$ref":"#/components/schemas/MuxVideoStatus"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"isPublic":{"type":"boolean","nullable":true},"isPremium":{"type":"boolean","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"socialFeedAmplifier":{"type":"number","format":"double","nullable":true},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolutionViewModel"}],"nullable":true},"givenState":{"allOf":[{"$ref":"#/components/schemas/StudioState"}],"nullable":true},"scheduledAt":{"type":"string","nullable":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["id","tags","type","cdnUrl","thirdParty","thirdPartyId","thirdPartyPlaybackId","watchUrl","title","description","maturityLevel","duration","videoOrientation","viewsCount","publishedDate","thumbnail","gif","rate","state","processingState","userProfile","playlists","taggedCreators","taggedUsers","untaggedUsers","createdAt","updatedAt","isPublic","isPremium","isCommentsEnabled","isFeatured","isCrossposted","socialFeedAmplifier","resolution","givenState","scheduledAt","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"ContentStatsViewModel":{"description":"A content item's all-time studio metrics, recomputed every few minutes from the content events.","properties":{"impressions":{"type":"number","format":"double","description":"Times it was seen in a list or opened."},"reach":{"type":"number","format":"double","description":"Distinct users who saw it."},"views":{"type":"number","format":"double","description":"Playbacks past the view threshold; for a post, users a day who opened it."},"pageOpens":{"type":"number","format":"double","description":"Users a day who opened it on its own screen."},"expandedOpens":{"type":"number","format":"double","description":"Users a day who expanded it in a list."},"videoViews":{"type":"number","format":"double","description":"A post only: playbacks of its video past the view threshold."},"watches":{"type":"number","format":"double","description":"Playbacks the user started; for a hype, equal to views."},"shares":{"type":"number","format":"double","description":"Shares of every kind, reposts included."},"reposts":{"type":"number","format":"double","description":"Distinct users who reposted it."},"shareOpens":{"type":"number","format":"double","description":"Opens from a share's link, the sharer's own excluded."},"publicOpens":{"type":"number","format":"double","description":"Opens by visitors who are not signed in."},"updatedAt":{"type":"string"}},"required":["impressions","reach","views","pageOpens","expandedOpens","videoViews","watches","shares","reposts","shareOpens","publicOpens","updatedAt"],"type":"object","additionalProperties":false},"WithContentStats_StudioVideoEngagementViewModel_":{"allOf":[{"$ref":"#/components/schemas/StudioVideoEngagementViewModel"},{"properties":{"stats":{"allOf":[{"$ref":"#/components/schemas/ContentStatsViewModel"}],"nullable":true}},"required":["stats"],"type":"object"}],"description":"The studio item with its metrics; `stats` is null until the item has had an event."},"DocumentsList_WithContentStats_StudioVideoEngagementViewModel__":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/WithContentStats_StudioVideoEngagementViewModel_"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"VideoType.Full":{"enum":["full"],"type":"string"},"VideoType.Hype":{"enum":["hype"],"type":"string"},"StudioVideoUploadUrlCreateRequest":{"properties":{"type":{"$ref":"#/components/schemas/VideoType"},"fileName":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","deprecated":true},"playlistsIds":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isCommentsEnabled":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"length":{"type":"number","format":"double"},"sourceTiming":{"$ref":"#/components/schemas/VideoSourceTimingRequest","description":"Optional; absent on clients predating it. See {@link VideoSourceTimingRequest}."},"scheduledAt":{"type":"string"}},"required":["type","fileName","videoOrientation","state"],"type":"object","additionalProperties":false},"StudioVideoViewModel":{"description":"Creator-only view of a video, exposed via Studio endpoints. Adds the user-intent state\n(`givenState`) and the active `scheduledAt` (when the video is currently scheduled). Public\n`VideoViewModel` consumers never see these fields.","properties":{"id":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"type":{"$ref":"#/components/schemas/VideoType"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoViewThirdParty"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string","description":"Seconds as a `string` on the wire, though the domain {@link Video.duration} is a `number`.\nDeliberate: don't \"align\" to number — it breaks existing clients and the text-mapped\n`staging-videos` ES index. Built via `videoDurationToApiString`."},"videoOrientation":{"allOf":[{"$ref":"#/components/schemas/VideoOrientation"}],"nullable":true},"viewsCount":{"type":"number","format":"double"},"publishedDate":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"rate":{"type":"number","format":"double"},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"processingState":{"anyOf":[{"$ref":"#/components/schemas/CloudflareStreamVideoState"},{"$ref":"#/components/schemas/MuxVideoStatus"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"isPublic":{"type":"boolean","nullable":true},"isPremium":{"type":"boolean","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"socialFeedAmplifier":{"type":"number","format":"double","nullable":true},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolutionViewModel"}],"nullable":true},"givenState":{"allOf":[{"$ref":"#/components/schemas/StudioState"}],"nullable":true},"scheduledAt":{"type":"string","nullable":true}},"required":["id","tags","type","cdnUrl","thirdParty","thirdPartyId","thirdPartyPlaybackId","watchUrl","title","description","maturityLevel","duration","videoOrientation","viewsCount","publishedDate","thumbnail","gif","rate","state","processingState","userProfile","playlists","taggedCreators","taggedUsers","untaggedUsers","createdAt","updatedAt","isPublic","isPremium","isCommentsEnabled","isFeatured","isCrossposted","socialFeedAmplifier","resolution","givenState","scheduledAt"],"type":"object","additionalProperties":false},"StudioVideoUpdateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","deprecated":true},"playlistsIds":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"thumbnail":{"anyOf":[{"$ref":"#/components/schemas/FileUploadRequest"},{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object"}]},"isCommentsEnabled":{"type":"boolean"},"isCrossposted":{"type":"boolean"},"scheduledAt":{"type":"string","nullable":true}},"type":"object","additionalProperties":false},"PostState":{"enum":["draft","scheduled","published","failed"],"type":"string"},"PollOption":{"properties":{"id":{"type":"string"},"text":{"type":"string"}},"required":["id","text"],"type":"object","additionalProperties":false},"PostPoll":{"properties":{"question":{"type":"string"},"options":{"items":{"$ref":"#/components/schemas/PollOption"},"type":"array"},"allowMultiple":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"createdAt":{"type":"string"},"expiresAt":{"type":"string","nullable":true}},"required":["question","options","allowMultiple","isAnonymous","createdAt","expiresAt"],"type":"object","additionalProperties":false},"UserPostEngagementViewModel":{"properties":{"id":{"type":"string"},"userProfileReference":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"content":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/ImagesViewModel"},"type":"array","deprecated":true},"media":{"items":{"anyOf":[{"$ref":"#/components/schemas/ImagesViewModel"},{"$ref":"#/components/schemas/VideoReferenceViewModel"}]},"type":"array"},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isLinkImagesEnabled":{"type":"boolean"},"linkPreview":{"allOf":[{"$ref":"#/components/schemas/PostLinkPreviewViewModel"}],"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"state":{"$ref":"#/components/schemas/PostState"},"givenState":{"allOf":[{"$ref":"#/components/schemas/StudioState"}],"nullable":true},"scheduledAt":{"type":"string","nullable":true},"publishedDate":{"type":"string","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/PostPoll"}],"nullable":true},"repostedActivityId":{"type":"string","nullable":true},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["id","userProfileReference","content","media","geolocation","isCommentsEnabled","isLinkImagesEnabled","createdAt","updatedAt","state","givenState","scheduledAt","publishedDate","poll","repostedActivityId","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"WithContentStats_UserPostEngagementViewModel_":{"allOf":[{"$ref":"#/components/schemas/UserPostEngagementViewModel"},{"properties":{"stats":{"allOf":[{"$ref":"#/components/schemas/ContentStatsViewModel"}],"nullable":true}},"required":["stats"],"type":"object"}],"description":"The studio item with its metrics; `stats` is null until the item has had an event."},"DocumentsList_WithContentStats_UserPostEngagementViewModel__":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/WithContentStats_UserPostEngagementViewModel_"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"MediaCreateRequest":{"anyOf":[{"properties":{"upload":{"$ref":"#/components/schemas/FileUploadRequest"},"type":{"type":"string","enum":["image"],"nullable":false}},"required":["upload","type"],"type":"object"},{"properties":{"videoId":{"type":"string"},"type":{"type":"string","enum":["video"],"nullable":false}},"required":["videoId","type"],"type":"object"}]},"PollCreateRequest":{"properties":{"question":{"type":"string"},"options":{"items":{"type":"string"},"type":"array"},"allowMultiple":{"type":"boolean"},"isAnonymous":{"type":"boolean"},"expiresAt":{"type":"string"}},"required":["question","options","allowMultiple","isAnonymous"],"type":"object","additionalProperties":false},"StudioPostCreateRequest":{"description":"Studio-tier request: state defaults to Draft, supports Scheduled with scheduledAt.\nWhen state is Scheduled, scheduledAt is required and must be in the future.","properties":{"audience":{"$ref":"#/components/schemas/PostAudience"},"content":{"type":"string"},"media":{"items":{"$ref":"#/components/schemas/MediaCreateRequest"},"type":"array","description":"Mirrors the clients' shared 20-attachment cap (bzzr-web MAX_MEDIA_ITEMS, bzzr-flutter\n_mediaPickerLimit) — change all three together. Server-side it also bounds the GetStream\nactivity payload, whose free-text-only size guard trusts arrays to stay small.","maxItems":20},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean"},"poll":{"allOf":[{"$ref":"#/components/schemas/PollCreateRequest"}],"nullable":true},"repostedActivityId":{"type":"string","nullable":true},"isLinkImagesEnabled":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"scheduledAt":{"type":"string"}},"required":["audience","content"],"type":"object","additionalProperties":false},"MediaUpdateRequest":{"anyOf":[{"properties":{"upload":{"$ref":"#/components/schemas/FileUploadRequest"},"type":{"type":"string","enum":["image"],"nullable":false}},"required":["upload","type"],"type":"object"},{"properties":{"videoId":{"type":"string"},"type":{"type":"string","enum":["video"],"nullable":false}},"required":["videoId","type"],"type":"object"},{"properties":{"original_url":{"type":"string"},"type":{"type":"string","enum":["old_image"],"nullable":false}},"required":["original_url","type"],"type":"object"}]},"StudioPostUpdateRequest":{"properties":{"content":{"type":"string"},"media":{"items":{"$ref":"#/components/schemas/MediaUpdateRequest"},"type":"array","description":"Same 20-item client-mirrored cap as {@link UserPostCreateRequest.media}.","maxItems":20},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean"},"isLinkImagesEnabled":{"type":"boolean"},"state":{"$ref":"#/components/schemas/StudioState"},"scheduledAt":{"type":"string","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/PollCreateRequest"}],"nullable":true,"description":"Only allowed while the post is in Draft or Scheduled state. Published posts reject any\n`poll` field. `null` clears the existing poll; a `PollCreateRequest` replaces it (option\nIDs are regenerated — there are no votes on drafts to preserve since drafts are private)."}},"type":"object","additionalProperties":false},"PlaylistGivenStudioState":{"enum":["published","draft"],"type":"string"},"PlaylistCreateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string","nullable":true},"mrss":{"$ref":"#/components/schemas/MrssConfig"},"state":{"$ref":"#/components/schemas/PlaylistGivenStudioState"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"videoAppend":{"$ref":"#/components/schemas/PlaylistVideoAppendOrder"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","nullable":true}},"required":["title"],"type":"object","additionalProperties":false},"PlaylistUpdateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string","nullable":true},"mrss":{"$ref":"#/components/schemas/MrssConfig"},"state":{"$ref":"#/components/schemas/PlaylistGivenStudioState"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"thumbnail":{"anyOf":[{"$ref":"#/components/schemas/FileUploadRequest"},{"properties":{"url":{"type":"string"}},"required":["url"],"type":"object"}],"nullable":true},"videoAppend":{"$ref":"#/components/schemas/PlaylistVideoAppendOrder"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","nullable":true}},"type":"object","additionalProperties":false},"PlaylistVideoReferenceViewModel":{"properties":{"id":{"type":"string"},"playlistId":{"type":"string"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/PlaylistVideoViewThirdParty"},"watchUrl":{"type":"string","nullable":true},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"maturityLevel":{"type":"string","nullable":true},"duration":{"type":"string"},"viewsCount":{"type":"number","format":"double"},"addedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"gif":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"state":{"allOf":[{"$ref":"#/components/schemas/VideoState"}],"nullable":true},"userProfile":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"userProfiles":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true,"deprecated":true},"playlists":{"items":{"properties":{"title":{"type":"string"},"id":{"type":"string"}},"required":["title","id"],"type":"object"},"type":"array","nullable":true},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFeatured":{"type":"boolean"},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyPlaybackId":{"type":"string","nullable":true,"deprecated":true}},"required":["id","playlistId","cdnUrl","thirdParty","watchUrl","title","description","tags","maturityLevel","duration","viewsCount","addedAt","createdAt","updatedAt","thumbnail","gif","state","userProfile","taggedCreators","playlists","isPublic","isPremium","isCommentsEnabled","isFeatured","thirdPartyId","thirdPartyPlaybackId"],"type":"object","additionalProperties":false},"DocumentsList_PlaylistVideoReferenceViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PlaylistVideoReferenceViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"SidecastShowCreateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"sports":{"items":{"type":"string"},"type":"array"},"hostIds":{"items":{"type":"string"},"type":"array"},"producerIds":{"items":{"type":"string"},"type":"array"},"logo":{"$ref":"#/components/schemas/FileUploadRequest"},"backgroundImage":{"$ref":"#/components/schemas/FileUploadRequest"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"autoPublishOnConnect":{"type":"boolean","description":"Publish auto-created show-stream episodes immediately on connect. Defaults to true; false lands them as a Draft."}},"required":["title","description"],"type":"object","additionalProperties":false},"SidecastParticipantStatus.Approved":{"enum":["approved"],"type":"string"},"ParticipantStatusAdminUpdateRequest":{"$ref":"#/components/schemas/SidecastParticipantStatus.Approved"},"SidecastParticipantUpsertRequest":{"properties":{"userId":{"type":"string"},"title":{"type":"string","nullable":true},"isPinned":{"type":"boolean"},"isMuted":{"type":"boolean"},"isCameraOff":{"type":"boolean"},"orderIndex":{"type":"number","format":"double","nullable":true},"status":{"$ref":"#/components/schemas/ParticipantStatusAdminUpdateRequest"}},"required":["userId"],"type":"object","additionalProperties":false},"SidecastShowUpdateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"sports":{"items":{"type":"string"},"type":"array"},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipantUpsertRequest"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipantUpsertRequest"},"type":"array"},"logo":{"$ref":"#/components/schemas/FileUploadRequest"},"backgroundImage":{"$ref":"#/components/schemas/FileUploadRequest"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"autoPublishOnConnect":{"type":"boolean","description":"Publish auto-created show-stream episodes immediately on connect."}},"type":"object","additionalProperties":false},"SidecastEntityReorderRequest":{"properties":{"previousId":{"type":"string"},"nextId":{"type":"string"}},"type":"object","additionalProperties":false},"SidecastParticipantRole":{"enum":["producer","host","guest","admin","viewer"],"type":"string"},"WithContentStats_SidecastEpisodeSearchEngagementViewModel_":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeSearchEngagementViewModel"},{"properties":{"stats":{"allOf":[{"$ref":"#/components/schemas/ContentStatsViewModel"}],"nullable":true}},"required":["stats"],"type":"object"}],"description":"The studio item with its metrics; `stats` is null until the item has had an event."},"ListResultRecordResponse_WithContentStats_SidecastEpisodeSearchEngagementViewModel__":{"properties":{"record":{"$ref":"#/components/schemas/WithContentStats_SidecastEpisodeSearchEngagementViewModel_"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_WithContentStats_SidecastEpisodeSearchEngagementViewModel__":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_WithContentStats_SidecastEpisodeSearchEngagementViewModel__"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"SidecastEpisodeViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"getstreamCallId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/SidecastEpisodeStatus"},"scheduledStart":{"type":"string"},"event":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeEventModel"}],"nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"guests":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipant"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"viewsCount":{"type":"number","format":"double"},"liveViewsCount":{"type":"number","format":"double","nullable":true},"orderIndex":{"type":"number","format":"double"},"layoutParams":{"$ref":"#/components/schemas/LayoutParams"},"overlays":{"$ref":"#/components/schemas/Overlays"},"features":{"$ref":"#/components/schemas/SidecastFeatures"},"streamCaptureDetails":{"allOf":[{"$ref":"#/components/schemas/StreamCaptureDetailsViewModel"}],"nullable":true},"streamDetails":{"allOf":[{"$ref":"#/components/schemas/StreamDetailsViewModel"}],"nullable":true},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array"},"videos":{"items":{"$ref":"#/components/schemas/VideoReferenceViewModel"},"type":"array"},"cdnUrl":{"type":"string","nullable":true,"description":"HLS URL for a muted card preview, or null when the episode has none."},"isExternalBroadcast":{"type":"boolean"},"showId":{"type":"string"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"isLiveAvailable":{"type":"boolean"},"isStandBy":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"publishedDate":{"type":"string","nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true}},"required":["id","title","description","thumbnail","getstreamCallId","status","scheduledStart","event","hosts","guests","producers","tags","viewsCount","liveViewsCount","orderIndex","layoutParams","overlays","features","streamCaptureDetails","streamDetails","muxAssets","videos","cdnUrl","isExternalBroadcast","showId","liveStartedAt","liveStoppedAt","isLiveAvailable","isStandBy","createdAt","updatedAt","publishedDate","owner"],"type":"object","additionalProperties":false},"LayoutParamsUpsertRequest":{"properties":{"cameraLayout":{"$ref":"#/components/schemas/CameraLayout"},"sidebarLayout":{"$ref":"#/components/schemas/SidebarLayout"},"footerLayout":{"$ref":"#/components/schemas/FooterLayout"},"isCameraConstraint":{"type":"boolean"},"pinnedUserId":{"type":"string","nullable":true},"showParticipantLabels":{"type":"boolean"}},"type":"object","additionalProperties":false},"BannerOverlayUpsertRequest":{"properties":{"isActive":{"type":"boolean"},"title":{"type":"string"},"titleColor":{"type":"string"},"subtitle":{"type":"string"},"subtitleColor":{"type":"string"},"imageLeft":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"imageRight":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true}},"type":"object","additionalProperties":false},"FooterOverlayUpsertRequest":{"properties":{"isActive":{"type":"boolean"},"components":{"items":{"$ref":"#/components/schemas/FooterComponent"},"type":"array"}},"type":"object","additionalProperties":false},"ScoreOverlayUpsertRequest":{"properties":{"isActive":{"type":"boolean"},"position":{"$ref":"#/components/schemas/ScorePosition"}},"type":"object","additionalProperties":false},"OverlaysUpsertRequest":{"properties":{"banner":{"$ref":"#/components/schemas/BannerOverlayUpsertRequest"},"footer":{"$ref":"#/components/schemas/FooterOverlayUpsertRequest"},"score":{"$ref":"#/components/schemas/ScoreOverlayUpsertRequest"}},"type":"object","additionalProperties":false},"SidecastFeaturesUpsertRequest":{"properties":{"premiumContentEnabled":{"type":"boolean"},"enableChat":{"type":"boolean"}},"type":"object","additionalProperties":false},"SidecastEpisodeCreateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"scheduledStart":{"type":"string"},"eventId":{"type":"string"},"eventGameTitle":{"type":"string"},"hostIds":{"items":{"type":"string"},"type":"array"},"guestIds":{"items":{"type":"string"},"type":"array"},"producerIds":{"items":{"type":"string"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"layoutParams":{"$ref":"#/components/schemas/LayoutParamsUpsertRequest"},"overlays":{"$ref":"#/components/schemas/OverlaysUpsertRequest"},"features":{"$ref":"#/components/schemas/SidecastFeaturesUpsertRequest"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"isExternalBroadcast":{"type":"boolean"}},"required":["title","description","scheduledStart"],"type":"object","additionalProperties":false},"SidecastEpisodeStatus.Live":{"enum":["live"],"type":"string"},"SidecastEpisodeStatus.Ended":{"enum":["ended"],"type":"string"},"SidecastStatusUpdateRequest":{"anyOf":[{"$ref":"#/components/schemas/SidecastEpisodeStatus.Live"},{"$ref":"#/components/schemas/SidecastEpisodeStatus.Ended"}]},"SidecastEpisodeUpdateRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"scheduledStart":{"type":"string"},"eventId":{"type":"string","nullable":true},"eventGameTitle":{"type":"string"},"hosts":{"items":{"$ref":"#/components/schemas/SidecastParticipantUpsertRequest"},"type":"array"},"guests":{"items":{"$ref":"#/components/schemas/SidecastParticipantUpsertRequest"},"type":"array"},"producers":{"items":{"$ref":"#/components/schemas/SidecastParticipantUpsertRequest"},"type":"array"},"tags":{"items":{"type":"string"},"type":"array"},"layoutParams":{"$ref":"#/components/schemas/LayoutParamsUpsertRequest"},"overlays":{"$ref":"#/components/schemas/OverlaysUpsertRequest"},"features":{"$ref":"#/components/schemas/SidecastFeaturesUpsertRequest"},"isPublic":{"type":"boolean"},"state":{"$ref":"#/components/schemas/SidecastPublishingState"},"status":{"$ref":"#/components/schemas/SidecastStatusUpdateRequest"},"isStandBy":{"type":"boolean"}},"type":"object","additionalProperties":false},"BroadcastConnectionDetailsViewModel":{"properties":{"muxStreamKey":{"type":"string"},"muxSrtUrl":{"type":"string"},"muxSrtPassphrase":{"type":"string"},"muxRtmpsUrl":{"type":"string","nullable":true},"muxRtmpsBaseUrl":{"type":"string","nullable":true}},"required":["muxStreamKey","muxSrtUrl","muxSrtPassphrase","muxRtmpsUrl","muxRtmpsBaseUrl"],"type":"object","additionalProperties":false},"SrtSourceConfig":{"properties":{"url":{"type":"string","description":"SRT source URL, e.g. \"srt://162.150.42.73:5317\". Inline SRT options are\naccepted and split out at provisioning — a broadcaster's URL can be pasted\nverbatim, e.g. \"srt://1.2.3.4:12900?mode=caller&latency=350&streamid=read:live\"."},"passphrase":{"type":"string","description":"SRT decryption passphrase (AES-128/256). Stored in AWS Secrets Manager."},"streamId":{"type":"string","description":"SRT `streamid` the listener routes on. Required by listeners that serve\nseveral streams off one port — without it the handshake is refused. Wins\nover a `streamid` embedded in `url`, so an operator can correct a\nbroadcaster's URL without rewriting it."},"minLatency":{"type":"number","format":"double","description":"Preferred SRT latency in milliseconds (MediaLive `MinimumLatency`) — the\npacket-loss recovery window, taken from the upstream operator. Wins over a\n`latency` embedded in `url`. Unset ⇒ the MediaLive default."},"supportsConcurrentSessions":{"type":"boolean","description":"Venue-confirmed: this SRT listener accepts a SECOND concurrent caller\nsession on the same URL. Only consulted by the mid-broadcast pipeline\nrebuild in the degenerate single-source case — with 2+ sources the rebuild\ngeneration dials the FREE source instead (in SINGLE_PIPELINE channels the\nsecond source is otherwise unused; it exists for STANDARD-class pipeline B).\nUnset ⇒ not confirmed: a single-source rebuild requires `force: true`."}},"required":["url"],"type":"object","additionalProperties":false},"LiveSsaiTargetingMode":{"type":"string","enum":["gam_cust_params","mediatailor_macros","passthrough","local_creatives"],"description":"How the playback proxy should modify `upstreamVastUrl` before fetching VAST.\nEach ad server expects a different parameter syntax — this field decides\nwhich transformer applies. See `adProxyService.buildAdTagUrl`.\n\n- `gam_cust_params`: dial Google Ad Manager. Append `cust_params=…` from\n  the live's targeting fields, plus `correlator` / `vpos` / `ppid`. Default\n  when the live document doesn't set the field — keeps existing GAM lives\n  on the prior behaviour with no data migration.\n- `mediatailor_macros`: expand MediaTailor‑style placeholders in the URL —\n  `[player_params.X]`, `[avail.random]`. SpringServe and other ad servers\n  that publish a tag with these tokens. Each `[player_params.X]` is mapped\n  to a known live attribute (content_id, channel_name, …) or to an empty\n  string if unknown.\n- `passthrough`: do not modify the URL beyond what MediaTailor itself\n  substitutes (`[session.X]`). Use for stage tests where the URL is already\n  fully resolved.\n- `local_creatives`: there is NO upstream ad server. The proxy answers from\n  our own `adCreatives` library (`VastService` + `util/adPodSelection`) and\n  makes no outbound request at all — no ad-tag host allow-list, no fetch\n  timeout, no third-party fill to depend on. `upstreamVastUrl` is unused and\n  may be absent. This is the mode for direct-sold spots delivered to us as\n  MP4 files; beacons point back at our own `/vast/track`."},"LiveDeliveryMode":{"type":"string","enum":["cloudfront","mux"],"description":"CONFIG selector (intent, set before provisioning) for how viewers receive an SSAI live:\n- `\"cloudfront\"` (default) — MediaTailor SSAI via CloudFront → provisions `pipelineType: \"hybrid\"`.\n- `\"mux\"` — restream the ad-stitched output into Mux → provisions `pipelineType: \"hybrid-mux\"`.\n\nOnly meaningful when SSAI is enabled (`ssaiConfig.enabled`); ignored otherwise."},"LiveFrameRate":{"type":"string","enum":["24","25","30","50","60","23.976","29.97","59.94"],"description":"Output frame rate, named rather than expressed as a numerator/denominator\npair. The bare fraction is exactly what went wrong: every encode site used\n`30/1` against a 30000/1001 source, so MediaLive had to duplicate roughly\none frame every 33 seconds. A name cannot carry that mistake — the only\nfractions in the system are the ones in {@link FRAME_RATE_FRACTIONS}.\n\nNote that on an interlaced source these are *frame* rates, not field rates:\nMediaLive deinterlaces automatically when the output `ScanType` is\n`PROGRESSIVE`, but by default weaves each field pair into one frame. To keep\nthe source's full temporal resolution from a 1080i59.94 feed you must ask\nfor `\"59.94\"` explicitly — AWS documents this as the way to get \"the same\nmotion as watching an interlaced video on a traditional TV\". Apple's HLS\nAuthoring Specification says the same thing normatively (rule 1.15: \"You\nSHOULD deinterlace 30i content to 60p instead of 30p\")."},"LiveRateControlMode":{"type":"string","enum":["qvbr","cbr"],"description":"- `qvbr` — quality-targeted variable bitrate capped at `maxBitrate`. AWS's\n  recommendation for OTT: the average drops on static scenes and rises on\n  motion, so a high cap costs less egress than the equivalent flat CBR.\n- `cbr` — constant bitrate at `maxBitrate`. Predictable for CDN capacity\n  planning and required by some legacy devices."},"LiveInputFilterMode":{"type":"string","enum":["disabled","auto","forced"],"description":"MediaLive input pre-filter. `forced` applies filtering regardless of input\ntype or quality; `auto` lets MediaLive decide from the source. AWS on the\ndenoise/deblock pair: \"If you are using a high-quality source, there is no\nneed to use these input filters… creating a softer image\" — so `disabled`\nis right for a clean mezzanine and `auto`/`forced` for a source that\nalready carries someone else's compression artifacts."},"LiveInputSpec":{"description":"MediaLive `InputSpecification`. Describes the *incoming* signal, not the\nladder — it drives input-side billing and resource allocation, and AWS bills\nwhat you declare regardless of what actually arrives. Frame rate is\ndeliberately absent: input pricing does not depend on it.","properties":{"codec":{"type":"string","enum":["AVC","HEVC","MPEG2"]},"resolution":{"type":"string","enum":["SD","HD","UHD"]},"maximumBitrate":{"type":"string","enum":["MAX_10_MBPS","MAX_20_MBPS","MAX_50_MBPS"]}},"type":"object","additionalProperties":false},"LiveH264Profile":{"type":"string","enum":["HIGH","MAIN","BASELINE"]},"LiveRendition":{"description":"One rung of the ABR ladder.","properties":{"name":{"type":"string","description":"Lowercase slug, unique within the ladder. Becomes the MediaLive\n`VideoDescriptionName` (`video_<name>`), the output name (`out_<name>`)\nand the HLS `NameModifier` (`-<name>`), so it ends up in segment\nfilenames — keep it short and URL-safe."},"width":{"type":"number","format":"double"},"height":{"type":"number","format":"double"},"maxBitrate":{"type":"number","format":"double","description":"Bits per second. Under `qvbr` this is the cap (`MaxBitrate`); under `cbr`\nit is the constant rate (`Bitrate`)."},"frameRate":{"$ref":"#/components/schemas/LiveFrameRate","description":"Overrides the profile-level frame rate for this rung only. The usual\nreason is to halve it on the bottom rung, where spending the bitrate on\nspatial detail beats spending it on motion."},"qvbrQualityLevel":{"type":"number","format":"double","description":"Overrides the profile-level QVBR quality level. Ignored under `cbr`."},"h264Profile":{"$ref":"#/components/schemas/LiveH264Profile","description":"Defaults to `HIGH` at 576p and above, `MAIN` below."}},"required":["name","width","height","maxBitrate"],"type":"object","additionalProperties":false},"LiveEncoderProfile":{"properties":{"frameRate":{"$ref":"#/components/schemas/LiveFrameRate","description":"Default output frame rate; individual rungs may override it."},"rateControl":{"$ref":"#/components/schemas/LiveRateControlMode"},"qvbrQualityLevel":{"type":"number","format":"double","description":"1–10. AWS guidance: 8–10 for a primary screen, 7 for PC/tablet, 6 for phones."},"gopSeconds":{"type":"number","format":"double","description":"GOP length in seconds. Applies to the HLS/MediaPackage output group only —\nthe SRT-to-Mux paths keep their own shorter GOP since Mux re-segments.\n\nMust divide {@link segmentSeconds} evenly: MediaLive can only close a\nsegment on an IDR frame, so a GOP longer than the requested segment simply\nproduces longer segments instead of failing."},"segmentSeconds":{"type":"number","format":"double","description":"HLS segment length in seconds, applied to BOTH the MediaLive HLS output\ngroup (`SegmentLength`) and the MediaPackage V2 origin endpoint\n(`SegmentDurationSeconds`). Hybrid pipelines only — the legacy MediaPackage\nV1 endpoints keep their own hardcoded values.\n\nThis is an AD-INSERTION parameter, not just a latency knob. MediaPackage\ncan only END an ad avail on a segment boundary, and the broadcaster's cue-in\nlands at an arbitrary phase inside a segment, so the avail MediaTailor is\nhanded is the real break FLOORED to the segment grid. When that floor drops\nbelow the signalled duration MediaTailor has already sized the pod for, the\nlast creative loses its final segment: third quartile fires, `complete`\nnever does.\n\nMeasured on prod (Angels @ Rangers, 2026-08-22, `jMGhNlQryNsu91AJAzHb`,\n30 ninety-second breaks, origin manifest captured with\n`scripts/capture-live-manifests.py`): the feed signals 90.056 s and delivers\n89.86–90.19 s, i.e. the broadcaster is accurate. But with 4.004 s segments\nthe avail was reported as 88.088 s on all 17 breaks whose cue-out phase fell\nbelow ~2.07 s, and as the full 90.056 s on the other 13. Those two buckets\ncompleted 74.9% and 99.8% of their ads respectively — 64 845 lost completes\nin one game.\n\nCONFIRMED on air. A single-broadcast canary ran `segmentSeconds: 2` on\n2026-08-25 (`MAAj8M1OZpDmsMmVfGrQ`), flanked by 08-26 and 08-27 on 4 s — same\nfeed, same break mix, same deployed code. Per-slot VCR from the\n`MediaTailor/AdDecisionServerInteractions` beacons isolates the mechanism:\n\n                             last slot in pod   any other slot\n  breaks packaged whole            99.2%             99.9%\n  breaks floored to the grid        5.0%             99.7%\n\nThe loss is exactly the intersection of \"avail was floored\" and \"creative was\nlast\". The control never moves, which is what rules out every demand-side\nexplanation. Split by break length, the canary moved only the lengths the\narithmetic says it should: 90 s 75.5% -> 94.6%, 150 s 48.3% -> 99.7%, while\n60 s and 120 s (which already sat on the grid) stayed put within 0.3 pp.\nWhole-game VCR 90.6% -> 97.6%.\n\nA residual ~1-2% survives any segment length: when the cue-out lands within a\nframe or two of a boundary the avail still floors. The canary saw 2 such breaks\nin 28. Removing that needs the pod to be under-declared by one segment, which\nis a separate change."},"inputFilter":{"$ref":"#/components/schemas/LiveInputFilterMode"},"inputFilterStrength":{"type":"number","format":"double","description":"1 (minimal) to 5 (strongest). Rejected when `inputFilter` is `disabled`."},"deblockFilter":{"type":"boolean"},"denoiseFilter":{"type":"boolean"},"inputSpec":{"$ref":"#/components/schemas/LiveInputSpec"},"audioPid":{"type":"number","format":"double","description":"MPEG-TS PID of the audio elementary stream to decode from the contribution\nfeed (e.g. 2002 = RSN's discrete stereo without the linear Nielsen\nwatermark). Unset ⇒ MediaLive's implicit default-track selection — today\nthe broadcaster's 5.1 stream, downmixed to stereo. Integer, 32–8190.\nApplies only to broadcaster-facing channels, never to restreamers (their\ninput is our own encode). A wrong PID does not fail the channel — MediaLive\nencodes silence until the PID appears, so roll out via a single-broadcast\n`encoderProfileOverride` canary first."},"renditions":{"items":{"$ref":"#/components/schemas/LiveRendition"},"type":"array","description":"The ABR ladder, ordered strictly by descending height. `renditions[0]` is\nthe top rung and is the one pushed to Mux over SRT for recording, so the\nordering is load-bearing rather than cosmetic."}},"type":"object","additionalProperties":false},"LiveAutoCaptionsLanguage":{"type":"string","enum":["eng","eng-us","eng-gb","eng-au","spa","fra","deu","ita","por"],"description":"Source-audio languages Smart Subtitles can transcribe — mirrors the Elemental\nInference `TranscriptionLanguage` enum (regional `eng-*` variants tune the ASR\nmodel; the emitted caption track is tagged with the base language)."},"LiveAutoCaptionsSyncMode":{"type":"string","enum":["no-video-delay","video-aligned"],"description":"Caption/video alignment trade-off for Smart Subtitles:\n- `\"no-video-delay\"` (default) — video is NOT delayed; captions trail the\n  speech by the ASR-path latency (~5-10s measured on staging) — normal\n  live-TV behaviour. Keep for latency-sensitive sports.\n- `\"video-aligned\"` — MediaLive DELAYS THE VIDEO by the caption latency so\n  text lands word-for-word; costs roughly that same +5-10s of end-to-end\n  stream latency for every viewer of the broadcast."},"LiveAutoCaptionsConfig":{"properties":{"enabled":{"type":"boolean"},"languageCode":{"$ref":"#/components/schemas/LiveAutoCaptionsLanguage","description":"Language of the source audio. Absent ⇒ `\"eng\"`."},"syncMode":{"$ref":"#/components/schemas/LiveAutoCaptionsSyncMode","description":"Absent ⇒ `\"no-video-delay\"`. Snapshotted at provision like the rest of\nthis config and NOT hot-swappable on a running channel (a change means\nstop→update→start ≈ 2-4 min viewer outage) — decide before the game.\nSee {@link LiveAutoCaptionsSyncMode}."}},"required":["enabled"],"type":"object","additionalProperties":false},"CreateLiveRequest":{"properties":{"league":{"type":"string"},"homeTeam":{"type":"string","description":"Identifier of the home team in the broadcast (e.g. `rangers`,\n`astros`). Surfaces as `cust_params.home_team`. Together with\n`awayTeam` lets sales target any matchup — including ones where\nneither side is BZZR's primary team — with a single OR/AND filter\n(`home_team=astros OR away_team=astros` for \"any Astros game\",\n`home_team=rangers AND away_team=astros` for a specific matchup)."},"awayTeam":{"type":"string","description":"Identifier of the away team. See `homeTeam`."},"gameId":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home`/`away` POV сети — explicit per-broadcast bucket for sales\nline items like \"all home games of network X\". Set on import from\nthe schedule's location column; not derived runtime since we no\nlonger carry a single network team identifier."},"seriesType":{"$ref":"#/components/schemas/SeriesType"},"daypartTimezone":{"type":"string","description":"IANA timezone used to bucket the broadcast start into `daypart`. When\nunset, `adProxyService.derivedDaypart` falls back to `America/New_York` —\nthe canonical US-sports broadcasting tz where audience plurality\nlives. Set per-stream when serving inventory tied to a specific\nvenue / league time zone (e.g. `America/Chicago` for Rangers home\nbroadcasts) so sales' `daypart=evening` line items fire in local\nprimetime instead of ET-shifted.\n\nNot a cust_param itself — controls how `daypart` is computed.\nInvalid tz strings (Luxon `isValid === false`) drop daypart from\nthe request entirely rather than emitting a wrong bucket."},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"scheduledStart":{"type":"string"},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType","description":"Input type for MediaLive.\n- \"rtmp_push\" (default): MediaLive opens RTMP endpoint, camera pushes to it.\n- \"srt_caller\": MediaLive pulls SRT from provided srtSources (e.g. CTS distribution)."},"srtSources":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array","description":"SRT source(s) for \"srt_caller\" input. Supports primary + secondary failover."},"enableSsai":{"type":"boolean","description":"Enable server-side ad insertion (SSAI) for live viewers via the hybrid pipeline.\nWhen true, the pipeline provisions MediaPackage + MediaTailor in addition to the\nSRT branch to Mux. Recorded VOD remains program-only; per-viewer ads on VOD are\ninjected client-side using the stored ad break events."},"vastUrl":{"type":"string","description":"Optional VAST ad decision server URL used for live SSAI. Falls back to backend settings."},"targetingMode":{"$ref":"#/components/schemas/LiveSsaiTargetingMode","description":"How the playback proxy should modify `vastUrl` before fetching VAST.\nPersisted on `ssaiConfig.targetingMode`. Same validation rules as on\n`PUT /admin/lives/{id}/ssaiConfig`: omit to let the server infer the\nmode from the URL shape; ambiguous URLs return 400.\n\nWithout this field a `vastUrl` pointing at a non-GAM tag (e.g. SpringServe)\nwould default to `gam_cust_params` at request time and append GAM-only\n`cust_params=` to it, breaking the upstream call."},"isLockedStream":{"type":"boolean","description":"Testing property, when true, entitlementIds is required and validated against the creator's ownership."},"entitlementIds":{"items":{"type":"string"},"type":"array"},"audioConfig":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioConfig"}],"nullable":true,"description":"Stadium-audio config snapshot for this live. Normally populated from\n`LiveSource.audioConfig` via the scheduled-broadcast path; surfaced here\nfor admin / E2E tooling that creates lives directly without a\nScheduledBroadcast."},"deliveryMode":{"$ref":"#/components/schemas/LiveDeliveryMode","description":"Viewer delivery mode for this live: `\"cloudfront\"` (default, MediaTailor SSAI\nvia CloudFront) or `\"mux\"` (restream the ad-stitched output into Mux). Normally\nresolved via the scheduled-broadcast path; surfaced here for admin / E2E tooling."},"encoderProfile":{"$ref":"#/components/schemas/LiveEncoderProfile","description":"Encoder profile (ABR ladder, frame rate, rate control, input filtering) for\nthis live. Normally resolved via the scheduled-broadcast path; surfaced here\nfor admin / E2E tooling. Partial — unset fields inherit from the default."},"autoCaptions":{"$ref":"#/components/schemas/LiveAutoCaptionsConfig","description":"Auto-captions (Smart Subtitles) config for this live. Normally resolved via\nthe scheduled-broadcast path; surfaced here for admin / E2E tooling.\nHybrid (SSAI) lives only."},"liveSourceId":{"type":"string","nullable":true,"description":"Optional back-link to the venue this live belongs to. Normally set by\nthe scheduled-broadcast provisioner; surfaced here so admin direct\ncreates can be picked up by the publisher poll endpoint scoped to that\n`liveSourceId`."}},"required":["title","description","scheduledStart"],"type":"object","additionalProperties":false},"UpdateLiveRequest":{"description":"GAM targeting metadata fields are inherited from `AdTargetingFields`\n(`league`, `homeTeam`, `awayTeam`, `gameId`, `gameType`, `seriesType`). Each field is\nindependently optional — passing one updates that field on `ssaiConfig`,\nthe rest stay as-is. Pass an empty string to clear a field.","properties":{"league":{"type":"string"},"homeTeam":{"type":"string","description":"Identifier of the home team in the broadcast (e.g. `rangers`,\n`astros`). Surfaces as `cust_params.home_team`. Together with\n`awayTeam` lets sales target any matchup — including ones where\nneither side is BZZR's primary team — with a single OR/AND filter\n(`home_team=astros OR away_team=astros` for \"any Astros game\",\n`home_team=rangers AND away_team=astros` for a specific matchup)."},"awayTeam":{"type":"string","description":"Identifier of the away team. See `homeTeam`."},"gameId":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home`/`away` POV сети — explicit per-broadcast bucket for sales\nline items like \"all home games of network X\". Set on import from\nthe schedule's location column; not derived runtime since we no\nlonger carry a single network team identifier."},"seriesType":{"$ref":"#/components/schemas/SeriesType"},"daypartTimezone":{"type":"string","description":"IANA timezone used to bucket the broadcast start into `daypart`. When\nunset, `adProxyService.derivedDaypart` falls back to `America/New_York` —\nthe canonical US-sports broadcasting tz where audience plurality\nlives. Set per-stream when serving inventory tied to a specific\nvenue / league time zone (e.g. `America/Chicago` for Rangers home\nbroadcasts) so sales' `daypart=evening` line items fire in local\nprimetime instead of ET-shifted.\n\nNot a cust_param itself — controls how `daypart` is computed.\nInvalid tz strings (Luxon `isValid === false`) drop daypart from\nthe request entirely rather than emitting a wrong bucket."},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"scheduledStart":{"type":"string"},"isLockedStream":{"type":"boolean","description":"Testing property, when true, entitlementIds is required and validated against the creator's ownership.","default":false},"entitlementIds":{"items":{"type":"string"},"type":"array"}},"type":"object","additionalProperties":false},"SidecastParticipantStatus.ReadyToJoin":{"enum":["readyToJoin"],"type":"string"},"SidecastParticipantStatus.RequestSent":{"enum":["requestSent"],"type":"string"},"SidecastParticipantStatus.Left":{"enum":["left"],"type":"string"},"ParticipantStatusSelfUpdateRequest":{"anyOf":[{"$ref":"#/components/schemas/SidecastParticipantStatus.ReadyToJoin"},{"$ref":"#/components/schemas/SidecastParticipantStatus.RequestSent"},{"$ref":"#/components/schemas/SidecastParticipantStatus.Left"}]},"SidecastParticipantSelfUpdateRequest":{"properties":{"userId":{"type":"string"},"sessionId":{"type":"string"},"status":{"$ref":"#/components/schemas/ParticipantStatusSelfUpdateRequest"}},"required":["userId"],"type":"object","additionalProperties":false},"SportsInterestViewModel":{"properties":{"id":{"type":"string","description":"The sport's catalog id — pass these back in PUT /user/me/sports-interests."},"name":{"type":"string"},"path":{"type":"string"},"parentPath":{"type":"string","nullable":true,"description":"Always `null`: the catalog holds root sports only."}},"required":["id","name","path","parentPath"],"type":"object","additionalProperties":false},"SportsInterestsPageViewModel":{"properties":{"items":{"items":{"$ref":"#/components/schemas/SportsInterestViewModel"},"type":"array"},"total":{"type":"number","format":"double","description":"Total number of non-featured entries matching `search`."},"limit":{"type":"number","format":"double"},"offset":{"type":"number","format":"double"}},"required":["items","total","limit","offset"],"type":"object","additionalProperties":false},"SportsInterestsListViewModel":{"properties":{"popular":{"items":{"$ref":"#/components/schemas/SportsInterestViewModel"},"type":"array","description":"Admin-curated (`isFeatured`) entries — always returned in full."},"other":{"$ref":"#/components/schemas/SportsInterestsPageViewModel","description":"The rest of the catalog, paginated and optionally filtered by `search`."}},"required":["popular","other"],"type":"object","additionalProperties":false},"SportCollectionName":{"description":"Level labels of the sports taxonomy (`collectionName` / `subcollectionName`\r\n/ `parentCollectionName` on `SportEntity`). Conference and division\r\nnodes live outside the visible tree (`DETACHED_SPORT_PARENT_PATH`).\r\nNB: pre-enum documents may hold free-text casing variants (e.g. \"Leagues\");\r\nread paths should not rely on exact values (see the structural catalog\r\nfilter in `SportsInterestsService`).","enum":["sports","leagues","conferences","divisions"],"type":"string"},"AssignedEntityType":{"enum":["athlete","team"],"type":"string"},"SportEntity":{"properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"name":{"type":"string"},"path":{"type":"string"},"collectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"subcollectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"parentPath":{"type":"string","nullable":true},"parentCollectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"breadcrumbs":{"items":{"type":"string"},"type":"array"},"assignedEntityType":{"allOf":[{"$ref":"#/components/schemas/AssignedEntityType"}],"nullable":true},"isFeatured":{"type":"boolean","description":"Kept on the node; the picker reads the registry's flag (`PATCH /admin/sports/featured` writes both).\nAdmin-owned — the ESPN sync never touches it. Absent on docs created\nbefore this field existed (treated as `false`)."},"espnUid":{"type":"string","nullable":true,"description":"ESPN uid join key (e.g. `s:40~l:46`). The weekly ESPN sync matches\nexisting docs by this and updates ESPN-owned fields (`name`).\n`null`/absent = admin-created — invisible to the sync."}},"required":["id","createdAt","name","path","collectionName","subcollectionName","parentPath","parentCollectionName","breadcrumbs","assignedEntityType"],"type":"object","additionalProperties":false},"Record_string.ListResultReponse_SidecastEpisodeSearchViewModel__":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/ListResultReponse_SidecastEpisodeSearchViewModel_"},"type":"object","description":"Construct a type with a set of properties K of type T"},"SidecastUniqueTagViewModel":{"properties":{"tag":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["tag","totalCount"],"type":"object","additionalProperties":false},"ShareLinkCreatedViewModel":{"description":"`POST /share-links`.","properties":{"token":{"type":"string"},"url":{"type":"string","description":"The link to share: `<site>/l/<token>`."},"contentId":{"type":"string","description":"The id of what the link shares: for `bleacherSetup`, the snapshot of the Bleachers; for `groupInvite`, the group."}},"required":["token","url","contentId"],"type":"object","additionalProperties":false},"CreateShareLinkRequest":{"description":"`POST /share-links`.","properties":{"kind":{"$ref":"#/components/schemas/ShareLinkKind"},"sourceId":{"$ref":"#/components/schemas/PathSegment","description":"What is shared. For `bleacherSetup`: the id of one of the caller's Bleachers; for `groupInvite`: one of the caller's groups."},"shareId":{"type":"string","description":"The client's id of this share. The link gives it back when it is read.","pattern":"^[A-Za-z0-9_-]{1,64}$"}},"required":["kind","sourceId","shareId"],"type":"object","additionalProperties":false},"AllEntitiesSearchModelType":{"enum":["podcast","post","podcastEpisode","video","hype","news","sidecast"],"type":"string"},"ProfileType":{"enum":["person","organization","school"],"type":"string"},"SearchResultCreatorViewModel":{"properties":{"id":{"type":"string"},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"name":{"type":"string"}},"required":["id","photo","name"],"type":"object","additionalProperties":false},"SearchSuggestionViewModel":{"properties":{"entityType":{"anyOf":[{"$ref":"#/components/schemas/AllEntitiesSearchModelType"},{"$ref":"#/components/schemas/ProfileType"}]},"entityId":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"isVerified":{"type":"boolean","default":false},"creator":{"allOf":[{"$ref":"#/components/schemas/SearchResultCreatorViewModel"}],"nullable":true}},"required":["entityType","entityId","displayName","bzzrHandle","firstName","lastName","imageUrl","claimedByUserId","claimedByUserName","creator"],"type":"object","additionalProperties":false},"ListResultRecordResponse_SearchSuggestionViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/SearchSuggestionViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_SearchSuggestionViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_SearchSuggestionViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"AllEntitiesKeyTermSearchModel":{"properties":{"commonTerm":{"type":"string"},"summary":{"type":"string"}},"required":["commonTerm","summary"],"type":"object","additionalProperties":false},"EntityContentViewModel":{"properties":{"text":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/ImagesViewModel"},"type":"array"}},"required":["text","images"],"type":"object","additionalProperties":false},"SearchResultViewModel":{"properties":{"entityType":{"anyOf":[{"$ref":"#/components/schemas/AllEntitiesSearchModelType"},{"$ref":"#/components/schemas/ProfileType"}]},"entityId":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"description":{"type":"string","nullable":true},"isVerified":{"type":"boolean","nullable":true},"viewsCount":{"type":"number","format":"double","default":0},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"claimedByUserId":{"type":"string","nullable":true,"description":"Fields responsible and related to claimed user"},"claimedByUserName":{"type":"string","nullable":true},"followersCount":{"type":"number","format":"double","nullable":true},"publisherName":{"type":"string","nullable":true,"description":"Only filled for podcasts and news or other fields required for different models"},"author":{"type":"string","nullable":true},"postedAt":{"type":"string","nullable":true},"duration":{"type":"number","format":"double","nullable":true},"parentId":{"type":"string","nullable":true},"parentDisplayName":{"type":"string","nullable":true},"parentImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"content":{"allOf":[{"$ref":"#/components/schemas/EntityContentViewModel"}],"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/SidecastEpisodeStatus"}],"nullable":true},"cdnUrl":{"type":"string","nullable":true},"creator":{"allOf":[{"$ref":"#/components/schemas/SearchResultCreatorViewModel"}],"nullable":true},"isFollowed":{"type":"boolean","nullable":true,"description":"Feed related fields"}},"required":["entityType","entityId","displayName","bzzrHandle","images","description","isVerified","tags","claimedByUserId","claimedByUserName","followersCount","publisherName","author","postedAt","duration","parentId","parentDisplayName","parentImage","content","createdAt","updatedAt","status","cdnUrl","creator","isFollowed"],"type":"object","additionalProperties":false},"AllEntitiesListResultRecordResponse_SearchResultViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/SearchResultViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}},"highlightedKeyTerms":{"items":{"$ref":"#/components/schemas/AllEntitiesKeyTermSearchModel"},"type":"array"}},"required":["record","highlightedKeyTerms"],"type":"object","additionalProperties":false},"AllEntitiesListResultReponse_SearchResultViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/AllEntitiesListResultRecordResponse_SearchResultViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"GroupedSearchResultViewModel":{"properties":{"podcast":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"post":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"podcastEpisode":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"video":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"hype":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"news":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"sidecast":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"person":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"organization":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"school":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"profiles":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"}},"required":["podcast","post","podcastEpisode","video","hype","news","sidecast","person","organization","school","profiles"],"type":"object","additionalProperties":false},"TagViewModel":{"properties":{"name":{"type":"string"},"label":{"type":"string","nullable":true,"description":"Present on featured tags only: the display text, null when clients should format `name`."},"podcastPopularity":{"type":"number","format":"double","nullable":true},"additionalNames":{"items":{"type":"string"},"type":"array","description":"Present on featured tags only ([] when the tag matches just its name).\nGET /podcasts/byTag and the grouped `/search/{type}/entities` endpoint\napply the union server-side from the plain `name`; the older paginated\nGET /search/podcast needs these OR-ed into its `tags` filter by the client."}},"required":["name","podcastPopularity"],"type":"object","additionalProperties":false},"DocumentsList_TagViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TagViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"Record_string.AllEntitiesListResultReponse_SearchResultViewModel__":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"},"type":"object","description":"Construct a type with a set of properties K of type T"},"ScheduleTeamSectionViewModel":{"description":"One team's section on the Schedule tab: the team, plus the head of its broadcasts in the\nrequested state.","properties":{"ownerId":{"type":"string"},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"broadcasts":{"items":{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string","description":"Cursor for loading MORE of this team's broadcasts — pass it to\n`GET /scheduledBroadcasts?state=…&ownerId=…&lastDocId=…`. Empty when the section is\nalready complete."},"totalCount":{"type":"number","format":"double","description":"Total broadcasts this team has in the requested state — including the ones already in\n`broadcasts`, not the remainder. A \"+N more\" label is `totalCount - broadcasts.length`."}},"required":["ownerId","owner","broadcasts","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"ScheduleViewModel":{"description":"One page of the Schedule tab. Pagination advances over TEAMS, not broadcasts: each section\ncarries only a fixed head of its own games and its own cursor for the rest.","properties":{"sections":{"items":{"$ref":"#/components/schemas/ScheduleTeamSectionViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string","description":"Cursor for the next page of TEAMS — pass it back as `lastDocId`. Empty on the last page.\n\nA cursor rather than an offset because an admin reordering the shelf mid-scroll would\nshift every offset below the move, making a page repeat or skip teams.\n\nSections with no broadcasts in this state are dropped, so a page CAN come back with fewer\nsections than teams requested — even with none at all. Keep paging while this is non-empty\nrather than stopping at the first short page."},"totalTeams":{"type":"number","format":"double","description":"Teams on the curated shelf — the total this cursor walks."}},"required":["sections","lastVisibleDocumentId","totalTeams"],"type":"object","additionalProperties":false},"BroadcastState":{"description":"What a consumer sees a broadcast as. A closed, deliberately smaller vocabulary than\n{@link ScheduledBroadcastStatus}: `provisioning` / `ending` are pipeline mechanics, and\n`provision_failed` / `cancelled` / `skipped` are outcomes the tabs must never render at\nall. Mapping here (rather than letting clients enumerate statuses) is what keeps a new\ninternal status from silently appearing on a tab.","enum":["upcoming","live","ended"],"type":"string"},"ScheduleQueryParams":{"description":"Query params of `GET /scheduledBroadcasts/schedule` — pagination is over TEAMS.","properties":{"state":{"$ref":"#/components/schemas/BroadcastState","description":"Which state fills each team's section. Defaults to `upcoming`."},"limit":{"type":"integer","format":"int32","description":"Teams per page — much tighter than a broadcast list's, because each team on the page\ncosts its own query.","minimum":1,"maximum":25},"lastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Team cursor: the previous page's `lastVisibleDocumentId`."}},"type":"object","additionalProperties":false},"BroadcastsByStateQueryParams":{"description":"Query params of `GET /scheduledBroadcasts?state=…`.\n\n`ownerId` and `liveSourceId` are mutually exclusive (400 when both are sent): each accepted\ncombination is its own composite index, and `liveSourceId` already implies its owner.","properties":{"state":{"$ref":"#/components/schemas/BroadcastState"},"limit":{"type":"integer","format":"int32","minimum":1,"maximum":100},"lastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor: the previous page's `lastVisibleDocumentId`."},"ownerId":{"type":"string","description":"Scope to one team. A team may own several live sources."},"liveSourceId":{"type":"string","description":"Scope to one broadcast channel."}},"required":["state"],"type":"object","additionalProperties":false},"BroadcastBannerViewModel":{"description":"Banner payload for the consumer landing surface: subscription pass + soonest upcoming\nbroadcast (or null) + a banner image (broadcast-specific bucket asset, falling back to\nthe product image).","properties":{"pass":{"$ref":"#/components/schemas/ProductViewModel"},"broadcast":{"allOf":[{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"}],"nullable":true},"banner":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["pass","broadcast","banner"],"type":"object","additionalProperties":false},"PersonViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"hometown":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"profileImages":{"$ref":"#/components/schemas/ImagesViewModel"},"verified":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"height":{"type":"string","nullable":true},"weight":{"type":"string","nullable":true},"birthDate":{"type":"string","nullable":true},"college":{"type":"string","nullable":true},"draftInfo":{"type":"string","nullable":true},"experience":{"type":"string","nullable":true},"citizenship":{"type":"string","nullable":true},"debutYear":{"type":"string","nullable":true},"hand":{"type":"string","nullable":true},"sport":{"type":"string","nullable":true},"league":{"type":"string","nullable":true},"team":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"}],"nullable":true},"division":{"type":"string","nullable":true}},"required":["id","type","displayName","bzzrHandle","hometown","tags","profileImages","verified","claimedByUserId","claimedByUserName","jersey","position","status","height","weight","birthDate","college","draftInfo","experience","citizenship","debutYear","hand","sport","league","team","division"],"type":"object","additionalProperties":false},"OrganizationViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"hometown":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"profileImages":{"$ref":"#/components/schemas/ImagesViewModel"},"verified":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"stadiumName":{"type":"string","nullable":true},"teamMascot":{"type":"string","nullable":true},"coach":{"items":{"type":"string"},"type":"array"},"founded":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"sport":{"type":"string","nullable":true},"league":{"type":"string","nullable":true},"conference":{"type":"string","nullable":true},"division":{"type":"string","nullable":true}},"required":["id","type","displayName","bzzrHandle","hometown","tags","profileImages","verified","claimedByUserId","claimedByUserName","stadiumName","teamMascot","coach","founded","status","sport","league","conference","division"],"type":"object","additionalProperties":false},"SchoolViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"hometown":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"profileImages":{"$ref":"#/components/schemas/ImagesViewModel"},"verified":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"fullName":{"type":"string"},"mascot":{"type":"string","nullable":true},"stadiumName":{"type":"string","nullable":true},"stadiumLocation":{"type":"string","nullable":true},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object","nullable":true}},"required":["id","type","displayName","bzzrHandle","hometown","tags","profileImages","verified","claimedByUserId","claimedByUserName","fullName","mascot","stadiumName","stadiumLocation","relationships"],"type":"object","additionalProperties":false},"PodcastEpisodeViewModel":{"properties":{"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"id":{"type":"string"},"guid":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string"},"transcript":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"metadata":{"allOf":[{"$ref":"#/components/schemas/PodcastEpisodeMetadataViewModel"}],"nullable":true},"wordCount":{"type":"number","format":"double"},"duration":{"type":"number","format":"double"},"listens":{"type":"number","format":"double","description":"Cumulative listens for this episode. Always populated on single-episode reads; on list endpoints\nit is 0 unless `includeListens=true` is requested (each count is a separate aggregate query)."},"shares":{"type":"number","format":"double","description":"Not tracked — no backing signal exists. Always 0."},"keyTermsCount":{"type":"number","format":"double"},"keyTerms":{"items":{"$ref":"#/components/schemas/KeyTermViewModel"},"type":"array"},"imageUrl":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"audioUrl":{"type":"string"},"url":{"type":"string"},"publisherName":{"type":"string","nullable":true},"episodeFullyProcessed":{"type":"boolean"},"isDuplidate":{"type":"boolean","nullable":true,"deprecated":true},"isDuplicate":{"type":"boolean","nullable":true},"isDuplicateOf":{"type":"string","nullable":true},"postedAt":{"type":"string"},"postedAtAtom":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["podcastId","podcastUrl","podcastName","id","guid","title","description","transcript","tags","categories","topics","metadata","wordCount","duration","listens","shares","keyTermsCount","keyTerms","imageUrl","images","audioUrl","url","publisherName","episodeFullyProcessed","isDuplidate","isDuplicate","isDuplicateOf","postedAt","postedAtAtom","createdAt","updatedAt"],"type":"object","additionalProperties":false},"ListResultRecordResponse_PodcastEpisodeViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/PodcastEpisodeViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_PodcastEpisodeViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_PodcastEpisodeViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"PodcastEpisodePopularViewModel":{"description":"Popular-episodes rail item. Built entirely from the GetStream activity (custom payload +\nengagement counts) — no Elasticsearch hydration — so it carries the reduced feed-activity\nshape, not the full episode. Deliberately NO `isLiked`: the rail is one shared cached list,\nand a per-user like overlay would cost a GetStream call per request, defeating the cache.","properties":{"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"duration":{"type":"number","format":"double"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"audioUrl":{"type":"string"},"url":{"type":"string"},"postedAt":{"type":"string"},"createdAt":{"type":"string"},"activityId":{"type":"string"},"likesCount":{"type":"number","format":"double"},"commentsCount":{"type":"number","format":"double"}},"required":["podcastId","podcastUrl","podcastName","id","title","description","tags","duration","categories","topics","images","audioUrl","url","postedAt","createdAt","activityId","likesCount","commentsCount"],"type":"object","additionalProperties":false},"ListResultRecordResponse_PodcastEpisodePopularViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/PodcastEpisodePopularViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_PodcastEpisodePopularViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_PodcastEpisodePopularViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"PodcastCreatorPodcastReference":{"description":"Minimal reference to a creator's owned podcast on the creators rail.","properties":{"id":{"type":"string"},"name":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["id","name","images"],"type":"object","additionalProperties":false},"PodcastCreatorViewModel":{"description":"A creator (user who claimed at least one podcast) on the podcast-page creators rail.","properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"photo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"claimedEntityId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true},"isFollowed":{"type":"boolean"},"podcasts":{"items":{"$ref":"#/components/schemas/PodcastCreatorPodcastReference"},"type":"array"}},"required":["id","type","displayName","bzzrHandle","photo","claimedEntityId","isVerified","isCommentsEnabled","isFollowed","podcasts"],"type":"object","additionalProperties":false},"ListResultRecordResponse_PodcastCreatorViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/PodcastCreatorViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_PodcastCreatorViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_PodcastCreatorViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"FeaturedTagRailViewModel":{"description":"A Discover rail for one featured tag: the tag and its first podcasts.","properties":{"tag":{"$ref":"#/components/schemas/TagViewModel"},"rail":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_","description":"Largest Podscan audience estimate first; totalRecords counts every podcast the tag matches."}},"required":["tag","rail"],"type":"object","additionalProperties":false},"PodcastFollowableViewModel":{"properties":{"id":{"type":"string"},"podcastGuid":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"hosts":{"items":{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"},"type":"array","nullable":true},"language":{"type":"string"},"region":{"type":"string"},"rssUrl":{"type":"string"},"url":{"type":"string"},"publisherName":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"episodeCount":{"type":"number","format":"double"},"totalEpisodes":{"type":"number","format":"double"},"reach":{"$ref":"#/components/schemas/PodcastReach"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"isActive":{"type":"boolean"},"isVerified":{"type":"boolean"},"itunesRatingCount":{"type":"string"},"lastPostedAt":{"type":"string"},"lastScannedAt":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"isFollowed":{"type":"boolean"},"followersCount":{"type":"number","format":"double"}},"required":["id","podcastGuid","name","description","images","hosts","language","region","rssUrl","url","publisherName","tags","episodeCount","totalEpisodes","reach","isActive","isVerified","itunesRatingCount","lastPostedAt","lastScannedAt","createdAt","updatedAt","claimedByUserId","claimedByUserName","isFollowed","followersCount"],"type":"object","additionalProperties":false},"DocumentsList_PodcastEpisodeViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PodcastEpisodeViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PodcastEpisodeEngagementViewModel":{"properties":{"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"id":{"type":"string"},"guid":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string"},"transcript":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"metadata":{"allOf":[{"$ref":"#/components/schemas/PodcastEpisodeMetadataViewModel"}],"nullable":true},"wordCount":{"type":"number","format":"double"},"duration":{"type":"number","format":"double"},"listens":{"type":"number","format":"double","description":"Cumulative listens for this episode. Always populated on single-episode reads; on list endpoints\nit is 0 unless `includeListens=true` is requested (each count is a separate aggregate query)."},"shares":{"type":"number","format":"double","description":"Not tracked — no backing signal exists. Always 0."},"keyTermsCount":{"type":"number","format":"double"},"keyTerms":{"items":{"$ref":"#/components/schemas/KeyTermViewModel"},"type":"array"},"imageUrl":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"audioUrl":{"type":"string"},"url":{"type":"string"},"publisherName":{"type":"string","nullable":true},"episodeFullyProcessed":{"type":"boolean"},"isDuplidate":{"type":"boolean","nullable":true,"deprecated":true},"isDuplicate":{"type":"boolean","nullable":true},"isDuplicateOf":{"type":"string","nullable":true},"postedAt":{"type":"string"},"postedAtAtom":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"}},"required":["podcastId","podcastUrl","podcastName","id","guid","title","description","transcript","tags","categories","topics","metadata","wordCount","duration","listens","shares","keyTermsCount","keyTerms","imageUrl","images","audioUrl","url","publisherName","episodeFullyProcessed","isDuplidate","isDuplicate","isDuplicateOf","postedAt","postedAtAtom","createdAt","updatedAt","activityId","likesCount","isLiked","commentsCount"],"type":"object","additionalProperties":false},"DocumentsList_PodcastEpisodeEngagementViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PodcastEpisodeEngagementViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PodcastEpisodeDetailViewModel":{"description":"The episode page read: the engagement view plus the listener's own resume point.","properties":{"podcastId":{"type":"string"},"podcastUrl":{"type":"string"},"podcastName":{"type":"string"},"id":{"type":"string"},"guid":{"type":"string","nullable":true},"title":{"type":"string"},"description":{"type":"string"},"transcript":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"$ref":"#/components/schemas/PodcastCategory"},"type":"array"},"topics":{"items":{"$ref":"#/components/schemas/PodcastEpisodeTopic"},"type":"array"},"metadata":{"allOf":[{"$ref":"#/components/schemas/PodcastEpisodeMetadataViewModel"}],"nullable":true},"wordCount":{"type":"number","format":"double"},"duration":{"type":"number","format":"double"},"listens":{"type":"number","format":"double","description":"Cumulative listens for this episode. Always populated on single-episode reads; on list endpoints\nit is 0 unless `includeListens=true` is requested (each count is a separate aggregate query)."},"shares":{"type":"number","format":"double","description":"Not tracked — no backing signal exists. Always 0."},"keyTermsCount":{"type":"number","format":"double"},"keyTerms":{"items":{"$ref":"#/components/schemas/KeyTermViewModel"},"type":"array"},"imageUrl":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"audioUrl":{"type":"string"},"url":{"type":"string"},"publisherName":{"type":"string","nullable":true},"episodeFullyProcessed":{"type":"boolean"},"isDuplidate":{"type":"boolean","nullable":true,"deprecated":true},"isDuplicate":{"type":"boolean","nullable":true},"isDuplicateOf":{"type":"string","nullable":true},"postedAt":{"type":"string"},"postedAtAtom":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"activityId":{"type":"string","nullable":true},"likesCount":{"type":"number","format":"double"},"isLiked":{"type":"boolean"},"commentsCount":{"type":"number","format":"double"},"watchProgress":{"allOf":[{"$ref":"#/components/schemas/WatchProgressViewModel"}],"nullable":true,"description":"null when the listener has none."}},"required":["podcastId","podcastUrl","podcastName","id","guid","title","description","transcript","tags","categories","topics","metadata","wordCount","duration","listens","shares","keyTermsCount","keyTerms","imageUrl","images","audioUrl","url","publisherName","episodeFullyProcessed","isDuplidate","isDuplicate","isDuplicateOf","postedAt","postedAtAtom","createdAt","updatedAt","activityId","likesCount","isLiked","commentsCount","watchProgress"],"type":"object","additionalProperties":false},"DocumentsList_PlaylistVideoReferenceEngagementViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PlaylistVideoReferenceEngagementViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"AudioTelemetryReason":{"type":"string","enum":["start","heartbeat","final","error"],"description":"Why a beacon was sent. Terminal reasons (`final`/`error`) carry the session's totals."},"AudioTelemetryRequest":{"description":"One stadium-audio playback telemetry beacon from a sampled listener.\n\nEverything here is CLIENT-measured — the server has no view of playout delay,\nrebuffering or audio level, because `AWS/IVSRealTime` publishes no such metric.\nWeb reads these from `RTCPeerConnection.getStats()` (`inbound-rtp` +\n`candidate-pair`); the native IVS Broadcast SDKs expose the same values.\n\nIdentity is NOT taken from this body — `userId` comes from the bearer, and\nplatform/app-version/country are derived from request headers and IP. Numeric\nfields are clamped rather than rejected: a bad reading must never turn into a\nfailed request that the client then retries.","properties":{"sessionId":{"type":"string","description":"Client-generated id, stable for one listen session (a UUID is fine). The\naggregation groups on it, so reusing one across sessions merges them.","maxLength":64},"reason":{"$ref":"#/components/schemas/AudioTelemetryReason"},"elapsedMs":{"type":"number","format":"double","nullable":true,"description":"Milliseconds since `subscribe()`. On the terminal beacon this is the session length."},"timeToFirstAudioMs":{"type":"number","format":"double","nullable":true,"description":"Grant received → first audible frame, ms."},"joinLatencyMs":{"type":"number","format":"double","nullable":true,"description":"`subscribe()` → stage JOINED, ms."},"playoutBufferMs":{"type":"number","format":"double","nullable":true,"description":"`jitterBufferDelay / jitterBufferEmittedCount × 1000` — playout delay, ms. Cumulative."},"rttMs":{"type":"number","format":"double","nullable":true,"description":"`candidate-pair.currentRoundTripTime × 1000`, ms. INSTANTANEOUS, unlike its neighbours."},"packetsLostPct":{"type":"number","format":"double","nullable":true,"description":"`packetsLost / (packetsLost + packetsReceived)`, 0..1. Cumulative."},"concealedSamplesPct":{"type":"number","format":"double","nullable":true,"description":"`concealedSamples / totalSamplesReceived`, 0..1. Cumulative."},"audioLevelAvg":{"type":"number","format":"double","nullable":true,"description":"Mean `inbound-rtp.audioLevel` since the last beacon, 0..1."},"rebufferCount":{"type":"number","format":"double","nullable":true},"rebufferMs":{"type":"number","format":"double","nullable":true},"errorCode":{"type":"string","nullable":true,"maxLength":64},"errorMessage":{"type":"string","nullable":true,"maxLength":200}},"required":["sessionId","reason"],"type":"object","additionalProperties":false},"OwedPartnerConsentViewModel":{"description":"One purchase the fan holds but never consented for.","properties":{"subscriptionId":{"type":"string","description":"Echo this back to `POST /partner-consent/accept`."},"productId":{"type":"number","format":"double","description":"For rendering only — what the blocked purchase was for."},"consent":{"$ref":"#/components/schemas/PartnerConsentViewModel"}},"required":["subscriptionId","productId","consent"],"type":"object","additionalProperties":false},"AcceptPartnerConsentRequest":{"description":"Body of the standalone acceptance behind the playback gate.","properties":{"subscriptionId":{"type":"string","description":"One of the `subscriptionId`s returned by `GET /partner-consent/owed`. Keyed on the purchase,\nnot the product: consent is given per purchase, so two subscriptions to the same product each\nneed their own."},"version":{"type":"integer","format":"int32","minimum":1}},"required":["subscriptionId","version"],"type":"object","additionalProperties":false},"ListResultRecordResponse_NewsArticleViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/NewsArticleViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_NewsArticleViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_NewsArticleViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"DocumentsList_CurrentLiveItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/CurrentLiveItemViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"LivePlaybackTokenViewModel":{"description":"Response shape for `GET /lives/{liveId}/token`. Mux signed playback JWT\nrequired when `streamDetails.playbackPolicy === 'signed'` (legacy public\nlives play without a token; this endpoint 409's on those). The frontend\nfetches it in parallel with `GET /lives/{liveId}` (Promise.all) so the\nseparation costs zero extra latency, and refreshes near `expiresAt` for\nsessions that outlive the token TTL (3 h live / 24 h VOD).\n\nGeo‑fenced: requires both Firebase JWT and a valid `X-Geo-Token` header\nissued by `POST /location/verify` (GeoComply Core SDK). Without it the\nrequest 401's — playback can be blocked in geo‑restricted regions while\nmetadata at `GET /lives/{liveId}` stays accessible for browse/catalog UX.","properties":{"token":{"type":"string"},"expiresAt":{"type":"string"}},"required":["token","expiresAt"],"type":"object","additionalProperties":false},"LiveViewerCountTokenViewModel":{"properties":{"token":{"type":"string"},"expiresAt":{"type":"string"}},"required":["token","expiresAt"],"type":"object","additionalProperties":false},"StadiumAudioWhepViewModel":{"description":"Returned by `GET /lives/{liveId}/stadium-audio/whep` — short-lived\nSUBSCRIBE-only AWS IVS Real-Time participant token for the live's audio.\n\n**Consumption.** This token only works with the AWS Broadcast SDK\n(Web / iOS / Android — `IVSBroadcastClient.Stage(token, strategy)` or\nnative equivalent). AWS does NOT expose a public raw WHEP endpoint;\nthe SDK negotiates signaling internally from the token's `topic` /\n`whip_url` claims. Generic WHEP clients (`whep-cli`, browser\n`RTCPeerConnection` against any `*.whep.live-video.net` host) will\nnot connect — that hostname pattern is not registered at AWS.","properties":{"token":{"type":"string"},"expiresAt":{"type":"string"}},"required":["token","expiresAt"],"type":"object","additionalProperties":false},"LinkPreviewResultViewModel":{"description":"Answer of `GET /studio/link-preview` (the endpoint's jsdoc carries the null semantics).","properties":{"preview":{"allOf":[{"$ref":"#/components/schemas/PostLinkPreviewViewModel"}],"nullable":true}},"required":["preview"],"type":"object","additionalProperties":false},"LeagueShortViewModel":{"description":"A league of Discover's Browse all; `id` opens its page (`GET /leagues/{leagueId}/feed`).","properties":{"id":{"type":"string"},"name":{"type":"string"},"shortName":{"type":"string","description":"ESPN's chip-sized name (\"MLB\"), else `name`."},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true}},"required":["id","name","shortName","logo"],"type":"object","additionalProperties":false},"GeoTroubleshooterMessageViewModel":{"properties":{"rule":{"type":"string"},"retry":{"type":"string"},"help":{"type":"string"},"text":{"type":"string"}},"required":["rule","retry","help","text"],"type":"object","additionalProperties":false},"GeoTroubleshooterViewModel":{"properties":{"messages":{"items":{"$ref":"#/components/schemas/GeoTroubleshooterMessageViewModel"},"type":"array"}},"required":["messages"],"type":"object","additionalProperties":false},"GeoVerifyPassViewModel":{"properties":{"pass":{"type":"boolean","enum":[true],"nullable":false},"geoToken":{"type":"string"},"geoTokenExpiresAt":{"type":"string","description":"When the geoToken stops being accepted. Derived from GeoComply's\n`geolocate_in - buffer_time` so the frontend has enough runway to\nre-run the SDK and mint a new geoToken before gated requests start\n403'ing."},"troubleshooter":{"$ref":"#/components/schemas/GeoTroubleshooterViewModel"}},"required":["pass","geoToken","geoTokenExpiresAt"],"type":"object","additionalProperties":false},"GeoVerifyFailViewModel":{"properties":{"pass":{"type":"boolean","enum":[false],"nullable":false},"errorCode":{"type":"number","format":"double"},"troubleshooter":{"$ref":"#/components/schemas/GeoTroubleshooterViewModel"}},"required":["pass","errorCode"],"type":"object","additionalProperties":false},"GeoVerifyViewModel":{"anyOf":[{"$ref":"#/components/schemas/GeoVerifyPassViewModel"},{"$ref":"#/components/schemas/GeoVerifyFailViewModel"}]},"VerifyGeoResponseRequest":{"properties":{"geoResponse":{"type":"string","description":"Base64-encoded encrypted geolocation response produced by the GeoComply Core SDK."}},"required":["geoResponse"],"type":"object","additionalProperties":false},"NativeGeoRequest":{"description":"Body for `POST /location/native` — the cheap between-anchors renewal on the\nstadium-audio path. The client sends its device-native GPS coordinates and\nits current (GeoComply-anchored) geo-token in the `X-Geo-Token` header; the\nserver re-issues a `native-gps` token carrying the anchor forward, as long as\nthe last GeoComply anchor is still within the re-anchor window.","properties":{"lat":{"type":"number","format":"double"},"lng":{"type":"number","format":"double"}},"required":["lat","lng"],"type":"object","additionalProperties":false},"AggregatedActivityResponse":{"properties":{"activity_count":{"type":"number","format":"double","description":"Number of activities in this aggregation"},"created_at":{"type":"string","format":"date-time","description":"When the aggregation was created"},"group":{"type":"string","description":"Grouping identifier"},"score":{"type":"number","format":"double","description":"Ranking score for this aggregation"},"updated_at":{"type":"string","format":"date-time","description":"When the aggregation was last updated"},"user_count":{"type":"number","format":"double","description":"Number of unique users in this aggregation"},"user_count_truncated":{"type":"boolean","description":"Whether this activity group has been truncated due to exceeding the group size limit"},"activities":{"items":{"$ref":"#/components/schemas/ActivityResponse"},"type":"array","description":"List of activities in this aggregation"},"is_read":{"type":"boolean","description":"Whether this aggregated group has been read. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_seen":{"type":"boolean","description":"Whether this aggregated group has been seen. Only set for feed groups with notification config (track_seen/track_read enabled)."},"is_watched":{"type":"boolean"}},"required":["activity_count","created_at","group","score","updated_at","user_count","user_count_truncated","activities"],"type":"object","additionalProperties":false},"ActivityPinResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the pin was created"},"feed":{"type":"string","description":"ID of the feed where activity is pinned"},"updated_at":{"type":"string","format":"date-time","description":"When the pin was last updated"},"activity":{"$ref":"#/components/schemas/ActivityResponse"},"user":{"$ref":"#/components/schemas/UserResponse"}},"required":["created_at","feed","updated_at","activity","user"],"type":"object","additionalProperties":false},"PagerResponse":{"properties":{"next":{"type":"string"},"prev":{"type":"string"}},"type":"object","additionalProperties":false},"NotificationStatusResponse":{"properties":{"unread":{"type":"number","format":"double","description":"Number of unread notifications"},"unseen":{"type":"number","format":"double","description":"Number of unseen notifications"},"last_read_at":{"type":"string","format":"date-time","description":"When notifications were last read"},"last_seen_at":{"type":"string","format":"date-time","description":"When notifications were last seen"},"read_activities":{"items":{"type":"string"},"type":"array","description":"Deprecated: use is_read on each activity/group instead. IDs of activities that have been read. Capped at ~101 entries for aggregated feeds."},"seen_activities":{"items":{"type":"string"},"type":"array","description":"Deprecated: use is_seen on each activity/group instead. IDs of activities that have been seen. Capped at ~101 entries for aggregated feeds."}},"required":["unread","unseen"],"type":"object","additionalProperties":false},"GetOrCreateFeedResponse":{"properties":{"created":{"type":"boolean"},"duration":{"type":"string","description":"Duration of the request in milliseconds"},"activities":{"items":{"$ref":"#/components/schemas/ActivityResponse"},"type":"array"},"aggregated_activities":{"items":{"$ref":"#/components/schemas/AggregatedActivityResponse"},"type":"array"},"followers":{"items":{"$ref":"#/components/schemas/FollowResponse"},"type":"array"},"following":{"items":{"$ref":"#/components/schemas/FollowResponse"},"type":"array"},"members":{"items":{"$ref":"#/components/schemas/FeedMemberResponse"},"type":"array"},"pinned_activities":{"items":{"$ref":"#/components/schemas/ActivityPinResponse"},"type":"array"},"feed":{"$ref":"#/components/schemas/FeedResponse"},"next":{"type":"string"},"prev":{"type":"string"},"followers_pagination":{"$ref":"#/components/schemas/PagerResponse"},"following_pagination":{"$ref":"#/components/schemas/PagerResponse"},"member_pagination":{"$ref":"#/components/schemas/PagerResponse"},"notification_status":{"$ref":"#/components/schemas/NotificationStatusResponse"}},"required":["created","duration","activities","aggregated_activities","followers","following","members","pinned_activities","feed"],"type":"object","additionalProperties":false},"Headers":{"description":"The **`Headers`** interface of the Fetch API allows you to perform various actions on HTTP request and response headers.\n\n[MDN Reference](https://developer.mozilla.org/docs/Web/API/Headers)","properties":{},"type":"object","additionalProperties":false},"RateLimit":{"properties":{"rateLimit":{"type":"number","format":"double"},"rateLimitRemaining":{"type":"number","format":"double"},"rateLimitReset":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"RequestMetadata":{"properties":{"responseHeaders":{"$ref":"#/components/schemas/Headers"},"rateLimit":{"$ref":"#/components/schemas/RateLimit"},"responseCode":{"type":"number","format":"double"},"clientRequestId":{"type":"string"}},"required":["responseHeaders","rateLimit","responseCode","clientRequestId"],"type":"object","additionalProperties":false},"StreamResponse_GetOrCreateFeedResponse_":{"allOf":[{"$ref":"#/components/schemas/GetOrCreateFeedResponse"},{"properties":{"metadata":{"$ref":"#/components/schemas/RequestMetadata"}},"required":["metadata"],"type":"object"}]},"BleachersListItemViewModel":{"description":"A Bleachers as the user's list shows it: a tab or a chip.","properties":{"id":{"type":"string"},"name":{"type":"string","description":"The Bleachers' own name."}},"required":["id","name"],"type":"object","additionalProperties":false},"BleacherCaughtUpViewModel":{"description":"The \"You're caught up\" row: at most once a scroll, between the posts new to the fan and the older ones; a scroll whose\nranking values could not be built has none.","properties":{"position":{"type":"number","format":"double","description":"The index in the page's `activities` the row sits before: `activities.length` when it closes the page."},"nextBleachers":{"allOf":[{"$ref":"#/components/schemas/BleachersListItemViewModel"}],"nullable":true,"description":"The fan's Bleachers the row offers next; null when it offers none."}},"required":["position","nextBleachers"],"type":"object","additionalProperties":false},"BleacherFeedPageViewModel":{"description":"A page of a Bleacher feed: the Home timeline's two fields, and the caught-up row on the page that holds it. A team's\nrelated posts, after that row, are GetStream's activities as read for every fan, with the fan's own like and poll\nvote written in.","properties":{"activities":{"items":{"$ref":"#/components/schemas/FeedActivityViewModel"},"type":"array","description":"GetStream's activities as read as the fan."},"next":{"type":"string","description":"The opaque cursor of the same feed's next page; \"\" once the feed has ended."},"caughtUp":{"allOf":[{"$ref":"#/components/schemas/BleacherCaughtUpViewModel"}],"nullable":true,"description":"Only on the one page of a scroll that holds the \"You're caught up\" row."}},"required":["activities","next"],"type":"object","additionalProperties":false},"BleacherNewPostsViewModel":{"description":"The answer of a Bleachers' new-posts check, for the Refresh pill.","properties":{"hasNewPosts":{"type":"boolean"}},"required":["hasNewPosts"],"type":"object","additionalProperties":false},"UserPostViewModel":{"properties":{"id":{"type":"string"},"userProfileReference":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"content":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/ImagesViewModel"},"type":"array","deprecated":true},"media":{"items":{"anyOf":[{"$ref":"#/components/schemas/ImagesViewModel"},{"$ref":"#/components/schemas/VideoReferenceViewModel"}]},"type":"array"},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isLinkImagesEnabled":{"type":"boolean"},"linkPreview":{"allOf":[{"$ref":"#/components/schemas/PostLinkPreviewViewModel"}],"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"state":{"$ref":"#/components/schemas/PostState"},"givenState":{"allOf":[{"$ref":"#/components/schemas/StudioState"}],"nullable":true},"scheduledAt":{"type":"string","nullable":true},"publishedDate":{"type":"string","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/PostPoll"}],"nullable":true},"repostedActivityId":{"type":"string","nullable":true}},"required":["id","userProfileReference","content","media","geolocation","isCommentsEnabled","isLinkImagesEnabled","createdAt","updatedAt","state","givenState","scheduledAt","publishedDate","poll","repostedActivityId"],"type":"object","additionalProperties":false},"UserPostCreateRequest":{"properties":{"audience":{"$ref":"#/components/schemas/PostAudience"},"content":{"type":"string"},"media":{"items":{"$ref":"#/components/schemas/MediaCreateRequest"},"type":"array","description":"Mirrors the clients' shared 20-attachment cap (bzzr-web MAX_MEDIA_ITEMS, bzzr-flutter\n_mediaPickerLimit) — change all three together. Server-side it also bounds the GetStream\nactivity payload, whose free-text-only size guard trusts arrays to stay small.","maxItems":20},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean"},"poll":{"allOf":[{"$ref":"#/components/schemas/PollCreateRequest"}],"nullable":true},"repostedActivityId":{"type":"string","nullable":true},"isLinkImagesEnabled":{"type":"boolean"}},"required":["audience","content"],"type":"object","additionalProperties":false},"UserPostUpdateRequest":{"properties":{"content":{"type":"string"},"media":{"items":{"$ref":"#/components/schemas/MediaUpdateRequest"},"type":"array","description":"Same 20-item client-mirrored cap as {@link UserPostCreateRequest.media}.","maxItems":20},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean"},"isLinkImagesEnabled":{"type":"boolean"}},"type":"object","additionalProperties":false},"OptimizedImageInfo":{"properties":{"alt":{"type":"string"},"filename":{"type":"string"},"url":{"type":"string"},"name":{"type":"string"},"width":{"type":"number","format":"double"},"height":{"type":"number","format":"double"},"version":{"type":"number","format":"double","description":"Upload timestamp for stable-id (overwritten-in-place) files — appended to URLs as a cache-buster."},"dominantColor":{"type":"string","description":"Artwork tint, `#RRGGBB`, on every variant of a set; absent for greyscale or older artwork."}},"required":["filename","name"],"type":"object","additionalProperties":false},"UserProfileReference":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"photo":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"},"claimedEntityId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"},"isCommentsEnabled":{"type":"boolean","nullable":true}},"required":["id","type","displayName","bzzrHandle","photo","claimedEntityId","isVerified","isCommentsEnabled"],"type":"object","additionalProperties":false},"OptimizedImageGroup":{"properties":{"image":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"}},"required":["image"],"type":"object","additionalProperties":false},"VideoResolution":{"properties":{"width":{"type":"number","format":"double"},"height":{"type":"number","format":"double"}},"required":["width","height"],"type":"object","additionalProperties":false},"VideoReference":{"properties":{"id":{"type":"string"},"cdnUrl":{"type":"string","nullable":true},"thirdParty":{"$ref":"#/components/schemas/VideoReferenceThirdParty"},"watchUrl":{"type":"string","nullable":true},"thumbnail":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"},"gif":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array","nullable":true},"duration":{"type":"string","description":"Denormalized copy — stays a `string` though the canonical {@link Video.duration} is a `number`\n(see `videoDurationToApiString`). Don't change to number without migrating denormalized copies."},"videoOrientation":{"$ref":"#/components/schemas/VideoOrientation"},"resolution":{"allOf":[{"$ref":"#/components/schemas/VideoResolution"}],"nullable":true,"description":"Intrinsic video resolution (pixels), denormalized from the source {@link Video}.\nNull for audio-only assets, videos ingested before this field was added, or\nreferences built before Mux finished processing the asset (re-synced afterwards)."},"thirdPartyId":{"type":"string","nullable":true,"deprecated":true},"thirdPartyProviderId":{"type":"string","deprecated":true}},"required":["id","cdnUrl","thirdParty","watchUrl","thumbnail","gif","duration","videoOrientation","resolution","thirdPartyId","thirdPartyProviderId"],"type":"object","additionalProperties":false},"DeletedByType":{"description":"Through which path the soft delete came; `deletedBy` says who.","enum":["owner","admin","system"],"type":"string"},"DeletionData":{"description":"Stamped on a content document at its soft delete; shared by videos, posts and comments.","properties":{"deletedAt":{"type":"number","format":"double"},"isHardDeleted":{"type":"boolean"},"deletedByType":{"$ref":"#/components/schemas/DeletedByType","description":"Lets a query find admin takedowns without comparing `deletedBy` to the owner. Absent on videos and on older documents."},"deletedBy":{"type":"string","description":"Who soft-deleted it: the caller's uid, or a stable name for a system actor\n(`recording-purge`, `expired-draft-cleanup`). The record a partner dispute asks for first.\nAbsent on documents deleted before the field existed, and on the videos of a deleted ACCOUNT —\n`usersDeletionService` soft-deletes those with no `deletionData` at all."},"hardDeleteAt":{"type":"number","format":"double","description":"Videos only: when the media may be purged, resolved from the creator's partner window ONCE, at the\nsoft-delete — the same shape (and the same reason) as `ScheduledBroadcast.replayExpiresAt`.\n\nStamped rather than derived at sweep time because the window is per-partner and Firestore\ncannot range-filter one query against a per-owner threshold; with the deadline on the\ndocument the sweep is a single `hardDeleteAt <= now` query however many partners exist.\n\nAbsent on documents soft-deleted before this field existed — `backfillVideoHardDeleteAt`\nstamps those, and until it has run the sweep also picks them up by their `deletedAt`."}},"required":["deletedAt","isHardDeleted"],"type":"object","additionalProperties":false},"PostLinkPreview":{"description":"OG-card data of the first link in `content` — http(s)://, www.… or a bare domain, mirroring\nthe clients' detection (util/extractFirstHttpUrl.ts) — parsed server-side at post create/edit\n(never taken from the client, so it cannot be spoofed). Absent/null means the clients fall\nback to a bare domain card. Clients honour the post's `isLinkImagesEnabled` when rendering\n`imageUrl`.","properties":{"url":{"type":"string","description":"The link as detected in `content` (https:// prepended when typed without a scheme) — the identity edits are compared against."},"domain":{"type":"string","description":"Hostname of the page the URL actually lands on (post-redirect), without a leading `www.`; YouTube cards fix it to `youtube.com`."},"title":{"type":"string","nullable":true},"description":{"type":"string","nullable":true},"imageUrl":{"type":"string","nullable":true,"description":"Absolute https image URL; plain-http, unparseable and overlong images are dropped."},"siteName":{"type":"string","nullable":true},"fetchedAt":{"type":"string"}},"required":["url","domain","title","description","imageUrl","siteName","fetchedAt"],"type":"object","additionalProperties":false},"EntitySyncSource":{"description":"Identifies which side of the system performed the most recent write to a publishable entity\n(post or video). Used by feed-sync triggers to skip GetStream re-sync when the scheduler\nalready did a batched update.","enum":["user","scheduler"],"type":"string"},"UserPostSourceType":{"enum":["rss"],"type":"string"},"UserPostSource":{"properties":{"type":{"$ref":"#/components/schemas/UserPostSourceType"},"url":{"type":"string","nullable":true,"description":"Link to the original item, when the feed gives one."},"itemId":{"type":"string","description":"`rss-<userId>-<guid>`, the dedupe key across syncs."},"playlistId":{"type":"string","description":"The MRSS playlist (feed registration) the post was pulled from."},"publishedAt":{"type":"string","nullable":true,"description":"The item's `pubDate`: when the post was written on the source network. `createdAt` is when the feed first showed it."},"foldedItemIds":{"items":{"type":"string"},"type":"array","description":"Item ids of the same post on the creator's other network, folded into this one (docs/mrss-import-guards.md)."}},"required":["type","url","itemId","playlistId"],"type":"object","additionalProperties":false},"ContentModerationState":{"enum":["pending","passed","held","rejected","approved","recorded","dropped"],"type":"string"},"ContentModerationHoldKind":{"description":"Which release an enforced item takes when it passes.","enum":["live_post","backfill_post","video","backfill_video","published"],"type":"string"},"ContentModerationCategory":{"description":"Political-content categories. Mirrors the `categories` enum in `prompts/contentModeration.prompt`.","enum":["elections","politicians_government","legislation_policy","geopolitics_conflict","social_activism","protest","none"],"type":"string"},"ContentModeration":{"description":"Stored on the `usersPosts` or `videos` doc of an MRSS item as `moderation` (the metadata pass before\npublication), and on a video as `transcriptModeration` (the pass over its transcript after it).","properties":{"state":{"$ref":"#/components/schemas/ContentModerationState"},"holdKind":{"allOf":[{"$ref":"#/components/schemas/ContentModerationHoldKind"}],"nullable":true,"description":"What the item does once it passes; set at import, read by the release."},"score":{"type":"number","format":"double","nullable":true},"categories":{"items":{"$ref":"#/components/schemas/ContentModerationCategory"},"type":"array"},"sportsContext":{"type":"boolean","nullable":true},"rationale":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"promptVersion":{"type":"number","format":"double","nullable":true},"promptRevision":{"type":"string","nullable":true,"description":"`file`, or the admin's `admin-v<version>` of the prompt that ran (docs/prompt-overrides.md). Absent before admin edits existed."},"checkedAt":{"type":"string","nullable":true},"error":{"type":"string","nullable":true,"description":"Failed classification attempts; reset by a verdict."},"reviewedBy":{"type":"string","nullable":true},"reviewedAt":{"type":"string","nullable":true},"reviewedByEmail":{"type":"string","nullable":true,"description":"The reviewer's email, shown in the admin instead of the uid."},"requestedAt":{"type":"string","nullable":true,"description":"When the screen was stamped `pending`: the sweep's staleness clock."},"tookDown":{"type":"boolean","nullable":true,"description":"A reviewer's rejection took the item down (unpublished, taken down, archived): what a restore undoes."},"evidence":{"type":"string","nullable":true,"description":"The model's shortest verbatim quote that drove the score."},"evidenceAt":{"type":"number","format":"double","nullable":true,"description":"Transcript pass: seconds into the video where the evidence is said, when it was found in the segments."}},"required":["state","holdKind","score","categories","sportsContext","rationale","model","promptVersion","checkedAt","error","reviewedBy","reviewedAt"],"type":"object","additionalProperties":false},"UserPost":{"properties":{"id":{"type":"string"},"userProfileReference":{"$ref":"#/components/schemas/UserProfileReference"},"audience":{"$ref":"#/components/schemas/PostAudience"},"content":{"type":"string"},"media":{"items":{"anyOf":[{"$ref":"#/components/schemas/OptimizedImageGroup"},{"$ref":"#/components/schemas/VideoReference"}]},"type":"array"},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"poll":{"allOf":[{"$ref":"#/components/schemas/PostPoll"}],"nullable":true},"repostedActivityId":{"type":"string","nullable":true},"videoIds":{"items":{"type":"string"},"type":"array"},"isDeleted":{"type":"boolean","nullable":true},"deletionData":{"allOf":[{"$ref":"#/components/schemas/DeletionData"}],"nullable":true,"description":"Same shape as `Video.deletionData`; posts have no hard delete. Absent on posts deleted before the field existed."},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array"},"taggedUsersIds":{"items":{"type":"string"},"type":"array"},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array"},"untaggedUsersIds":{"items":{"type":"string"},"type":"array"},"isLinkImagesEnabled":{"type":"boolean"},"linkPreview":{"allOf":[{"$ref":"#/components/schemas/PostLinkPreview"}],"nullable":true},"publishedDate":{"type":"string","nullable":true},"state":{"$ref":"#/components/schemas/PostState"},"givenState":{"allOf":[{"$ref":"#/components/schemas/StudioState"}],"nullable":true},"lastSyncSource":{"allOf":[{"$ref":"#/components/schemas/EntitySyncSource"}],"nullable":true},"entityTags":{"items":{"type":"string"},"type":"array","description":"Entity tag slugs from the classification's key terms (docs/content-entity-tags.md); the activity's `interest_tags`."},"source":{"allOf":[{"$ref":"#/components/schemas/UserPostSource"}],"nullable":true,"description":"Set on posts imported from an MRSS post feed."},"moderation":{"allOf":[{"$ref":"#/components/schemas/ContentModeration"}],"nullable":true,"description":"The political-content verdict: a hold on an MRSS post, a flag on a user's post (docs/content-moderation.md)."}},"required":["id","userProfileReference","audience","content","media","geolocation","isCommentsEnabled","createdAt","updatedAt","poll","repostedActivityId","videoIds","isDeleted","taggedUsers","taggedUsersIds","untaggedUsers","untaggedUsersIds","isLinkImagesEnabled","publishedDate","state","givenState","lastSyncSource"],"type":"object","additionalProperties":false},"DocumentsList_UserPost_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/UserPost"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"UserCommentCreateRequest":{"properties":{"content":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/FileUploadRequest"},"type":"array","nullable":true},"parentId":{"type":"string"},"bleachersId":{"type":"string","nullable":true,"description":"The fan's Bleachers whose tab the comment is made in: copied into the GetStream comment's `custom` for the\nanalytics row, not stored on our comment document."}},"required":["content"],"type":"object","additionalProperties":false},"Record_string.SeenActivityRanking_":{"properties":{},"type":"object","description":"Construct a type with a set of properties K of type T"},"FeedGroup.ForYou":{"enum":["foryou"],"type":"string"},"FeedGroup.InterestVideosRanked":{"enum":["interestVideosRanked"],"type":"string"},"SUPPORTED_FEEDS":{"anyOf":[{"$ref":"#/components/schemas/FeedGroup.ForYou"},{"$ref":"#/components/schemas/FeedGroup.InterestVideosRanked"}]},"UserCommentUpdateRequest":{"properties":{"content":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/FileUploadRequest"},"type":"array","nullable":true}},"type":"object","additionalProperties":false},"ActivityPollVoteCreateRequestV3":{"properties":{"pollId":{"type":"string"},"options":{"items":{"properties":{"foreignId":{"type":"string"},"id":{"type":"string"}},"required":["foreignId","id"],"type":"object"},"type":"array"}},"required":["pollId","options"],"type":"object","additionalProperties":false},"ActivityReactionType":{"enum":["likes","comments","reposts"],"type":"string"},"NotInterestedAnswer":{"description":"A fan's answer to \"Not interested in this post\".","enum":["notRelevantToMe","notRelevantToBleacher"],"type":"string"},"NotInterestedRequest":{"description":"`PUT /feed/v3/activities/{activityId}/not-interested`: the fan's answer to \"Not interested in this post\".","properties":{"answer":{"$ref":"#/components/schemas/NotInterestedAnswer"},"bleachersId":{"type":"string","nullable":true,"description":"The fan's Bleachers whose tab the answer is given in, sent only from one: the Bleachers the post is hidden in for\n`notRelevantToBleacher`, which needs it."}},"required":["answer"],"type":"object","additionalProperties":false},"TopicViewModel":{"properties":{"entityId":{"type":"string"},"entityType":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"isVerified":{"type":"boolean"},"isFollowed":{"type":"boolean"}},"required":["entityId","entityType","displayName","bzzrHandle","tags","images","isVerified","isFollowed"],"type":"object","additionalProperties":false},"ActivityProcessorConfig":{"properties":{"type":{"type":"string","description":"Type of activity processor (required)"}},"required":["type"],"type":"object","additionalProperties":false},"SortParamRequest":{"properties":{"direction":{"type":"number","format":"double","description":"Direction of sorting, 1 for Ascending, -1 for Descending, default is 1. One of: -1, 1"},"field":{"type":"string","description":"Name of field to sort by"},"type":{"type":"string","description":"Type of field to sort by. Empty string or omitted means string type (default). One of: number, boolean"}},"type":"object","additionalProperties":false},"ActivitySelectorConfigResponse":{"properties":{"type":{"type":"string","enum":["popular","proximity","following","current_feed","query","interest","follow_suggestion"],"description":"Type of selector"},"cutoff_time":{"type":"string","format":"date-time","description":"Time threshold for activity selection (timestamp)"},"cutoff_window":{"type":"string","description":"Flexible relative time window for activity selection (e.g., '1h', '3d', '1y')"},"min_popularity":{"type":"number","format":"double","description":"Minimum popularity threshold. For the 'popular' selector, values below 1 are normalized to the default (5) at read time."},"sort":{"items":{"$ref":"#/components/schemas/SortParamRequest"},"type":"array","description":"Sort parameters for activity selection"},"filter":{"$ref":"#/components/schemas/Record_string.any_","description":"Filter for activity selection"},"params":{"$ref":"#/components/schemas/Record_string.any_","description":"Generic params for selector-specific configuration"}},"required":["type"],"type":"object","additionalProperties":false},"ActivityFilterConfig":{"properties":{"exclude_owner_activities":{"type":"boolean","description":"When true, activities authored by the feed owner are excluded from feed reads"}},"type":"object","additionalProperties":false},"AggregationConfig":{"properties":{"activities_sort":{"type":"string","enum":["created_at_asc","created_at_desc"],"description":"Order of member activities inside each aggregated group for non-stories feeds: created_at_desc (newest first, default) or created_at_asc (oldest first). Stories feeds ignore this and always use oldest first."},"format":{"type":"string","description":"Format for activity aggregation"},"score_strategy":{"type":"string","enum":["sum","max","avg"],"description":"Strategy for computing aggregated group scores from member activity scores when ranking is enabled. Valid values: sum, max, avg"}},"type":"object","additionalProperties":false},"NotificationConfig":{"properties":{"deduplication_window":{"type":"string","description":"Time window for deduplicating notification activities (reactions and follows). Empty or '0' = always deduplicate (default). Examples: '1h', '24h', '7d', '1w'"},"track_read":{"type":"boolean","description":"Whether to track read status"},"track_seen":{"type":"boolean","description":"Whether to track seen status"}},"type":"object","additionalProperties":false},"PushNotificationConfig":{"properties":{"enable_push":{"type":"boolean","description":"Whether push notifications are enabled for this feed group"},"push_types":{"items":{"type":"string"},"type":"array","description":"List of notification types that should trigger push notifications (e.g., follow, comment, reaction, comment_reaction, mention)"}},"type":"object","additionalProperties":false},"DecayFunctionConfig":{"properties":{"base":{"type":"string","description":"Base value for decay function"},"decay":{"type":"string","description":"Decay rate"},"direction":{"type":"string","description":"Direction of decay"},"offset":{"type":"string","description":"Offset value for decay function"},"origin":{"type":"string","description":"Origin value for decay function"},"scale":{"type":"string","description":"Scale factor for decay function"}},"type":"object","additionalProperties":false},"Record_string.DecayFunctionConfig_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/DecayFunctionConfig"},"type":"object","description":"Construct a type with a set of properties K of type T"},"RankingConfig":{"properties":{"type":{"type":"string","enum":["expression","interest"],"description":"Type of ranking algorithm. Required. One of: expression, interest"},"score":{"type":"string","description":"Scoring formula. Required when type is 'expression' or 'interest'"},"defaults":{"$ref":"#/components/schemas/Record_string.any_","description":"Default values for ranking"},"functions":{"$ref":"#/components/schemas/Record_string.DecayFunctionConfig_","description":"Decay functions configuration"}},"required":["type"],"type":"object","additionalProperties":false},"StoriesConfig":{"properties":{"skip_watched":{"type":"boolean","description":"Whether to skip already watched stories"},"track_watched":{"type":"boolean","description":"Whether to track watched status for stories"}},"type":"object","additionalProperties":false},"FeedGroupResponse":{"properties":{"created_at":{"type":"string","format":"date-time","description":"When the feed group was created"},"id":{"type":"string","description":"Identifier within the group"},"updated_at":{"type":"string","format":"date-time","description":"When the feed group was last updated"},"default_visibility":{"type":"string","enum":["public","visible","followers","members","private"],"description":"Default visibility for activities. One of: public, visible, followers, members, private"},"deleted_at":{"type":"string","format":"date-time"},"activity_processors":{"items":{"$ref":"#/components/schemas/ActivityProcessorConfig"},"type":"array","description":"Configuration for activity processors"},"activity_selectors":{"items":{"$ref":"#/components/schemas/ActivitySelectorConfigResponse"},"type":"array","description":"Configuration for activity selectors"},"activity_filter":{"$ref":"#/components/schemas/ActivityFilterConfig"},"aggregation":{"$ref":"#/components/schemas/AggregationConfig"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the feed group"},"notification":{"$ref":"#/components/schemas/NotificationConfig"},"push_notification":{"$ref":"#/components/schemas/PushNotificationConfig"},"ranking":{"$ref":"#/components/schemas/RankingConfig"},"stories":{"$ref":"#/components/schemas/StoriesConfig"}},"required":["created_at","id","updated_at"],"type":"object","additionalProperties":false},"ActivitySelectorConfig":{"properties":{"type":{"type":"string","enum":["popular","proximity","following","current_feed","query","interest","follow_suggestion"],"description":"Type of selector. One of: popular, proximity, following, current_feed, query, interest, follow_suggestion"},"cutoff_time":{"type":"string","description":"Time threshold for activity selection (string). Expected RFC3339 format (e.g., 2006-01-02T15:04:05Z07:00). Cannot be used together with cutoff_window"},"cutoff_window":{"type":"string","description":"Flexible relative time window for activity selection (e.g., '1h', '3d', '1y'). Activities older than this duration will be filtered out. Cannot be used together with cutoff_time"},"min_popularity":{"type":"number","format":"double","description":"Minimum popularity threshold. For the 'popular' selector, omit to use the default (5); values below 1 are rejected"},"sort":{"items":{"$ref":"#/components/schemas/SortParamRequest"},"type":"array","description":"Sort parameters for activity selection"},"filter":{"$ref":"#/components/schemas/Record_string.any_","description":"Filter for activity selection"},"params":{"$ref":"#/components/schemas/Record_string.any_"}},"required":["type"],"type":"object","additionalProperties":false},"CreateFeedGroupRequest":{"properties":{"id":{"type":"string","description":"Unique identifier for the feed group"},"default_visibility":{"type":"string","enum":["public","visible","followers","members","private"],"description":"Default visibility for the feed group, can be 'public', 'visible', 'followers', 'members', or 'private'. Defaults to 'visible' if not provided."},"activity_processors":{"items":{"$ref":"#/components/schemas/ActivityProcessorConfig"},"type":"array","description":"Configuration for activity processors"},"activity_selectors":{"items":{"$ref":"#/components/schemas/ActivitySelectorConfig"},"type":"array","description":"Configuration for activity selectors"},"activity_filter":{"$ref":"#/components/schemas/ActivityFilterConfig"},"aggregation":{"$ref":"#/components/schemas/AggregationConfig"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the feed group"},"notification":{"$ref":"#/components/schemas/NotificationConfig"},"push_notification":{"$ref":"#/components/schemas/PushNotificationConfig"},"ranking":{"$ref":"#/components/schemas/RankingConfig"},"stories":{"$ref":"#/components/schemas/StoriesConfig"}},"required":["id"],"type":"object","additionalProperties":false},"Record_string.FeedGroupResponse_":{"properties":{},"type":"object","description":"Construct a type with a set of properties K of type T"},"UpdateFeedGroupRequest":{"properties":{"default_visibility":{"type":"string","enum":["public","visible","followers","members","private"]},"activity_processors":{"items":{"$ref":"#/components/schemas/ActivityProcessorConfig"},"type":"array","description":"Configuration for activity processors"},"activity_selectors":{"items":{"$ref":"#/components/schemas/ActivitySelectorConfig"},"type":"array","description":"Configuration for activity selectors"},"activity_filter":{"$ref":"#/components/schemas/ActivityFilterConfig"},"aggregation":{"$ref":"#/components/schemas/AggregationConfig"},"custom":{"$ref":"#/components/schemas/Record_string.any_","description":"Custom data for the feed group"},"notification":{"$ref":"#/components/schemas/NotificationConfig"},"push_notification":{"$ref":"#/components/schemas/PushNotificationConfig"},"ranking":{"$ref":"#/components/schemas/RankingConfig"},"stories":{"$ref":"#/components/schemas/StoriesConfig"}},"type":"object","additionalProperties":false},"FeedGroup":{"enum":["timeline","timelineVideos","timelineHypes","user","userVideos","userHypes","sidecast","broadcast","podcast","topic","bleacher","podcastEpisodesPopular","foryou","interestVideosRanked","videoPageComponent","notification","analytics","user-followers","topic-followers","podcast-followers","timeline-followings"],"type":"string"},"DeviceApprovalInfoViewModel":{"description":"Response of `GET /auth/device/{userCode}` — shown on the phone approval screen.","properties":{"deviceName":{"type":"string","nullable":true},"platform":{"type":"string"},"clientId":{"type":"string"}},"required":["platform","clientId"],"type":"object","additionalProperties":false},"ApproveDeviceResponse":{"description":"Response of `POST /auth/device/approve`.","properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object","additionalProperties":false},"ApproveDeviceRequest":{"description":"Body of `POST /auth/device/approve` (authenticated phone/web).","properties":{"userCode":{"type":"string","description":"The 6-digit user code shown on the TV.","pattern":"^[0-9]{6}$"}},"required":["userCode"],"type":"object","additionalProperties":false},"RedeemCompCodeResponse":{"properties":{"status":{"type":"string","enum":["redeemed","alreadyRedeemed"],"description":"`redeemed` = claimed now; `alreadyRedeemed` = this account had already claimed it (idempotent)."},"subscriptionId":{"type":"string","nullable":true,"description":"The granted subscription (null on the idempotent pass-through)."}},"required":["status","subscriptionId"],"type":"object","additionalProperties":false},"RedeemCompCodeRequest":{"properties":{"code":{"type":"string","description":"The code from the link or typed by the fan; matched case-insensitively."},"paymentMethodId":{"type":"string","description":"Optional Stripe payment method to attach to a **monthly** comp so it auto-renews after the\ncomped window instead of adding one later. Ignored for season (one-time) comps."},"consent":{"$ref":"#/components/schemas/PartnerConsentAcceptance","description":"Acceptance of the partner's terms, when this code's product requires them — the statement comes\nback on the code lookup (`partnerConsent`).\n\nUnlike a paid checkout, a redeem is NOT refused when it is ABSENT: the consent is left OWED and\ncollected at playback via `GET /partner-consent/owed`. One that IS sent still has to fit —\na superseded `version` is a 409 (`consent_version_stale`), a wrong `partnerId` a 400."}},"required":["code"],"type":"object","additionalProperties":false},"RedeemByClaimRequest":{"description":"Authed redeem by claim id — the system-issued code is resolved server-side and never sent to the client.","properties":{"claimId":{"type":"string"},"consent":{"$ref":"#/components/schemas/PartnerConsentAcceptance","description":"As on {@link RedeemCompCodeRequest}; the statement comes back on the claim response instead."}},"required":["claimId"],"type":"object","additionalProperties":false},"PromoteLiveChatModeratorRequest":{"properties":{"userId":{"type":"string"}},"required":["userId"],"type":"object","additionalProperties":false},"DocumentsList_ChannelSummaryViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/ChannelSummaryViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"ChannelFeedsPageViewModel":{"description":"A page of a card's tabs — the `DocumentsList` envelope, cursor = a tab id.","properties":{"documents":{"items":{"$ref":"#/components/schemas/ChannelFeedViewModel"},"type":"array","description":"Active tabs in display order, each with what it is airing."},"lastVisibleDocumentId":{"type":"string","description":"Cursor for the next page (`?lastDocId=`): the last tab on this page, empty only when the page\nis empty. Stop when a page comes back shorter than `limit`."},"totalCount":{"type":"number","format":"double","description":"Active tabs on the channel, all pages."}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"ChannelViewModel":{"description":"The card (`GET /channels/{channelId}`): the tabs, paged (default 3 per page), each with\n`nowPlaying` and `upNext`. The full tab set without programs is on the list row.","properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true,"description":"The creator the channel belongs to; `null` only if the profile read failed (the card still renders)."},"ownerId":{"type":"string"},"leagueId":{"type":"number","format":"double","nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Channel-level defaults — see {@link ChannelFeedSummaryViewModel.entitlementIds} for what a tab actually needs."},"access":{"$ref":"#/components/schemas/BroadcastAccess","description":"What it costs to get in, resolved on the channel defaults: `free` when at least one required\nentitlement is granted by an active zero-cost product, else `subscribers`. A property of the\nCONTENT, the same for every caller. NOT an access grant — a fan still claims the free product\n(`POST /subscriptions/free`) before the playback grant opens."},"isSubscribed":{"type":"boolean","nullable":true,"description":"Always `null` on channels: NOT COMPUTED, never \"no\". Same rule as broadcast lists — these\nresponses are cached once and shared by every viewer, so the per-viewer answer is the\nclient's, from `entitlementIds` ∩ `GET /entitlements/me`."},"feeds":{"$ref":"#/components/schemas/ChannelFeedsPageViewModel"}},"required":["id","name","description","thumbnail","backgroundImage","owner","ownerId","leagueId","entitlementIds","access","isSubscribed","feeds"],"type":"object","additionalProperties":false},"SendEmailChangeRequest":{"properties":{"newEmail":{"type":"string","pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"}},"required":["newEmail"],"type":"object","additionalProperties":false},"ConfirmEmailChangeRequest":{"properties":{"code":{"type":"string","pattern":"^\\d{6}$"}},"required":["code"],"type":"object","additionalProperties":false},"VerifyPasswordChangeRequest":{"properties":{"code":{"type":"string","pattern":"^\\d{6}$"}},"required":["code"],"type":"object","additionalProperties":false},"ConfirmPasswordChangeRequest":{"properties":{"code":{"type":"string","pattern":"^\\d{6}$"},"newPassword":{"type":"string","description":"Firebase's rules apply (6 characters minimum); a refused one answers 400 on `newPassword`."}},"required":["code","newPassword"],"type":"object","additionalProperties":false},"BleachersEntityRef":{"description":"A catalog entity as clients name it.","properties":{"type":{"$ref":"#/components/schemas/CatalogEntityType"},"id":{"type":"string","description":"`BleachersCatalogEntity.id`: the entity's catalog id (`catalogIdOf`: its profile id, set before any document exists)."}},"required":["type","id"],"type":"object","additionalProperties":false},"GroupViewModel":{"description":"A group as the API answers it. The apps also read the same group live from Firestore (`groups/{groupId}`).","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"The avatar entity's logo; null when the catalog has no logo for it."},"avatarEntity":{"allOf":[{"$ref":"#/components/schemas/BleachersEntityRef"}],"nullable":true,"description":"Which followed entity the avatar is; null, with `avatar`, once the catalog leaves the group with no team."},"entities":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array","description":"What the group follows, in order (teams for now): only what the picker offers. One the catalog stops offering is\ngone from the list. A group left with none keeps working as a chat, and any member adds a team."},"memberCount":{"type":"number","format":"double"},"memberCap":{"type":"number","format":"double","description":"The most members a group holds (`group_full` past it)."},"creatorId":{"type":"string"},"isCreator":{"type":"boolean","description":"Whether the caller holds the creator role."},"historyForNewMembers":{"type":"boolean"},"createdAt":{"type":"string","description":"ISO 8601."},"lastActivityAt":{"type":"string","description":"ISO 8601."}},"required":["id","name","avatar","avatarEntity","entities","memberCount","memberCap","creatorId","isCreator","historyForNewMembers","createdAt","lastActivityAt"],"type":"object","additionalProperties":false},"BleachersEntityRequest":{"properties":{"type":{"$ref":"#/components/schemas/CatalogEntityType"},"id":{"$ref":"#/components/schemas/PathSegment","description":"The id the catalog endpoints return: the entity's catalog id (`catalogIdOf`, its profile id). A player's is their\nathlete profile's id."}},"required":["type","id"],"type":"object","additionalProperties":false},"CreateGroupRequest":{"properties":{"name":{"type":"string","description":"The group's name, trimmed. The apps pre-fill it from the first team.","minLength":1,"maxLength":40},"entities":{"items":{"$ref":"#/components/schemas/BleachersEntityRequest"},"type":"array","description":"What the group follows, in order, none twice: teams the picker offers (`type` and `id` from the catalog\nendpoints). Only `team` is accepted for now. The first one's logo is the avatar unless `avatarEntity` names another.","minItems":1,"maxItems":20},"avatarEntity":{"allOf":[{"$ref":"#/components/schemas/BleachersEntityRequest"}],"nullable":true,"description":"One of `entities`."},"historyForNewMembers":{"type":"boolean","nullable":true,"description":"Whether fans who join later read what was sent before; the setting's default when absent."}},"required":["name","entities"],"type":"object","additionalProperties":false},"GroupShareMatch":{"type":"string","enum":["team","leagueOrSport","none"]},"GroupShareTargetViewModel":{"description":"One row of the share sheet's group list.","properties":{"id":{"type":"string"},"name":{"type":"string"},"avatar":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"memberCount":{"type":"number","format":"double"},"match":{"$ref":"#/components/schemas/GroupShareMatch","description":"Why it sorts where it does: it follows one of the content's teams, its league or sport, or neither."},"lastActivityAt":{"type":"string","description":"ISO 8601."}},"required":["id","name","avatar","memberCount","match","lastActivityAt"],"type":"object","additionalProperties":false},"UpdateGroupRequest":{"description":"Only the fields sent change.","properties":{"name":{"type":"string","nullable":true,"minLength":1,"maxLength":40},"avatarEntity":{"allOf":[{"$ref":"#/components/schemas/BleachersEntityRequest"}],"nullable":true,"description":"One of the entities the group follows; null goes back to the first one's logo."},"historyForNewMembers":{"type":"boolean","nullable":true,"description":"Only the member holding the creator role may change it (`403 group_creator_only`). Fans already in keep their history."}},"type":"object","additionalProperties":false},"ChangeGroupEntitiesRequest":{"properties":{"entities":{"items":{"$ref":"#/components/schemas/BleachersEntityRequest"},"type":"array","description":"Everything the group follows afterwards, in order: what it has now with some added, removed or moved. Each must be\na team the picker offers; one the group followed that the catalog stopped offering is dropped rather than refused.\n`400` when no team would be left.","minItems":1,"maxItems":20}},"required":["entities"],"type":"object","additionalProperties":false},"CatalogChipViewModel":{"description":"An entity as a chip: the league chips, and what `related` offers.","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/CatalogEntityType"},"name":{"type":"string"},"shortName":{"type":"string","description":"ESPN's chip-sized name (\"Astros\", \"AL West\", \"MLB\"), else `name`."},"reason":{"$ref":"#/components/schemas/CatalogSuggestionReason","description":"Only on `related`: why it is offered."}},"required":["id","type","name","shortName"],"type":"object","additionalProperties":false},"BleachersHoldingCreatorViewModel":{"description":"One of the user's Bleachers whose list holds the creator.","properties":{"id":{"type":"string"},"name":{"type":"string","description":"The Bleachers' own name."},"isAdded":{"type":"boolean","description":"The user added the creator to this Bleachers."},"tiedTo":{"items":{"$ref":"#/components/schemas/CatalogChipViewModel"},"type":"array","description":"The Bleachers' teams the creator is tied to; empty for a creator only added."}},"required":["id","name","isAdded","tiedTo"],"type":"object","additionalProperties":false},"CreatorBleachersViewModel":{"description":"`GET /user/me/creators/{creatorId}/bleachers`.","properties":{"isFollowed":{"type":"boolean","description":"The user follows the creator directly, whatever their Bleachers."},"bleachers":{"items":{"$ref":"#/components/schemas/BleachersHoldingCreatorViewModel"},"type":"array","description":"In the user's order."},"offerTeam":{"allOf":[{"$ref":"#/components/schemas/CatalogEntityViewModel"}],"nullable":true,"description":"The team the app offers a new Bleachers for when the user follows the creator, whether the user follows them now or\nnot; null when there is none."}},"required":["isFollowed","bleachers","offerTeam"],"type":"object","additionalProperties":false},"BleachersCreatorViewModel":{"description":"A creator on one Bleachers' list.","properties":{"creator":{"$ref":"#/components/schemas/FollowingShortViewModel"},"isAdded":{"type":"boolean","description":"The user added the creator to this Bleachers."},"tiedTo":{"items":{"$ref":"#/components/schemas/CatalogChipViewModel"},"type":"array","description":"The Bleachers' teams the creator is tied to; empty for a creator only added."},"isFollowed":{"type":"boolean","description":"The user follows the creator directly."}},"required":["creator","isAdded","tiedTo","isFollowed"],"type":"object","additionalProperties":false},"BleachersCreatorRemovalVia":{"type":"string","enum":["remove","hide"],"description":"The door that took a creator off a Bleachers' list: Remove (the Edit Bleachers sheet) or Hide (a post's menu)."},"BleachersRemovedCreatorViewModel":{"description":"A creator the user removed from one Bleachers or hid there: kept off its list until shown again.","properties":{"creator":{"$ref":"#/components/schemas/FollowingShortViewModel"},"via":{"$ref":"#/components/schemas/BleachersCreatorRemovalVia"},"at":{"type":"string"}},"required":["creator","via","at"],"type":"object","additionalProperties":false},"BleachersCreatorsViewModel":{"description":"`GET /user/me/bleachers/{bleachersId}/creators`.","properties":{"creators":{"items":{"$ref":"#/components/schemas/BleachersCreatorViewModel"},"type":"array","description":"Tied creators first, by their closest tie to the Bleachers' teams, then the ones only added, in the order added."},"removed":{"items":{"$ref":"#/components/schemas/BleachersRemovedCreatorViewModel"},"type":"array","description":"In the order removed."}},"required":["creators","removed"],"type":"object","additionalProperties":false},"BleachersSuggestedCreatorViewModel":{"description":"A creator suggested for one Bleachers: one who posts about its teams and is not on its list.","properties":{"creator":{"$ref":"#/components/schemas/FollowingShortViewModel"},"isFollowed":{"type":"boolean","description":"The user follows the creator directly."}},"required":["creator","isFollowed"],"type":"object","additionalProperties":false},"BleachersCreatorSuggestionsViewModel":{"description":"`GET /user/me/bleachers/{bleachersId}/creator-suggestions`.","properties":{"creators":{"items":{"$ref":"#/components/schemas/BleachersSuggestedCreatorViewModel"},"type":"array","description":"The most active on the Bleachers' teams lately first."}},"required":["creators"],"type":"object","additionalProperties":false},"BleachersConfigViewModel":{"properties":{"id":{"type":"string"},"name":{"type":"string","description":"The Bleachers' own name."},"base":{"allOf":[{"$ref":"#/components/schemas/CatalogEntityViewModel"}],"nullable":true,"description":"Null once the base has left the catalog (a player's, once their profile is gone): the app shows the Bleachers as\nunavailable, to delete unless it is the user's last. A player's comes from their athlete profile, with no league,\nsport or place."},"nested":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array","description":"An entity that has left the catalog since it was added is not listed."},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","base","nested","createdAt","updatedAt"],"type":"object","additionalProperties":false},"DocumentsList_BleachersConfigViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/BleachersConfigViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"BleachersTakeoverViewModel":{"description":"`GET /user/me/bleachers/takeover`: what the What's new takeover starts from.","properties":{"bleachers":{"items":{"$ref":"#/components/schemas/BleachersConfigViewModel"},"type":"array","description":"The user's Bleachers in the user's order, each in full: the picks to pre-select, the `sportId` of every entity they\nhold, base and added, the sports to select. One whose `base` would be null (left the catalog, or a player whose\nprofile is gone) is left out, and the takeover leaves it as it is."},"notificationAskAnswered":{"type":"boolean","description":"As `GET /user/me/onboarding-state` answers it: the takeover's notification ask is for a fan who never answered it."}},"required":["bleachers","notificationAskAnswered"],"type":"object","additionalProperties":false},"BleachersConfigRequest":{"properties":{"name":{"type":"string","description":"The Bleachers' name, trimmed; the base's name when it is absent or blank.","maxLength":40},"base":{"$ref":"#/components/schemas/BleachersEntityRequest","description":"A team, league, conference or division, one the user's other Bleachers do not have. With `bleachers` on, also a\nsport or a player (`athlete`)."},"nested":{"items":{"$ref":"#/components/schemas/BleachersEntityRequest"},"type":"array","description":"The teams added to the base, in display order: teams only, at most `maxAdditions` (`GET /bleachers/limits`, 5 by\ndefault), none twice, and not the base. At least one team among the base and these, unless the base is a sport or a\nplayer.","maxItems":200}},"required":["base","nested"],"type":"object","additionalProperties":false},"BleachersTakeoverRequest":{"description":"`PATCH /user/me/bleachers/takeover`: the What's new takeover's confirm.","properties":{"remove":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Bleachers ids to delete: the picks the fan unticked. An id the user no longer has is skipped, so a retry passes.","maxItems":200},"add":{"items":{"$ref":"#/components/schemas/BleachersConfigRequest"},"type":"array","description":"New Bleachers, added at the end in the order sent as `POST /user/me/bleachers` adds one, each base once. One whose\nbase a kept Bleachers has with the same added teams, in the same order, is skipped, so a retry passes.","maxItems":200}},"type":"object","additionalProperties":false},"OnboardingBleachersRequest":{"description":"`POST /user/me/bleachers/onboarding`: the user's first Bleachers.","properties":{"bleachers":{"items":{"$ref":"#/components/schemas/BleachersConfigRequest"},"type":"array","description":"In display order; at least one.","maxItems":200}},"required":["bleachers"],"type":"object","additionalProperties":false},"ChangeTeamsRequest":{"description":"`POST /user/me/bleachers/teams`: one Bleachers per team, added and removed in one transaction (Settings › Interests).","properties":{"add":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Teams' profile ids, each becoming a Bleachers with that base at the end of the list; one the user already has as a\nbase is skipped.","maxItems":200},"remove":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Bleachers ids to delete.","maxItems":200}},"required":["add","remove"],"type":"object","additionalProperties":false},"MoveBleachersRequest":{"description":"`PUT /user/me/bleachers/{bleachersId}/position`: where the Bleachers goes.","properties":{"position":{"type":"integer","format":"int32","description":"Its index in the user's order, 0 first; one past the end puts it last.","minimum":0}},"required":["position"],"type":"object","additionalProperties":false},"BleachersCreatorsChangeRequest":{"description":"Changes to one Bleachers' creator list, each list the creators' user ids; a creator in two of the lists is refused.","properties":{"add":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Added to the list, as `PUT …/creators/{creatorId}` adds each: verified creators other than the user; a removal of\ntheirs there is taken back.","maxItems":200},"remove":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Taken off the list, as `DELETE …/creators/{creatorId}` removes each (a new entry a `via: \"remove\"`); an added one stays\nadded under the removal, and one whose account is gone is left out.","maxItems":200},"showAgain":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Removals taken back, as `DELETE …/removed-creators/{creatorId}` does each: a Remove or a Hide; one not removed is not an error.","maxItems":200}},"type":"object","additionalProperties":false},"UpdateBleachersConfigRequest":{"description":"`PATCH /user/me/bleachers/{bleachersId}`: what is sent of `name`, `base` and `nested` replaces that part of the\nBleachers; `creators` changes its creator list.","properties":{"name":{"type":"string","nullable":true,"description":"The Bleachers' new name, trimmed; null or blank takes the base's current name.","maxLength":40},"base":{"$ref":"#/components/schemas/BleachersEntityRequest","description":"API only, for a base that has left the catalog: the apps never offer a change of base. As in a new Bleachers."},"nested":{"items":{"$ref":"#/components/schemas/BleachersEntityRequest"},"type":"array","description":"Replaces the whole list: teams only, at most `maxAdditions` (`GET /bleachers/limits`). One over a lowered limit may\nkeep or drop its teams and adds one only within the limit; a team it holds stays valid after the picker stops\noffering it.","maxItems":200},"creators":{"$ref":"#/components/schemas/BleachersCreatorsChangeRequest","description":"The creator-list changes saved in the same write; a change needs `bleachers` on for the user."}},"type":"object","additionalProperties":false},"BleachersPickerEntityViewModel":{"description":"Browse and search cards, personalized for the signed-in fan after the shared catalog and search reads.","properties":{"id":{"type":"string"},"type":{"$ref":"#/components/schemas/CatalogEntityType"},"name":{"type":"string"},"shortName":{"type":"string","description":"ESPN's chip-sized name, else `name`: for a line like \"Texas Rangers + Astros\"."},"abbreviation":{"type":"string","nullable":true},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"league":{"allOf":[{"$ref":"#/components/schemas/CatalogLeagueViewModel"}],"nullable":true,"description":"Null for a league."},"sportId":{"type":"string","nullable":true,"description":"The registry sport of the entity's league (a sport's own), as `GET /sports-interests` lists them; null when none."},"location":{"allOf":[{"$ref":"#/components/schemas/CatalogLocationViewModel"}],"nullable":true,"description":"Teams only, when the provider gives the stadium's city."},"availability":{"$ref":"#/components/schemas/CatalogEntityAvailability","description":"How the entity stands for a client, down the chain (its status with its league's and its sport's): the picker offers\nonly `active` ones; a user's Bleachers shows any other value as unavailable, kept to remove\n(docs/bleachers-config-frontend-guide.md)."},"offered":{"type":"boolean","description":"Whether the picker offers it now: a picker type, `active`, under an `active` league and sport\n(`isBleachersEntityOffered`). A new Bleachers takes an offered entity as its base and an offered team as an\naddition. False on a card a Bleachers already holds under a hidden league or sport: shown, not to be added again."},"reason":{"allOf":[{"$ref":"#/components/schemas/CatalogSuggestionReason"}],"nullable":true,"description":"Only on `GET /bleachers/suggested`."},"isAdded":{"type":"boolean","description":"The fan already has a Bleachers with this entity as its base; additions alone do not count."},"inBleachers":{"items":{"$ref":"#/components/schemas/BleachersListItemViewModel"},"type":"array","description":"The fan's Bleachers holding this entity as an addition, in the fan's order, with their current names."}},"required":["id","type","name","shortName","abbreviation","logo","league","sportId","location","offered","isAdded","inBleachers"],"type":"object","additionalProperties":false},"DocumentsList_BleachersPickerEntityViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/BleachersPickerEntityViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"BleachersLimitsViewModel":{"description":"`GET /bleachers/limits`: what the New and Edit Bleachers sheets allow.","properties":{"maxAdditions":{"type":"number","format":"double","description":"The most teams one Bleachers holds besides its base: a sheet stops offering Add at this count."}},"required":["maxAdditions"],"type":"object","additionalProperties":false},"SocialAmplifierUpdateRequest":{"properties":{"socialFeedAmplifier":{"type":"integer","format":"int32","minimum":0,"maximum":10}},"required":["socialFeedAmplifier"],"type":"object","additionalProperties":false},"VideoBackupDownloadStatus":{"enum":["ready","processing","noBackup","errored"],"type":"string"},"VideoBackupDownloadResponse":{"properties":{"status":{"$ref":"#/components/schemas/VideoBackupDownloadStatus"},"url":{"type":"string","nullable":true,"description":"Signed read URL to the backed-up MP4. Present only when `status = Ready`."},"expiresAt":{"type":"string","nullable":true,"description":"ISO timestamp when the signed URL expires. Present only when `status = Ready`."},"message":{"type":"string","nullable":true,"description":"Human-readable hint for non-Ready statuses."}},"required":["status","url","expiresAt","message"],"type":"object","additionalProperties":false},"FeaturedPromoSlotsViewModel":{"properties":{"slots":{"items":{"type":"string"},"type":"array","description":"The full registry, alphabetically sorted."},"totalCount":{"type":"number","format":"double"},"updatedAt":{"type":"string","nullable":true}},"required":["slots","totalCount","updatedAt"],"type":"object","additionalProperties":false},"UpdateFeaturedPromoSlotsRequest":{"properties":{"add":{"items":{"type":"string"},"type":"array","description":"Slot values to register. Applied before `remove`."},"remove":{"items":{"type":"string"},"type":"array","description":"Slot values to delete. Refused (409) while any non-deleted component holds the slot."}},"type":"object","additionalProperties":false},"VideoPageUpdateRequest":{"properties":{"title":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"preferredOrder":{"type":"number","format":"double"}},"type":"object","additionalProperties":false},"VideoPageComponentViewModel":{"properties":{"id":{"type":"string"},"title":{"type":"string"},"type":{"$ref":"#/components/schemas/ComponentType"},"tags":{"items":{"type":"string"},"type":"array"},"isVisible":{"type":"boolean"},"itemsType":{"allOf":[{"$ref":"#/components/schemas/ComponentItemType"}],"nullable":true},"promoUser":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"featuredPromoType":{"type":"string","nullable":true},"isOttVisible":{"type":"boolean","description":"Whether OTT/TV apps should render this component (filtering is client-side)."}},"required":["id","title","type","tags","isVisible","itemsType","promoUser","featuredPromoType","isOttVisible"],"type":"object","additionalProperties":false},"PageComponentUpsertRequest":{"properties":{"title":{"type":"string"},"type":{"$ref":"#/components/schemas/ComponentType"},"itemsType":{"$ref":"#/components/schemas/ComponentItemType","deprecated":true},"tags":{"items":{"type":"string"},"type":"array"},"playlistId":{"type":"string"},"videos":{"items":{"type":"string"},"type":"array"},"promoUserId":{"type":"string"},"featuredPromoType":{"type":"string","description":"Promo-slot components only; a registered slot value. Required when type\nis HeroFeaturedPromo."},"isOttVisible":{"type":"boolean"}},"required":["title","type","tags"],"type":"object","additionalProperties":false},"ComponentItemUpsertRequest":{"properties":{"setAfterItemId":{"type":"string"},"promoImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"promoImageUrl":{"type":"string","nullable":true,"deprecated":true}},"type":"object","additionalProperties":false},"PageComponentUpdateRequest":{"properties":{"title":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"isVisible":{"type":"boolean"},"type":{"$ref":"#/components/schemas/ComponentType","description":"FeaturedPromo <-> HeroFeaturedPromo switch only; other conversions are rejected."},"featuredPromoType":{"type":"string","nullable":true,"description":"Promo-slot components only; a registered slot value. Omit to keep,\n`null` clears (hidden FeaturedPromo only — never for HeroFeaturedPromo)."},"isOttVisible":{"type":"boolean"}},"type":"object","additionalProperties":false},"ReorderPageComponentRequest":{"properties":{"componentIds":{"items":{"type":"string"},"type":"array"}},"required":["componentIds"],"type":"object","additionalProperties":false},"PlatformVerificationConfigViewModel":{"properties":{"email":{"$ref":"#/components/schemas/VerificationMethod"}},"required":["email"],"type":"object","additionalProperties":false},"VerificationConfigViewModel":{"description":"The EFFECTIVE verification config — what an absent, partial or hand-edited `config/verification`\ndoc resolves to after defaults (an unreadable value reads as `link`, never as a broken sign-up).","properties":{"web":{"$ref":"#/components/schemas/PlatformVerificationConfigViewModel"},"mobile":{"$ref":"#/components/schemas/PlatformVerificationConfigViewModel"}},"required":["web","mobile"],"type":"object","additionalProperties":false},"UpdatePlatformVerificationConfigRequest":{"properties":{"email":{"$ref":"#/components/schemas/VerificationMethod"}},"type":"object","additionalProperties":false},"UpdateVerificationConfigRequest":{"description":"Partial patch of the runtime verification config. Only the keys present are changed; an omitted\nplatform or method keeps its current value. An unknown method is rejected by TSOA's enum validation.","properties":{"web":{"$ref":"#/components/schemas/UpdatePlatformVerificationConfigRequest"},"mobile":{"$ref":"#/components/schemas/UpdatePlatformVerificationConfigRequest"}},"type":"object","additionalProperties":false},"ListResultRecordResponse_UserProfileViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/UserProfileViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_UserProfileViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_UserProfileViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"UserDeletionStatus":{"enum":["running","failed","abandoned","completed"],"type":"string"},"UserDeletionStep":{"description":"Steps of the queue-driven account-deletion chain. `USER_DELETION_STEP_ORDER`\nbelow is the execution order. ⚠️ The values are a WIRE FORMAT: they ride task\npayloads and the `userDeletions/{uid}` state docs, so renaming one strands\nevery in-flight chain (the worker drops unknown steps as malformed), and\nREORDERING the array silently skips steps for chains already in flight\n(nextStep walks the new order from the stored currentStep).","enum":["search","getStream","engagement","subcollections","videos","posts","shows","finalize"],"type":"string"},"UserDeletionRequestedBy":{"enum":["self","admin","selfSignUp"],"type":"string"},"UserDeletionStepStatus":{"enum":["pending","running","completed","failed"],"type":"string"},"AdminUserDeletionStepViewModel":{"properties":{"step":{"$ref":"#/components/schemas/UserDeletionStep"},"status":{"$ref":"#/components/schemas/UserDeletionStepStatus"},"lastError":{"type":"string"},"updatedAt":{"type":"string"}},"required":["step","status"],"type":"object","additionalProperties":false},"AdminUserDeletionViewModel":{"properties":{"userId":{"type":"string"},"status":{"$ref":"#/components/schemas/UserDeletionStatus"},"currentStep":{"$ref":"#/components/schemas/UserDeletionStep"},"requestedBy":{"$ref":"#/components/schemas/UserDeletionRequestedBy"},"requestedByUserId":{"type":"string"},"kickCount":{"type":"number","format":"double"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"completedAt":{"type":"string"},"steps":{"items":{"$ref":"#/components/schemas/AdminUserDeletionStepViewModel"},"type":"array","description":"In chain order; only steps the chain has reached (or seeded) are present."}},"required":["userId","status","currentStep","requestedBy","kickCount","createdAt","updatedAt","steps"],"type":"object","additionalProperties":false},"AdminUserDeletionsListViewModel":{"properties":{"items":{"items":{"$ref":"#/components/schemas/AdminUserDeletionViewModel"},"type":"array"},"lastDocId":{"type":"string","description":"Cursor for the next page; absent when this page is the last."}},"required":["items"],"type":"object","additionalProperties":false},"LoginSource":{"description":"Which write path produced the record.","enum":["token-mirror","device-auth","push-registration","tv-activity"],"type":"string"},"DeviceClass":{"description":"Coarse device family a login is attributed to — the first segment of a row's doc id.","enum":["web","mobile","tv","other"],"type":"string"},"LoginMethod":{"description":"How the credential sign-in happened. Values mirror `firebase.sign_in_provider` claims,\nplus `device-code` for the TV grant — its token is minted server-side via\n`createCustomToken`, so its provider claim reads `custom` and would otherwise be\nindistinguishable from other custom-token sign-ins.","enum":["password","google.com","apple.com","facebook.com","custom","device-code","unknown"],"type":"string"},"AdminUserLoginDeviceViewModel":{"description":"Admin projection — adds the owner uid, the raw UA, and which write path\nrecorded the login. Omits `isCurrent`: it is defined against the CALLER's\nsession, which for an admin inspecting another user is meaningless (and would\nread always-false).","properties":{"deviceKey":{"type":"string"},"deviceClass":{"$ref":"#/components/schemas/DeviceClass"},"platform":{"type":"string"},"deviceLabel":{"type":"string","nullable":true},"lastLoginAt":{"type":"string"},"lastSeenAt":{"type":"string"},"lastLoginMethod":{"$ref":"#/components/schemas/LoginMethod"},"appVersion":{"type":"string","nullable":true},"loginCount":{"type":"number","format":"double"},"userId":{"type":"string"},"lastUserAgent":{"type":"string","nullable":true},"lastLoginSource":{"$ref":"#/components/schemas/LoginSource"}},"required":["deviceKey","deviceClass","platform","deviceLabel","lastLoginAt","lastSeenAt","lastLoginMethod","appVersion","loginCount","userId","lastUserAgent","lastLoginSource"],"type":"object","additionalProperties":false},"UserUpdateRequest":{"properties":{"email":{"type":"string"},"emailVerified":{"type":"boolean"},"phoneNumber":{"type":"string","nullable":true},"phoneNumberVerified":{"type":"boolean"},"password":{"type":"string"},"displayName":{"type":"string","description":"Trimmed; empty or only spaces is refused (400, \"Display name is required.\"). Left out on an account that has a\nhandle and no display name, the handle becomes its display name unless it is on the restricted-words list."},"disabled":{"type":"boolean"},"roles":{"items":{"type":"string"},"type":"array","deprecated":true},"bzzrHandle":{"type":"string"},"photo":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"type":{"$ref":"#/components/schemas/UserProfileType"},"driversLicensePhoto":{"$ref":"#/components/schemas/FileUploadRequest"},"driversLicenseVerified":{"type":"boolean"},"username":{"type":"string"},"firstName":{"type":"string","nullable":true,"deprecated":true},"lastName":{"type":"string","nullable":true,"deprecated":true},"dateOfBirth":{"type":"string","nullable":true},"profileStatus":{"allOf":[{"$ref":"#/components/schemas/UserProfileStatus"}],"nullable":true},"sport":{"type":"string","nullable":true},"team":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"bio":{"type":"string","nullable":true},"personalUrl":{"type":"string","nullable":true},"personalUrlName":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"areaOfExpertise":{"type":"string","nullable":true},"networkOfAffiliation":{"type":"string","nullable":true},"signupStatus":{"$ref":"#/components/schemas/UserProfileSignupStatus"},"socialLinks":{"$ref":"#/components/schemas/Partial_Record_UserSocialNetwork.string__"},"isCommentsEnabled":{"type":"boolean"},"isVerified":{"type":"boolean"}},"type":"object","additionalProperties":false},"GeoTokenOverrideViewModel":{"description":"Response for `POST /admin/users/{userId}/geo-token-override`.","properties":{"token":{"type":"string","description":"The signed JWT to send back to the client; mirrors `UserProfileViewModel.geoTokenOverride`."},"expiresAt":{"type":"string","description":"ISO timestamp at which the token's `exp` claim fires."}},"required":["token","expiresAt"],"type":"object","additionalProperties":false},"GeoTokenOverrideRequest":{"description":"Body for `POST /admin/users/{userId}/geo-token-override` — caller picks\nthe location claims that the synthesized geo-token will carry. All\nfields optional: omit lat/lng for a token that only satisfies\n`allowed-jurisdictions` policies; omit `country`/`region`/`city` for\n`venue-radius`-only scenarios; omit everything for a `world`-policy\ntoken that just satisfies the SDK-pass fact.","properties":{"lat":{"type":"number","format":"double","description":"Latitude in decimal degrees."},"lng":{"type":"number","format":"double","description":"Longitude in decimal degrees."},"country":{"type":"string","description":"ISO 3166-1 alpha-2, e.g. \"US\"."},"region":{"type":"string","description":"ISO 3166-2, e.g. \"US-TX\"."},"city":{"type":"string","description":"City name."},"dmaCode":{"type":"number","format":"double","description":"Nielsen DMA code, e.g. 803 (Los Angeles) — see `util/dmaNames.ts`.\nRequired to preview an `allowed-dma` (rights-holder territory) live:\nthose policies are fail-closed and do NOT honour the admin bypass, so\nthis override is the only way in. Pair it with `country: \"US\"`, which\nthe gate checks before the market."},"ttlSeconds":{"type":"number","format":"double","description":"Token lifetime in seconds. Defaults to 30 days."},"reason":{"type":"string","description":"Why this override is being issued — recorded in the audit trail."}},"type":"object","additionalProperties":false},"GeoTokenOverrideEntryViewModel":{"description":"One entry of `GET /admin/users/{userId}/geo-token-overrides` — location\nclaims decoded from the stored token; `jti` is the id DELETE takes.","properties":{"jti":{"type":"string"},"token":{"type":"string"},"origin":{"type":"string","enum":["single-override","list"],"description":"Source store: `single-override` is the legacy client-sent\n`geoTokenOverride` field (at most one entry); `list` entries are\nserver-side grants. Both satisfy policies server-side identically."},"lat":{"type":"number","format":"double"},"lng":{"type":"number","format":"double"},"country":{"type":"string"},"region":{"type":"string"},"city":{"type":"string"},"dmaCode":{"type":"number","format":"double"},"issuedAt":{"type":"string"},"expiresAt":{"type":"string"},"isExpired":{"type":"boolean","description":"Expired entries stay listed for cleanup but never satisfy a gate."},"replacedJtis":{"items":{"type":"string"},"type":"array","description":"Present on a grant response when re-issuing this location superseded\nearlier grants — they are gone, so the caller can say so rather than\nletting an operator think a second entry was added."}},"required":["jti","token","origin","issuedAt","expiresAt","isExpired"],"type":"object","additionalProperties":false},"GeoGrantAuditAction":{"description":"What an audit row records. `single-*` rows cover the legacy client-sent override.","enum":["granted","revoked","cleared-all","single-set","single-cleared"],"type":"string"},"GeoGrantAuditLocation":{"description":"The location a grant carried, snapshotted so a revoked entry stays readable.\nEvery key is always present: absent claims are stored as `null`, never left\nout — a trail people read by eye is easier to trust when its shape is fixed,\nand `?? null` cannot accidentally produce the `undefined` Firestore refuses.","properties":{"country":{"type":"string","nullable":true},"region":{"type":"string","nullable":true},"city":{"type":"string","nullable":true},"dmaCode":{"type":"number","format":"double","nullable":true},"lat":{"type":"number","format":"double","nullable":true},"lng":{"type":"number","format":"double","nullable":true}},"required":["country","region","city","dmaCode","lat","lng"],"type":"object","additionalProperties":false},"GeoGrantAuditEntry":{"description":"One entry in the trail of who changed a user's geo overrides. A grant\nbypasses rights-holder territory, so the trail must outlive the grant\nitself — rows are append-only and survive revocation (which is why this is\na subcollection rather than a field on the grant).\n\nDeliberately NOT wired into the user cascade delete: the trail outlives the\naccount too, and Firestore reads a subcollection under a deleted parent\nfine. An erasure request that must reach these rows has to target them.\n\nFields are nullable rather than optional for the same reason as the location\nblock — one fixed shape, and no way to write `undefined`.","properties":{"id":{"type":"string"},"action":{"$ref":"#/components/schemas/GeoGrantAuditAction"},"actorUid":{"type":"string","description":"Firebase uid of the admin. `development` = the GLOBAL_ADMIN_API_SECRET path."},"targetUserId":{"type":"string"},"jti":{"type":"string","nullable":true,"description":"The affected entry, when the action names one."},"location":{"allOf":[{"$ref":"#/components/schemas/GeoGrantAuditLocation"}],"nullable":true},"expiresAt":{"type":"string","nullable":true,"description":"Expiry of the granted token (ISO), when the action created one."},"reason":{"type":"string","nullable":true,"description":"Free-text justification supplied by the admin."},"replacedJtis":{"items":{"type":"string"},"type":"array","description":"Grants superseded by this one (same location re-issued); empty when none."},"createdAt":{"type":"string"}},"required":["id","action","actorUid","targetUserId","jti","location","expiresAt","reason","replacedJtis","createdAt"],"type":"object","additionalProperties":false},"MvpdAuthAuditAction":{"type":"string","enum":["link","link_failed","switch","logout","admin_unlink"]},"MvpdAuthAuditEntry":{"description":"One entry in the per-user trail of what the viewer did with their MVPD links\n(`users/{uid}/mvpdAuthAudit`). Append-only, written in the same batch as the link change\nfor every action that changes one. Never carries the opaque id, the token or the household.\nRemoved with the links on account hard-delete — unlike `GeoGrantAuditEntry`, this is the\nviewer's own operator data, not a record of staff actions.","properties":{"id":{"type":"string"},"action":{"$ref":"#/components/schemas/MvpdAuthAuditAction"},"idp":{"type":"string","description":"The provider acted on; for `link_failed`, the one the login was started for."},"previousActiveIdp":{"type":"string","nullable":true,"description":"The active link before this action, when there was one."},"provider":{"type":"string","nullable":true,"description":"The picker `provider` the login was started under."},"reason":{"type":"string","nullable":true,"description":"`TveReturnReason` for `link_failed`; `household_limit_exempt` on a `link` that passed by admin exemption."},"providerCode":{"type":"string","nullable":true,"description":"The Bridge's own error code behind a `provider_error` (Synacor's catalogue, e.g. `91004`); null elsewhere."},"ipAddress":{"type":"string","nullable":true,"description":"The viewer's address at link time — what the operator's in-home rules saw."},"actorUid":{"type":"string","nullable":true,"description":"The admin behind `admin_unlink`; every other action is the viewer's own."},"createdAt":{"type":"string"}},"required":["id","action","idp","previousActiveIdp","provider","reason","ipAddress","actorUid","createdAt"],"type":"object","additionalProperties":false},"Partial_Record_FeatureKey.boolean__":{"properties":{"lives":{"type":"boolean"},"channels":{"type":"boolean"},"subscriptions":{"type":"boolean"},"compCodes":{"type":"boolean"},"partnerDashboard":{"type":"boolean"},"stadiumAudio":{"type":"boolean"},"tveEntitlements":{"type":"boolean"},"tveHouseholdLimitExempt":{"type":"boolean"},"geoComply":{"type":"boolean"},"geoNativeGps":{"type":"boolean"},"geoIp":{"type":"boolean"},"liveHighFrameRate":{"type":"boolean"},"liveAdClientSideReporting":{"type":"boolean"},"autoCaptions":{"type":"boolean"},"replayAwsDelivery":{"type":"boolean"},"replayGuidedAds":{"type":"boolean"},"gameFeed":{"type":"boolean"},"bleachers":{"type":"boolean"},"bleachersOnboarding":{"type":"boolean"},"bleachersChat":{"type":"boolean"},"bleachersGame":{"type":"boolean"},"bleachersRooms":{"type":"boolean"},"bleachersShares":{"type":"boolean"},"bleachersCorePushRules":{"type":"boolean"},"topicGrouping":{"type":"boolean"},"discoverTopics":{"type":"boolean"},"discoverHypes":{"type":"boolean"},"intros":{"type":"boolean"}},"type":"object","description":"Make all properties in T optional"},"FeatureOverrides":{"$ref":"#/components/schemas/Partial_Record_FeatureKey.boolean__","description":"Per-user override of the global flags — a sparse map. Only explicitly-set\nkeys diverge from the global value; both `true` (force-enable, e.g. an\nallowlist/beta) and `false` (force-disable, e.g. a targeted denylist) are\nmeaningful. Applied on top of {@link FeatureFlags} by {@link resolveEffectiveFlags}."},"UserFeatureStateViewModel":{"description":"Admin per-user view (`GET/PATCH/DELETE /admin/users/{userId}/feature-overrides`):\nthe user's sparse override map plus the resulting EFFECTIVE flags (global ⊕\noverride). `overrides` shows exactly what diverges from global; `effective` is\nwhat that user actually experiences.","properties":{"overrides":{"$ref":"#/components/schemas/FeatureOverrides"},"effective":{"$ref":"#/components/schemas/FeatureFlags"}},"required":["overrides","effective"],"type":"object","additionalProperties":false},"UpdateFeatureOverridesRequest":{"properties":{"features":{"$ref":"#/components/schemas/FeatureOverrides","description":"Partial patch of feature → enabled for ONE user. `true` force-enables the\nfeature for the user even when it is globally off (allowlist/beta); `false`\nforce-disables it even when globally on (denylist). Only the keys present\nare changed; omitted features keep the user's current override (and thus\nfall through to the global flag when unset). Unknown keys are rejected\n(400). To drop an override and revert a user fully to the global flags, use\n`DELETE /admin/users/{userId}/feature-overrides`."}},"required":["features"],"type":"object","additionalProperties":false},"DenyEntityClaimRequest":{"properties":{"reason":{"type":"string"}},"type":"object","additionalProperties":false},"DemoteUserRequest":{"properties":{"reason":{"type":"string","description":"Optional audit note stored on the revoked claim."}},"type":"object","additionalProperties":false},"JwtRoles.GlobalAdmin":{"enum":["global_admin"],"type":"string"},"JwtRoles.GlobalReader":{"enum":["global_reader"],"type":"string"},"JwtRoles.UsersEditor":{"enum":["users_editor"],"type":"string"},"JwtRoles.UsersViewer":{"enum":["users_viewer"],"type":"string"},"JwtRoles.ContentModerator":{"enum":["content_moderator"],"type":"string"},"JwtRoles.ChatAdmin":{"enum":["chat_admin"],"type":"string"},"JwtRoles.LiveSourceEditor":{"enum":["live_source_editor"],"type":"string"},"JwtRoles.SubscriptionsEditor":{"enum":["subscriptions_editor"],"type":"string"},"JwtRoles.SubscriptionsViewer":{"enum":["subscriptions_viewer"],"type":"string"},"JwtRoles.CustomerSupport":{"enum":["customer_support"],"type":"string"},"SystemJwtRoles":{"anyOf":[{"$ref":"#/components/schemas/JwtRoles.GlobalAdmin"},{"$ref":"#/components/schemas/JwtRoles.GlobalReader"},{"$ref":"#/components/schemas/JwtRoles.UsersEditor"},{"$ref":"#/components/schemas/JwtRoles.UsersViewer"},{"$ref":"#/components/schemas/JwtRoles.ContentModerator"},{"$ref":"#/components/schemas/JwtRoles.ChatAdmin"},{"$ref":"#/components/schemas/JwtRoles.LiveSourceEditor"},{"$ref":"#/components/schemas/JwtRoles.SubscriptionsEditor"},{"$ref":"#/components/schemas/JwtRoles.SubscriptionsViewer"},{"$ref":"#/components/schemas/JwtRoles.CustomerSupport"}],"description":"The roles an admin may hand out through `PATCH /admin/users/{userId}/roles`. Mirrors\n`ASSIGNABLE_ROLES` in bzzr-admin's `src/shared/access/roles.ts` — the panel's Grant Access\npicker offers exactly this set, and tsoa compiles this union into the route's body validator,\nso anything absent here is a 422 no matter what the service would allow.\n\nExcluded on purpose: `publisher_agent` (a machine identity stamped by\n`publisherProvisioningService`, never hand-assigned), `partner` (re-derived from\n`partner_membership` in Cloud SQL by `RolesStampService`), and `consumer` / `creator` (business\nroles with their own promote/demote flows)."},"UserRoleUpdateRequest":{"properties":{"roles":{"items":{"$ref":"#/components/schemas/SystemJwtRoles"},"type":"array"}},"required":["roles"],"type":"object","additionalProperties":false},"PromotionalAccountViewModel":{"description":"`PATCH /admin/users/{userId}/promotionalAccount`: the account's promotional setting now.","properties":{"isPromotionalAccount":{"type":"boolean"},"warning":{"type":"string","nullable":true,"description":"Set when moving the account's posts, videos and Hypes off the topic feeds, or back on, or taking a promotional account off\nthe creator lists, was not queued: sending the same promotional setting again queues it. Null otherwise."}},"required":["isPromotionalAccount","warning"],"type":"object","additionalProperties":false},"PromotionalAccountUpdateRequest":{"description":"`PATCH /admin/users/{userId}/promotionalAccount`.","properties":{"isPromotionalAccount":{"type":"boolean","description":"True turns the account's promotional setting on, false turns it off."}},"required":["isPromotionalAccount"],"type":"object","additionalProperties":false},"TvRateLimits":{"description":"Per-minute ceilings for the effectively-public `/tv/*` surface (fixed 60 s window).\n\n- `perIp` — one address. A TV opening a stream makes a handful of calls (schedule → grant →\n  play), so a generous ceiling only catches abuse, not normal use.\n- `searchPerIp` — one address, TV search alone. The app searches as the viewer types, so search\n  gets a budget of its own: typing never spends the one an address plays from.\n- `playback` / `metadata` / `search` — aggregate across ALL addresses, per bucket (see\n  `tvRateLimitBucket`), of the requests the per-address limits let through. The shared secret is\n  baked into every TV binary and extractable, so a distributed attack (rotating IPs) bypasses the\n  per-IP limit; these cap total spend per minute, and on breach the surface degrades to 429 rather\n  than melting.\n\nRuntime-editable via `config/tvRateLimits` (admin `PATCH /admin/config/tv-rate-limits`), no redeploy.","properties":{"perIp":{"type":"number","format":"double"},"searchPerIp":{"type":"number","format":"double"},"playback":{"type":"number","format":"double"},"metadata":{"type":"number","format":"double"},"search":{"type":"number","format":"double"}},"required":["perIp","searchPerIp","playback","metadata","search"],"type":"object","additionalProperties":false},"TvRateLimitSource":{"type":"string","enum":["stored","default"],"description":"Whether an effective value came from the stored doc or fell back to `TV_RATE_LIMIT_DEFAULTS`."},"TvRateLimitSources":{"properties":{"perIp":{"$ref":"#/components/schemas/TvRateLimitSource"},"searchPerIp":{"$ref":"#/components/schemas/TvRateLimitSource"},"playback":{"$ref":"#/components/schemas/TvRateLimitSource"},"metadata":{"$ref":"#/components/schemas/TvRateLimitSource"},"search":{"$ref":"#/components/schemas/TvRateLimitSource"}},"required":["perIp","searchPerIp","playback","metadata","search"],"type":"object","additionalProperties":false},"TvRateLimitsViewModel":{"description":"The EFFECTIVE `/tv/*` rate limits — what the stored `config/tvRateLimits` doc resolves to after\ndefaults and validation (a missing or unusable field reads as its default, never as \"block\neverything\").","properties":{"limits":{"$ref":"#/components/schemas/TvRateLimits","description":"Requests per minute actually enforced."},"defaults":{"$ref":"#/components/schemas/TvRateLimits","description":"The code defaults a missing or unusable field falls back to."},"sources":{"$ref":"#/components/schemas/TvRateLimitSources","description":"Per field: `stored` = from the doc, `default` = the doc does not set a usable value."},"windowSeconds":{"type":"number","format":"double","description":"Length of the fixed counting window the limits apply to."},"propagationSeconds":{"type":"number","format":"double","description":"Upper bound for a change to reach every `api` instance: each one re-reads the limits on this\ncadence, so a PATCH is not in force everywhere the moment it returns."},"updatedAt":{"type":"string","description":"When the doc was last written through the admin API; absent if it never was."}},"required":["limits","defaults","sources","windowSeconds","propagationSeconds"],"type":"object","additionalProperties":false},"UpdateTvRateLimitsRequest":{"description":"Partial patch of the runtime `/tv/*` rate limits (requests per minute). Only the keys present are\nchanged; an omitted key keeps its current value. Out-of-range values are rejected rather than\nclamped: a typo must never silently lock the TV fleet out or switch a limit off.\n\nThe bounds below mirror `TV_RATE_LIMIT_BOUNDS` (tsoa reads literal numbers only).","properties":{"perIp":{"type":"integer","format":"int32","description":"Per-address ceiling for every `/tv/*` route but search.","minimum":10,"maximum":1000000},"searchPerIp":{"type":"integer","format":"int32","description":"Per-address ceiling for TV search alone (`/tv/search` and `/tv/search/…`), kept apart from `perIp`.","minimum":10,"maximum":1000000},"playback":{"type":"integer","format":"int32","description":"Aggregate ceiling for `/tv/playback/*` (grant, storyboard token, channel playback).","minimum":1000,"maximum":1000000},"metadata":{"type":"integer","format":"int32","description":"Aggregate ceiling for every other `/tv/*` route but search (EPG, lists, legal text).","minimum":1000,"maximum":1000000},"search":{"type":"integer","format":"int32","description":"Aggregate ceiling for TV search (`/tv/search` and `/tv/search/…`).","minimum":1000,"maximum":1000000}},"type":"object","additionalProperties":false},"TopicKind":{"description":"What a group of posts is. Mirrors the `kind` enum in `prompts/topicPlacement.prompt`.","enum":["story","game","theme"],"type":"string"},"TopicStatus":{"enum":["pending","confirmed","rejected"],"type":"string"},"TopicAdminViewModel":{"description":"A topic as the admin panel reads it: the stored document, its cover as image URLs.","properties":{"id":{"type":"string"},"kind":{"$ref":"#/components/schemas/TopicKind"},"status":{"$ref":"#/components/schemas/TopicStatus","description":"The confirmation call's latest verdict; the call is repeated each time the voices double."},"verdictVoicesCount":{"type":"number","format":"double","description":"`voicesCount` at that verdict; 0 before the first."},"lockedByAdminId":{"type":"string","nullable":true,"description":"The admin who edited the topic by hand; from then on the confirmation call leaves it alone. Null when none did."},"title":{"type":"string","description":"The working title the placement call gave the group, then the one the confirmation call wrote."},"summary":{"type":"string","nullable":true,"description":"Written by the confirmation call; null before it."},"createdAt":{"type":"string"},"postsCount":{"type":"number","format":"double"},"voicesCount":{"type":"number","format":"double","description":"The accounts that wrote its posts, a repost with no text of its own and a repeat of an earlier post aside."},"firstEventAt":{"type":"string","description":"When its earliest and latest posts were written on their source network."},"lastEventAt":{"type":"string"},"lastArrivedAt":{"type":"string","description":"When its latest post reached us."},"personEventKeys":{"items":{"type":"string"},"type":"array","description":"Normalized key terms of its posts: athletes, personalities and events, then teams. They find it as a candidate."},"teamKeys":{"items":{"type":"string"},"type":"array"},"entityTags":{"items":{"type":"string"},"type":"array","description":"The entity tags at least half of its posts carry (`UserPost.entityTags`), the tag on most posts first. This and\nthe two fields below are absent on a topic created before they existed."},"score":{"type":"number","format":"double","description":"What the Topics row is ordered by, written by the scoring pass (`TopicScoringService`): its recent voices,\neach weighing less the older its latest post. 0 while fewer than two voices are recent."},"scoredAt":{"type":"string","nullable":true,"description":"When the scoring pass last wrote `score`; null before it did."},"videosCount":{"type":"number","format":"double","description":"The full videos the match call found to be about it (`TopicVideo`); absent before the call ran for it."},"isBigNews":{"type":"boolean","description":"The content team's big-news mark, which counts while the row's kept page holds the topic; absent when never set."},"updatedAt":{"type":"string"},"coverImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"Null when the topic has no cover."},"isBigNewsActive":{"type":"boolean","description":"Whether the big-news mark counts: `isBigNews` is set and the Topics row's 50 highest scores hold the topic."}},"required":["id","kind","status","verdictVoicesCount","lockedByAdminId","title","summary","createdAt","postsCount","voicesCount","firstEventAt","lastEventAt","lastArrivedAt","personEventKeys","teamKeys","updatedAt","isBigNewsActive"],"type":"object","additionalProperties":false},"DocumentsList_TopicAdminViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TopicAdminViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"TopicAdminUpdateRequest":{"description":"An admin's edit of a topic. A field left out is kept; at least one is required.","properties":{"title":{"type":"string","minLength":1,"maxLength":120},"summary":{"type":"string","nullable":true,"description":"Null clears it. At most what the Topic page shows whole.","maxLength":160},"status":{"$ref":"#/components/schemas/TopicStatus","description":"`rejected` hides the topic, `confirmed` lets it show; `pending` is refused."},"coverImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"The topic's cover: a file replaces it, null clears it."}},"type":"object","additionalProperties":false},"TopicBigNewsUpdateRequest":{"description":"`PATCH /admin/topics/{topicId}/bigNews`.","properties":{"isBigNews":{"type":"boolean","description":"True marks the topic as big news, false clears the mark."}},"required":["isBigNews"],"type":"object","additionalProperties":false},"TopicPlacement":{"description":"`usersPosts/{postId}/topicPlacements/{postId}`: where the grouping run put a post, written once and never\nmoved. It also carries what later runs read of the post, so a run loads its window with one query.","properties":{"postId":{"type":"string"},"topicId":{"type":"string","nullable":true,"description":"Null when the post belongs to no topic."},"inheritedFrom":{"type":"string","nullable":true,"description":"The post whose topic was taken with no model call: the reposted one, or the earlier post with the same text."},"voice":{"type":"string","nullable":true,"description":"Null for a post that adds no voice: a repost with no text of its own, or a repeat of an earlier post."},"eventAt":{"type":"string"},"arrivedAt":{"type":"string"},"by":{"type":"string","description":"The author as the prompt names them."},"text":{"type":"string","description":"The text the prompt showed, links reduced to their site."},"terms":{"items":{"type":"string"},"type":"array","description":"Key terms as the prompt showed them."},"personEventKeys":{"items":{"type":"string"},"type":"array"},"teamKeys":{"items":{"type":"string"},"type":"array"},"entityTags":{"items":{"type":"string"},"type":"array","description":"The post's entity tags when it was placed; absent on a placement written before the field existed."},"isPostLive":{"type":"boolean","description":"False once the post is deleted or hidden; the placement is kept and stops counting."},"error":{"type":"string","nullable":true,"description":"Why no model answer placed it, when the call for it failed for good."},"updatedAt":{"type":"string"}},"required":["postId","topicId","inheritedFrom","voice","eventAt","arrivedAt","by","text","terms","personEventKeys","teamKeys","isPostLive","error","updatedAt"],"type":"object","additionalProperties":false},"TopicPlacementAdminViewModel":{"$ref":"#/components/schemas/TopicPlacement","description":"A post placed in a topic as the admin panel reads it: the stored placement, which holds what the placement call saw."},"DocumentsList_TopicPlacementAdminViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TopicPlacementAdminViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"TeamsAssetViewModel":{"description":"One registry row, as the admin surface sees it.","properties":{"id":{"type":"string"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports-registry entity the row describes; null on a crest made for a free-text team name alone."},"leagueId":{"type":"number","format":"double","nullable":true,"description":"The commerce league broadcasts resolve within; null until the entity's league is mapped to one."},"teamKey":{"type":"string"},"displayName":{"type":"string","description":"The name readers see: the admin's override, else the provider's."},"nameOverride":{"type":"string","nullable":true,"description":"The admin's name, when one replaces the provider's."},"providerName":{"type":"string","nullable":true,"description":"The provider's name, when the row describes a registry entity."},"abbreviation":{"type":"string","nullable":true,"description":"The abbreviation readers see: the admin's override, else the provider's."},"abbreviationOverride":{"type":"string","nullable":true,"description":"The admin's abbreviation, when one replaces the provider's."},"providerAbbreviation":{"type":"string","nullable":true,"description":"The provider's abbreviation, when the row describes a registry entity."},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"Our own approved artwork, when uploaded."},"fallbackLogo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"The fallback mirrored into our bucket — what consumers receive when `logo` is absent."},"fallbackLogoUrl":{"type":"string","nullable":true,"description":"Source URL of the fallback. Debug only — surfaced here for admins, never to consumers."},"fallbackSource":{"type":"string","nullable":true},"primaryColor":{"type":"string","nullable":true,"description":"The colours readers see: the admin's override, else the provider's."},"secondaryColor":{"type":"string","nullable":true},"primaryColorOverride":{"type":"string","nullable":true,"description":"The admin's colours, when they replace the provider's."},"secondaryColorOverride":{"type":"string","nullable":true},"providerPrimaryColor":{"type":"string","nullable":true,"description":"The provider's colours, when the row describes a registry entity."},"providerSecondaryColor":{"type":"string","nullable":true},"aliases":{"items":{"type":"string"},"type":"array"},"espnUid":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"effectiveLogoSource":{"$ref":"#/components/schemas/TeamLogoSource","description":"What the chain would answer for this row right now — the \"still borrowing\" badge."},"updatedAt":{"type":"string"},"updatedBy":{"type":"string","nullable":true}},"required":["id","teamKey","displayName","aliases","isActive","effectiveLogoSource","updatedAt"],"type":"object","additionalProperties":false},"PaginatedList_TeamsAssetViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TeamsAssetViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"CreateTeamsAssetRequest":{"properties":{"leagueId":{"type":"number","format":"double"},"teamKey":{"type":"string","description":"Normalized on write — the form `targeting.homeTeam`/`awayTeam` carries, e.g. \"redsox\"."},"displayName":{"type":"string","description":"The name readers see.","minLength":1},"abbreviation":{"type":"string","nullable":true},"fallbackLogoUrl":{"type":"string","nullable":true,"description":"Stored, never constructed — see the registry table's doc comment."},"fallbackSource":{"type":"string","nullable":true},"primaryColor":{"type":"string","nullable":true},"secondaryColor":{"type":"string","nullable":true},"aliases":{"items":{"type":"string"},"type":"array","description":"Other spellings seen in the wild (\"red sox\", \"bosox\"): kept as entered and trimmed, repeats that differ only in case\nor punctuation dropped; matched case- and punctuation-insensitively.","maxItems":20}},"required":["leagueId","teamKey","displayName"],"type":"object","additionalProperties":false},"UnmappedTeamKeyViewModel":{"description":"A key seen on real broadcasts that resolves to nothing — the ops worklist.","properties":{"teamKey":{"type":"string"},"broadcastCount":{"type":"number","format":"double","description":"How many broadcasts in the scanned window carry it — the priority signal."},"sampleBroadcastTitle":{"type":"string","description":"A recent example, so an admin can see the context before mapping it."},"mostRecentGameStart":{"type":"string"}},"required":["teamKey","broadcastCount","sampleBroadcastTitle","mostRecentGameStart"],"type":"object","additionalProperties":false},"UpdateTeamsAssetRequest":{"properties":{"displayName":{"type":"string","nullable":true,"description":"The admin's name. On a registry row (`sportEntityId` set) null returns the row to the provider's name; a crest\nrow keeps a name of its own (400 on null). The colours, `aliases` and `isActive` are admin-owned everywhere;\n`fallbackLogoUrl`/`fallbackSource` are the sync's on a registry row, the seed's on an `espn`-sourced crest row.","minLength":1},"abbreviation":{"type":"string","nullable":true},"fallbackLogoUrl":{"type":"string","nullable":true},"fallbackSource":{"type":"string","nullable":true},"primaryColor":{"type":"string","nullable":true},"secondaryColor":{"type":"string","nullable":true},"aliases":{"items":{"type":"string"},"type":"array","description":"Replaces the list; see `CreateTeamsAssetRequest.aliases`.","maxItems":20},"isActive":{"type":"boolean"}},"type":"object","additionalProperties":false},"UploadTeamsAssetLogoRequest":{"description":"`alt` is deliberately part of THIS request rather than the shared `FileUploadRequest`:\nno existing upload path accepts a caller-supplied alt (it is derived from the filename),\nand widening the shared model would change every one of them.","properties":{"file":{"type":"string","description":"Base64 encoded file."},"fileName":{"type":"string","description":"File name. Must contain extension."},"alt":{"type":"string"}},"required":["file","fileName","alt"],"type":"object","additionalProperties":false},"LeagueSubscriptionScope":{"enum":["per_league","per_team"],"type":"string"},"SeasonDate":{"properties":{"day":{"type":"number","format":"double"},"month":{"type":"number","format":"double"}},"required":["day","month"],"type":"object","additionalProperties":false},"LeagueSeason":{"properties":{"from":{"$ref":"#/components/schemas/SeasonDate"},"to":{"$ref":"#/components/schemas/SeasonDate"},"mid":{"$ref":"#/components/schemas/SeasonDate"}},"required":["from","to","mid"],"type":"object","additionalProperties":false},"LeagueSeedState":{"description":"Outcome of the last ESPN seed for ONE league, stamped on `leagues.lastSeed`.","enum":["pending","seeded","partial","failed"],"type":"string"},"TeamsAssetsSeedTeamStats":{"description":"The per-team counters — what one league's run produces.","properties":{"espnTeamsCount":{"type":"number","format":"double"},"createdCount":{"type":"number","format":"double"},"updatedCount":{"type":"number","format":"double"},"adoptedCount":{"type":"number","format":"double","description":"Pre-existing rows (seed script / admin) that the walk claimed by stamping `espnUid`."},"skippedCount":{"type":"number","format":"double","description":"ESPN teams whose nickname normalized to nothing usable."}},"required":["espnTeamsCount","createdCount","updatedCount","adoptedCount","skippedCount"],"type":"object","additionalProperties":false},"LeagueSeedStatus":{"description":"`leagues.lastSeed` — how the most recent seed of this one league went.","properties":{"at":{"type":"string"},"status":{"$ref":"#/components/schemas/LeagueSeedState"},"stats":{"allOf":[{"$ref":"#/components/schemas/TeamsAssetsSeedTeamStats"}],"nullable":true},"error":{"type":"string","nullable":true}},"required":["at","status"],"type":"object","additionalProperties":false},"TeamViewModel":{"properties":{"id":{"type":"number","format":"double"},"name":{"type":"string"},"leagueId":{"type":"number","format":"double"},"creatorId":{"type":"string"},"shortCode":{"type":"string"},"isActive":{"type":"boolean"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry team this commerce team sells (its registry id); null when not linked."},"league":{"$ref":"#/components/schemas/LeagueViewModel"},"regions":{"items":{"$ref":"#/components/schemas/RegionViewModel"},"type":"array"}},"required":["id","name","leagueId","creatorId","shortCode","isActive"],"type":"object","additionalProperties":false},"LeagueViewModel":{"properties":{"id":{"type":"number","format":"double"},"name":{"type":"string"},"shortCode":{"type":"string"},"subscriptionScope":{"$ref":"#/components/schemas/LeagueSubscriptionScope"},"season":{"$ref":"#/components/schemas/LeagueSeason"},"isActive":{"type":"boolean"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry league this commerce league sells (its registry id); null when not linked."},"espnUid":{"type":"string","nullable":true,"deprecated":true},"lastSeed":{"allOf":[{"$ref":"#/components/schemas/LeagueSeedStatus"}],"nullable":true,"description":"How the last ESPN team seed for this league went; null = never seeded."},"teams":{"items":{"$ref":"#/components/schemas/TeamViewModel"},"type":"array"}},"required":["id","name","shortCode","subscriptionScope","season","isActive"],"type":"object","additionalProperties":false},"CreateTeamRequest":{"properties":{"name":{"type":"string"},"leagueId":{"type":"number","format":"double"},"creatorId":{"type":"string"},"shortCode":{"type":"string","description":"Lowercase alphanumeric, no underscores — used in underscore-delimited SKUs/lookupKeys.","pattern":"^[a-z0-9]+$"},"regionIds":{"items":{"type":"number","format":"double"},"type":"array"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry team this commerce team sells (its registry id, from the catalog or\n`GET /admin/sports-registry/entities/{id}`); one commerce team per registry team.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},"required":["name","leagueId","creatorId","shortCode","regionIds"],"type":"object","additionalProperties":false},"UpdateTeamRequest":{"properties":{"name":{"type":"string"},"isActive":{"type":"boolean"},"regionIds":{"items":{"type":"number","format":"double"},"type":"array"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry team this commerce team sells (its registry id); `null` unlinks it.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"}},"type":"object","additionalProperties":false},"PaginatedList_TeamViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TeamViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"SubscribersScopeViewModel":{"description":"What the roster was actually scoped to, echoed back so the admin UI can tell an empty page caused\nby \"this partner has no products\" apart from one caused by \"these products have no subscribers\".","properties":{"creatorIds":{"items":{"type":"string"},"type":"array"},"productIds":{"items":{"type":"number","format":"double"},"type":"array"}},"required":["creatorIds","productIds"],"type":"object","additionalProperties":false},"SubscriberViewModel":{"description":"One row of the admin subscriber roster: a PERSON × PRODUCT pair. Every field below describes that\none product, which is the whole point of the shape — folding a person's entire portfolio into a\nsingle row turns `state` and `accessUntil` into a set nobody can act on (\"active + expired\" —\nwhich product?). Repeat purchases of the SAME product still fold into this row.\n\nAdmin-tier only: it carries an email, so it must never be reused for the partner surface, whose\nview models are PII-free whitelists.\n\nA row identifies a person by uid and email and stops there — no display name, handle or avatar,\nwhich is what keeps this endpoint a pure Cloud SQL read. The console links a uid to\n`/admin/users/{userId}` for the profile; a phone-only account (no email) is the one row that\nneeds that hop to be recognised.","properties":{"userId":{"type":"string"},"email":{"type":"string","nullable":true,"description":"From the Cloud SQL mirror; null for phone-only signups and not-yet-backfilled accounts."},"isDeleted":{"type":"boolean","description":"The Firestore profile was hard-deleted; the SQL row survives because payments reference it."},"productId":{"type":"number","format":"double"},"productCode":{"type":"string","description":"SKU, inline so the table renders without also fetching the products endpoint."},"productSource":{"type":"string","description":"Which rail it sells on — free and paid share a SKU, so this is what separates $0 from paying.\nA `ProductSource` value, typed as a plain string so a rail added later can't break the FE build."},"subscriptionsCount":{"type":"number","format":"double","description":"Purchases of THIS product by this person inside the selection (`state` and date filters)."},"hasAccess":{"type":"boolean","description":"Can they watch this product right now — i.e. some subscription of theirs is in an access state\n(`active`, `under_cancellation`, `replay_tail`). The only trustworthy access signal on the row:\n`accessUntil` can sit in the future on an expired subscription.\n\nAnswers about the PERSON, not about the rows you asked for: filtering `state=expired` returns\ntheir expired purchases, and this still reports true if they re-subscribed and can watch today."},"latestState":{"$ref":"#/components/schemas/SubscriptionState","description":"State of their most recent purchase IN THE SELECTION — the \"why\" behind an expired-looking row.\nRaw column: `replay_tail` shows as itself here."},"hasComp":{"type":"boolean","description":"True when any of those purchases came from a comp code rather than a payment."},"accessUntil":{"type":"string","nullable":true,"description":"Furthest period end for THIS product — \"entitled until\", already past for a lapsed row.\nLike `hasAccess`, a fact about the pair: neither the window nor the `state` filter narrows it."},"firstSubscribedAt":{"type":"string","description":"Their FIRST purchase of this product, whatever the query narrowed to — that is what makes a row\nin an \"Aug 1-4\" report readable as a new customer or a returning one. Restricting it to the\nwindow would just restate `subscribedFrom`."},"lastSubscribedAt":{"type":"string","description":"Most recent purchase INSIDE the selection (or ever, absent filters); the roster's sort key."}},"required":["userId","email","isDeleted","productId","productCode","productSource","subscriptionsCount","hasAccess","latestState","hasComp","accessUntil","firstSubscribedAt","lastSubscribedAt"],"type":"object","additionalProperties":false},"SubscribersPageViewModel":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/SubscriberViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"},"subscribersTotal":{"type":"number","format":"double","description":"Distinct PEOPLE in the scope — \"how many subscribers does this partner have\". Lower than\n`pagination.total` (which counts person×product rows) as soon as anyone holds two products."},"subscriptionsTotal":{"type":"number","format":"double","description":"Subscriptions in the scope — \"how many were taken out between the 1st and the 4th\". Higher than\nboth of the above whenever anyone bought the same product more than once."},"scope":{"$ref":"#/components/schemas/SubscribersScopeViewModel"}},"required":["documents","pagination","subscribersTotal","subscriptionsTotal","scope"],"type":"object","additionalProperties":false},"SubscriberStateFilter":{"type":"string","enum":["init","active","under_cancellation","replay_tail","past_due","expired"],"description":"The states a caller may filter BY — a subset of `SubscriptionState`, not the whole enum.\n`refunded` and `paused` are left out because neither is a state the roster is asked about: the\nplatform has no pause flow, and a refund is a payments question answered against payments.\n\nThis narrows the QUESTION, not the data: with no `state` given the roster still counts every\nstate, refunded and paused included, so the totals continue to describe the whole scope."},"SubscriberPurchaseTypeFilter":{"type":"string","enum":["paid","comp"],"description":"How a subscription was obtained: `paid` went through checkout, `comp` was redeemed from a comp\ncode. Absent counts both. Not to be confused with `productSource` (the store), which answers\nwhere it was bought rather than whether it was bought.\n\nLike `state`, this selects PURCHASES rather than people, so the two slices **overlap instead of\npartitioning**: someone who paid once and later redeemed a comp for the same product answers to\nboth values. On staging that is 7 of 180 person-product pairs."},"SubscribersListQueryParams":{"properties":{"partnerSlug":{"type":"string","description":"Resolves through the partner's `commerceCreator` bindings to its creators, then their products."},"creatorId":{"type":"string"},"productIds":{"items":{"type":"number","format":"double"},"type":"array","description":"Must be a subset of what the partner/creator scope owns; anything else is refused."},"interval":{"$ref":"#/components/schemas/ProductInterval","description":"Narrows silently — SKUs of the other interval drop out of the counted scope."},"productSource":{"$ref":"#/components/schemas/ProductSource","description":"Which rail the product sells on — `stripe` for paid, `free` for zero-cost. Narrows silently like\n`interval`; free subscribers are counted by default. Worth having because a free product and its\npaid counterpart SHARE a SKU, so `productCode` alone can't tell them apart."},"state":{"items":{"$ref":"#/components/schemas/SubscriberStateFilter"},"type":"array","description":"Repeatable. Absent = every state counted, including the two that can't be asked for."},"purchaseType":{"$ref":"#/components/schemas/SubscriberPurchaseTypeFilter","description":"Paid checkout vs comp-code redemption; absent counts both. Filters PURCHASES, so a pair holding\nboth kinds survives either value — unlike the row's `hasComp`, which asks whether the pair\ncontains any comp at all."},"minProducts":{"type":"integer","format":"int32","description":"Keep only people holding at least this many of the selected products — `2` is \"show me whoever\nended up with more than one subscription here\". Counts DISTINCT products within the current\nselection, so the other filters apply first; needs at least that many products in scope, or the\nrequest is refused rather than answering an empty page for a structural reason.\n\nCounts PRODUCTS, not teams. A free product and its paid counterpart are two products sharing one\nSKU, so a fan who both bought the pass and claimed the free tier for the SAME team satisfies\n`2` — which is what you want when hunting duplicate purchases, and not what you want when reading\nthe number as \"follows two teams\". Narrow with `productSource` to ask the second question.","minimum":2},"email":{"type":"string","description":"Case-insensitive substring of the subscriber's email — the search box of the roster. Matches\nthe mirrored address in Cloud SQL, so phone-only accounts (no address) never match. For\ndiagnosing one person's access, `GET /admin/subscriber-access/check?email=` answers a fuller\nquestion; this one just finds them inside the current scope."},"showDeleted":{"type":"boolean","description":"Include subscribers whose account was hard-deleted. Default **false**: their subscriptions\nsurvive (payments reference them), but \"who is subscribed here\" normally means live accounts,\nand the totals follow the same rule. Rows carry `isDeleted`, so the deleted ones are\nidentifiable once shown."},"subscribedFrom":{"type":"string","format":"date-time","description":"Purchase window over the subscription's creation instant, half-open (`from <= createdAt < to`),\nso the client owns the timezone and no last day is lost."},"subscribedTo":{"type":"string","format":"date-time"},"offset":{"type":"integer","format":"int32","minimum":0},"limit":{"type":"integer","format":"int32","description":"Page size, default 20. Capped because every row carries an email — the roster is a read surface.\nUse the CSV export when the whole selection is wanted rather than a page.","minimum":1,"maximum":100}},"type":"object","additionalProperties":false},"SubscribersFilterQueryParams":{"description":"What the roster counts. Shared by the paged list and the CSV export, which differ only in shape.","properties":{"partnerSlug":{"type":"string","description":"Resolves through the partner's `commerceCreator` bindings to its creators, then their products."},"creatorId":{"type":"string"},"productIds":{"items":{"type":"number","format":"double"},"type":"array","description":"Must be a subset of what the partner/creator scope owns; anything else is refused."},"interval":{"$ref":"#/components/schemas/ProductInterval","description":"Narrows silently — SKUs of the other interval drop out of the counted scope."},"productSource":{"$ref":"#/components/schemas/ProductSource","description":"Which rail the product sells on — `stripe` for paid, `free` for zero-cost. Narrows silently like\n`interval`; free subscribers are counted by default. Worth having because a free product and its\npaid counterpart SHARE a SKU, so `productCode` alone can't tell them apart."},"state":{"items":{"$ref":"#/components/schemas/SubscriberStateFilter"},"type":"array","description":"Repeatable. Absent = every state counted, including the two that can't be asked for."},"purchaseType":{"$ref":"#/components/schemas/SubscriberPurchaseTypeFilter","description":"Paid checkout vs comp-code redemption; absent counts both. Filters PURCHASES, so a pair holding\nboth kinds survives either value — unlike the row's `hasComp`, which asks whether the pair\ncontains any comp at all."},"minProducts":{"type":"integer","format":"int32","description":"Keep only people holding at least this many of the selected products — `2` is \"show me whoever\nended up with more than one subscription here\". Counts DISTINCT products within the current\nselection, so the other filters apply first; needs at least that many products in scope, or the\nrequest is refused rather than answering an empty page for a structural reason.\n\nCounts PRODUCTS, not teams. A free product and its paid counterpart are two products sharing one\nSKU, so a fan who both bought the pass and claimed the free tier for the SAME team satisfies\n`2` — which is what you want when hunting duplicate purchases, and not what you want when reading\nthe number as \"follows two teams\". Narrow with `productSource` to ask the second question.","minimum":2},"email":{"type":"string","description":"Case-insensitive substring of the subscriber's email — the search box of the roster. Matches\nthe mirrored address in Cloud SQL, so phone-only accounts (no address) never match. For\ndiagnosing one person's access, `GET /admin/subscriber-access/check?email=` answers a fuller\nquestion; this one just finds them inside the current scope."},"showDeleted":{"type":"boolean","description":"Include subscribers whose account was hard-deleted. Default **false**: their subscriptions\nsurvive (payments reference them), but \"who is subscribed here\" normally means live accounts,\nand the totals follow the same rule. Rows carry `isDeleted`, so the deleted ones are\nidentifiable once shown."},"subscribedFrom":{"type":"string","format":"date-time","description":"Purchase window over the subscription's creation instant, half-open (`from <= createdAt < to`),\nso the client owns the timezone and no last day is lost."},"subscribedTo":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"IngestSubscriberClaimsResponse":{"description":"Outcome summary of the Rangers `(email, code)` CSV ingest.","properties":{"requested":{"type":"number","format":"double"},"linked":{"type":"number","format":"double"},"alreadyLinked":{"type":"number","format":"double"},"unknownCodes":{"items":{"type":"string"},"type":"array"},"codeDuplicates":{"items":{"type":"string"},"type":"array","description":"Emails whose code was already claimed by someone else — either repeated on an earlier row of this\nfile, or linked to a different email by an earlier ingest. Their claims were NOT created (one code\ncan only be handed to one person): re-issue a fresh code for these through support."},"emailDuplicates":{"items":{"type":"string"},"type":"array","description":"Emails listed more than once in this file with DIFFERENT codes. The first pairing was used and the\nrest ignored — a claim holds one code — so these people did get a code, just not every code the\nfile offered them. Worth a look: it usually means the file was assembled from two sources.\n\nNOT disjoint from `codeDuplicates`: an email can be listed twice AND have its winning code already\ntaken. Count distinct across both arrays rather than summing their lengths."}},"required":["requested","linked","alreadyLinked","unknownCodes","codeDuplicates","emailDuplicates"],"type":"object","additionalProperties":false},"EmailCodePair":{"description":"One Rangers `(email, code)` row for the pre-create ingest.","properties":{"email":{"type":"string"},"code":{"type":"string"}},"required":["email","code"],"type":"object","additionalProperties":false},"IngestSubscriberClaimsRequest":{"description":"Admin ingest of a Rangers `(email, code)` CSV — pre-creates a claim per pair.","properties":{"partner":{"$ref":"#/components/schemas/ClaimPartner"},"pairs":{"items":{"$ref":"#/components/schemas/EmailCodePair"},"type":"array"}},"required":["partner","pairs"],"type":"object","additionalProperties":false},"ClaimCodeSource":{"enum":["pre-issued","auto","admin"],"type":"string"},"AdminSubscriberClaimViewModel":{"description":"Full admin view of a claim — the queue list + detail. The receipt image is never stored.","properties":{"id":{"type":"string"},"email":{"type":"string"},"partner":{"type":"string"},"subscriptionType":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true,"description":"Null while the interval is unresolved (a fresh manual claim awaiting its receipt)."},"status":{"$ref":"#/components/schemas/SubscriberClaimStatus"},"codeSource":{"allOf":[{"$ref":"#/components/schemas/ClaimCodeSource"}],"nullable":true},"emailOnList":{"type":"boolean"},"receiptAmount":{"type":"string","nullable":true},"receiptDate":{"type":"string","nullable":true},"needsAdminReview":{"type":"boolean"},"accountId":{"type":"string","nullable":true},"adminNotes":{"items":{"type":"string"},"type":"array"},"code":{"type":"string","nullable":true,"description":"The linked comp-code string, once issued (read off the relation)."},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","email","partner","subscriptionType","status","codeSource","emailOnList","receiptAmount","receiptDate","needsAdminReview","accountId","adminNotes","code","createdAt","updatedAt"],"type":"object","additionalProperties":false},"PaginatedList_AdminSubscriberClaimViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/AdminSubscriberClaimViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"ApproveSubscriberClaimRequest":{"description":"Admin approve action. `subscriptionType` is a manual fallback used ONLY when the claim has no\ninterval yet (receipt extraction failed → it landed in admin review with a null interval); when the\nclaim already has an interval (resolved from the receipt), this field is ignored. Omit it for the\nnormal case where the receipt already resolved the tier.","properties":{"subscriptionType":{"$ref":"#/components/schemas/ProductInterval"}},"type":"object","additionalProperties":false},"SubscriberClaimActionRequest":{"description":"Admin deny / email action — an optional note appended to the claim's audit trail.","properties":{"note":{"type":"string"}},"type":"object","additionalProperties":false},"AccessDiagnosis":{"description":"Verdict of an access check. Closed set of the failure modes observed during the Victory+\nmigration — each one maps to a distinct support action (see `RECOMMENDED_ACTION`).","enum":["has_access","no_bzzr_account","not_on_list","subscription_lapsed","not_redeemed","claim_awaiting_receipt","claim_awaiting_admin_review","claim_denied","code_expired","code_revoked","no_account_and_code_taken","payment_past_due","subscription_inactive","redeemed_by_deleted_account","redeemed_by_other_account","paying_despite_entitlement"],"type":"string"},"AccessCheckAccountViewModel":{"description":"The Firebase account behind the looked-up email/uid. `exists: false` ⇒ deleted or never created.","properties":{"uid":{"type":"string","nullable":true},"email":{"type":"string","nullable":true},"exists":{"type":"boolean"},"createdAt":{"type":"string","nullable":true},"lastSignInAt":{"type":"string","nullable":true}},"required":["uid","email","exists","createdAt","lastSignInAt"],"type":"object","additionalProperties":false},"AccessCheckSubscriptionViewModel":{"description":"One subscription row, flattened to what support needs to judge access.","properties":{"id":{"type":"string"},"state":{"type":"string"},"interval":{"type":"string","nullable":true},"productName":{"type":"string","nullable":true},"compCode":{"type":"string","nullable":true},"currentPeriodEnd":{"type":"string","nullable":true},"isComp":{"type":"boolean","description":"Granted by a comp code (free) rather than bought."},"paidAmountCents":{"type":"number","format":"double","description":"Money actually collected, in cents. Deliberately ignores $0 rows: activating a 100% comp writes\na succeeded $0 invoice, and counting those reads a free pass as a paying customer."}},"required":["id","state","interval","productName","compCode","currentPeriodEnd","isComp","paidAmountCents"],"type":"object","additionalProperties":false},"AccessCheckClaimViewModel":{"properties":{"id":{"type":"string"},"email":{"type":"string"},"status":{"type":"string"},"codeSource":{"type":"string","nullable":true},"subscriptionType":{"type":"string","nullable":true},"code":{"type":"string","nullable":true},"codeStatus":{"type":"string","nullable":true,"description":"Lifecycle of that code (`new` / `redeemed` / `expired` / `revoked`). Reported even when the\nheadline verdict is about something else, so a dead code is never invisible."},"codeExpiresAt":{"type":"string","nullable":true},"isCodeExpired":{"type":"boolean","description":"True once the code is unusable — expired status, or a `new` code already past its expiry."},"isCodeSendable":{"type":"boolean","description":"Safe to hand to the fan: still unredeemed AND neither expired nor revoked. Drives the admin\n\"send this code to the subscriber\" prompt — showing that for a dead code sends them nowhere."},"accountId":{"type":"string","nullable":true,"description":"The account the claim believes redeemed it — diverges from `account.uid` in the conflict cases."}},"required":["id","email","status","codeSource","subscriptionType","code","codeStatus","codeExpiresAt","isCodeExpired","isCodeSendable","accountId"],"type":"object","additionalProperties":false},"AccessCheckRedeemerViewModel":{"description":"Who actually consumed the claim's code, and whether that account still exists.","properties":{"uid":{"type":"string"},"exists":{"type":"boolean"},"email":{"type":"string","nullable":true},"isTargetAccount":{"type":"boolean","description":"True when the redeemer is the same account we're checking — the healthy case."},"redeemedAt":{"type":"string","nullable":true}},"required":["uid","exists","email","isTargetAccount","redeemedAt"],"type":"object","additionalProperties":false},"AccessCheckViewModel":{"properties":{"diagnosis":{"$ref":"#/components/schemas/AccessDiagnosis"},"hasAccess":{"type":"boolean","description":"Active subscription AND at least one active entitlement — the single source of truth for access."},"recommendedAction":{"type":"string"},"isReissuable":{"type":"boolean","description":"True when `reissueAccess` accepts this verdict; the admin UI gates its button on this."},"account":{"$ref":"#/components/schemas/AccessCheckAccountViewModel"},"subscriptions":{"items":{"$ref":"#/components/schemas/AccessCheckSubscriptionViewModel"},"type":"array"},"activeEntitlementIds":{"items":{"type":"string"},"type":"array"},"claim":{"allOf":[{"$ref":"#/components/schemas/AccessCheckClaimViewModel"}],"nullable":true},"redeemer":{"allOf":[{"$ref":"#/components/schemas/AccessCheckRedeemerViewModel"}],"nullable":true}},"required":["diagnosis","hasAccess","recommendedAction","isReissuable","account","subscriptions","activeEntitlementIds","claim","redeemer"],"type":"object","additionalProperties":false},"ReissueAccessViewModel":{"properties":{"diagnosisBefore":{"$ref":"#/components/schemas/AccessDiagnosis","description":"Verdict that justified the reissue — recorded so the response is self-explaining in logs."},"targetUid":{"type":"string"},"issuedCode":{"type":"string","description":"The freshly minted code that was redeemed on the fan's behalf."},"subscriptionId":{"type":"string"},"claimId":{"type":"string","nullable":true}},"required":["diagnosisBefore","targetUid","issuedCode","subscriptionId","claimId"],"type":"object","additionalProperties":false},"ReissueAccessRequest":{"description":"Reissue target — exactly one of `email` / `uid` must be supplied (email is resolved to the\naccount that currently owns it). `reason` is mandatory: this endpoint grants a paid entitlement,\nso every call must carry a human justification into the audit trail.","properties":{"email":{"type":"string"},"uid":{"type":"string"},"reason":{"type":"string","description":"Free-text justification (ticket id / short explanation) appended to the claim's admin notes."}},"required":["reason"],"type":"object","additionalProperties":false},"StadiumAudioSessionStatus":{"type":"string","enum":["scheduled","provisioning","ready","live","ended","cancelled","failed"]},"StadiumAudioSessionPipelineViewModel":{"properties":{"status":{"$ref":"#/components/schemas/StadiumAudioStatus"},"stageArn":{"type":"string"},"provisionedAt":{"type":"string"},"whipTokenExpiresAt":{"type":"string"},"lastPolledAt":{"type":"string","nullable":true,"description":"Last time the venue publisher polled for credentials — process liveness, not audio flow."},"notStreamingSince":{"type":"string","nullable":true,"description":"Set while the watchdog sees nobody publishing; cleared when audio resumes."},"endedAt":{"type":"string","nullable":true},"lastError":{"type":"string","nullable":true}},"required":["status","stageArn","provisionedAt","whipTokenExpiresAt"],"type":"object","additionalProperties":false},"StadiumAudioSessionViewModel":{"properties":{"id":{"type":"string"},"liveSourceId":{"type":"string"},"ownerId":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"startsAt":{"type":"string"},"endsAt":{"type":"string"},"status":{"$ref":"#/components/schemas/StadiumAudioSessionStatus"},"pipeline":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioSessionPipelineViewModel"}],"nullable":true},"provisionAttempts":{"type":"number","format":"double"},"lastError":{"type":"string","nullable":true},"startedAt":{"type":"string","nullable":true},"endedAt":{"type":"string","nullable":true},"createdBy":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","liveSourceId","ownerId","title","description","startsAt","endsAt","status","pipeline","provisionAttempts","lastError","startedAt","endedAt","createdBy","createdAt","updatedAt"],"type":"object","additionalProperties":false},"CreateStadiumAudioSessionRequest":{"properties":{"liveSourceId":{"type":"string","description":"The venue. Must have stadium audio enabled and a venue-radius audio geo policy."},"title":{"type":"string","description":"Defaults to the live source's name."},"description":{"type":"string"},"startsAt":{"type":"string","description":"ISO-8601 with an explicit offset. May be in the past or \"now\": a session whose provisioning\nwindow has already opened is provisioned immediately, in the request."},"endsAt":{"type":"string","description":"ISO-8601 with an explicit offset. After `startsAt` and in the future."}},"required":["liveSourceId","startsAt","endsAt"],"type":"object","additionalProperties":false},"StadiumAudioSessionsListViewModel":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/StadiumAudioSessionViewModel"},"type":"array"}},"required":["documents"],"type":"object","additionalProperties":false},"UpdateStadiumAudioSessionRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"startsAt":{"type":"string","description":"Only while the session has not gone `live`."},"endsAt":{"type":"string","description":"Any time before the session is ended — this is how a running session is extended."}},"type":"object","additionalProperties":false},"StadiumAudioBroadcasterConfigViewModel":{"description":"Returned by `GET /admin/lives/{liveId}/stadium-audio/broadcaster-config`.\nAdmin copies these values to the broadcaster (Audacy) developer who\nconfigures their WHIP-capable encoder. Token is sensitive — admin-only.","properties":{"whipEndpoint":{"type":"string"},"token":{"type":"string"},"expiresAt":{"type":"string"},"stageArn":{"type":"string"},"listener":{"$ref":"#/components/schemas/StadiumAudioListenerCredentialsViewModel"}},"required":["whipEndpoint","token","expiresAt","stageArn","listener"],"type":"object","additionalProperties":false},"StadiumAudioSessionStats":{"description":"The passport of one stadium-audio session, at\n`liveSources/{liveSourceId}/audioSessions/{sessionId}/stats/summary`.\n\nDeliberately NOT a `LiveStats`: a session has no video, so the video half of that document\n(concurrency, egress, cost, ad funnel, CloudFront QoE) would be a page of zeroes claiming to be\nmeasurements. What it carries is the SAME `audio` block the per-live passport carries, built by\nthe same code — so anything that reads audio numbers reads one shape everywhere.\n\nLike `LiveStats`, it is an accumulator that FREEZES: `isLive: false` is final and only an\nexplicit recompute rebuilds it. `audio.isMetricsReporting` separates \"nobody listened\" from\n\"nobody measured\" — read it before any figure.","properties":{"sessionId":{"type":"string"},"liveSourceId":{"type":"string"},"title":{"type":"string","description":"Snapshot of the session title, so a passport reads on its own."},"isLive":{"type":"boolean","description":"False once the session has ended and the passport is frozen."},"startedAt":{"type":"string","nullable":true},"endedAt":{"type":"string","nullable":true},"asOf":{"type":"string","description":"Last time the block was measured."},"audio":{"$ref":"#/components/schemas/LiveStatsAudio"}},"required":["sessionId","liveSourceId","title","isLive","startedAt","endedAt","asOf","audio"],"type":"object","additionalProperties":false},"SportsRegistrySourceViewModel":{"description":"The active provider's view of an entity.","properties":{"provider":{"type":"string"},"externalId":{"type":"string"},"activeAtProvider":{"type":"boolean","description":"False when the provider marks it inactive, or after `MISSES_BEFORE_DEACTIVATION` counted misses."},"missedRuns":{"type":"number","format":"double"},"lastSeenAt":{"type":"string","nullable":true}},"required":["provider","externalId","activeAtProvider","missedRuns"],"type":"object","additionalProperties":false},"SportLeagueSettingsViewModel":{"properties":{"rootGroupIds":{"items":{"type":"string"},"type":"array"},"wikiArticleSuffix":{"type":"string"}},"required":["rootGroupIds","wikiArticleSuffix"],"type":"object","additionalProperties":false},"SportsRegistryLeagueViewModel":{"description":"A league on the console's list, with its sport's name; its tree is `GET leagues/{id}/members`.","properties":{"id":{"type":"string","description":"The registry id: what `/admin/sports-registry/*` takes."},"catalogId":{"type":"string","description":"The id clients and the catalog endpoints use: the profile id when the entity has one, else the registry id."},"type":{"$ref":"#/components/schemas/CatalogEntityType"},"status":{"type":"string","description":"`discovered`, `active`, `hidden` or `retired`."},"name":{"type":"string"},"shortName":{"type":"string"},"abbreviation":{"type":"string","nullable":true},"slug":{"type":"string","nullable":true},"tagSlug":{"type":"string","description":"The slug content is tagged with (docs/content-entity-tags.md)."},"sortOrder":{"type":"number","format":"double","nullable":true},"parentId":{"type":"string","nullable":true},"leagueId":{"type":"string","nullable":true},"sportId":{"type":"string","nullable":true},"profileId":{"type":"string","nullable":true},"teamsAssetId":{"type":"string","nullable":true,"description":"The `teams_assets` row the entity's names, logos and colours are edited on (`/admin/teams-assets/{id}`)."},"source":{"allOf":[{"$ref":"#/components/schemas/SportsRegistrySourceViewModel"}],"nullable":true},"leagueSettings":{"allOf":[{"$ref":"#/components/schemas/SportLeagueSettingsViewModel"}],"nullable":true},"isFeatured":{"type":"boolean","description":"Sports: shown in the \"popular\" section of the sports picker."},"lastSyncAt":{"type":"string","nullable":true,"description":"Leagues: the last completed deep sync, and the error of the last one that did not complete."},"lastSyncError":{"type":"string","nullable":true},"statusUpdatedAt":{"type":"string","nullable":true},"statusUpdatedBy":{"type":"string","nullable":true},"updatedAt":{"type":"string"},"sportName":{"type":"string","nullable":true}},"required":["id","catalogId","type","status","name","shortName","isFeatured","updatedAt"],"type":"object","additionalProperties":false},"PaginatedList_SportsRegistryLeagueViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/SportsRegistryLeagueViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"SportsRegistryEntityViewModel":{"description":"One registry entity as the console shows it.","properties":{"id":{"type":"string","description":"The registry id: what `/admin/sports-registry/*` takes."},"catalogId":{"type":"string","description":"The id clients and the catalog endpoints use: the profile id when the entity has one, else the registry id."},"type":{"$ref":"#/components/schemas/CatalogEntityType"},"status":{"type":"string","description":"`discovered`, `active`, `hidden` or `retired`."},"name":{"type":"string"},"shortName":{"type":"string"},"abbreviation":{"type":"string","nullable":true},"slug":{"type":"string","nullable":true},"tagSlug":{"type":"string","description":"The slug content is tagged with (docs/content-entity-tags.md)."},"sortOrder":{"type":"number","format":"double","nullable":true},"parentId":{"type":"string","nullable":true},"leagueId":{"type":"string","nullable":true},"sportId":{"type":"string","nullable":true},"profileId":{"type":"string","nullable":true},"teamsAssetId":{"type":"string","nullable":true,"description":"The `teams_assets` row the entity's names, logos and colours are edited on (`/admin/teams-assets/{id}`)."},"source":{"allOf":[{"$ref":"#/components/schemas/SportsRegistrySourceViewModel"}],"nullable":true},"leagueSettings":{"allOf":[{"$ref":"#/components/schemas/SportLeagueSettingsViewModel"}],"nullable":true},"isFeatured":{"type":"boolean","description":"Sports: shown in the \"popular\" section of the sports picker."},"lastSyncAt":{"type":"string","nullable":true,"description":"Leagues: the last completed deep sync, and the error of the last one that did not complete."},"lastSyncError":{"type":"string","nullable":true},"statusUpdatedAt":{"type":"string","nullable":true},"statusUpdatedBy":{"type":"string","nullable":true},"updatedAt":{"type":"string"}},"required":["id","catalogId","type","status","name","shortName","isFeatured","updatedAt"],"type":"object","additionalProperties":false},"SportsRegistryEntityUpdateViewModel":{"description":"What a creation, an edit or a sync request answers.","properties":{"entity":{"$ref":"#/components/schemas/SportsRegistryEntityViewModel"},"syncTaskName":{"type":"string","nullable":true,"description":"The sync task the change enqueued, when it did; `null` when none was needed, or one is already queued this hour."},"warning":{"type":"string","nullable":true,"description":"A step after the committed write that failed (the profile, the sync's enqueue, the dictionary's rebuild): the row is\nwritten; repeat it."}},"required":["entity","syncTaskName","warning"],"type":"object","additionalProperties":false},"CreateSportsRegistryEntityRequest":{"description":"`POST /admin/sports-registry/entities`: an entity no provider lists, made by hand (a league the provider does not\ncarry, its teams; docs/sports-registry.md, \"Manual entities\").","properties":{"type":{"type":"string","description":"`sport`, `league`, `conference`, `division` or `team`.","pattern":"^(sport|league|conference|division|team)$"},"parentId":{"type":"string","nullable":true,"description":"The registry id of the row above: a sport for a league, a league for a conference or a team, a conference for a\ndivision or a team, a division for a team; none for a sport.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},"name":{"type":"string","description":"The name users see; the descriptive row's `displayName`.","minLength":1,"maxLength":120},"abbreviation":{"type":"string","nullable":true,"maxLength":10},"status":{"type":"string","description":"`active` or `hidden`; `active` by default for a sport, a league or a team, `hidden` for a conference or a division.","pattern":"^(active|hidden)$"}},"required":["type","name"],"type":"object","additionalProperties":false},"SportLeagueSettingsRequest":{"properties":{"rootGroupIds":{"items":{"type":"string"},"type":"array","description":"The provider's groups whose children are the conferences to keep (ESPN college football: \"80\" and \"81\"). Empty\nmeans the league's own top-level groups.","maxItems":20},"wikiArticleSuffix":{"type":"string","description":"What follows a team's name in its Wikipedia article's title: \"\" for the pros, \" football\" for college football.","maxLength":60}},"required":["rootGroupIds","wikiArticleSuffix"],"type":"object","additionalProperties":false},"UpdateSportsRegistryEntityRequest":{"description":"`PATCH /admin/sports-registry/entities/{id}`: what is sent replaces it; null clears it.","properties":{"status":{"type":"string","description":"`active`, `hidden` or `retired` (docs/sports-registry.md, \"Statuses\"). Activating a league enqueues its sync and\nactivates a `discovered` sport above it; a league's or a sport's status reaches its members' cards, never their rows.","pattern":"^(active|hidden|retired)$"},"leagueSettings":{"allOf":[{"$ref":"#/components/schemas/SportLeagueSettingsRequest"}],"nullable":true,"description":"Leagues: the settings the provider does not give; null clears them."},"sortOrder":{"type":"integer","format":"int32","nullable":true,"description":"Order among the league chips of the picker; null puts the league after the ordered ones.","minimum":0},"isFeatured":{"type":"boolean","description":"Sports: shown in the \"popular\" section of the sports picker."}},"type":"object","additionalProperties":false},"SportDataProviderViewModel":{"description":"A provider the sync can read (`sport_data_providers`); exactly one is active.","properties":{"provider":{"type":"string"},"isActive":{"type":"boolean"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string","nullable":true}},"required":["provider","isActive","updatedAt"],"type":"object","additionalProperties":false},"SportEntityWithSubcollection":{"properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"name":{"type":"string"},"path":{"type":"string"},"collectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"subcollectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"parentPath":{"type":"string","nullable":true},"parentCollectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"breadcrumbs":{"items":{"type":"string"},"type":"array"},"assignedEntityType":{"allOf":[{"$ref":"#/components/schemas/AssignedEntityType"}],"nullable":true},"isFeatured":{"type":"boolean","description":"Kept on the node; the picker reads the registry's flag (`PATCH /admin/sports/featured` writes both).\nAdmin-owned — the ESPN sync never touches it. Absent on docs created\nbefore this field existed (treated as `false`)."},"espnUid":{"type":"string","nullable":true,"description":"ESPN uid join key (e.g. `s:40~l:46`). The weekly ESPN sync matches\nexisting docs by this and updates ESPN-owned fields (`name`).\n`null`/absent = admin-created — invisible to the sync."},"subcollection":{"items":{"$ref":"#/components/schemas/SportEntity"},"type":"array"}},"required":["id","createdAt","name","path","collectionName","subcollectionName","parentPath","parentCollectionName","breadcrumbs","assignedEntityType","subcollection"],"type":"object","additionalProperties":false},"SportEntityAdminViewModel":{"description":"A taxonomy node as `/admin/sports` lists it.","properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"name":{"type":"string"},"path":{"type":"string"},"collectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"subcollectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"parentPath":{"type":"string","nullable":true},"parentCollectionName":{"allOf":[{"$ref":"#/components/schemas/SportCollectionName"}],"nullable":true},"breadcrumbs":{"items":{"type":"string"},"type":"array"},"assignedEntityType":{"allOf":[{"$ref":"#/components/schemas/AssignedEntityType"}],"nullable":true},"isFeatured":{"type":"boolean","description":"Kept on the node; the picker reads the registry's flag (`PATCH /admin/sports/featured` writes both).\nAdmin-owned — the ESPN sync never touches it. Absent on docs created\nbefore this field existed (treated as `false`)."},"espnUid":{"type":"string","nullable":true,"description":"ESPN uid join key (e.g. `s:40~l:46`). The weekly ESPN sync matches\nexisting docs by this and updates ESPN-owned fields (`name`).\n`null`/absent = admin-created — invisible to the sync."},"catalogId":{"type":"string","nullable":true,"description":"The catalog id of the registry entity the node stands for, whatever its status: what the Bleachers admin endpoints\ntake. Null when the registry holds none."}},"required":["id","createdAt","name","path","collectionName","subcollectionName","parentPath","parentCollectionName","breadcrumbs","assignedEntityType","catalogId"],"type":"object","additionalProperties":false},"SportEntityCreateRequest":{"properties":{"name":{"type":"string"},"subcollectionName":{"type":"string","description":"Level label for this node's children (e.g. `Leagues` on a root sport). Case-insensitive; must resolve to a `SportCollectionName`."},"parentPath":{"type":"string"},"assignedEntityType":{"$ref":"#/components/schemas/AssignedEntityType"},"isFeatured":{"type":"boolean","description":"Kept on the node; the picker reads the registry's flag, which `PATCH /admin/sports/featured` writes with this one.\nDefaults to `false`."}},"required":["name"],"type":"object","additionalProperties":false,"example":{"name":"Football","subcollectionName":"Leagues"}},"EnqueueSportsSyncResult":{"properties":{"enqueued":{"type":"boolean","description":"`false` = a run for the current hour bucket is already scheduled or ran — nothing new was enqueued."},"taskName":{"type":"string"}},"required":["enqueued","taskName"],"type":"object","additionalProperties":false},"SportsSyncRunState":{"enum":["enqueued","running","completed","failed"],"type":"string"},"SportsSyncStats":{"properties":{"espnSportsCount":{"type":"number","format":"double"},"espnLeaguesCount":{"type":"number","format":"double"},"createdCount":{"type":"number","format":"double"},"updatedCount":{"type":"number","format":"double"},"adoptedCount":{"type":"number","format":"double"},"skippedConflictCount":{"type":"number","format":"double"}},"required":["espnSportsCount","espnLeaguesCount","createdCount","updatedCount","adoptedCount","skippedConflictCount"],"type":"object","additionalProperties":false},"SportsSyncRunStatus":{"description":"Last-known state of the ESPN catalog sync, persisted as the singleton doc\n`config/sportsSyncStatus`. Transitions: enqueued → running → completed |\nfailed. Stale `running` with an old `startedAt` = the worker died mid-run\n(Cloud Tasks will retry it).","properties":{"state":{"$ref":"#/components/schemas/SportsSyncRunState"},"taskName":{"type":"string","nullable":true},"enqueuedAt":{"type":"string","nullable":true},"startedAt":{"type":"string","nullable":true},"finishedAt":{"type":"string","nullable":true},"stats":{"allOf":[{"$ref":"#/components/schemas/SportsSyncStats"}],"nullable":true},"error":{"type":"string","nullable":true},"updatedAt":{"type":"string"}},"required":["state","taskName","enqueuedAt","startedAt","finishedAt","stats","error","updatedAt"],"type":"object","additionalProperties":false},"UpdateSportFeaturedRequest":{"properties":{"sportId":{"type":"string","description":"The `sports` doc id of a sport node (stable, unlike `path`); a league node is refused."},"isFeatured":{"type":"boolean"}},"required":["sportId","isFeatured"],"type":"object","additionalProperties":false,"example":{"sportId":"4rNCVpqxG2YCkjJQXWvS","isFeatured":true}},"SportEntityUpdatePathRequest":{"properties":{"path":{"type":"string"}},"required":["path"],"type":"object","additionalProperties":false},"SidecastEpisodeVideoDownload":{"description":"One downloadable video within a sidecast episode. A single episode can contain multiple\nrecorded videos (e.g. reconnects produce additional Mux assets); each is represented here.","properties":{"orderIndex":{"type":"number","format":"double","description":"Position in the episode's recording order (matches the stored muxAssets/videos/videoIds order)."},"videoId":{"type":"string","description":"BZZR video document id."},"status":{"$ref":"#/components/schemas/VideoBackupDownloadStatus","description":"Download readiness — same semantics as the single-video download endpoint."},"url":{"type":"string","nullable":true,"description":"Signed read URL to the backed-up MP4. Present only when `status = Ready`."},"expiresAt":{"type":"string","nullable":true,"description":"ISO timestamp when the signed URL expires. Present only when `status = Ready`."},"message":{"type":"string","nullable":true,"description":"Human-readable hint for non-Ready statuses."}},"required":["orderIndex","videoId","status","url","expiresAt","message"],"type":"object","additionalProperties":false},"SidecastEpisodeDownloadResponse":{"description":"Admin download payload for a sidecast episode: the episode's videos in recording order, each\nwith its own signed-URL / processing status.","properties":{"showId":{"type":"string"},"episodeId":{"type":"string"},"videos":{"items":{"$ref":"#/components/schemas/SidecastEpisodeVideoDownload"},"type":"array"}},"required":["showId","episodeId","videos"],"type":"object","additionalProperties":false},"GameFeedProvider":{"type":"string","enum":["espn"],"nullable":false,"description":"Data provider behind the feed. One today; another one joins this union."},"GameFeedLeague":{"type":"string","enum":["mlb","nfl","college-football","nba","nhl"],"description":"Leagues the provider is asked about — each maps to a provider-specific path."},"GameFeedConfig":{"description":"Per-source feed configuration (`LiveSource.gameFeed`). Absent / `null` ⇒ no feed for its games.","properties":{"provider":{"$ref":"#/components/schemas/GameFeedProvider"},"league":{"$ref":"#/components/schemas/GameFeedLeague"},"postGameBufferMinutes":{"type":"number","format":"double","description":"Minutes the stream keeps running after the confirmed final (post-game wrap-up). Default\n`GAME_FEED_DEFAULTS.postGameBufferMinutes`."},"replayLeadSeconds":{"type":"number","format":"double","description":"Seconds the replay opens BEFORE the first play — covers the lead-in and the delay between the\nreal event (the provider's clock) and our encoder's clock. Default\n`GAME_FEED_DEFAULTS.replayLeadSeconds`."}},"required":["provider","league"],"type":"object","additionalProperties":false},"GameFeedOverride":{"description":"Per-broadcast feed override (`ScheduledBroadcast.gameFeedOverride`), set by an admin. `eventId`\npins the provider's event when the automatic match (date + both team names) fails, is ambiguous\n(a doubleheader) or picks the wrong game; `disabled` takes this broadcast off the feed and hands\nthe end back (see `GameFeedService`).","properties":{"eventId":{"type":"string","nullable":true},"disabled":{"type":"boolean"}},"type":"object","additionalProperties":false},"GameFeedEffectiveConfigViewModel":{"description":"The configuration a broadcast actually runs with (source config + defaults, minus an override).","properties":{"provider":{"$ref":"#/components/schemas/GameFeedProvider"},"league":{"$ref":"#/components/schemas/GameFeedLeague"},"postGameBufferMinutes":{"type":"number","format":"double"},"replayLeadSeconds":{"type":"number","format":"double"}},"required":["provider","league","postGameBufferMinutes","replayLeadSeconds"],"type":"object","additionalProperties":false},"GameFeedPhase":{"type":"string","enum":["pre","in","post"],"description":"Provider-neutral game phase: before the first play, in progress, over (or called off)."},"GameFeedStatusViewModel":{"properties":{"phase":{"$ref":"#/components/schemas/GameFeedPhase"},"completed":{"type":"boolean"},"statusName":{"type":"string"},"detail":{"type":"string","nullable":true},"period":{"type":"number","format":"double","nullable":true},"homeScore":{"type":"number","format":"double","nullable":true},"awayScore":{"type":"number","format":"double","nullable":true}},"required":["phase","completed","statusName","detail","period","homeScore","awayScore"],"type":"object","additionalProperties":false},"GameFeedStateViewModel":{"description":"What the feed matched, read and changed for one broadcast.","properties":{"provider":{"$ref":"#/components/schemas/GameFeedProvider"},"league":{"$ref":"#/components/schemas/GameFeedLeague"},"eventId":{"type":"string","nullable":true},"eventName":{"type":"string","nullable":true},"matchedBy":{"type":"string","enum":["auto","admin",null],"nullable":true},"status":{"allOf":[{"$ref":"#/components/schemas/GameFeedStatusViewModel"}],"nullable":true},"lastPolledAt":{"type":"string","nullable":true},"lastError":{"type":"string","nullable":true},"consecutiveErrors":{"type":"number","format":"double","description":"Consecutive failed status/match reads — Sentry `game_feed_unavailable` at 10."},"playsErrors":{"type":"number","format":"double","description":"Consecutive failed play-list reads (first play, timeline)."},"finalSeenCount":{"type":"number","format":"double"},"finalFirstSeenAt":{"type":"string","nullable":true},"firstPlayAt":{"type":"string","nullable":true},"lastPlayAt":{"type":"string","nullable":true},"scheduledAutoEndAt":{"type":"string","description":"`autoEndAt` as the schedule set it — the base of the 3 h extension cap."},"feedAutoEndAt":{"type":"string","nullable":true,"description":"The `autoEndAt` this feed wrote; `null` while it has not moved it."},"autoEndReason":{"type":"string","enum":["final","extended",null],"nullable":true},"controlsEnd":{"type":"boolean","description":"`false` once someone else changed the end during the broadcast, or the feed handed it back."},"endReleasedReason":{"type":"string","nullable":true},"endReleasedBy":{"type":"string","enum":["human","feed-off",null],"nullable":true,"description":"`human` stays released until re-armed (`PUT .../game-feed`); `feed-off` re-arms when the feed is back."},"observedStartAt":{"type":"string","nullable":true,"description":"When the feed saw the game go from pre-game to in progress (a start it watched happen)."},"replayStartAt":{"type":"string","nullable":true},"replayStartOutcome":{"type":"string","enum":["applied","unchanged","admin","ended",null],"nullable":true},"timelineFetchedAt":{"type":"string","nullable":true},"updatedAt":{"type":"string"}},"required":["provider","league","eventId","eventName","matchedBy","status","lastPolledAt","lastError","consecutiveErrors","playsErrors","finalSeenCount","finalFirstSeenAt","firstPlayAt","lastPlayAt","scheduledAutoEndAt","feedAutoEndAt","autoEndReason","controlsEnd","endReleasedReason","endReleasedBy","observedStartAt","replayStartAt","replayStartOutcome","timelineFetchedAt","updatedAt"],"type":"object","additionalProperties":false},"GameFeedEventKind":{"type":"string","enum":["game_start","period_start","scoring","game_end"]},"GameFeedEventViewModel":{"properties":{"at":{"type":"string"},"kind":{"$ref":"#/components/schemas/GameFeedEventKind"},"period":{"type":"number","format":"double","nullable":true},"periodLabel":{"type":"string","nullable":true},"clock":{"type":"string","nullable":true},"homeScore":{"type":"number","format":"double","nullable":true},"awayScore":{"type":"number","format":"double","nullable":true},"text":{"type":"string"}},"required":["at","kind","period","periodLabel","clock","homeScore","awayScore","text"],"type":"object","additionalProperties":false},"GameFeedViewModel":{"description":"`GET /admin/scheduledBroadcasts/{broadcastId}/game-feed`: the feed of one broadcast — why it runs\n(or not), what it read last, what it changed, and the timeline of the game's key moments.\nGlobalAdmin only.","properties":{"broadcastId":{"type":"string"},"platformEnabled":{"type":"boolean","description":"`FeatureKey.GameFeed` — the platform switch; while off nothing is polled."},"sourceConfig":{"allOf":[{"$ref":"#/components/schemas/GameFeedConfig"}],"nullable":true},"override":{"allOf":[{"$ref":"#/components/schemas/GameFeedOverride"}],"nullable":true},"effectiveConfig":{"allOf":[{"$ref":"#/components/schemas/GameFeedEffectiveConfigViewModel"}],"nullable":true,"description":"`null` ⇒ this broadcast is not on the feed (no source config, or the override disables it)."},"autoEndAt":{"type":"string","description":"The broadcast's current `autoEndAt`."},"state":{"allOf":[{"$ref":"#/components/schemas/GameFeedStateViewModel"}],"nullable":true,"description":"`null` until the first tick with the feed on."},"timeline":{"items":{"$ref":"#/components/schemas/GameFeedEventViewModel"},"type":"array"},"timelineFetchedAt":{"type":"string","nullable":true}},"required":["broadcastId","platformEnabled","sourceConfig","override","effectiveConfig","autoEndAt","state","timeline","timelineFetchedAt"],"type":"object","additionalProperties":false},"UpdateGameFeedOverrideRequest":{"description":"`PUT /admin/scheduledBroadcasts/{broadcastId}/game-feed` — REPLACES the broadcast's feed override.\nOmitted fields clear: `{}` removes the override entirely.","properties":{"eventId":{"type":"string","nullable":true,"description":"Pin the provider's event id (ESPN: the number in the game's URL) when the automatic match\nfails or picks the wrong game. Changing it restarts the feed for this broadcast.","maxLength":32},"disabled":{"type":"boolean","description":"Take this broadcast off the feed: its schedule alone ends it again."}},"type":"object","additionalProperties":false},"BroadcastAutoEndViewModel":{"properties":{"broadcastId":{"type":"string"},"autoEndAt":{"type":"string"}},"required":["broadcastId","autoEndAt"],"type":"object","additionalProperties":false},"SetBroadcastAutoEndRequest":{"description":"`PUT /admin/scheduledBroadcasts/{broadcastId}/auto-end` — sets when an ON-AIR broadcast ends (the\nschedule PATCH refuses time edits once it left `scheduled`).","properties":{"autoEndAt":{"type":"string","description":"The new `autoEndAt`: an ISO 8601 instant with a time zone, between now and 12 hours ahead.","maxLength":40}},"required":["autoEndAt"],"type":"object","additionalProperties":false},"AdPreviewResolvedViewModel":{"description":"Admin dry-run of the local-creative ad decision.\n\nThis exists because the failure mode of local creatives is invisible: a\ncreative that matches nothing yields an empty VAST and MediaTailor plays\ncontent through, which on air is indistinguishable from \"no break happened\".\nThe only way to be sure before kickoff is to ask the decision itself, so this\nis computed by the SAME `explainAdPod` the playback path runs — it cannot\ndrift into telling a comfortable story.","properties":{"ssaiEnabled":{"type":"boolean","description":"Whether SSAI is on for this broadcast at all."},"targetingMode":{"allOf":[{"$ref":"#/components/schemas/LiveSsaiTargetingMode"}],"nullable":true,"description":"`null` means the effective config names no mode — the proxy would fall back\nto the global GAM tag, which is the silent failure this endpoint hunts."},"upstreamVastUrlConfigured":{"type":"boolean","description":"Whether an upstream ad tag is on file (the URL itself is never returned)."},"configSource":{"type":"string","enum":["liveSource","broadcastOverride","live"],"description":"WHICH layer produced the effective config."},"liveSourceId":{"type":"string","nullable":true},"homeTeam":{"type":"string","nullable":true},"awayTeam":{"type":"string","nullable":true},"adPrefetchEnabled":{"type":"boolean"},"liveStatus":{"type":"string","nullable":true,"description":"Live path only — `null` when previewing a scheduled broadcast."},"pipelineType":{"type":"string","nullable":true}},"required":["ssaiEnabled","targetingMode","upstreamVastUrlConfigured","configSource","liveSourceId","homeTeam","awayTeam","adPrefetchEnabled"],"type":"object","additionalProperties":false},"AdPreviewRequestViewModel":{"properties":{"region":{"type":"string","description":"Region the pod was simulated for. Empty string = an unplaceable viewer."},"availDurationSeconds":{"type":"number","format":"double"},"at":{"type":"string","description":"Instant the flight windows were evaluated at."},"geoIpAvailable":{"type":"boolean","description":"False ⇒ every region-targeted creative is unreachable on this deployment."}},"required":["region","availDurationSeconds","at","geoIpAvailable"],"type":"object","additionalProperties":false},"AdPreviewLibraryViewModel":{"properties":{"campaigns":{"properties":{"active":{"type":"number","format":"double"},"total":{"type":"number","format":"double"}},"required":["active","total"],"type":"object"},"creatives":{"properties":{"active":{"type":"number","format":"double"},"total":{"type":"number","format":"double"}},"required":["active","total"],"type":"object"},"legacyCreatives":{"type":"number","format":"double","description":"Creatives written before campaigns existed, still targeted individually."}},"required":["campaigns","creatives","legacyCreatives"],"type":"object","additionalProperties":false},"AdTargetingViewModel":{"description":"Normalized targeting as stored. The arrays are always present — the\nrepository's adapter guarantees it — so they are required here rather than\noptional-and-nullable.\n\nPre-rework `region` / `team` are deliberately NOT surfaced: the adapter has\nalready translated them, so an operator opening a legacy record reads\n`regions: [\"tx\"]` and can PATCH in the current vocabulary without doing the\ntranslation in their head.","properties":{"liveSourceIds":{"items":{"type":"string"},"type":"array"},"teams":{"items":{"type":"string"},"type":"array"},"regions":{"items":{"type":"string"},"type":"array"},"startAt":{"type":"string"},"endAt":{"type":"string"}},"required":["liveSourceIds","teams","regions"],"type":"object","additionalProperties":false},"AdPreviewCandidateViewModel":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"campaignId":{"type":"string","nullable":true,"description":"`null` for a pre-campaign creative, which is targeted on its own."},"campaignName":{"type":"string","nullable":true},"durationSeconds":{"type":"number","format":"double"},"rotationWeight":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"targeting":{"$ref":"#/components/schemas/AdTargetingViewModel","description":"The EFFECTIVE targeting — the campaign's, or the legacy creative's own."},"eligible":{"type":"boolean"},"specificity":{"type":"number","format":"double","description":"How many audience axes its campaign constrains, 0–3. Higher fills the avail first."},"rejection":{"type":"string","description":"Why it is not in the pod: `inactive`, `campaign_missing`,\n`campaign_inactive`, `invalid_duration`, `source`, `teams`, `regions`,\n`flight`, `campaign_filled` (another cut of the same title won the draw), or\n`does_not_fit_avail`. Absent when it made the pod."}},"required":["id","name","durationSeconds","rotationWeight","isActive","targeting","eligible","specificity"],"type":"object","additionalProperties":false},"AdPreviewPodEntryViewModel":{"properties":{"sequence":{"type":"number","format":"double"},"id":{"type":"string"},"name":{"type":"string"},"campaignId":{"type":"string","nullable":true},"campaignName":{"type":"string","nullable":true},"durationSeconds":{"type":"number","format":"double"}},"required":["sequence","id","name","durationSeconds"],"type":"object","additionalProperties":false},"AdPreviewRotationEntryViewModel":{"description":"What the length mix ACTUALLY produces for this avail, measured rather than\nasserted.\n\n`rotationWeight` is a per-draw probability renormalised over the cuts that\nfit what is left of the pod, so the mix a media plan asks for and the mix a\ngiven break delivers are not the same number — a 90s avail draws three times\nand a 30s avail once. Simulating the draw many times is the only honest way\nto answer \"will my 60/40 come out as 60/40\", and it is cheap because the\nselector is pure.","properties":{"creativeId":{"type":"string"},"name":{"type":"string"},"campaignId":{"type":"string","nullable":true},"campaignName":{"type":"string","nullable":true},"durationSeconds":{"type":"number","format":"double"},"rotationWeight":{"type":"number","format":"double"},"appearanceRate":{"type":"number","format":"double","description":"Share of simulated pods this cut appeared in, 0–1."}},"required":["creativeId","name","durationSeconds","rotationWeight","appearanceRate"],"type":"object","additionalProperties":false},"AdPreviewRotationViewModel":{"properties":{"simulations":{"type":"number","format":"double","description":"How many pods were simulated to produce the rates below."},"averagePodSeconds":{"type":"number","format":"double"},"averagePodCount":{"type":"number","format":"double"},"entries":{"items":{"$ref":"#/components/schemas/AdPreviewRotationEntryViewModel"},"type":"array"}},"required":["simulations","averagePodSeconds","averagePodCount","entries"],"type":"object","additionalProperties":false},"AdSelectionPreviewViewModel":{"properties":{"resolved":{"$ref":"#/components/schemas/AdPreviewResolvedViewModel"},"warnings":{"items":{"type":"string"},"type":"array","description":"Operator-facing problems, most consequential first. Empty is the goal."},"request":{"$ref":"#/components/schemas/AdPreviewRequestViewModel"},"library":{"$ref":"#/components/schemas/AdPreviewLibraryViewModel"},"candidates":{"items":{"$ref":"#/components/schemas/AdPreviewCandidateViewModel"},"type":"array"},"pod":{"items":{"$ref":"#/components/schemas/AdPreviewPodEntryViewModel"},"type":"array","description":"ONE representative pod. Seeded from the request, so refreshing the preview\nreturns the same pod rather than a fresh draw — a rotation must not look\nlike a bug. Read `rotation` for the distribution."},"podSeconds":{"type":"number","format":"double"},"unfilledSeconds":{"type":"number","format":"double"},"rotation":{"$ref":"#/components/schemas/AdPreviewRotationViewModel"},"vastXml":{"type":"string","description":"The exact VAST that would be served for `pod`. Only when `includeVast=true`."}},"required":["resolved","warnings","request","library","candidates","pod","podSeconds","unfilledSeconds","rotation"],"type":"object","additionalProperties":false},"PregameMode":{"type":"string","enum":["continuous","separate","none"]},"PrewarmTargetScaling":{"description":"Scaling override for one prewarm target. An omitted bound keeps the target's current value.\nApply SETS the target — raising OR lowering it, down to the pre-event baseline but never below;\na lower keeps the prewarm active (not a revert). Full cool-down to baseline is the revert's job\n(DELETE /admin/prewarm). Lowering is safe under load — `minInstances` is Cloud Run's warm floor,\nnot a hard count, so busy instances are never evicted.","properties":{"minInstances":{"type":"integer","format":"int32","minimum":1,"maximum":300},"maxInstances":{"type":"integer","format":"int32","minimum":2,"maximum":300}},"type":"object","additionalProperties":false},"PrewarmScalingOverride":{"description":"Per-target prewarm scaling override, keyed by prewarm target. Used as a per-broadcast\noverride on `ScheduledBroadcast` (event-day auto-prewarm): a target omitted here falls back\nto the `config/prewarmDefaults` profile. Same target set as {@link PrewarmApplyRequest};\nPREWARM_TARGETS caps still bound whatever is set, at apply time.","properties":{"api":{"$ref":"#/components/schemas/PrewarmTargetScaling"},"beforeUserCreated":{"$ref":"#/components/schemas/PrewarmTargetScaling"},"getStreamUserToken":{"$ref":"#/components/schemas/PrewarmTargetScaling"}},"type":"object","additionalProperties":false},"ScheduledBroadcastViewModel":{"properties":{"id":{"type":"string"},"liveSourceId":{"type":"string"},"ownerId":{"type":"string"},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array"},"status":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"heroImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"3:1 hero art."},"teamImages":{"$ref":"#/components/schemas/ScheduledBroadcastTeamImagesViewModel","description":"The crests consumers actually receive — the resolution chain's output, identical to the\nconsumer payload's `teamImages`. `teams` says which link answered. NOT the stored override;\nthat is `teamImageOverrides`, and an admin form previewing its override slots must read it\nfrom there — previewing from here shows the registry's crest as if it were an override."},"teamImageOverrides":{"$ref":"#/components/schemas/ScheduledBroadcastTeamImagesViewModel","description":"The per-game OVERRIDES stored on this broadcast — what the admin form edits. Null sides mean\n\"resolve from the registry\"."},"teams":{"$ref":"#/components/schemas/BroadcastTeamsViewModel"},"targeting":{"$ref":"#/components/schemas/ScheduledBroadcastTargeting"},"display":{"$ref":"#/components/schemas/ScheduledBroadcastDisplay"},"labelOverride":{"type":"string","nullable":true,"description":"This broadcast's own label; `null` inherits `LiveSource.broadcastLabel`."},"sortPriorityOverride":{"type":"number","format":"double","nullable":true,"description":"This broadcast's own sort weight; `null` inherits `LiveSource.sortPriority`."},"pregameStart":{"type":"string","nullable":true},"pregameEnd":{"type":"string","nullable":true},"gameStart":{"type":"string"},"gameEnd":{"type":"string"},"broadcastStart":{"type":"string"},"broadcastEnd":{"type":"string"},"liveStartAt":{"type":"string"},"autoEndAt":{"type":"string"},"provisionAt":{"type":"string"},"endedAt":{"type":"string","nullable":true,"description":"ACTUAL end (ISO 8601 UTC), stamped at the Ended transition. Null until ended."},"pregameMode":{"$ref":"#/components/schemas/PregameMode"},"deliveryModeOverride":{"allOf":[{"$ref":"#/components/schemas/LiveDeliveryMode"}],"nullable":true,"description":"Per-broadcast viewer delivery override (absent ⇒ inherit source/global default)."},"encoderProfileOverride":{"allOf":[{"$ref":"#/components/schemas/LiveEncoderProfile"}],"nullable":true,"description":"Per-broadcast encoder-profile override (absent/null ⇒ inherit source default)."},"autoCaptionsOverride":{"allOf":[{"$ref":"#/components/schemas/LiveAutoCaptionsConfig"}],"nullable":true,"description":"Per-broadcast auto-captions override (absent/null ⇒ inherit source default)."},"chatBlockedOverride":{"type":"boolean","nullable":true,"description":"Per-broadcast chat kill-switch override (absent/null ⇒ inherit source default)."},"vodHarvestOverride":{"type":"boolean","nullable":true,"description":"Per-broadcast S3 recording-copy override (absent/null ⇒ inherit source default)."},"autoPrewarm":{"type":"boolean","description":"Opt this broadcast out of event-day auto-prewarm (absent/true ⇒ prewarmed; false ⇒ skipped)."},"prewarmOverride":{"allOf":[{"$ref":"#/components/schemas/PrewarmScalingOverride"}],"nullable":true,"description":"Per-broadcast prewarm scaling override (absent/null ⇒ the config/prewarmDefaults profile)."},"liveIds":{"items":{"type":"string"},"type":"array"},"pregameLiveId":{"type":"string","nullable":true},"provisionAttempts":{"type":"number","format":"double"},"lastProvisionError":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","liveSourceId","ownerId","owner","entitlementIds","status","title","description","thumbnail","backgroundImage","heroImage","teamImages","teamImageOverrides","teams","targeting","display","labelOverride","sortPriorityOverride","pregameStart","pregameEnd","gameStart","gameEnd","broadcastStart","broadcastEnd","liveStartAt","autoEndAt","provisionAt","endedAt","pregameMode","liveIds","pregameLiveId","provisionAttempts","lastProvisionError","createdAt","updatedAt"],"type":"object","additionalProperties":false},"SsaiConfigRequest":{"description":"SSAI settings an admin may set on a `LiveSource` (defaults for every\nbroadcast of that feed) or on a `ScheduledBroadcast` (per-game override).\n\nOne shape, deliberately, because the two used to be separate inline literals\nthat had drifted — and `tsoa.json` runs with\n`noImplicitAdditionalProperties: \"throw-on-extras\"`, so anything missing here\nis a 400 rather than a silently dropped field. That is how `targetingMode`\ncame to be un-settable at source level: `local_creatives` could only be\napplied per-live AFTER provisioning, i.e. as a manual step before every game,\nand forgetting it sends the broadcast to the global GAM tag with no error\nanywhere.\n\nNOT exposed here, on purpose:\n - `homeTeam` / `awayTeam` / `gameType` / `gameId` / `seriesType` — these are\n   per-game and come from `ScheduledBroadcast.targeting`. `resolveSsaiConfig`\n   reads them as `base.homeTeam ?? broadcast.targeting.homeTeam`, so a value\n   set here would WIN over every real fixture and freeze the season's\n   targeting on one typo.\n - `upstreamVastUrl` — internal; the provisioner derives it from `vastUrl`.\n - `targetingOverride` — a per-live QA lever, not a source default.","properties":{"enabled":{"type":"boolean","description":"Provision this feed's broadcasts with the hybrid (MediaTailor SSAI) pipeline."},"vastUrl":{"type":"string","description":"Upstream ad-tag URL. Required whenever `enabled` is true, EXCEPT under\n`targetingMode: \"local_creatives\"`, which has no upstream ad server at all."},"targetingMode":{"$ref":"#/components/schemas/LiveSsaiTargetingMode","description":"How the playback proxy resolves ads. Omit to have it inferred from the\nshape of `vastUrl` (GAM vs MediaTailor macros).\n\n`\"local_creatives\"` is never inferred and must be set explicitly — serving\nfrom our own library instead of a paid ad server is an operator decision,\nnot something to guess from a URL."},"adAvailOffsetSeconds":{"type":"number","format":"double","description":"Delay ad-break start by N seconds (forwarded to MediaLive AdAvailOffset).\nPositive = ad inserts later. Provision-time snapshot — a channel restart\nis required to change it. See `LiveSsaiConfig.adAvailOffsetSeconds`."},"adPrefetchEnabled":{"type":"boolean","description":"Create the recurring MediaTailor ad-prefetch schedule. Default OFF —\nenable only for a fresh, never-seen creative catalog (e.g. season\nstart). See `LiveSsaiConfig.adPrefetchEnabled`."},"league":{"type":"string","description":"GAM `cust_params.league`. Constant per feed, unlike the teams."},"daypartTimezone":{"type":"string","description":"IANA timezone the broadcast start is bucketed into for `cust_params.daypart`\n(e.g. `America/Chicago`). See `AdTargetingFields.daypartTimezone`."}},"required":["enabled"],"type":"object","additionalProperties":false},"LiveChannelClass":{"type":"string","enum":["SINGLE_PIPELINE","STANDARD"],"description":"MediaLive channel redundancy class:\n- `\"SINGLE_PIPELINE\"` (default) — one encoding pipeline, no AZ redundancy.\n  An AZ failure kills the encode; the mid-broadcast rebuild is the recovery.\n- `\"STANDARD\"` — two identical pipelines in two AZs; the downstream\n  (MediaPackage, fed from both ingest endpoints) switches automatically on\n  pipeline loss, no operator action, no viewer impact. ~1.7× channel cost.\n  Requires TWO input sources (srt_caller: two `srtSources[]` entries — one\n  per pipeline; rtmp_push: the encoder pushes to both ingest URLs).\n\nResolved `ScheduledBroadcast.channelClassOverride` → `LiveSource.channelClass`\n→ `\"SINGLE_PIPELINE\"`, snapshotted onto `Live.channelClass` at creation."},"CreateScheduledBroadcastRequest":{"properties":{"title":{"type":"string","description":"Auto-generated from display.programName if omitted."},"description":{"type":"string"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"targeting":{"properties":{"seriesType":{"$ref":"#/components/schemas/SeriesType"},"gameId":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType"},"awayTeam":{"type":"string"},"homeTeam":{"type":"string"}},"required":["awayTeam","homeTeam"],"type":"object","description":"GAM targeting — homeTeam / awayTeam required, lowercase team ids."},"display":{"properties":{"programName":{"type":"string"},"venue":{"type":"string"},"season":{"type":"string"}},"type":"object","description":"Display-only metadata (season label, venue, program name)."},"label":{"type":"string","description":"Card label, e.g. \"MLB Baseball\". Absent ⇒ inherits the source's.","maxLength":15},"sortPriority":{"type":"integer","format":"int32","description":"Higher sorts higher. Absent ⇒ inherits the source's."},"pregameStart":{"type":"string","description":"ISO 8601 datetime. Null if no pregame."},"pregameEnd":{"type":"string","description":"ISO 8601 datetime. Null if no pregame."},"gameStart":{"type":"string","description":"ISO 8601 datetime. Required."},"gameEnd":{"type":"string","description":"ISO 8601 datetime. Required."},"pregameMode":{"$ref":"#/components/schemas/PregameMode","description":"Overrides LiveSource.pregameConfig.defaultMode for this broadcast."},"inputConfigOverride":{"properties":{"srtSources":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array"},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType"}},"required":["inputType"],"type":"object","description":"Override input config for this broadcast."},"ssaiConfigOverride":{"$ref":"#/components/schemas/SsaiConfigRequest","description":"Override SSAI config for this broadcast.\n\nReplaces the source config WHOLESALE rather than merging into it (see\n`scheduledBroadcastsService.resolveSsaiConfig`) — with the single exception\nof `targetingMode`, which is inherited when this override specifies neither\na mode nor a `vastUrl`, i.e. when it is not trying to change the ad source\nat all."},"deliveryModeOverride":{"$ref":"#/components/schemas/LiveDeliveryMode","description":"Override viewer delivery mode for this broadcast (`\"cloudfront\"` | `\"mux\"`)."},"channelClassOverride":{"$ref":"#/components/schemas/LiveChannelClass","description":"Override the MediaLive redundancy class (`\"STANDARD\"` = dual-AZ pipelines) for this broadcast."},"encoderProfileOverride":{"$ref":"#/components/schemas/LiveEncoderProfile","description":"Override the encoder profile for this broadcast. Merged OVER the source\ndefault, so a partial like `{ frameRate: \"59.94\" }` retunes only that.\nUse it to canary an encoder change on one game."},"autoCaptionsOverride":{"$ref":"#/components/schemas/LiveAutoCaptionsConfig","description":"Override auto-captions for this broadcast. Absent ⇒ inherit source default."},"chatBlockedOverride":{"type":"boolean","description":"Override the chat kill-switch for this broadcast. Absent ⇒ inherit source default."},"vodHarvestOverride":{"type":"boolean","description":"Override the S3 recording copy for this broadcast. Absent ⇒ inherit source default."},"autoPrewarm":{"type":"boolean","description":"Opt out of event-day auto-prewarm for this game. Absent ⇒ prewarmed (default true)."},"prewarmOverride":{"$ref":"#/components/schemas/PrewarmScalingOverride","description":"Per-broadcast prewarm scaling. Absent ⇒ the config/prewarmDefaults profile is used."}},"required":["targeting","gameStart","gameEnd"],"type":"object","additionalProperties":false},"BulkCreateScheduledBroadcastsRequest":{"properties":{"broadcasts":{"items":{"$ref":"#/components/schemas/CreateScheduledBroadcastRequest"},"type":"array"}},"required":["broadcasts"],"type":"object","additionalProperties":false},"DocumentsList_ScheduledBroadcastViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"UpdateScheduledBroadcastRequest":{"properties":{"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"targeting":{"properties":{"seriesType":{"$ref":"#/components/schemas/SeriesType"},"gameId":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType"},"awayTeam":{"type":"string"},"homeTeam":{"type":"string"}},"type":"object"},"display":{"properties":{"programName":{"type":"string"},"venue":{"type":"string"},"season":{"type":"string"}},"type":"object"},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"heroImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"Must be 3:1 (see `HERO_ASPECT_RATIO`); `null` clears it."},"label":{"type":"string","nullable":true,"description":"`null` clears the override.","maxLength":15},"sortPriority":{"type":"integer","format":"int32","nullable":true},"teamImageOverrides":{"properties":{"away":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"home":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true}},"type":"object","description":"Per-game crest OVERRIDES — a deliberate operator act for this one broadcast, the first link\nin the resolution chain ahead of the registry. Patched side-by-side: an omitted side keeps\nits current image, `null` clears it. Cosmetic — unlike `targeting`, editable in any status.\nConsumers never see these as-is; they see the resolved `teamImages`."},"teamImages":{"properties":{"away":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"home":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true}},"type":"object","deprecated":true},"pregameStart":{"type":"string","nullable":true},"pregameEnd":{"type":"string","nullable":true},"gameStart":{"type":"string"},"gameEnd":{"type":"string"},"pregameMode":{"$ref":"#/components/schemas/PregameMode"},"ssaiConfigOverride":{"allOf":[{"$ref":"#/components/schemas/SsaiConfigRequest"}],"nullable":true,"description":"Override SSAI config for this broadcast. `null` clears the override, so the\nsource's own `ssaiConfig` applies again.\n\nPreviously settable only at create time, which meant a broadcast imported\nwith a stale override could not be corrected — and since the override\nreplaces the source config wholesale, that stale copy is what provisioning\nwould use. See `CreateScheduledBroadcastRequest.ssaiConfigOverride`."},"deliveryModeOverride":{"allOf":[{"$ref":"#/components/schemas/LiveDeliveryMode"}],"nullable":true,"description":"Override viewer delivery mode for this broadcast. Null = clear (use source/global default)."},"channelClassOverride":{"allOf":[{"$ref":"#/components/schemas/LiveChannelClass"}],"nullable":true,"description":"Override the MediaLive redundancy class. Null = clear (use source default)."},"encoderProfileOverride":{"allOf":[{"$ref":"#/components/schemas/LiveEncoderProfile"}],"nullable":true,"description":"Override the encoder profile for this broadcast. Null = clear (use source default)."},"autoCaptionsOverride":{"allOf":[{"$ref":"#/components/schemas/LiveAutoCaptionsConfig"}],"nullable":true,"description":"Override auto-captions for this broadcast. Null = clear (use source default)."},"chatBlockedOverride":{"type":"boolean","nullable":true,"description":"Override chat kill-switch. Null = clear (inherit source default).\n`null` MUST precede `boolean` in this union: TSOA validates union members in\ndeclaration order and its boolean validator coerces `null` -> `false`, so\n`boolean | null` would silently turn a \"clear\" (null) into an explicit `false`."},"vodHarvestOverride":{"type":"boolean","nullable":true,"description":"Override the S3 recording copy for this broadcast. `null` clears (inherit source default);\nabsent keeps the current value. `null` precedes `boolean` for the reason given above."},"autoPrewarm":{"type":"boolean","description":"Opt in/out of event-day auto-prewarm. Absent keeps the current value."},"prewarmOverride":{"allOf":[{"$ref":"#/components/schemas/PrewarmScalingOverride"}],"nullable":true,"description":"Per-broadcast prewarm scaling. Null = clear (use config/prewarmDefaults)."}},"type":"object","additionalProperties":false},"ReplayStatsQoeViewModel":{"description":"Playback quality for staff. Extends the partner set with two figures that are\ndeliberately NOT shared: see each field.","properties":{"startupTimeMedianMs":{"type":"number","format":"double","nullable":true,"description":"Median time from press-play to first frame, ms."},"rebufferPct":{"type":"number","format":"double","nullable":true,"description":"Share of watch time spent buffering, 0..1."},"playbackFailurePct":{"type":"number","format":"double","nullable":true,"description":"Share of views that hit a playback failure, 0..1."},"startupFailurePct":{"type":"number","format":"double","nullable":true,"description":"Share of views that never started, 0..1."},"exitsBeforeStartPct":{"type":"number","format":"double","nullable":true,"description":"Share of views abandoned before video began, 0..1."},"weightedAvgBitrate":{"type":"number","format":"double","nullable":true,"description":"Median delivered bitrate, bits per second."},"businessExceptionPct":{"type":"number","format":"double","nullable":true,"description":"ADMIN ONLY. Share of views ended by OUR OWN access rules — geo block,\nentitlement, expired replay window — 0..1. Exposes internal enforcement\nposture, so it never reaches a partner."},"viewerExperienceScore":{"type":"number","format":"double","nullable":true,"description":"ADMIN ONLY. Mux's composite experience score, 0..1. A web-only,\nsample-limited index that reads like an SLA number without being one, so it\nnever reaches a partner."}},"required":["startupTimeMedianMs","rebufferPct","playbackFailurePct","startupFailurePct","exitsBeforeStartPct","weightedAvgBitrate","businessExceptionPct","viewerExperienceScore"],"type":"object","additionalProperties":false},"ReplayStatsErrorRowViewModel":{"description":"ADMIN ONLY. One distinct playback error seen over the window.","properties":{"id":{"type":"number","format":"double","nullable":true,"description":"Mux's error-type id."},"code":{"type":"string","nullable":true,"description":"Player error code."},"message":{"type":"string","nullable":true,"description":"Error message as the player reported it."},"count":{"type":"number","format":"double","description":"Views that hit this error."},"percentage":{"type":"number","format":"double","nullable":true,"description":"Share of failing views this error accounts for, 0..1."}},"required":["id","code","message","count","percentage"],"type":"object","additionalProperties":false},"ReplayStatsErrorsViewModel":{"description":"ADMIN ONLY. Playback errors, most frequent first. Raw player/CDN diagnostics —\nthey name internal infrastructure and are never shared with a partner.","properties":{"rows":{"items":{"$ref":"#/components/schemas/ReplayStatsErrorRowViewModel"},"type":"array","description":"Distinct errors, most frequent first."},"totalCount":{"type":"number","format":"double","description":"Sum of `rows[].count`."}},"required":["rows","totalCount"],"type":"object","additionalProperties":false},"ReplayStatsViewModel":{"description":"The full staff passport for one replay.","properties":{"liveId":{"type":"string","description":"The live this replay belongs to."},"title":{"type":"string","nullable":true,"description":"Game title."},"endedAt":{"type":"string","nullable":true,"description":"When the broadcast ended."},"replayExpiresAt":{"type":"string","nullable":true,"description":"When the replay stops being playable."},"asOf":{"type":"string","description":"When this snapshot was computed."},"window":{"$ref":"#/components/schemas/ReplayStatsWindowViewModel","description":"The window the figures were measured over."},"cadenceTier":{"$ref":"#/components/schemas/ReplayStatsCadenceTier","description":"How often this passport still refreshes."},"nextRefreshAt":{"type":"string","nullable":true,"description":"When it refreshes next; null once frozen."},"isFinal":{"type":"boolean","description":"Whether the figures are frozen and will no longer change."},"freezeReason":{"allOf":[{"$ref":"#/components/schemas/ReplayStatsFreezeReason"}],"nullable":true,"description":"Why it froze; null while still refreshing."},"muxAssetId":{"type":"string","nullable":true,"description":"The recording the replay currently plays from."},"replayClipOffsetSeconds":{"type":"number","format":"double","nullable":true,"description":"Seconds trimmed off the head of the recording."},"availability":{"$ref":"#/components/schemas/ReplayStatsAvailabilityViewModel","description":"Data provenance and coverage."},"audience":{"$ref":"#/components/schemas/ReplayStatsAudienceViewModel","description":"Audience figures."},"breakdowns":{"$ref":"#/components/schemas/ReplayStatsBreakdownsViewModel","description":"Audience by country, region, device and player."},"ads":{"$ref":"#/components/schemas/ReplayStatsAdsViewModel","description":"Ad delivery."},"qoe":{"$ref":"#/components/schemas/ReplayStatsQoeViewModel","description":"Playback quality, including the two admin-only figures."},"errors":{"$ref":"#/components/schemas/ReplayStatsErrorsViewModel","description":"ADMIN ONLY. Playback error diagnostics."}},"required":["liveId","endedAt","replayExpiresAt","asOf","window","cadenceTier","nextRefreshAt","isFinal","freezeReason","muxAssetId","replayClipOffsetSeconds","availability","audience","breakdowns","ads","qoe","errors"],"type":"object","additionalProperties":false},"ReplayStatsListItemViewModel":{"description":"One row of the replays table.","properties":{"liveId":{"type":"string","description":"The live this row is for."},"title":{"type":"string","description":"Game title."},"status":{"$ref":"#/components/schemas/LiveStatus","description":"Live status; always `ended` for a replay."},"liveSourceId":{"type":"string","nullable":true,"description":"Owning live source."},"scheduledBroadcastId":{"type":"string","nullable":true,"description":"Owning scheduled broadcast."},"endedAt":{"type":"string","nullable":true,"description":"When the broadcast ended — the table's sort key."},"replayExpiresAt":{"type":"string","nullable":true,"description":"When the replay stops being playable."},"stats":{"allOf":[{"$ref":"#/components/schemas/ReplayStatsViewModel"}],"nullable":true,"description":"The passport; null when it has not been computed yet."}},"required":["liveId","title","status","stats"],"type":"object","additionalProperties":false},"DocumentsList_ReplayStatsListItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/ReplayStatsListItemViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"Country":{"enum":["us"],"type":"string"},"RecaptchaMode":{"description":"Rollout mode for the reCAPTCHA gate on the pre-auth comp-code / manual-claim endpoints.\nRuntime-toggled via `config/recaptcha` (admin `PATCH /admin/config/recaptcha`), no redeploy.","enum":["off","log","enforce"],"type":"string"},"RecaptchaActionConfig":{"description":"Per-action override; an absent field inherits the global value.","properties":{"mode":{"$ref":"#/components/schemas/RecaptchaMode"},"scoreThreshold":{"type":"number","format":"double"}},"type":"object","additionalProperties":false},"Partial_Record_RecaptchaAction.RecaptchaActionConfig__":{"properties":{"comp_code_lookup":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"claim_submit":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"claim_receipt":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"claim_escalate":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"verification_send":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"email_change_send":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"password_change_send":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"password_reset_send":{"$ref":"#/components/schemas/RecaptchaActionConfig"},"password_reset_check":{"$ref":"#/components/schemas/RecaptchaActionConfig"}},"type":"object","description":"Make all properties in T optional"},"RecaptchaConfigViewModel":{"description":"The EFFECTIVE reCAPTCHA config the gate is running with — what an absent/partial/hand-edited\n`config/recaptcha` doc resolves to after defaults + validation (an unreadable or malformed value\nreads as `off` / the default threshold, never as a hard block).","properties":{"mode":{"$ref":"#/components/schemas/RecaptchaMode"},"scoreThreshold":{"type":"number","format":"double"},"actions":{"$ref":"#/components/schemas/Partial_Record_RecaptchaAction.RecaptchaActionConfig__","description":"The stored per-action overrides only; an action missing here runs with the global values."}},"required":["mode","scoreThreshold","actions"],"type":"object","additionalProperties":false},"UpdateRecaptchaActionConfigRequest":{"properties":{"mode":{"$ref":"#/components/schemas/RecaptchaMode"},"scoreThreshold":{"type":"number","format":"double","minimum":0,"maximum":1}},"type":"object","additionalProperties":false},"Partial_Record_RecaptchaAction.UpdateRecaptchaActionConfigRequest__":{"properties":{"comp_code_lookup":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"claim_submit":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"claim_receipt":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"claim_escalate":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"verification_send":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"email_change_send":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"password_change_send":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"password_reset_send":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"},"password_reset_check":{"$ref":"#/components/schemas/UpdateRecaptchaActionConfigRequest"}},"type":"object","description":"Make all properties in T optional"},"UpdateRecaptchaConfigRequest":{"description":"Partial patch of the runtime reCAPTCHA config. Only the keys present are changed; an omitted key\nkeeps its current value. An unknown `mode` is rejected (422 by TSOA's enum validation); a\n`scoreThreshold` outside [0, 1] is rejected too — a typo must never silently read as `off` (which\nwould quietly disable the gate) or as \"block everything\".","properties":{"mode":{"$ref":"#/components/schemas/RecaptchaMode"},"scoreThreshold":{"type":"number","format":"double","description":"v3 score gate. `0` is honored (validate token + action only, accept any score).","minimum":0,"maximum":1},"actions":{"$ref":"#/components/schemas/Partial_Record_RecaptchaAction.UpdateRecaptchaActionConfigRequest__","description":"Per-action overrides, merged per action. To drop an override so the action inherits the global\nvalues again, use `DELETE /admin/config/recaptcha/actions/{action}`."}},"type":"object","additionalProperties":false},"RecaptchaAction":{"type":"string","enum":["comp_code_lookup","claim_submit","claim_receipt","claim_escalate","verification_send","email_change_send","password_change_send","password_reset_send","password_reset_check"]},"PublisherInstallView":{"description":"One install, flattened for display.","properties":{"installId":{"type":"string"},"lastSeenAt":{"type":"string"},"appVersion":{"type":"string","nullable":true},"environment":{"type":"string","nullable":true}},"required":["installId","lastSeenAt","appVersion","environment"],"type":"object","additionalProperties":false},"PublisherDeviceViewModel":{"description":"The publisher device bound to a venue, for the admin management card.","properties":{"accountUid":{"type":"string"},"email":{"type":"string","nullable":true,"description":"Login email of the machine account (resolved from Firebase Auth)."},"displayName":{"type":"string"},"platform":{"type":"string"},"status":{"type":"string","description":"\"active\" | \"revoked\"."},"keyHint":{"type":"string","nullable":true},"lastSeenAt":{"type":"string","nullable":true},"installs":{"items":{"$ref":"#/components/schemas/PublisherInstallView"},"type":"array","description":"Physical installs seen reporting under this account, newest first.\n\nThe join key between the admin portal and Cloud Logging. Health reports are\ntagged with `installId`; without this there was nothing here to match one\nagainst, since `liveSourceId` is the field a primary and a spare share.\nMore than one entry means more than one machine is using this account."}},"required":["accountUid","email","displayName","platform","status","keyHint","lastSeenAt","installs"],"type":"object","additionalProperties":false},"PublisherDiagnosticStatus":{"type":"string","enum":["pending","completed","failed","expired"]},"PublisherDiagnosticRequestViewModel":{"properties":{"requestId":{"type":"string"},"installId":{"type":"string"},"status":{"$ref":"#/components/schemas/PublisherDiagnosticStatus"},"requestedAt":{"type":"string"},"expiresAt":{"type":"string"},"requestedBy":{"type":"string"},"completedAt":{"type":"string","nullable":true},"failureReason":{"type":"string","nullable":true},"compressedBytes":{"type":"number","format":"double","nullable":true}},"required":["requestId","installId","status","requestedAt","expiresAt","requestedBy","completedAt","failureReason","compressedBytes"],"type":"object","additionalProperties":false},"PublisherInstallationHealthViewModel":{"properties":{"installId":{"type":"string"},"sessionId":{"type":"string"},"sequence":{"type":"number","format":"double"},"receivedAt":{"type":"string"},"reportedAt":{"type":"string"},"cadenceSec":{"type":"number","enum":[60,300]},"environment":{"type":"string","nullable":true},"configuredLiveSourceId":{"type":"string","nullable":true},"configuredVenueLabel":{"type":"string","nullable":true},"droppedEventCount":{"type":"number","format":"double"},"summary":{"$ref":"#/components/schemas/PublisherHealthSummary"},"diagnosticRequest":{"allOf":[{"$ref":"#/components/schemas/PublisherDiagnosticRequestViewModel"}],"nullable":true}},"required":["installId","sessionId","sequence","receivedAt","reportedAt","cadenceSec","environment","configuredLiveSourceId","configuredVenueLabel","droppedEventCount","summary","diagnosticRequest"],"type":"object","additionalProperties":false},"PublisherAdminHealthEvent":{"properties":{"eventId":{"type":"string"},"occurredAt":{"type":"string"},"subsystem":{"$ref":"#/components/schemas/PublisherSubsystem"},"kind":{"type":"string"},"phase":{"$ref":"#/components/schemas/PublisherEventPhase"},"occurrenceCount":{"type":"number","format":"double"},"detail":{"type":"string","nullable":true},"logExcerpt":{"type":"string","nullable":true},"excerptTruncated":{"type":"boolean"},"installId":{"type":"string"}},"required":["eventId","occurredAt","subsystem","kind","phase","occurrenceCount","detail","logExcerpt","excerptTruncated","installId"],"type":"object","additionalProperties":false},"PublisherHealthAdminViewModel":{"properties":{"installations":{"items":{"$ref":"#/components/schemas/PublisherInstallationHealthViewModel"},"type":"array"},"events":{"items":{"$ref":"#/components/schemas/PublisherAdminHealthEvent"},"type":"array"},"nextCursor":{"type":"string","nullable":true}},"required":["installations","events","nextCursor"],"type":"object","additionalProperties":false},"PublisherDiagnosticsDownloadViewModel":{"properties":{"filename":{"type":"string"},"contentType":{"type":"string","enum":["application/gzip"],"nullable":false},"dataBase64":{"type":"string"}},"required":["filename","contentType","dataBase64"],"type":"object","additionalProperties":false},"ProvisionPublisherViewModel":{"description":"One-time result of provisioning a publisher machine account. The `password`\nis shown to ops exactly once (never stored in plaintext) — ops hands the\n`email` + `password` to the engineer for the appliance sign-in.","properties":{"accountUid":{"type":"string"},"email":{"type":"string"},"password":{"type":"string","description":"Generated login password — shown ONCE."},"liveSourceId":{"type":"string"},"keyHint":{"type":"string","description":"Trailing-4 of the venue's current key (for display; never the key)."}},"required":["accountUid","email","password","liveSourceId","keyHint"],"type":"object","additionalProperties":false},"ProvisionPublisherRequest":{"description":"Body for `POST /admin/liveSources/{liveSourceId}/publisher`.","properties":{"email":{"type":"string","description":"Login email for the machine account. Must be unique in Firebase Auth. This\nis a machine credential, not a person's inbox — no mail is ever sent to it.","pattern":"^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$"},"displayName":{"type":"string","description":"Machine hostname / label shown in the fleet view.","minLength":1},"platform":{"type":"string","description":"Free-form platform label: `windows` | `linux` | `macos`."}},"required":["email","displayName"],"type":"object","additionalProperties":false},"PublisherKeyRotationViewModel":{"description":"Result of rotating a venue's stadium-audio key.","properties":{"keyHint":{"type":"string","description":"Trailing-4 of the newly-issued key."}},"required":["keyHint"],"type":"object","additionalProperties":false},"PublisherPasswordResetViewModel":{"description":"One-time result of resetting a publisher account password.","properties":{"password":{"type":"string","description":"New login password — shown ONCE."}},"required":["password"],"type":"object","additionalProperties":false},"PromptSummaryViewModel":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"usedBy":{"type":"string","description":"The code that runs it."},"activeVersion":{"type":"number","format":"double","nullable":true,"description":"Null when the file runs."},"isStale":{"type":"boolean","description":"The active version's schemas no longer match the file's (the code changed them), so the file runs instead."},"updatedAt":{"type":"string","nullable":true},"updatedBy":{"type":"string","nullable":true}},"required":["name","description","usedBy","activeVersion","isStale","updatedAt","updatedBy"],"type":"object","additionalProperties":false},"PromptVersionSummaryViewModel":{"properties":{"version":{"type":"number","format":"double"},"note":{"type":"string","nullable":true},"createdAt":{"type":"string"},"createdBy":{"type":"string"}},"required":["version","note","createdAt","createdBy"],"type":"object","additionalProperties":false},"PromptDetailViewModel":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"usedBy":{"type":"string","description":"The code that runs it."},"activeVersion":{"type":"number","format":"double","nullable":true,"description":"Null when the file runs."},"isStale":{"type":"boolean","description":"The active version's schemas no longer match the file's (the code changed them), so the file runs instead."},"updatedAt":{"type":"string","nullable":true},"updatedBy":{"type":"string","nullable":true},"fileSource":{"type":"string","description":"The `.prompt` file deployed with the code."},"activeSource":{"type":"string","description":"What runs now: the active version's source, or the file's."},"versions":{"items":{"$ref":"#/components/schemas/PromptVersionSummaryViewModel"},"type":"array","description":"Newest first, up to 50."}},"required":["name","description","usedBy","activeVersion","isStale","updatedAt","updatedBy","fileSource","activeSource","versions"],"type":"object","additionalProperties":false},"PromptVersionViewModel":{"properties":{"version":{"type":"number","format":"double"},"note":{"type":"string","nullable":true},"createdAt":{"type":"string"},"createdBy":{"type":"string"},"source":{"type":"string"}},"required":["version","note","createdAt","createdBy","source"],"type":"object","additionalProperties":false},"CreatePromptVersionRequest":{"properties":{"source":{"type":"string","description":"The whole `.prompt` text: frontmatter and template. Its input and output schemas must match the file's."},"note":{"type":"string","nullable":true,"description":"What changed and why, shown in the version list."}},"required":["source"],"type":"object","additionalProperties":false},"ActivatePromptVersionRequest":{"properties":{"version":{"type":"number","format":"double","nullable":true,"description":"The version to run; null runs the file again."}},"required":["version"],"type":"object","additionalProperties":false},"BzzrProfileReference":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"tags":{"items":{"type":"string"},"type":"array"},"images":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"},"claimedByUserId":{"type":"string","nullable":true},"isVerified":{"type":"boolean"}},"required":["id","type","displayName","bzzrHandle","tags","images","claimedByUserId","isVerified"],"type":"object","additionalProperties":false},"Person":{"properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"verified":{"type":"boolean"},"displayName":{"type":"string"},"hometown":{"type":"string","nullable":true},"nicknames":{"items":{"type":"string"},"type":"array","nullable":true},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/ProfileType"},"bio":{"type":"string","nullable":true},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","nullable":true},"profileImages":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"},"sourceUrl":{"type":"string","nullable":true},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry row this profile is the snapshot of (`sport_entities.id`; docs/sports-registry.md, \"Ids\")."},"firstName":{"type":"string","nullable":true},"lastName":{"type":"string","nullable":true},"familyMembers":{"properties":{},"additionalProperties":{"type":"string"},"type":"object","nullable":true},"relationships":{"properties":{"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object","nullable":true},"position":{"type":"string","nullable":true},"height":{"type":"string","nullable":true},"weight":{"type":"string","nullable":true},"birthDate":{"type":"string","nullable":true},"birthPlace":{"type":"string","nullable":true},"college":{"type":"string","nullable":true},"draftInfo":{"type":"string","nullable":true},"experience":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"citizenship":{"type":"string","nullable":true},"debutYear":{"type":"string","nullable":true},"hand":{"type":"string","nullable":true},"sport":{"type":"string","nullable":true},"league":{"type":"string","nullable":true},"team":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReference"}],"nullable":true},"teamBzzrId":{"type":"string","nullable":true},"division":{"type":"string","nullable":true}},"required":["id","createdAt","claimedByUserId","claimedByUserName","bzzrHandle","verified","displayName","hometown","nicknames","sports","categories","type","bio","socialLinks","profileImages","sourceUrl","firstName","lastName","familyMembers","relationships","position","height","weight","birthDate","birthPlace","college","draftInfo","experience","status","jersey","citizenship","debutYear","hand","sport","league","team","teamBzzrId","division"],"type":"object","additionalProperties":false},"PersonCreateRequest":{"properties":{"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"hometown":{"type":"string"},"nicknames":{"items":{"type":"string"},"type":"array","nullable":true},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"bio":{"type":"string","nullable":true},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","nullable":true},"profileImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"familyMembers":{"properties":{},"additionalProperties":{"type":"string"},"type":"object","nullable":true},"relationships":{"properties":{"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"required":["sponsors","associations"],"type":"object","nullable":true}},"required":["displayName","firstName","lastName"],"type":"object","additionalProperties":false},"ListResultRecordResponse_PersonViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/PersonViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_PersonViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_PersonViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"PersonUpdateRequest":{"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"hometown":{"type":"string"},"nicknames":{"items":{"type":"string"},"type":"array"},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"bio":{"type":"string"},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"profileImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"firstName":{"type":"string"},"lastName":{"type":"string"},"familyMembers":{"properties":{},"additionalProperties":{"type":"string"},"type":"object"},"relationships":{"properties":{"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"required":["sponsors","associations"],"type":"object"},"height":{"type":"string"},"weight":{"type":"string"},"birthday":{"type":"string"},"birthPlace":{"type":"string"},"college":{"type":"string"},"draftInfo":{"type":"string"},"experience":{"type":"string"},"status":{"type":"string"}},"required":["id"],"type":"object","additionalProperties":false},"Organization":{"properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"verified":{"type":"boolean"},"displayName":{"type":"string"},"hometown":{"type":"string","nullable":true},"nicknames":{"items":{"type":"string"},"type":"array","nullable":true},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/ProfileType"},"bio":{"type":"string","nullable":true},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","nullable":true},"profileImages":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"},"sourceUrl":{"type":"string","nullable":true},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry row this profile is the snapshot of (`sport_entities.id`; docs/sports-registry.md, \"Ids\")."},"fullName":{"type":"string"},"stadiumName":{"type":"string","nullable":true},"stadiumLocation":{"type":"string","nullable":true},"school":{"allOf":[{"$ref":"#/components/schemas/BzzrProfileReference"}],"nullable":true},"schoolBzzrId":{"type":"string","nullable":true},"teamMascot":{"type":"string","nullable":true},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object","nullable":true},"coach":{"items":{"type":"string"},"type":"array"},"founded":{"type":"string","nullable":true},"status":{"type":"string","nullable":true},"isActive":{"type":"boolean","nullable":true},"sport":{"type":"string","nullable":true},"league":{"type":"string","nullable":true},"conference":{"type":"string","nullable":true},"division":{"type":"string","nullable":true}},"required":["id","createdAt","claimedByUserId","claimedByUserName","bzzrHandle","verified","displayName","hometown","nicknames","sports","categories","type","bio","socialLinks","profileImages","sourceUrl","fullName","stadiumName","stadiumLocation","school","schoolBzzrId","teamMascot","relationships","coach","founded","status","isActive","sport","league","conference","division"],"type":"object","additionalProperties":false},"OrganizationCreateRequest":{"properties":{"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"hometown":{"type":"string"},"nicknames":{"items":{"type":"string"},"type":"array","nullable":true},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"bio":{"type":"string","nullable":true},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","nullable":true},"profileImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"fullName":{"type":"string"},"stadiumName":{"type":"string"},"stadiumLocation":{"type":"string"},"schoolId":{"type":"string"},"teamMascot":{"type":"string","nullable":true},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"required":["displayName","fullName","teamMascot"],"type":"object","additionalProperties":false},"ListResultRecordResponse_OrganizationViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/OrganizationViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_OrganizationViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_OrganizationViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"PersonShortViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string","nullable":true},"hometown":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array"},"profileImages":{"$ref":"#/components/schemas/ImagesViewModel"},"verified":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"jersey":{"type":"string","nullable":true},"position":{"type":"string","nullable":true},"status":{"type":"string","nullable":true}},"required":["id","type","displayName","bzzrHandle","hometown","tags","profileImages","verified","claimedByUserId","claimedByUserName","jersey","position","status"],"type":"object","additionalProperties":false},"ListResultRecordResponse_PersonShortViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/PersonShortViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_PersonShortViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_PersonShortViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"OrganizationUpdateRequest":{"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"hometown":{"type":"string"},"nicknames":{"items":{"type":"string"},"type":"array"},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"bio":{"type":"string"},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"profileImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"fullName":{"type":"string"},"mascot":{"type":"string"},"stadiumName":{"type":"string"},"stadiumLocation":{"type":"string"},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object"},"coach":{"items":{"type":"string"},"type":"array"},"founded":{"type":"string"},"status":{"type":"string"},"isActive":{"type":"boolean"}},"required":["id"],"type":"object","additionalProperties":false},"School":{"properties":{"id":{"type":"string","nullable":true},"createdAt":{"type":"string"},"tags":{"items":{"type":"string"},"type":"array","nullable":true},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"claimedByUserId":{"type":"string","nullable":true},"claimedByUserName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"verified":{"type":"boolean"},"displayName":{"type":"string"},"hometown":{"type":"string","nullable":true},"nicknames":{"items":{"type":"string"},"type":"array","nullable":true},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"type":{"$ref":"#/components/schemas/ProfileType"},"bio":{"type":"string","nullable":true},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","nullable":true},"profileImages":{"items":{"$ref":"#/components/schemas/OptimizedImageInfo"},"type":"array"},"sourceUrl":{"type":"string","nullable":true},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry row this profile is the snapshot of (`sport_entities.id`; docs/sports-registry.md, \"Ids\")."},"fullName":{"type":"string"},"mascot":{"type":"string","nullable":true},"stadiumName":{"type":"string","nullable":true},"stadiumLocation":{"type":"string","nullable":true},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object","nullable":true}},"required":["id","createdAt","claimedByUserId","claimedByUserName","bzzrHandle","verified","displayName","hometown","nicknames","sports","categories","type","bio","socialLinks","profileImages","sourceUrl","fullName","mascot","stadiumName","stadiumLocation","relationships"],"type":"object","additionalProperties":false},"SchoolCreateRequest":{"properties":{"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"hometown":{"type":"string"},"nicknames":{"items":{"type":"string"},"type":"array","nullable":true},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"bio":{"type":"string","nullable":true},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","nullable":true},"profileImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"fullName":{"type":"string"},"mascot":{"type":"string"},"stadiumName":{"type":"string"},"stadiumLocation":{"type":"string"},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"required":["displayName","fullName"],"type":"object","additionalProperties":false},"ListResultRecordResponse_SchoolViewModel_":{"properties":{"record":{"$ref":"#/components/schemas/SchoolViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_SchoolViewModel_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_SchoolViewModel_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"SchoolUpdateRequest":{"properties":{"id":{"type":"string"},"displayName":{"type":"string"},"bzzrHandle":{"type":"string"},"hometown":{"type":"string"},"nicknames":{"items":{"type":"string"},"type":"array"},"sports":{"items":{"type":"string"},"type":"array"},"categories":{"items":{"type":"string"},"type":"array"},"bio":{"type":"string"},"socialLinks":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"},"profileImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"fullName":{"type":"string"},"mascot":{"type":"string"},"stadiumName":{"type":"string"},"stadiumLocation":{"type":"string"},"relationships":{"properties":{"farmTeamAffiliates":{"items":{"type":"string"},"type":"array"},"sponsors":{"items":{"type":"string"},"type":"array"},"associations":{"items":{"type":"string"},"type":"array"}},"type":"object"}},"required":["id"],"type":"object","additionalProperties":false},"ProfileStats":{"properties":{"totalPostsCount":{"type":"number","format":"double"},"totalPostsCountLastDay":{"type":"number","format":"double"},"podcastsMentions":{"type":"number","format":"double"},"podcastsMentionsLastDay":{"type":"number","format":"double"},"keyTermsCount":{"type":"number","format":"double"},"keyTermsCountLastDay":{"type":"number","format":"double"},"subscribersCount":{"type":"number","format":"double"},"subscribersCountLastDay":{"type":"number","format":"double"},"followersCount":{"type":"number","format":"double"},"followersCountLastDay":{"type":"number","format":"double"},"trueSearchCount":{"type":"number","format":"double"},"trueSearchCountLastDay":{"type":"number","format":"double"}},"required":["totalPostsCount","totalPostsCountLastDay","podcastsMentions","podcastsMentionsLastDay","keyTermsCount","keyTermsCountLastDay","subscribersCount","subscribersCountLastDay","followersCount","followersCountLastDay","trueSearchCount","trueSearchCountLastDay"],"type":"object","additionalProperties":false},"ProductPartnerViewModel":{"description":"The partner ORG a product belongs to — resolved through the creator's `commerceCreator` binding,\nnot stored on the product. Not derivable from `creator`: that's the content account, this is the\ntenant behind `dashboard.bzzr.com/<slug>`.","properties":{"slug":{"type":"string","description":"URL segment of the partner dashboard — also how the admin partner endpoints address a tenant."},"displayName":{"type":"string"}},"required":["slug","displayName"],"type":"object","additionalProperties":false},"ProductOfferWindowViewModel":{"description":"A season offer's sale window (recurring month/day, no year).","properties":{"fromMonth":{"type":"number","format":"double"},"fromDay":{"type":"number","format":"double"},"toMonth":{"type":"number","format":"double"},"toDay":{"type":"number","format":"double"}},"required":["fromMonth","fromDay","toMonth","toDay"],"type":"object","additionalProperties":false},"ProductSaleEndViewModel":{"description":"Admin-set last day (inclusive; month/day, no year) a regular product is offered for sale.","properties":{"month":{"type":"number","format":"double"},"day":{"type":"number","format":"double"}},"required":["month","day"],"type":"object","additionalProperties":false},"AdminProductViewModel":{"description":"Admin-only product view: adds the sale-scheduling windows so the admin FE can see (and edit) what\nis currently configured. Deliberately NOT part of the consumer VMs — consumers only ever see\nalready-filtered catalogs.","properties":{"id":{"type":"number","format":"double"},"code":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"image":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"creator":{"allOf":[{"$ref":"#/components/schemas/FollowingShortViewModel"}],"nullable":true},"type":{"$ref":"#/components/schemas/ProductType"},"interval":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true},"source":{"$ref":"#/components/schemas/ProductSource"},"price":{"allOf":[{"$ref":"#/components/schemas/ProductPriceViewModel"}],"nullable":true},"isActive":{"type":"boolean"},"isSubscribed":{"type":"boolean"},"seasonEnd":{"type":"string","nullable":true},"accessEnd":{"type":"string","nullable":true,"description":"When access actually ENDS for this product if taken out now — the instant stamped as the\nsubscription's period end, 12:00 UTC the day after the last covered day. Later than `seasonEnd`\nfor a free product with a post-season tail, and a day later than it for everything else, because\nthe final season day has to stay watchable through its evening games.\n\n`seasonEnd` stays the LEAGUE's season end, so the two answer different questions: \"when does the\nseason finish\" vs \"how long do I keep watching\". The two are filled independently — the creator\ncatalog carries both, the profile's offer halves carry only this one, and `GET /subscriptions`\ncarries neither (a held subscription's own `currentPeriod.end` is the answer there)."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentViewModel"}],"nullable":true,"description":"Terms the fan must accept to claim or buy this product, or null when its partner asks nothing\n(most). Present on every surface that offers a product — the paid catalog and the creator\nprofile's free half alike, since $0 is not an exemption.\n\nDelivered alongside the product because those surfaces are already keyed by `creatorId`, which\nmakes rendering one partner's statement against another's product impossible. Echo `version`\nback in the `consent` field of the call that creates the subscription."},"entitlementIds":{"items":{"type":"string"},"type":"array"},"partner":{"allOf":[{"$ref":"#/components/schemas/ProductPartnerViewModel"}],"nullable":true,"description":"Owning partner org, or null when the product's creator is bound to no partner — the common case\nuntil a tenant is provisioned, so the admin FE must render a blank here without treating it as\nan error."},"offerWindow":{"allOf":[{"$ref":"#/components/schemas/ProductOfferWindowViewModel"}],"nullable":true,"description":"Presence marks the product as a season offer; null for regular products."},"saleEnd":{"allOf":[{"$ref":"#/components/schemas/ProductSaleEndViewModel"}],"nullable":true,"description":"Null = default behavior (sellable to season end)."},"saleEndResolvesTo":{"type":"string","nullable":true,"description":"The concrete date (YYYY-MM-DD) the stored saleEnd month/day currently resolves to within the\nleague's current/upcoming season — what enforcement actually compares against. A PAST date here\nmeans the product is already hidden. Null when no saleEnd is set or the league is unresolvable."},"postSeasonAccessDays":{"type":"integer","format":"int32","nullable":true,"description":"Days of access after the season ends. The value this product actually carries: on a free product\nthe platform default it was created with or whatever an admin set since; on a paid one `null`\n(ends with the season) unless an admin set a short replay run-out."}},"required":["id","code","name","description","image","creator","type","interval","source","price","isActive","isSubscribed","seasonEnd","accessEnd","entitlementIds","partner","offerWindow","saleEnd","saleEndResolvesTo","postSeasonAccessDays"],"type":"object","additionalProperties":false},"ProductOfferWindowRequest":{"description":"Recurring (no-year) month/day window during which a season pass is offered for sale.\nOnly valid for `interval: season` products — its presence makes the product a limited\n\"season offer\" (a discounted season pass sold only inside this window).","properties":{"fromMonth":{"type":"number","format":"double"},"fromDay":{"type":"number","format":"double"},"toMonth":{"type":"number","format":"double"},"toDay":{"type":"number","format":"double"}},"required":["fromMonth","fromDay","toMonth","toDay"],"type":"object","additionalProperties":false},"ProductSaleEndRequest":{"description":"LAST day (inclusive; month/day, no year — resolved within the product's season) a REGULAR product\nis offered for sale. Past it the product is hidden from the catalog and not purchasable, while\nalready-purchased subscriptions keep working until season end. Must resolve to today or later and\ncannot land past the league's season end. Rejected for offer products — an offer's sale period is\nits offer window.","properties":{"month":{"type":"integer","format":"int32","minimum":1,"maximum":12},"day":{"type":"integer","format":"int32","minimum":1,"maximum":31}},"required":["month","day"],"type":"object","additionalProperties":false},"Currency":{"enum":["usd"],"type":"string"},"CreateStripeProductRequest":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"image":{"$ref":"#/components/schemas/FileUploadRequest"},"leagueShortCode":{"type":"string"},"teamShortCode":{"type":"string"},"entitlementIds":{"items":{"type":"string"},"type":"array"},"currency":{"$ref":"#/components/schemas/Currency","description":"Defaults to USD."},"interval":{"$ref":"#/components/schemas/ProductInterval"},"priceAmount":{"type":"integer","format":"int32","description":"Price in the currency's minor units (cents). Floor is Stripe's ~$0.50 minimum card charge — a\nsmaller amount would pass our validation but fail at charge time with no early signal.","minimum":50},"offerWindow":{"$ref":"#/components/schemas/ProductOfferWindowRequest","description":"Offer window — presence marks a `season` product as a limited offer (rejected for monthly)."},"saleEnd":{"$ref":"#/components/schemas/ProductSaleEndRequest","description":"Last sale day for a regular product (rejected together with offerWindow). Omit = sell to season end."}},"required":["name","description","leagueShortCode","entitlementIds","interval","priceAmount"],"type":"object","additionalProperties":false},"CreateFreeProductRequest":{"description":"A **zero-cost synthetic product**. Nothing is created on Stripe, so price and sale windows would\nbe dead weight — a free product isn't *sold*, and `isActive` is its only availability control.\n`interval` isn't accepted either: it is always `season`, like the paid pass.","properties":{"name":{"type":"string"},"description":{"type":"string"},"image":{"$ref":"#/components/schemas/FileUploadRequest"},"leagueShortCode":{"type":"string"},"teamShortCode":{"type":"string"},"entitlementIds":{"items":{"type":"string"},"type":"array"},"currency":{"$ref":"#/components/schemas/Currency","description":"Defaults to USD."},"postSeasonAccessDays":{"type":"integer","format":"int32","description":"Days of access AFTER the season ends — teams giving away replays want fans watching into the\noff-season. Omit for the platform default (`DEFAULT_POST_SEASON_ACCESS_DAYS`); `0` ends access\nwith the season, like a paid pass. Capped at 90: a tail that reached the next season would be a\nseason pass for it, which is a separate offer. ONE exception: a CHANNEL product (every entitlement\n`channel_streaming`, a 24/7 feed that stays on air through the off-season) may run up to — never\npast — the next season's start; the exact maximum depends on the league's dates and a value\nbeyond it is refused.","minimum":0,"maximum":366}},"required":["name","description","leagueShortCode","entitlementIds"],"type":"object","additionalProperties":false},"CreateTvProductRequest":{"description":"The product a TV-provider (TV Everywhere) grant is recorded under: $0 and rail-less like a free\nproduct, but it stands in for a pass the fan pays their operator for, so its tail follows the PAID\nrules — none unless set, and at most 14 days.","properties":{"name":{"type":"string"},"description":{"type":"string"},"image":{"$ref":"#/components/schemas/FileUploadRequest"},"leagueShortCode":{"type":"string"},"teamShortCode":{"type":"string"},"entitlementIds":{"items":{"type":"string"},"type":"array"},"currency":{"$ref":"#/components/schemas/Currency","description":"Defaults to USD."},"postSeasonAccessDays":{"type":"integer","format":"int32","description":"Days of access AFTER the season ends. Omit or `0` for none (access ends with the season, like a\npaid pass); at most 14 — a short replay run-out, not a season extension.","minimum":0,"maximum":14}},"required":["name","description","leagueShortCode","entitlementIds"],"type":"object","additionalProperties":false},"PaginatedList_AdminProductViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/AdminProductViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"UpdateStripePriceRequest":{"properties":{"priceAmount":{"type":"integer","format":"int32","description":"Price in the currency's minor units (cents). Floor is Stripe's ~$0.50 minimum card charge — a\nsmaller amount would pass our validation but fail at charge time with no early signal.","minimum":50},"currency":{"$ref":"#/components/schemas/Currency"}},"required":["priceAmount"],"type":"object","additionalProperties":false},"UpdateStripeProductRequest":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"image":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"saleEnd":{"allOf":[{"$ref":"#/components/schemas/ProductSaleEndRequest"}],"nullable":true,"description":"Last sale day for a regular product. `null` clears it (back to the default: sellable to season\nend); omitted = unchanged. Rejected for offer products."},"postSeasonAccessDays":{"type":"integer","format":"int32","description":"Days of access after the season ends. On a FREE product anything up to 90 (see\n`CreateFreeProductRequest`); on a PAID or TV-provider one at most 14 — a free replay run-out after the last game,\nbilling still stops at the season end. The season-end sweep reads this column live, so an edit moves the expiry of\nevery live subscription at once, and a resync task re-stamps their `currentPeriodEnd` (on a paid monthly\nonly the rows already in their replay tail). An edit that would put the current access end in the PAST is refused. Above 90 only\nfor a CHANNEL product, and never past the next season's start (see `CreateFreeProductRequest`).","minimum":0,"maximum":366}},"type":"object","additionalProperties":false},"RateTier":{"description":"One tier of a monthly cumulative volume waterfall. `upTo` is the tier's upper\nbound in units/month (exclusive); `null` marks the unbounded top tier. Tiers are\nstored sorted ascending by `upTo`, with exactly the last one `null`.","properties":{"upTo":{"type":"number","format":"double","nullable":true},"rate":{"type":"number","format":"double"}},"required":["upTo","rate"],"type":"object","additionalProperties":false},"PricingEstimates":{"description":"Era-dependent usage calibrations that turn measured usage into the ESTIMATED\ncost lines of a passport (and seed the planner's assumptions). Kept on the\neffective-dated period because they drift with the product (e.g. MediaTailor\nDTO per viewer-hour grew when real ad campaigns started).","properties":{"byteCacheHitPct":{"type":"number","format":"double","description":"CloudFront BYTE-based cache hit, % — drives the MediaPackage origin estimate."},"mediaTailorDtoGbPerViewerHour":{"type":"number","format":"double","description":"MediaTailor manifest/tracking egress per viewer-hour, billing GB."},"mediaPackageIngestGbPerChannelHour":{"type":"number","format":"double","description":"MediaPackage ingest per MediaLive channel-hour, billing GB."},"logsGbPerGameDay":{"type":"number","format":"double","description":"CloudWatch vended logs (CF + MT feeds) per game day, GB."},"insightsScanGbPerGameDay":{"type":"number","format":"double","description":"Logs Insights data scanned per game day, GB."},"cfToMtRequestRatio":{"type":"number","format":"double","description":"CF-total-requests ÷ MediaTailor-manifest-requests — fallback when cfRequests wasn't measured."}},"required":["byteCacheHitPct","mediaTailorDtoGbPerViewerHour","mediaPackageIngestGbPerChannelHour","logsGbPerGameDay","insightsScanGbPerGameDay","cfToMtRequestRatio"],"type":"object","additionalProperties":false},"PricingPeriodViewModel":{"description":"One resolved rate period (every optional card field defaults-merged).","properties":{"effectiveFrom":{"type":"string"},"egressPerGb":{"type":"number","format":"double","description":"CDN egress as billed, currency per BILLING GB (1024³ bytes)."},"channelHourRate":{"type":"number","format":"double","description":"MediaLive flat rate, currency per channel-hour."},"reqRate":{"type":"number","format":"double","description":"LEGACY: currency per 1000 MediaTailor manifest requests."},"egressOnDemandPerGb":{"type":"number","format":"double"},"currency":{"type":"string"},"pricingVersion":{"type":"string"},"note":{"type":"string","nullable":true},"cdnContractEgressPerGb":{"type":"number","format":"double"},"cfRequestsPer1k":{"type":"number","format":"double"},"mediaPackageOriginPerGb":{"type":"number","format":"double"},"mediaPackageIngestPerGb":{"type":"number","format":"double"},"mediaTailorManifestDtoPerGb":{"type":"number","format":"double"},"mediaTailorAdInsertPer1k":{"type":"number","format":"double"},"cloudWatchVendedLogsPerGb":{"type":"number","format":"double"},"cloudWatchInsightsScanPerGb":{"type":"number","format":"double"},"mediaLiveHdOutputPerHr":{"type":"number","format":"double"},"mediaLiveSdOutputPerHr":{"type":"number","format":"double"},"mediaLiveInputHdPerHr":{"type":"number","format":"double"},"mediaLiveDtoPerHr":{"type":"number","format":"double"},"ivsAudioPerParticipantHrTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array"},"ivsStandardPerParticipantHrTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array"},"geoComplyPerCallTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array"},"muxEncodePerMin":{"type":"number","format":"double"},"muxStoragePerMinMonth":{"type":"number","format":"double"},"muxDeliveryPerMin":{"type":"number","format":"double"},"fanServPer1kImpressions":{"type":"number","format":"double"},"tveAuthPerUserMonth":{"type":"number","format":"double"},"estimates":{"$ref":"#/components/schemas/PricingEstimates"}},"required":["effectiveFrom","egressPerGb","channelHourRate","reqRate","egressOnDemandPerGb","currency","pricingVersion","note","cdnContractEgressPerGb","cfRequestsPer1k","mediaPackageOriginPerGb","mediaPackageIngestPerGb","mediaTailorManifestDtoPerGb","mediaTailorAdInsertPer1k","cloudWatchVendedLogsPerGb","cloudWatchInsightsScanPerGb","mediaLiveHdOutputPerHr","mediaLiveSdOutputPerHr","mediaLiveInputHdPerHr","mediaLiveDtoPerHr","ivsAudioPerParticipantHrTiers","ivsStandardPerParticipantHrTiers","geoComplyPerCallTiers","muxEncodePerMin","muxStoragePerMinMonth","muxDeliveryPerMin","fanServPer1kImpressions","tveAuthPerUserMonth","estimates"],"type":"object","additionalProperties":false},"PricingConfigViewModel":{"description":"`GET /admin/config/pricing` — the effective-dated rate schedule (sorted ascending).","properties":{"periods":{"items":{"$ref":"#/components/schemas/PricingPeriodViewModel"},"type":"array"},"currentPricingVersion":{"type":"string","description":"`pricingVersion` of the period that applies right now (for the admin UI's \"current\" hint)."},"updatedAt":{"type":"string","nullable":true}},"required":["periods","currentPricingVersion","updatedAt"],"type":"object","additionalProperties":false},"CostPlannerRates":{"description":"The cost-planner rate card: every unit rate the admin cost calculator prices with.\nThese are FORECAST assumptions (billed observations, contract proposals, vendor\ncontracts) — deliberately separate from `config/pricing`, which is the production\nschedule the live-stats passport costs games with. AWS-verifiable defaults were\nreconciled against Cost Explorer for the prod account on 2026-07-27.","properties":{"cdnEgressPerGb":{"type":"number","format":"double","description":"CloudFront egress as actually billed under the current payer, $/GB (watch Billing-tab drift)."},"cdnContractEgressPerGb":{"type":"number","format":"double","description":"CloudFront egress per the GlobalDots contract proposal, $/GB — scenario input, shown side by side."},"cdnRequestsPer1k":{"type":"number","format":"double","description":"CloudFront HTTPS requests, $ per 1,000."},"mediaLiveHdOutputPerHr":{"type":"number","format":"double","description":"MediaLive output, $ per hour per HD (>=720p) rendition."},"mediaLiveSdOutputPerHr":{"type":"number","format":"double","description":"MediaLive output, $ per hour per SD rendition."},"mediaLiveInputHdPerHr":{"type":"number","format":"double","description":"MediaLive HD AVC input, $ per running hour."},"mediaLiveDtoPerHr":{"type":"number","format":"double","description":"MediaLive contribution egress to MediaPackage, $ per running hour (ladder-bitrate dependent, averaged)."},"mediaLiveFlatPerChannelHr":{"type":"number","format":"double","nullable":true,"description":"Flat $/channel-hour override; null = derive from the rendition ladder using the per-SKU rates above."},"mediaPackageOriginPerGb":{"type":"number","format":"double","description":"MediaPackage v2 origin packaging (origin egress toward the CDN), $/GB."},"mediaPackageIngestPerGb":{"type":"number","format":"double","description":"MediaPackage v2 ingest, $/GB."},"mediaTailorManifestDtoPerGb":{"type":"number","format":"double","description":"MediaTailor manifest/tracking data transfer out, $/GB."},"mediaTailorAdInsertPer1k":{"type":"number","format":"double","description":"MediaTailor server-side ad insertion, $ per 1,000 ads stitched."},"cloudWatchVendedLogsPerGb":{"type":"number","format":"double","description":"CloudWatch vended CloudFront access logs delivery, $/GB (the live-stats feature's log feed)."},"cloudWatchInsightsScanPerGb":{"type":"number","format":"double","description":"CloudWatch Logs Insights, $ per GB scanned (live-stats passport queries)."},"ivsAudioPerParticipantHrTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array","description":"IVS Real-Time AUDIO-ONLY participant-hour, monthly cumulative tiers. Applies to every\nparticipant that only sends or receives audio — i.e. every stadium-audio listener\n(all clients subscribe `AUDIO_ONLY`). Exactly 1/10 of the standard tiers."},"ivsStandardPerParticipantHrTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array","description":"IVS Real-Time STANDARD (video) participant-hour, monthly cumulative tiers. Applies to\nthe venue WHIP publisher only: AWS rejects an audio-only WHIP SDP offer, so the encoder\nmust push a black H.264 track alongside the audio and bills as a video participant."},"geoComplyPerCallTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array","description":"GeoComply per-verification-call waterfall (contract BZZR-01), monthly cumulative tiers."},"muxEncodePerMin":{"type":"number","format":"double","description":"Mux VOD encoding, $ per minute of content created."},"muxStoragePerMinMonth":{"type":"number","format":"double","description":"Mux VOD storage, $ per minute of content per month."},"muxDeliveryPerMin":{"type":"number","format":"double","description":"Mux VOD delivery, $ per minute streamed (resolution-blended)."},"fanServPer1kImpressions":{"type":"number","format":"double","description":"FanServ ad serving, $ per 1,000 impressions."},"tveAuthPerUserMonth":{"type":"number","format":"double","description":"TVE authentication, $ per authenticated TVE user per month."},"currency":{"type":"string"}},"required":["cdnEgressPerGb","cdnContractEgressPerGb","cdnRequestsPer1k","mediaLiveHdOutputPerHr","mediaLiveSdOutputPerHr","mediaLiveInputHdPerHr","mediaLiveDtoPerHr","mediaLiveFlatPerChannelHr","mediaPackageOriginPerGb","mediaPackageIngestPerGb","mediaTailorManifestDtoPerGb","mediaTailorAdInsertPer1k","cloudWatchVendedLogsPerGb","cloudWatchInsightsScanPerGb","ivsAudioPerParticipantHrTiers","ivsStandardPerParticipantHrTiers","geoComplyPerCallTiers","muxEncodePerMin","muxStoragePerMinMonth","muxDeliveryPerMin","fanServPer1kImpressions","tveAuthPerUserMonth","currency"],"type":"object","additionalProperties":false},"PricingCardViewModel":{"description":"`GET /admin/config/pricing/card` — the resolved rate card for a date (default\nnow), reshaped into the Cost Planner's format. THE one rate source: passports\ncost games with the same period this card is derived from.","properties":{"rates":{"$ref":"#/components/schemas/CostPlannerRates"},"estimates":{"$ref":"#/components/schemas/PricingEstimates"},"pricingVersion":{"type":"string"},"effectiveFrom":{"type":"string"},"egressOnDemandPerGb":{"type":"number","format":"double"},"note":{"type":"string","nullable":true}},"required":["rates","estimates","pricingVersion","effectiveFrom","egressOnDemandPerGb","note"],"type":"object","additionalProperties":false},"PricingPeriodInput":{"description":"One rate period in a `PUT /admin/config/pricing` body. The first three rates\nare required; every full-card field is optional — omitted fields fall back to\nthe billing-verified defaults on read.","properties":{"effectiveFrom":{"type":"string","description":"ISO date this schedule takes effect (may be in the future to pre-load a contract)."},"egressPerGb":{"type":"number","format":"double","description":"CDN egress as billed, currency per BILLING GB (1024³ bytes)."},"channelHourRate":{"type":"number","format":"double","description":"MediaLive flat rate, currency per channel-hour."},"reqRate":{"type":"number","format":"double","description":"LEGACY: currency per 1000 MediaTailor manifest requests (kept for old passports)."},"egressOnDemandPerGb":{"type":"number","format":"double","description":"Optional AWS on-demand reference rate; defaults if omitted."},"currency":{"type":"string","description":"Defaults to \"USD\" if omitted."},"pricingVersion":{"type":"string"},"note":{"type":"string"},"cdnContractEgressPerGb":{"type":"number","format":"double"},"cfRequestsPer1k":{"type":"number","format":"double"},"mediaPackageOriginPerGb":{"type":"number","format":"double"},"mediaPackageIngestPerGb":{"type":"number","format":"double"},"mediaTailorManifestDtoPerGb":{"type":"number","format":"double"},"mediaTailorAdInsertPer1k":{"type":"number","format":"double"},"cloudWatchVendedLogsPerGb":{"type":"number","format":"double"},"cloudWatchInsightsScanPerGb":{"type":"number","format":"double"},"mediaLiveHdOutputPerHr":{"type":"number","format":"double"},"mediaLiveSdOutputPerHr":{"type":"number","format":"double"},"mediaLiveInputHdPerHr":{"type":"number","format":"double"},"mediaLiveDtoPerHr":{"type":"number","format":"double"},"ivsAudioPerParticipantHrTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array"},"ivsStandardPerParticipantHrTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array"},"geoComplyPerCallTiers":{"items":{"$ref":"#/components/schemas/RateTier"},"type":"array"},"muxEncodePerMin":{"type":"number","format":"double"},"muxStoragePerMinMonth":{"type":"number","format":"double"},"muxDeliveryPerMin":{"type":"number","format":"double"},"fanServPer1kImpressions":{"type":"number","format":"double"},"tveAuthPerUserMonth":{"type":"number","format":"double"},"estimates":{"$ref":"#/components/schemas/PricingEstimates"}},"required":["effectiveFrom","egressPerGb","channelHourRate","reqRate","pricingVersion"],"type":"object","additionalProperties":false},"UpdatePricingConfigRequest":{"description":"`PUT /admin/config/pricing` — replaces the whole rate schedule with `periods`.\nThe list is re-sorted by `effectiveFrom` server-side; a game is costed by the\nlatest period whose `effectiveFrom <= game air date`. Provide at least one\nperiod (typically an epoch-dated general period + one per contract).","properties":{"periods":{"items":{"$ref":"#/components/schemas/PricingPeriodInput"},"type":"array"}},"required":["periods"],"type":"object","additionalProperties":false},"PrewarmStatus":{"enum":["active","reverted","none"],"type":"string"},"PrewarmScalingViewModel":{"properties":{"min":{"type":"number","format":"double"},"max":{"type":"number","format":"double"}},"required":["min","max"],"type":"object","additionalProperties":false},"Record_string.PrewarmScalingViewModel_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/PrewarmScalingViewModel"},"type":"object","description":"Construct a type with a set of properties K of type T"},"PrewarmStateViewModel":{"properties":{"status":{"$ref":"#/components/schemas/PrewarmStatus"},"appliedAt":{"type":"string"},"lastAppliedAt":{"type":"string"},"revertAt":{"type":"string","description":"When the auto-revert task will next attempt to restore the baseline."},"hardDeadlineAt":{"type":"string","description":"Absolute ceiling (appliedAt + 24h): revert happens then even mid-live."},"appliedBy":{"type":"string"},"baseline":{"$ref":"#/components/schemas/Record_string.PrewarmScalingViewModel_","description":"Scaling captured from the live services before the first apply."},"applied":{"$ref":"#/components/schemas/Record_string.PrewarmScalingViewModel_","description":"Scaling currently applied by the prewarm."},"postponeCount":{"type":"number","format":"double","description":"How many times the revert was postponed by the live-guard."}},"required":["status"],"type":"object","additionalProperties":false},"PrewarmApplyRequest":{"description":"Pre-warm request for the event-day instance bump. Targets are an allowlist —\narbitrary service names are deliberately NOT accepted. Caps are enforced in\nPrewarmService (api ≤ 300 by the Cloud SQL connection budget).","properties":{"useEventDefaults":{"type":"boolean","description":"Apply the event-day profile to every target not explicitly overridden below.\nThe profile comes from the `config/prewarmDefaults` Firestore doc (tunable\nwithout a redeploy), falling back per target to PREWARM_EVENT_DEFAULTS in\ncode; either way the PREWARM_TARGETS caps still apply. Explicit opt-in — an\nempty body must never trigger a full (billable) prewarm by accident."},"api":{"$ref":"#/components/schemas/PrewarmTargetScaling"},"beforeUserCreated":{"$ref":"#/components/schemas/PrewarmTargetScaling"},"getStreamUserToken":{"$ref":"#/components/schemas/PrewarmTargetScaling"},"ttlMinutes":{"type":"integer","format":"int32","description":"Minutes until auto-revert. The revert is postponed in 30-min steps while a\nbroadcast is live or starting within 30 min, but never past 24h after the\nfirst apply.","minimum":15,"maximum":1440}},"type":"object","additionalProperties":false},"PrewarmRevertOutcome":{"enum":["reverted","postponed","rescheduled","noop"],"type":"string"},"PrewarmRevertResultViewModel":{"properties":{"outcome":{"$ref":"#/components/schemas/PrewarmRevertOutcome"},"revertAt":{"type":"string"}},"required":["outcome"],"type":"object","additionalProperties":false},"AdminUserPostViewModel":{"description":"The admin trash row: the consumer shape plus the deletion record the consumer never sees.","properties":{"id":{"type":"string"},"userProfileReference":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"content":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/ImagesViewModel"},"type":"array","deprecated":true},"media":{"items":{"anyOf":[{"$ref":"#/components/schemas/ImagesViewModel"},{"$ref":"#/components/schemas/VideoReferenceViewModel"}]},"type":"array"},"geolocation":{"type":"string","nullable":true},"isCommentsEnabled":{"type":"boolean","nullable":true},"isLinkImagesEnabled":{"type":"boolean"},"linkPreview":{"allOf":[{"$ref":"#/components/schemas/PostLinkPreviewViewModel"}],"nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"state":{"$ref":"#/components/schemas/PostState"},"givenState":{"allOf":[{"$ref":"#/components/schemas/StudioState"}],"nullable":true},"scheduledAt":{"type":"string","nullable":true},"publishedDate":{"type":"string","nullable":true},"poll":{"allOf":[{"$ref":"#/components/schemas/PostPoll"}],"nullable":true},"repostedActivityId":{"type":"string","nullable":true},"isDeleted":{"type":"boolean"},"deletionData":{"allOf":[{"$ref":"#/components/schemas/DeletionData"}],"nullable":true},"deletedByUser":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true,"description":"Who took it down (`deletionData.deletedBy`); null on a restored row or when that account is gone."}},"required":["id","userProfileReference","content","media","geolocation","isCommentsEnabled","isLinkImagesEnabled","createdAt","updatedAt","state","givenState","scheduledAt","publishedDate","poll","repostedActivityId","isDeleted"],"type":"object","additionalProperties":false},"DocumentsList_AdminUserPostViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/AdminUserPostViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"PodscanPaginationResponse":{"properties":{"total":{"type":"number","format":"double"},"per_page":{"type":"number","format":"double"},"current_page":{"type":"number","format":"double"},"last_page":{"type":"number","format":"double"},"from":{"type":"number","format":"double"},"to":{"type":"number","format":"double"}},"required":["total","per_page","current_page","last_page","from","to"],"type":"object","additionalProperties":false},"PodscanCategory":{"properties":{"category_id":{"type":"string"},"category_name":{"type":"string"}},"required":["category_id","category_name"],"type":"object","additionalProperties":false},"SocialLink":{"properties":{"platform":{"type":"string"},"url":{"type":"string"}},"required":["platform","url"],"type":"object","additionalProperties":false},"PodscanReach":{"properties":{"itunes":{"properties":{"itunes_rating_count_bracket":{"type":"string"},"itunes_rating_count":{"type":"string"},"itunes_rating_average":{"type":"string"}},"required":["itunes_rating_count_bracket","itunes_rating_count","itunes_rating_average"],"type":"object"},"spotify":{"properties":{"spotify_rating_count_bracket":{"type":"string"},"spotify_rating_count":{"type":"string"},"spotify_rating_average":{"type":"string"}},"required":["spotify_rating_count_bracket","spotify_rating_count","spotify_rating_average"],"type":"object"},"audience_size":{"type":"number","format":"double"},"social_links":{"items":{"$ref":"#/components/schemas/SocialLink"},"type":"array"},"email":{"type":"string"},"website":{"type":"string"}},"required":["audience_size","social_links","email","website"],"type":"object","additionalProperties":false},"PodscanPodcast":{"properties":{"podcast_id":{"type":"string"},"podcast_guid":{"type":"string"},"podcast_name":{"type":"string"},"podcast_url":{"type":"string"},"podcast_description":{"type":"string"},"podcast_image_url":{"type":"string"},"podcast_categories":{"items":{"$ref":"#/components/schemas/PodscanCategory"},"type":"array"},"reach":{"$ref":"#/components/schemas/PodscanReach"},"is_active":{"type":"boolean"},"rss_url":{"type":"string"},"episode_count":{"type":"number","format":"double"},"episodes_in_database":{"type":"number","format":"double"},"last_posted_at":{"type":"string"},"language":{"type":"string"},"region":{"type":"string"},"last_scanned_at":{"type":"string"},"created_at":{"type":"string"},"updated_at":{"type":"string"},"publisher_name":{"type":"string"},"rss_url_normalized":{"type":"string"},"podcast_spotify_id":{"type":"string"},"podcast_itunes_id":{"type":"string"},"is_duplicate_of":{"type":"string","nullable":true}},"required":["podcast_id","podcast_guid","podcast_name","podcast_url","podcast_description","podcast_image_url","podcast_categories","reach","is_active","rss_url","episode_count","last_posted_at","language","region","last_scanned_at","created_at","updated_at"],"type":"object","additionalProperties":false},"PodscanPodcastsPagedResponse":{"properties":{"podcasts":{"items":{"$ref":"#/components/schemas/PodscanPodcast"},"type":"array"},"pagination":{"$ref":"#/components/schemas/PodscanPaginationResponse"}},"required":["podcasts","pagination"],"type":"object","additionalProperties":false},"PodscanSearchOrderByEnum":{"enum":["best_match","name","rating","created_at","episode_count","audience_size","last_posted_at"],"type":"string"},"PodscanSearchOrderDirecionEnum":{"enum":["desc","asc"],"type":"string"},"PodscanSearchSearchFieldsEnum":{"enum":["name","description","website","publisher_name"],"type":"string"},"PodscanLanguageEnum":{"enum":["en","es","de","fr","it","pt","ru","uk","pl","nl","sv","no","da","fi","cs","sk","hu","ro","bg","el","tr","ar","he","hi","id","th","vi","zh","ja","ko"],"type":"string"},"PodscanRegionEnum":{"enum":["US","CA","MX","GB","IE","DE","FR","ES","IT","NL","BE","CH","AT","SE","NO","DK","FI","PL","CZ","SK","HU","RO","BG","GR","PT","AU","NZ","BR","AR","CL","CO","JP","KR","CN","IN","SG","ID","TH","AE","SA","IL","TR","UA"],"type":"string"},"SearchPodscanPodcastsQueryParams":{"properties":{"query":{"type":"string"},"orderBy":{"$ref":"#/components/schemas/PodscanSearchOrderByEnum"},"orderDirection":{"$ref":"#/components/schemas/PodscanSearchOrderDirecionEnum"},"page":{"type":"number","format":"double"},"perPage":{"type":"number","format":"double"},"categoryIds":{"items":{"type":"string"},"type":"array"},"searchFields":{"items":{"$ref":"#/components/schemas/PodscanSearchSearchFieldsEnum"},"type":"array"},"language":{"$ref":"#/components/schemas/PodscanLanguageEnum"},"region":{"$ref":"#/components/schemas/PodscanRegionEnum"},"minAudienceSize":{"type":"number","format":"double"},"maxAudienceSize":{"type":"number","format":"double"},"minEpisodeCount":{"type":"number","format":"double"},"minLastEpisodePostedAt":{"type":"number","format":"double"},"maxLastEpisodePostedAt":{"type":"number","format":"double"},"hasGuests":{"type":"boolean"},"hasSponsors":{"type":"number","format":"double"}},"required":["query"],"type":"object","additionalProperties":false},"PodscanPodcastsResponse":{"properties":{"podcasts":{"items":{"$ref":"#/components/schemas/PodscanPodcast"},"type":"array"}},"required":["podcasts"],"type":"object","additionalProperties":false},"PodscanListItemActionResponse":{"properties":{"status":{"type":"string"},"error":{"type":"string"},"message":{"type":"string"},"errors":{"type":"string"}},"type":"object","additionalProperties":false},"PodscanTypesEnum":{"enum":["Podcast","PodcastEpisode","Alert","Mention","Topic","Entity","Publisher"],"type":"string"},"PodscanListItemViewModel":{"properties":{"id":{"type":"string"},"type":{"type":"string"},"name":{"type":"string"},"thumbnail":{"type":"string","nullable":true},"addedAt":{"type":"string"}},"required":["id","type","name","thumbnail","addedAt"],"type":"object","additionalProperties":false},"PodscanListPaginationViewModel":{"properties":{"total":{"type":"number","format":"double"},"page":{"type":"number","format":"double"},"lastPage":{"type":"number","format":"double"},"perPage":{"type":"number","format":"double"}},"required":["total","page","lastPage","perPage"],"type":"object","additionalProperties":false},"PodscanListViewModel":{"properties":{"podcasts":{"items":{"$ref":"#/components/schemas/PodscanListItemViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/PodscanListPaginationViewModel"}},"required":["podcasts","pagination"],"type":"object","additionalProperties":false},"PodcastHostCorrectionViewModel":{"properties":{"id":{"type":"string"},"sourceName":{"type":"string"},"userId":{"type":"string"},"profileId":{"type":"string"},"accountName":{"type":"string","nullable":true},"personName":{"type":"string","nullable":true},"createdAt":{"type":"string"},"createdBy":{"type":"string"}},"required":["id","sourceName","userId","profileId","accountName","personName","createdAt","createdBy"],"type":"object","additionalProperties":false},"PodcastHostAdditionViewModel":{"properties":{"id":{"type":"string"},"userId":{"type":"string"},"profileId":{"type":"string"},"accountName":{"type":"string","nullable":true},"personName":{"type":"string","nullable":true},"effectiveFrom":{"type":"string"},"createdAt":{"type":"string"},"createdBy":{"type":"string"}},"required":["id","userId","profileId","accountName","personName","effectiveFrom","createdAt","createdBy"],"type":"object","additionalProperties":false},"DetectedPodcastHostViewModel":{"properties":{"sourceName":{"type":"string"},"sourceEpisodeId":{"type":"string"},"episodeTitle":{"type":"string"}},"required":["sourceName","sourceEpisodeId","episodeTitle"],"type":"object","additionalProperties":false},"PodcastHostCreditsViewModel":{"properties":{"revision":{"type":"number","format":"double"},"corrections":{"items":{"$ref":"#/components/schemas/PodcastHostCorrectionViewModel"},"type":"array"},"additions":{"items":{"$ref":"#/components/schemas/PodcastHostAdditionViewModel"},"type":"array"},"detectedHosts":{"items":{"$ref":"#/components/schemas/DetectedPodcastHostViewModel"},"type":"array","description":"Names from recent episodes; a different stored episode may also be supplied for correction."},"detectedHostsCursor":{"type":"string","nullable":true},"backfill":{"properties":{"lastError":{"type":"string","nullable":true},"processed":{"type":"number","format":"double"},"status":{"type":"string","enum":["pending","running","complete"]}},"required":["lastError","processed","status"],"type":"object","nullable":true}},"required":["revision","corrections","additions","detectedHosts","detectedHostsCursor","backfill"],"type":"object","additionalProperties":false},"PodcastGuestCorrectionViewModel":{"properties":{"id":{"type":"string"},"sourceName":{"type":"string"},"userId":{"type":"string"},"profileId":{"type":"string"},"accountName":{"type":"string","nullable":true},"personName":{"type":"string","nullable":true},"createdAt":{"type":"string"},"createdBy":{"type":"string"},"sourceKey":{"type":"string"}},"required":["id","sourceName","userId","profileId","accountName","personName","createdAt","createdBy","sourceKey"],"type":"object","additionalProperties":false},"PodcastGuestAdditionViewModel":{"properties":{"id":{"type":"string"},"userId":{"type":"string"},"profileId":{"type":"string"},"accountName":{"type":"string","nullable":true},"personName":{"type":"string","nullable":true},"createdAt":{"type":"string"},"createdBy":{"type":"string"}},"required":["id","userId","profileId","accountName","personName","createdAt","createdBy"],"type":"object","additionalProperties":false},"DetectedPodcastGuestViewModel":{"properties":{"sourceKey":{"type":"string"},"sourceName":{"type":"string"},"speakerLabel":{"type":"string"}},"required":["sourceKey","sourceName","speakerLabel"],"type":"object","additionalProperties":false},"PodcastGuestCreditsViewModel":{"properties":{"revision":{"type":"number","format":"double"},"corrections":{"items":{"$ref":"#/components/schemas/PodcastGuestCorrectionViewModel"},"type":"array"},"additions":{"items":{"$ref":"#/components/schemas/PodcastGuestAdditionViewModel"},"type":"array"},"detectedGuests":{"items":{"$ref":"#/components/schemas/DetectedPodcastGuestViewModel"},"type":"array"},"processing":{"properties":{"lastError":{"type":"string","nullable":true},"status":{"type":"string","enum":["pending","running","complete"]}},"required":["lastError","status"],"type":"object","nullable":true}},"required":["revision","corrections","additions","detectedGuests","processing"],"type":"object","additionalProperties":false},"CorrectPodcastGuestRequest":{"properties":{"userId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","format":"int32","minimum":0},"operationId":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":500},"sourceKey":{"type":"string","minLength":64,"maxLength":64,"pattern":"^[a-f0-9]{64}$"}},"required":["userId","expectedRevision","operationId","sourceKey"],"type":"object","additionalProperties":false},"MutatePodcastCreditRequest":{"properties":{"userId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","format":"int32","minimum":0},"operationId":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":500}},"required":["userId","expectedRevision","operationId"],"type":"object","additionalProperties":false},"CorrectPodcastHostRequest":{"properties":{"userId":{"type":"string","minLength":1,"maxLength":128},"expectedRevision":{"type":"integer","format":"int32","minimum":0},"operationId":{"type":"string","format":"uuid"},"reason":{"type":"string","maxLength":500},"sourceName":{"type":"string","description":"The detected spelling, rather than the corrected display name.","minLength":1,"maxLength":200},"sourceEpisodeId":{"type":"string","description":"An episode containing this detected host.","minLength":1,"maxLength":128}},"required":["userId","expectedRevision","operationId","sourceName","sourceEpisodeId"],"type":"object","additionalProperties":false},"DetectedPodcastHostsPageViewModel":{"properties":{"items":{"items":{"$ref":"#/components/schemas/DetectedPodcastHostViewModel"},"type":"array"},"nextCursor":{"type":"string","nullable":true}},"required":["items","nextCursor"],"type":"object","additionalProperties":false},"PodcastOwnershipRole":{"type":"string","enum":["owner","producer"]},"PodcastOwnershipStatus":{"type":"string","enum":["active","revoked"]},"PodcastOwnershipViewModel":{"properties":{"id":{"type":"string"},"userId":{"type":"string"},"podcastId":{"type":"string"},"originalPodcastId":{"type":"string"},"profileId":{"type":"string"},"role":{"$ref":"#/components/schemas/PodcastOwnershipRole"},"status":{"$ref":"#/components/schemas/PodcastOwnershipStatus"},"version":{"type":"number","format":"double"},"grantedAt":{"type":"string"},"grantedBy":{"type":"string"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string"},"revokedAt":{"type":"string","nullable":true},"revokedBy":{"type":"string","nullable":true},"reason":{"type":"string","nullable":true},"accountName":{"type":"string","nullable":true},"personName":{"type":"string","nullable":true}},"required":["id","userId","podcastId","originalPodcastId","profileId","role","status","version","grantedAt","grantedBy","updatedAt","updatedBy","revokedAt","revokedBy","reason"],"type":"object","additionalProperties":false},"PodcastOwnershipListViewModel":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PodcastOwnershipViewModel"},"type":"array"},"nextCursor":{"type":"string","nullable":true}},"required":["items","nextCursor"],"type":"object","additionalProperties":false},"GrantPodcastOwnershipRequest":{"properties":{"operationId":{"type":"string","pattern":"^[0-9a-fA-F-]{36}$"},"reason":{"type":"string","maxLength":500},"userId":{"type":"string"},"role":{"$ref":"#/components/schemas/PodcastOwnershipRole"}},"required":["operationId","userId","role"],"type":"object","additionalProperties":false},"PodcastOwnershipLinkedPodcastViewModel":{"properties":{"podcastId":{"type":"string"},"podcastName":{"type":"string"},"assignmentId":{"type":"string"},"version":{"type":"number","format":"double"},"role":{"$ref":"#/components/schemas/PodcastOwnershipRole"}},"required":["podcastId","podcastName","assignmentId","version","role"],"type":"object","additionalProperties":false},"PodcastOwnershipLinkPreviewViewModel":{"properties":{"userId":{"type":"string"},"accountName":{"type":"string","nullable":true},"podcastId":{"type":"string"},"podcastName":{"type":"string"},"source":{"allOf":[{"$ref":"#/components/schemas/PodcastOwnershipLinkedPodcastViewModel"}],"nullable":true}},"required":["userId","accountName","podcastId","podcastName","source"],"type":"object","additionalProperties":false},"TransferPodcastOwnershipRequest":{"properties":{"operationId":{"type":"string","pattern":"^[0-9a-fA-F-]{36}$"},"reason":{"type":"string","maxLength":500},"userId":{"type":"string"},"role":{"$ref":"#/components/schemas/PodcastOwnershipRole"},"sourcePodcastId":{"type":"string"},"sourceAssignmentId":{"type":"string"},"expectedSourceVersion":{"type":"integer","format":"int32","minimum":1}},"required":["operationId","userId","role","sourcePodcastId","sourceAssignmentId","expectedSourceVersion"],"type":"object","additionalProperties":false},"ChangePodcastOwnershipRequest":{"properties":{"operationId":{"type":"string","pattern":"^[0-9a-fA-F-]{36}$"},"reason":{"type":"string","maxLength":500},"userId":{"type":"string"},"expectedVersion":{"type":"integer","format":"int32","minimum":1},"role":{"$ref":"#/components/schemas/PodcastOwnershipRole"}},"required":["operationId","userId","expectedVersion","role"],"type":"object","additionalProperties":false},"RevokePodcastOwnershipRequest":{"properties":{"operationId":{"type":"string","pattern":"^[0-9a-fA-F-]{36}$"},"reason":{"type":"string","maxLength":500},"userId":{"type":"string"},"expectedVersion":{"type":"integer","format":"int32","minimum":1}},"required":["operationId","userId","expectedVersion"],"type":"object","additionalProperties":false},"PodcastOwnershipEvent":{"properties":{"id":{"type":"string"},"assignmentId":{"type":"string"},"podcastId":{"type":"string"},"originalPodcastId":{"type":"string"},"userId":{"type":"string"},"actorUid":{"type":"string"},"action":{"type":"string","enum":["grant","change","revoke","merge"]},"role":{"$ref":"#/components/schemas/PodcastOwnershipRole"},"previousRole":{"allOf":[{"$ref":"#/components/schemas/PodcastOwnershipRole"}],"nullable":true},"occurredAt":{"type":"string"},"reason":{"type":"string","nullable":true}},"required":["id","assignmentId","podcastId","originalPodcastId","userId","actorUid","action","role","previousRole","occurredAt","reason"],"type":"object","additionalProperties":false},"PodcastOwnershipHistoryViewModel":{"properties":{"items":{"items":{"$ref":"#/components/schemas/PodcastOwnershipEvent"},"type":"array"},"nextCursor":{"type":"string","nullable":true}},"required":["items","nextCursor"],"type":"object","additionalProperties":false},"PodcastsStatsTotal":{"properties":{"podcastsCount":{"type":"number","format":"double"},"podcastsCountLastDay":{"type":"number","format":"double"},"publishersCount":{"type":"number","format":"double"},"publishersCountLastDay":{"type":"number","format":"double"},"episodesCount":{"type":"number","format":"double"},"episodesCountLastDay":{"type":"number","format":"double"},"keyTermsCount":{"type":"number","format":"double"},"keyTermsCountLastDay":{"type":"number","format":"double"},"subscribersCount":{"type":"number","format":"double"},"subscribersCountLastDay":{"type":"number","format":"double"},"listensCount":{"type":"number","format":"double"},"listensCountLastDay":{"type":"number","format":"double"}},"required":["podcastsCount","podcastsCountLastDay","publishersCount","publishersCountLastDay","episodesCount","episodesCountLastDay","keyTermsCount","keyTermsCountLastDay","subscribersCount","subscribersCountLastDay","listensCount","listensCountLastDay"],"type":"object","additionalProperties":false},"PopularPodcastEntryViewModel":{"properties":{"podcastId":{"type":"string"},"podcast":{"allOf":[{"$ref":"#/components/schemas/PodcastViewModel"}],"nullable":true,"description":"Null when the id no longer resolves to an indexed podcast — it shows nowhere and should be removed."}},"required":["podcastId","podcast"],"type":"object","additionalProperties":false},"AddPopularPodcastRequest":{"properties":{"podcastId":{"type":"string"},"position":{"type":"integer","format":"int32","description":"0-based slot to insert at; past the end appends. Omit to append last — or, for a podcast\nalready on the list, to leave it where it is.","minimum":0}},"required":["podcastId"],"type":"object","additionalProperties":false},"MovePopularPodcastRequest":{"properties":{"position":{"type":"integer","format":"int32","description":"0-based slot to move the podcast to; past the end moves it last.","minimum":0}},"required":["position"],"type":"object","additionalProperties":false},"FeaturedTag":{"description":"Admin-curated podcast tab (see TagsService.getFeaturedTags): the whole\npodcast tab bar, in `position` order. Matches podcasts whose `tags` hold its\nname or any additional name — a publisher or a Podscan category (a sport\nmatches through its category, such as basketball).","properties":{"id":{"type":"string"},"name":{"type":"string","description":"Lowercased like podcast tags. Fixed at creation: it is the tab's key for clients and its first match value."},"label":{"type":"string","nullable":true,"description":"Display text; absent or null means clients format `name`."},"additionalNames":{"items":{"type":"string"},"type":"array","description":"Extra tag values unioned into this tab on top of `name` — search matches\npodcasts carrying any of them. Lowercased like tag names, never contains\n`name` itself. Absent or empty means the tag name is the only value."},"position":{"type":"number","format":"double","description":"Manual sort order (ascending) of the tabs, and of the Discover rails."},"showRail":{"type":"boolean","description":"Whether GET /podcasts/tagRails returns a rail for this tag."},"podcastPopularity":{"type":"number","format":"double","nullable":true,"description":"Count of podcasts matching this tag in search; display-only."},"createdAt":{"type":"string"}},"required":["id","name","position","podcastPopularity","createdAt"],"type":"object","additionalProperties":false},"FeaturedTagCreateRequest":{"properties":{"name":{"type":"string","maxLength":100},"label":{"type":"string","nullable":true,"description":"Display text; trimmed, empty means none.","maxLength":60},"position":{"type":"number","format":"double","description":"Manual sort order (ascending)."},"additionalNames":{"items":{"type":"string"},"type":"array","description":"Extra tag values unioned into this tag on top of its name. Entries are\ntrimmed, lowercased and deduplicated; the name itself is dropped if listed."},"showRail":{"type":"boolean","description":"Return a rail for this tag from GET /podcasts/tagRails."}},"required":["name","position"],"type":"object","additionalProperties":false},"FeaturedTagUpdateRequest":{"properties":{"label":{"type":"string","nullable":true,"description":"Display text; trimmed, empty or null clears it.","maxLength":60},"position":{"type":"number","format":"double","description":"Manual sort order (ascending)."},"additionalNames":{"items":{"type":"string"},"type":"array","description":"Replaces the tag's extra value set (the name always stays matched).\nEntries are trimmed, lowercased and deduplicated; an empty array clears\nthe extras."},"showRail":{"type":"boolean","description":"Return a rail for this tag from GET /podcasts/tagRails."}},"type":"object","additionalProperties":false},"TagValueViewModel":{"description":"A distinct podcast tag value and how many podcasts carry it.","properties":{"value":{"type":"string"},"podcastCount":{"type":"number","format":"double"}},"required":["value","podcastCount"],"type":"object","additionalProperties":false},"SyncPodcastEpisodesRequest":{"description":"The window of posting dates to sync, half-open (`from <= postedAt < to`) so the client owns the timezone and no\nlast day is lost. Leave out `from` to start at the first episode, `to` to run up to now, and both for every episode.","properties":{"from":{"type":"string","format":"date-time"},"to":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"PodcastStats":{"properties":{"episodesCount":{"type":"number","format":"double"},"episodesCountLastDay":{"type":"number","format":"double"},"keyTermsCount":{"type":"number","format":"double"},"keyTermsCountLastDay":{"type":"number","format":"double"},"subscribersCount":{"type":"number","format":"double"},"subscribersCountLastDay":{"type":"number","format":"double"},"viewsCount":{"type":"number","format":"double"},"viewsCountLastDay":{"type":"number","format":"double"},"followersCount":{"type":"number","format":"double"},"followersCountLastDay":{"type":"number","format":"double"},"audienceCount":{"type":"number","format":"double"},"audienceCountLastDay":{"type":"number","format":"double"}},"required":["episodesCount","episodesCountLastDay","keyTermsCount","keyTermsCountLastDay","subscribersCount","subscribersCountLastDay","viewsCount","viewsCountLastDay","followersCount","followersCountLastDay","audienceCount","audienceCountLastDay"],"type":"object","additionalProperties":false},"PodcastHostAlias":{"description":"One Podscan host name pinned to a profile on one podcast — never globally, where it would capture\nevery real bearer of that name.","properties":{"podscanName":{"type":"string","description":"The host name as Podscan sends it — the spelling to catch; the right name is the profile's."},"profileId":{"type":"string"}},"required":["podscanName","profileId"],"type":"object","additionalProperties":false},"PodcastHostAliasesViewModel":{"properties":{"aliases":{"items":{"$ref":"#/components/schemas/PodcastHostAlias"},"type":"array"},"hosts":{"items":{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"},"type":"array","nullable":true,"description":"The podcast-level hosts (`podcast.hosts`) the podcast page shows; null when none are set."}},"required":["aliases","hosts"],"type":"object","additionalProperties":false},"PodcastHostAliasesUpdateViewModel":{"properties":{"aliases":{"items":{"$ref":"#/components/schemas/PodcastHostAlias"},"type":"array"},"hosts":{"items":{"$ref":"#/components/schemas/BzzrProfileReferenceViewModel"},"type":"array","nullable":true,"description":"The podcast-level hosts (`podcast.hosts`) the podcast page shows; null when none are set."},"episodesUpdated":{"type":"number","format":"double","description":"Episodes whose hosts the new aliases changed, including ones a removed alias restored."}},"required":["aliases","hosts","episodesUpdated"],"type":"object","additionalProperties":false},"PodcastHostAliasRequest":{"properties":{"podscanName":{"type":"string","description":"The host name as Podscan sends it — the misspelling to catch, not the right name: hosts it matches\ntake the displayName of `profileId`. Matched ignoring case and runs of whitespace — not punctuation\n(\"E.J.\" and \"EJ\" are two aliases).","minLength":1,"pattern":"\\S"},"profileId":{"type":"string","description":"The profile every host of that name resolves to on this podcast.","minLength":1}},"required":["podscanName","profileId"],"type":"object","additionalProperties":false},"UpdatePodcastHostAliasesRequest":{"description":"The podcast's complete alias list: it replaces the stored one, and an empty list removes them all.","properties":{"aliases":{"items":{"$ref":"#/components/schemas/PodcastHostAliasRequest"},"type":"array","maxItems":20}},"required":["aliases"],"type":"object","additionalProperties":false},"PodcastEpisodeStats":{"properties":{"shares":{"type":"number","format":"double"},"sharesLastDay":{"type":"number","format":"double"},"views":{"type":"number","format":"double"},"viewsLastDay":{"type":"number","format":"double"},"listens":{"type":"number","format":"double"},"listensLastDay":{"type":"number","format":"double"},"completionRate":{"type":"number","format":"double"},"completionRateLastDay":{"type":"number","format":"double"},"downloads":{"type":"number","format":"double"},"downloadsLastDay":{"type":"number","format":"double"},"keyTerms":{"type":"number","format":"double"},"keyTermsLastDay":{"type":"number","format":"double"}},"required":["shares","sharesLastDay","views","viewsLastDay","listens","listensLastDay","completionRate","completionRateLastDay","downloads","downloadsLastDay","keyTerms","keyTermsLastDay"],"type":"object","additionalProperties":false},"PodcastEpisodeMentionsForEntity":{"properties":{"id":{"type":"string"},"mentionsCount":{"type":"number","format":"double"},"title":{"type":"string"},"duration":{"type":"number","format":"double"},"postedAt":{"type":"string"},"mentionSummary":{"type":"string"}},"required":["id","mentionsCount","title","duration","postedAt","mentionSummary"],"type":"object","additionalProperties":false},"PodcastEpisodeMentionsForEntityList":{"properties":{"totalMentionsCount":{"type":"number","format":"double","deprecated":true},"episode":{"$ref":"#/components/schemas/PodcastEpisodeMentionsForEntity"}},"required":["totalMentionsCount","episode"],"type":"object","additionalProperties":false},"PodcastsMentionsForEntity":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"totalMentionsCount":{"type":"number","format":"double"},"episodes":{"items":{"$ref":"#/components/schemas/PodcastEpisodeMentionsForEntityList"},"type":"array"},"episodesNeedReview":{"items":{"$ref":"#/components/schemas/PodcastEpisodeMentionsForEntityList"},"type":"array"}},"required":["id","name","description","images","totalMentionsCount","episodes","episodesNeedReview"],"type":"object","additionalProperties":false},"UpdateFeaturedPodcastsRequest":{"properties":{"podcastIds":{"items":{"type":"string"},"type":"array","description":"Ordered list of podcast IDs to set as featured."}},"required":["podcastIds"],"type":"object","additionalProperties":false},"PartnerStatus":{"description":"Lifecycle of a partner tenant. Disabling kills all dashboard access without deleting rows.","enum":["active","disabled"],"type":"string"},"PartnerViewModel":{"properties":{"id":{"type":"string"},"slug":{"type":"string"},"displayName":{"type":"string"},"status":{"$ref":"#/components/schemas/PartnerStatus"},"settings":{"$ref":"#/components/schemas/PartnerSettingsViewModel","description":"Everything configurable about the tenant, nested to mirror the storage split: the fields\nabove are columns on `partners`, these are rows in `partner_settings`. Flattening them\nwould hide that a settings write and a rename are different operations with different\nauthorization."},"createdBy":{"type":"string"},"updatedBy":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","slug","displayName","status","settings","createdBy","updatedBy","createdAt","updatedAt"],"type":"object","additionalProperties":false},"PaginatedList_PartnerViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/PartnerViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"CreatePartnerRequest":{"properties":{"slug":{"type":"string","description":"URL segment at dashboard.bzzr.com/<slug>: 3-30 chars, lowercase alnum + inner hyphens."},"displayName":{"type":"string"},"modules":{"$ref":"#/components/schemas/PartnerModules","description":"Modules to enable at creation; omitted = all off."},"theme":{"$ref":"#/components/schemas/PartnerTheme"},"ownerEmail":{"type":"string","description":"Seats the tenant's owner at birth — the ONLY member operation on the admin tier; everything\nafter runs on `partner/{slug}/members` (staff pass rank-exempt once the feature flag is ON).\nSemantics: a verified account joins as `partner_owner` immediately; an unknown address\nbecomes a pending invite that binds itself on the person's first dashboard visit (NO email\nis sent — tell the partner to sign up at bzzr.com with this exact address); an account with\nan UNVERIFIED email is a 400 and the tenant is NOT created. Omit to provision a shell first\n— an ownerless tenant is inert, since access is decided by membership rows, and guessing a\nplaceholder address here is worse than leaving it empty (the invite binds to WHOEVER\nverifiably owns that address)."},"replayRetention":{"allOf":[{"$ref":"#/components/schemas/ReplayRetention"}],"nullable":true,"description":"Replay window for the tenant's broadcasts, set at creation so a partner does not exist\nfor a window of time under a default that contradicts their contract. Omit to leave it\nunconfigured, which resolves to unlimited.\n\nWritten through the same policy table and validator as every later change; staff are\nexempt from the Lives module gate, so this works even though a brand-new tenant has no\nmodules enabled yet."}},"required":["slug","displayName"],"type":"object","additionalProperties":false},"PartnerMembershipViewModel":{"properties":{"id":{"type":"string"},"partnerId":{"type":"string"},"userId":{"type":"string","nullable":true,"description":"Null while the row is a pending invite — nobody has claimed the address yet."},"email":{"type":"string","nullable":true,"description":"The member's account address, or the invited one while an invite is pending."},"role":{"$ref":"#/components/schemas/PartnerRole"},"status":{"$ref":"#/components/schemas/PartnerMembershipStatus"},"invitedBy":{"type":"string"},"updatedBy":{"type":"string","nullable":true},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","partnerId","userId","email","role","status","invitedBy","updatedBy","createdAt","updatedAt"],"type":"object","additionalProperties":false},"PartnerBindingKind":{"description":"Which kind of scope handle a binding grants the partner. The binding table is the bridge\nfrom the partner org to content — existing tables keep their keys; nothing is re-plumbed.","enum":["commerceCreator","team","liveSourceOwner","channelOwner"],"type":"string"},"PartnerBindingViewModel":{"properties":{"id":{"type":"string"},"partnerId":{"type":"string"},"kind":{"$ref":"#/components/schemas/PartnerBindingKind"},"value":{"type":"string"},"createdBy":{"type":"string"},"createdAt":{"type":"string"}},"required":["id","partnerId","kind","value","createdBy","createdAt"],"type":"object","additionalProperties":false},"PartnerDetailViewModel":{"properties":{"partner":{"$ref":"#/components/schemas/PartnerViewModel"},"members":{"items":{"$ref":"#/components/schemas/PartnerMembershipViewModel"},"type":"array"},"bindings":{"items":{"$ref":"#/components/schemas/PartnerBindingViewModel"},"type":"array"}},"required":["partner","members","bindings"],"type":"object","additionalProperties":false},"UpdatePartnerRequest":{"description":"`slug` is deliberately absent — it is IMMUTABLE after creation. A rename would break the\npartner's open tabs and bookmarks (worst case: mid-game), and a freed slug could later be\nhanded to a different tenant, so an old link would resolve to a stranger. Renaming is a\nsupport operation; if we ever want it self-serve, it needs a slug-history table that keeps\nold segments as permanent aliases (corpus open #16).","properties":{"displayName":{"type":"string"},"status":{"$ref":"#/components/schemas/PartnerStatus"},"modules":{"$ref":"#/components/schemas/PartnerModules","description":"Partial patch of module → enabled, same semantics as the platform feature-state PATCH: only\nthe keys present are changed, omitted modules keep their current value. Send `false` to turn\none off — omitting it does NOT."},"theme":{"$ref":"#/components/schemas/PartnerTheme","description":"Partial patch, like {@link UpdatePartnerRequest.modules}: omitted keys keep their value."},"replayRetention":{"allOf":[{"$ref":"#/components/schemas/ReplayRetention"}],"nullable":true,"description":"Replay availability window, or `null` to clear it (which means unlimited).\n\nUnlike `modules`/`theme` this is replaced wholesale rather than merged — it is a\ndiscriminated union, and a partial patch of one variant onto another produces exactly\nthe meaningless rows the union exists to prevent. Omitting it keeps the current value;\nthe partner-tier `PUT /partner/{slug}/settings` writes the same setting through the same\npolicy table."},"partnerConsent":{"allOf":[{"$ref":"#/components/schemas/PartnerConsentInput"}],"nullable":true,"description":"Statement fans accept before buying this partner's products, or `null` to clear it.\n\nAlso writable by a partner_admin on their own tenant (`PUT /partner/{slug}/settings`) — it is\ntheir policy. This admin path exists to bootstrap it and to overwrite one if it ever needs to\nbe. Replaced wholesale; a partial write could leave a placeholder with no substitution.\n\n`version` is server-assigned — see {@link PartnerConsentInput}."},"vodRetention":{"allOf":[{"$ref":"#/components/schemas/VodRetention"}],"nullable":true,"description":"How long this partner's DELETED videos survive before their media is purged, or `null` to\nclear it (which restores the platform's 40 days).\n\nStaff-only and absent from the partner-tier `PUT /partner/{slug}/settings` on purpose — see\nthe policy comment in `PartnerSettingsService`. Replaced wholesale; omitting it keeps the\ncurrent value.\n\nChanging it does NOT move the deadline already stamped on videos deleted under the old\nwindow — see `Video.deletionData.hardDeleteAt`."}},"type":"object","additionalProperties":false},"PartnerCreatorViewModel":{"description":"A commerce creator bound to a partner, ready to label a select: the uid the other admin\nendpoints filter by, plus the name a human recognises it as. `partner_binding` stores the uid\nalone, so the name comes from the Firestore profile and is null when it is gone — the row stays\neither way, since a creator dropping out of the filter list is worse than a nameless one (its\nsubscriptions and products would silently stop being reachable).","properties":{"userId":{"type":"string"},"displayName":{"type":"string","nullable":true}},"required":["userId","displayName"],"type":"object","additionalProperties":false},"AddPartnerBindingRequest":{"properties":{"kind":{"$ref":"#/components/schemas/PartnerBindingKind"},"value":{"type":"string","description":"The existing scope handle: a Firebase UID for commerceCreator / liveSourceOwner, a `teams.id` for team."}},"required":["kind","value"],"type":"object","additionalProperties":false},"IngestPartnerListResponse":{"description":"Outcome summary of a prior-season subscriber-email list ingest.","properties":{"requested":{"type":"number","format":"double"},"upserted":{"type":"number","format":"double","description":"Rows written (inserted, or `saleStart`-refreshed on re-ingest)."}},"required":["requested","upserted"],"type":"object","additionalProperties":false},"IngestPartnerListRequest":{"description":"Admin ingest of a team's prior-season subscriber emails (the receipt-time reference list).","properties":{"partner":{"$ref":"#/components/schemas/ClaimPartner"},"creatorId":{"type":"string"},"year":{"type":"number","format":"double"},"emails":{"items":{"type":"string"},"type":"array"},"saleStart":{"type":"string","description":"The team's new-season (e.g. 2026) sale-start — the receipt-date-gate threshold. A calendar DATE:\npass date-only \"YYYY-MM-DD\" (a datetime is accepted too, but only its calendar date in its own\noffset is used). Optional until the partner confirms the date; re-ingest later to backfill."}},"required":["partner","creatorId","year","emails"],"type":"object","additionalProperties":false},"NewsArticleMentionsForEntity":{"properties":{"id":{"type":"string"},"totalMentionsCount":{"type":"number","format":"double"},"title":{"type":"string"},"description":{"type":"string"},"images":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"source":{"type":"string","nullable":true},"posted":{"type":"string"},"mentionSummary":{"type":"string","nullable":true},"needsReview":{"items":{"type":"string"},"type":"array"}},"required":["id","totalMentionsCount","title","description","images","source","posted","mentionSummary","needsReview"],"type":"object","additionalProperties":false},"ListResultRecordResponse_NewsArticleMentionsForEntity_":{"properties":{"record":{"$ref":"#/components/schemas/NewsArticleMentionsForEntity"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object","default":{}}},"required":["record"],"type":"object","additionalProperties":false},"ListResultReponse_NewsArticleMentionsForEntity_":{"properties":{"records":{"items":{"$ref":"#/components/schemas/ListResultRecordResponse_NewsArticleMentionsForEntity_"},"type":"array"},"limit":{"type":"number","format":"double","default":0},"offset":{"type":"number","format":"double","default":0},"totalRecords":{"type":"number","format":"double"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object","default":{}},"aggregations":{"properties":{},"additionalProperties":{},"type":"object","default":{}}},"required":["records"],"type":"object","additionalProperties":false},"NewsArticleStats":{"properties":{"viewsCount":{"type":"number","format":"double"},"viewsCountLastDay":{"type":"number","format":"double"},"sharesCount":{"type":"number","format":"double"},"sharesCountLastDay":{"type":"number","format":"double"},"likesCount":{"type":"number","format":"double"},"likesCountLastDay":{"type":"number","format":"double"},"keyTermsCount":{"type":"number","format":"double"}},"required":["viewsCount","viewsCountLastDay","sharesCount","sharesCountLastDay","likesCount","likesCountLastDay","keyTermsCount"],"type":"object","additionalProperties":false},"NetworkViewModel":{"description":"A network in use and how many users belong to it.","properties":{"network":{"type":"string"},"users":{"type":"number","format":"double"}},"required":["network","users"],"type":"object","additionalProperties":false},"NetworkUsersResultViewModel":{"properties":{"updated":{"type":"number","format":"double","description":"Users whose networks changed; one already in that state is not written."},"unknownIds":{"items":{"type":"string"},"type":"array","description":"Ids that name no user; nothing was written for them."}},"required":["updated","unknownIds"],"type":"object","additionalProperties":false},"NetworkMembersRequest":{"description":"The users a route puts into, or takes out of, a network.","properties":{"userIds":{"items":{"type":"string"},"type":"array"}},"required":["userIds"],"type":"object","additionalProperties":false},"MrssFeedViewModel":{"description":"An MRSS feed as the admin list shows it: `itemsCount` is videos for a video or hype feed, posts for a post feed.","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string","nullable":true},"state":{"$ref":"#/components/schemas/PlaylistStudioState"},"mrss":{"allOf":[{"$ref":"#/components/schemas/MrssConfig"}],"nullable":true},"videoAppend":{"$ref":"#/components/schemas/PlaylistVideoAppendOrder"},"userProfileReference":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"videosCount":{"type":"number","format":"double"},"publishedVideosCount":{"type":"number","format":"double"},"taggedCreators":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array","nullable":true},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string","nullable":true},"itemsCount":{"type":"number","format":"double"}},"required":["id","title","description","state","mrss","videoAppend","userProfileReference","thumbnail","videosCount","publishedVideosCount","taggedCreators","isPublic","isPremium","createdAt","updatedAt","itemsCount"],"type":"object","additionalProperties":false},"DocumentsList_MrssFeedViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/MrssFeedViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"MrssFeedsOrderBy":{"type":"string","enum":["createdAt","lastSynced"],"description":"`createdAt` lists newest first, `lastSynced` the longest unsynced first; the directions are fixed."},"MrssFeedCreateRequest":{"description":"A feed an admin connects for a creator: whose it is, its kind, and what the creator's own studio form sends.","properties":{"title":{"type":"string"},"description":{"type":"string","nullable":true},"mrss":{"$ref":"#/components/schemas/MrssConfig"},"state":{"$ref":"#/components/schemas/PlaylistGivenStudioState"},"isPublic":{"type":"boolean"},"isPremium":{"type":"boolean"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"videoAppend":{"$ref":"#/components/schemas/PlaylistVideoAppendOrder"},"taggedCreatorsIds":{"items":{"type":"string"},"type":"array","nullable":true},"userId":{"type":"string"},"feedType":{"$ref":"#/components/schemas/MrssFeedType"}},"required":["title","userId","feedType","mrss"],"type":"object","additionalProperties":false},"MrssFeedStatsExportRequest":{"description":"Which feeds a stats export covers: `feedIds` plus `userIds` (every live feed of each), or the feeds of the creators\nin any of the `networks` whose name starts with `search`, not both; `feedType` and `state` then narrow the result.\nNothing named means every feed under those two, as the list shows them.","properties":{"feedIds":{"items":{"type":"string"},"type":"array"},"userIds":{"items":{"type":"string"},"type":"array"},"search":{"type":"string","description":"The start of a creator's display name, three characters or more, any case."},"networks":{"items":{"type":"string"},"type":"array","description":"Every live feed of the creators in any of these networks."},"feedType":{"$ref":"#/components/schemas/MrssFeedType"},"state":{"$ref":"#/components/schemas/MrssSyncState"}},"type":"object","additionalProperties":false},"MrssFeedEngagementViewModel":{"properties":{"impressions":{"type":"number","format":"double"},"views":{"type":"number","format":"double"},"videoViews":{"type":"number","format":"double"},"watches":{"type":"number","format":"double"},"shares":{"type":"number","format":"double"},"shareOpens":{"type":"number","format":"double"},"publicOpens":{"type":"number","format":"double"}},"required":["impressions","views","videoViews","watches","shares","shareOpens","publicOpens"],"type":"object","additionalProperties":false},"MrssFeedPlaybackDayViewModel":{"properties":{"day":{"type":"string","description":"`YYYY-MM-DD`"},"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double"},"watchTimeMs":{"type":"number","format":"double"},"completion":{"type":"number","format":"double","nullable":true,"description":"null before `completionSince`."}},"required":["day","views","viewers","watchTimeMs","completion"],"type":"object","additionalProperties":false},"MrssFeedPlaybackViewModel":{"properties":{"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double"},"watchTimeMs":{"type":"number","format":"double"},"completion":{"type":"number","format":"double","nullable":true,"description":"Mean share of the video reached by on-demand views, 0 to 1; null when no such view. Live views do not count."},"completionSince":{"type":"string","nullable":true,"description":"Set while per-view data covers only part of the window: the day it starts. Completion holds from that day."},"daily":{"items":{"$ref":"#/components/schemas/MrssFeedPlaybackDayViewModel"},"type":"array","description":"Days with any playback, oldest first. Viewers a day do not add up to the total: one person on two days counts twice."}},"required":["views","viewers","watchTimeMs","completion","completionSince","daily"],"type":"object","additionalProperties":false},"MrssFeedStatsViewModel":{"description":"The feed's items created in the period, and the sum of their all-time `contentStats` totals.","properties":{"items":{"type":"number","format":"double"},"publishedItems":{"type":"number","format":"double"},"failedItems":{"type":"number","format":"double"},"crosspostedItems":{"type":"number","format":"double","nullable":true,"description":"Items the scheduler crossposted to the timeline; null for a post feed, whose items are posts already."},"lastItemAt":{"type":"string","nullable":true},"engagement":{"allOf":[{"$ref":"#/components/schemas/MrssFeedEngagementViewModel"}],"nullable":true,"description":"All-time `contentStats` totals of the items, every client; null while no item has any (clients not yet sending events)."},"playback":{"$ref":"#/components/schemas/MrssFeedPlaybackViewModel","description":"From Mux Data over the last 90 days: browser and TV players only, the mobile app does not report to Mux."}},"required":["items","publishedItems","failedItems","crosspostedItems","lastItemAt","engagement","playback"],"type":"object","additionalProperties":false},"MetricsResource":{"type":"string","enum":["api","auth-blocking","cloud-sql","redis","firestore","bigquery"],"description":"Infrastructure resource whose load time-series we expose (all GCP-managed / Cloud Monitoring)."},"MetricsWindow":{"type":"string","enum":["1h","6h","24h"],"description":"Supported look-back windows for the time-series query."},"MetricSeriesKey":{"type":"string","enum":["request_count","error_4xx","error_5xx","auth_requests","auth_rejected_429","auth_rejected_400","request_latency_p95","instance_count","instances_active","instances_idle","cpu","memory","connections","memory_usage","clients","reads","writes","deletes","queries","scanned_bytes","inserted_rows"],"description":"Stable per-series id (resource-scoped; e.g. `cpu` recurs across resources)."},"MetricSeriesKind":{"type":"string","enum":["load","error","latency","capacity"],"description":"Coarse category of a series so the UI can group/style without hardcoding keys:\n`load` = traffic/throughput, `error` = failed/rejected requests (style as alarming),\n`latency` = response-time percentiles, `capacity` = resource usage (instances, CPU, memory, connections)."},"MetricPointViewModel":{"properties":{"t":{"type":"string","description":"ISO timestamp at the end of the aligned bucket."},"v":{"type":"number","format":"double"}},"required":["t","v"],"type":"object","additionalProperties":false},"MetricSeriesViewModel":{"properties":{"key":{"$ref":"#/components/schemas/MetricSeriesKey"},"kind":{"$ref":"#/components/schemas/MetricSeriesKind"},"name":{"type":"string","description":"Display name, e.g. \"Requests\"."},"unit":{"type":"string","description":"Unit hint for the UI, e.g. \"req/s\", \"%\", \"ms\", \"conns\"."},"points":{"items":{"$ref":"#/components/schemas/MetricPointViewModel"},"type":"array","description":"Chronological (oldest → newest) aligned points."}},"required":["key","kind","name","unit","points"],"type":"object","additionalProperties":false},"MetricsReportViewModel":{"properties":{"resource":{"$ref":"#/components/schemas/MetricsResource"},"window":{"$ref":"#/components/schemas/MetricsWindow"},"alignmentSeconds":{"type":"number","format":"double","description":"Alignment bucket width in seconds (one point per bucket)."},"checkedAt":{"type":"string"},"series":{"items":{"$ref":"#/components/schemas/MetricSeriesViewModel"},"type":"array"},"warning":{"type":"string","description":"Set when the report is partial/empty — e.g. monitoring.viewer missing, or resource id unknown."}},"required":["resource","window","alignmentSeconds","checkedAt","series"],"type":"object","additionalProperties":false},"MediaLivePipelineResponse":{"properties":{"inputId":{"type":"string","description":"MediaLive Input ID (RTMP push from camera/encoder)"},"channelId":{"type":"string","description":"MediaLive Channel #1 ID (deinterlace + SCTE-35 → MediaPackage)"},"mediaPackageChannelId":{"type":"string","description":"MediaPackage Channel ID"},"mediaPackageHlsUrl":{"type":"string","description":"MediaPackage HLS origin endpoint URL (for direct viewing / MediaTailor origin)"},"mediaTailorConfigName":{"type":"string","description":"MediaTailor playback configuration name"},"mediaTailorPlaybackUrl":{"type":"string","description":"MediaTailor SSAI playback URL (HLS with ads stitched in)"},"restreamerInputId":{"type":"string","description":"MediaLive Channel #2 Input ID (HLS pull from MediaTailor)"},"restreamerChannelId":{"type":"string","description":"MediaLive Channel #2 ID (HLS pull → SRT caller → Mux)"},"muxLiveStreamId":{"type":"string","description":"Mux Live Stream ID"},"muxPlaybackId":{"type":"string","description":"Mux playback ID for viewers"},"rtmpIngestUrls":{"items":{"type":"string"},"type":"array","description":"RTMP endpoint(s) where encoder should push to (MediaLive input endpoints)"},"muxPlaybackUrl":{"type":"string","description":"HLS playback URL from Mux (final viewer URL with ads baked in)"},"srtSecretArn":{"type":"string","description":"ARN of the SRT passphrase secret in AWS Secrets Manager"}},"required":["inputId","channelId","mediaPackageChannelId","mediaPackageHlsUrl","mediaTailorConfigName","mediaTailorPlaybackUrl","restreamerInputId","restreamerChannelId","muxLiveStreamId","muxPlaybackId","rtmpIngestUrls","muxPlaybackUrl","srtSecretArn"],"type":"object","additionalProperties":false},"CreateMediaLivePipelineRequest":{"properties":{"name":{"type":"string","description":"Human-readable name for the pipeline.\nUsed as prefix for MediaLive Input, Channel, MediaPackage Channel, and Mux Live Stream names."}},"required":["name"],"type":"object","additionalProperties":false},"SimpleMediaLivePipelineResponse":{"properties":{"inputId":{"type":"string","description":"MediaLive Input ID"},"channelId":{"type":"string","description":"MediaLive Channel ID (deinterlace + SCTE-35 → MediaPackage)"},"mediaPackageChannelId":{"type":"string","description":"MediaPackage Channel ID"},"mediaPackageHlsUrl":{"type":"string","description":"MediaPackage HLS origin endpoint URL"},"mediaTailorConfigName":{"type":"string","description":"MediaTailor playback configuration name"},"mediaTailorPlaybackUrl":{"type":"string","description":"MediaTailor SSAI playback URL — use this in the player on the frontend"},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType","description":"Input type used"},"rtmpIngestUrls":{"items":{"type":"string"},"type":"array","description":"RTMP ingest URL(s). Present when inputType is \"rtmp_push\"."},"srtIngestUrls":{"items":{"type":"string"},"type":"array","description":"SRT ingest URL(s). Present when inputType is \"srt_listener\"."},"srtIngestPassphrase":{"type":"string","description":"Plaintext passphrase for the SRT_LISTENER input. Generated server-side and\nstored in AWS Secrets Manager; surfaced here so the encoder operator can\nconfigure their ffmpeg push. AWS MediaLive mandates encryption on every\nSRT_LISTENER input, so this is always populated when inputType is\n\"srt_listener\"."},"srtSourceUrls":{"items":{"type":"string"},"type":"array","description":"SRT source URLs that MediaLive pulls from. Present when inputType is \"srt_caller\"."},"srtSecretArns":{"items":{"type":"string"},"type":"array","description":"ARN(s) of SRT passphrase secrets in Secrets Manager. Present when SRT sources have passphrases."}},"required":["inputId","channelId","mediaPackageChannelId","mediaPackageHlsUrl","mediaTailorConfigName","mediaTailorPlaybackUrl","inputType"],"type":"object","additionalProperties":false},"CreateSimplePipelineRequest":{"properties":{"name":{"type":"string","description":"Human-readable name for the pipeline.\nUsed as prefix for MediaLive Input, Channel, MediaPackage Channel, and MediaTailor config names."},"vastUrl":{"type":"string","description":"VAST ad decision server URL (e.g. Google Ad Manager tag URL).\nMediaTailor calls this URL to fetch ad creatives during SCTE-35 breaks.\nIf omitted, falls back to the default `gamUpstreamVastUrl` from settings."},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType","description":"Input type for the pipeline.\n- \"rtmp_push\" (default): MediaLive opens RTMP endpoint, source pushes to it.\n- \"srt_listener\": MediaLive opens SRT port, source pushes SRT to it.\n- \"srt_caller\": MediaLive pulls SRT from the provided srtSources."},"srtSources":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array","description":"SRT source(s). Required when inputType is \"srt_caller\".\nSupports primary + secondary failover (e.g. CTS distribution)."}},"required":["name"],"type":"object","additionalProperties":false},"ChannelActionResponse":{"properties":{"channelId":{"type":"string"},"state":{"type":"string"}},"required":["channelId","state"],"type":"object","additionalProperties":false},"ChannelStatusResponse":{"properties":{"channelId":{"type":"string"},"state":{"type":"string"},"pipelinesRunningCount":{"type":"number","format":"double"},"inputId":{"type":"string"}},"required":["channelId","state"],"type":"object","additionalProperties":false},"DetectedInputStream":{"description":"One elementary stream MediaLive detected in the contribution feed, parsed\nfrom the channel's CloudWatch encoder logs (`ElementalMediaLive` log group)\nat input connect. Example source lines:\n  `Video stream [0]: id [1000] program [1] codec [H264] res [1920x1080] …`\n  `Audio stream [2]: id [2002], program [1], lang [eng], codec [AC3], channels [2], …`\nThe `id [...]` value is the MPEG-TS PID. All fields except `raw` are parsed\nbest-effort — a format drift degrades them to undefined, never drops the row.","properties":{"kind":{"type":"string","enum":["video","audio"]},"pid":{"type":"number","format":"double","description":"MPEG-TS PID (the `id [...]` value)."},"codec":{"type":"string"},"lang":{"type":"string","description":"Audio only: ISO 639 language from `lang [...]`."},"channels":{"type":"number","format":"double","description":"Audio only: channel count (6 = 5.1 surround, 2 = stereo)."},"resolution":{"type":"string","description":"Video only: `WxH` from `res [...]`."},"raw":{"type":"string","description":"The unparsed log line, kept verbatim for diagnostics."}},"required":["kind","raw"],"type":"object","additionalProperties":false},"InputStreamsResponse":{"description":"The contribution feed's actual stream layout as MediaLive detected it.\n`streams` is EMPTY until the broadcaster actually connects to the input —\na running channel alone logs nothing. Use it to verify the feed against\n`encoderProfile.audioPid` (e.g. RSN: PID 2002 must be present).","properties":{"channelId":{"type":"string"},"streams":{"items":{"$ref":"#/components/schemas/DetectedInputStream"},"type":"array"}},"required":["channelId","streams"],"type":"object","additionalProperties":false},"AdBreakResponse":{"properties":{"channelId":{"type":"string"},"actionName":{"type":"string"},"durationSeconds":{"type":"number","format":"double"},"scheduledAt":{"type":"string","description":"Wall-clock time (ISO 8601) at which MediaLive will insert the SCTE-35 splice.\nSet when using FixedMode scheduling. The frontend matches this against\n`EXT-X-PROGRAM-DATE-TIME` of the Mux VOD asset playlist to drive CSAI."}},"required":["channelId","actionName","durationSeconds","scheduledAt"],"type":"object","additionalProperties":false},"AdBreakRequest":{"properties":{"durationSeconds":{"type":"integer","format":"int32","description":"Duration of the ad break in seconds. Bounded so a fat-fingered or scripted\nvalue can't push an absurd SCTE-35 splice duration onto the channel (real\nMLB breaks are ≤180s; MediaTailor/SpringServe pods are separately clamped\non the playback path).","minimum":5,"maximum":300},"leadTimeSeconds":{"type":"number","format":"double","description":"Optional override for how far in the future the SCTE-35 splice should\nbe scheduled, in seconds. Default 60: gives MediaTailor enough time\nto fetch+transcode a never-before-seen creative on the first break\n(NEW_CREATIVE skip mitigation) and gives the live edge enough lead so\nMediaPackage publishes the splice-bearing segment before viewers reach\nit. AWS FixedMode rejects values below 15s. Drop to ~25 only when the\nrecurring prefetch cache is known to be warm — saves cooldown time\nbetween back-to-back demo breaks but risks slate flash on cold pods.\n\nMutually exclusive with `scheduledAt` — pass one or the other."},"scheduledAt":{"type":"string","description":"Absolute wall-clock time (ISO 8601 UTC) at which the SCTE-35 splice\nshould fire. Use when scripting tests or aligning a break with a known\nexternal moment. Must be ≥ 15 seconds from `now` (AWS FixedMode floor)\nand reasonably close to the live edge — too far in the future and\nMediaPackage won't have published the splice-bearing segment when the\nplayer reaches it. Mutually exclusive with `leadTimeSeconds`."},"immediate":{"type":"boolean","description":"Fire the splice NOW instead of scheduling it. Use this when a producer\ncounts a break down over talkback: press the button on their zero.\n\nThe 15-second floor that `leadTimeSeconds` and `scheduledAt` must clear is\nMediaLive's constraint on FIXED-start schedule actions, not MediaTailor's —\nAWS documents immediate start for SCTE-35 with no floor at all (\"The\nschedule immediately passes the action to the channel. The channel\nimmediately inserts the SCTE 35 message into the stream.\"). Scheduling\nfurther ahead buys MediaTailor nothing either way, because the message\nonly enters the stream AT the splice point: MediaTailor discovers every\nbreak at the manifest's live edge and its working window is however far\nthe viewer sits behind that edge.\n\nCost of using it: AWS returns no execution timestamp, so the persisted\n`AdBreakEvent.scheduledAt` is our own `now` — off by the pipeline lag.\n`harvestUpstreamAdBreaks` later records the same break from the manifest's\n`EXT-X-DATERANGE` with its true `START-DATE`, and the replay timeline\nprefers that row (see `util/adBreakDedup.ts`).\n\nMutually exclusive with BOTH `leadTimeSeconds` and `scheduledAt`."}},"required":["durationSeconds"],"type":"object","additionalProperties":false},"CleanupResponse":{"properties":{"channelDeleted":{"type":"boolean"},"inputDeleted":{"type":"boolean"},"restreamerChannelDeleted":{"type":"boolean"},"restreamerInputDeleted":{"type":"boolean"},"mediaPackageChannelDeleted":{"type":"boolean"},"mediaTailorConfigDeleted":{"type":"boolean"},"muxLiveStreamDisabled":{"type":"boolean"},"secretDeleted":{"type":"boolean"}},"required":["channelDeleted","inputDeleted","restreamerChannelDeleted","restreamerInputDeleted","mediaPackageChannelDeleted","mediaTailorConfigDeleted","muxLiveStreamDisabled","secretDeleted"],"type":"object","additionalProperties":false},"CleanupPipelineRequest":{"properties":{"channelId":{"type":"string","description":"MediaLive Channel #1 ID (deinterlace + SCTE-35 → MediaPackage)."},"restreamerChannelId":{"type":"string","description":"MediaLive Channel #2 ID (HLS pull → SRT → Mux). Optional for backwards compatibility."}},"required":["channelId"],"type":"object","additionalProperties":false},"MarketingPageStatus":{"enum":["draft","published","archived"],"type":"string"},"MarketingPageListItemViewModel":{"properties":{"partnerSlug":{"type":"string"},"partnerName":{"type":"string"},"status":{"$ref":"#/components/schemas/MarketingPageStatus"},"publishedAt":{"type":"string","nullable":true},"updatedAt":{"type":"string"}},"required":["partnerSlug","partnerName","status","updatedAt"],"type":"object","additionalProperties":false},"PaginatedList_MarketingPageListItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/MarketingPageListItemViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"MarketingPageContent":{"description":"One self-contained page payload — what the `draft` and `published` columns each hold.\n`order` is the single switch: a key absent here is NOT rendered even if its section has\ncontent. Order and seo version WITH the content (a draft reorder must not move the live\npage), which is why they live inside this object rather than as their own columns.","properties":{"order":{"items":{"$ref":"#/components/schemas/SectionKey"},"type":"array"},"sections":{"$ref":"#/components/schemas/MarketingSections"},"seo":{"$ref":"#/components/schemas/MarketingSeo"}},"required":["order","sections","seo"],"type":"object","additionalProperties":false},"MarketingValidationCode":{"description":"The ADR shipped ten codes; `page_empty`, `seo_incomplete` and `section_invalid` are\nadditions found necessary at build time (an untouched DB-default draft validated clean).","enum":["order_section_missing","page_empty","seo_incomplete","section_invalid","creator_required","product_not_found","plan_duplicate_interval","token_unresolved","image_off_host","faq_item_missing","og_image_missing","section_authored_but_dark"],"type":"string"},"MarketingValidationIssue":{"properties":{"path":{"type":"string","description":"Dotted path into the content, e.g. \"sections.pricing.plans[1].productId\"."},"code":{"$ref":"#/components/schemas/MarketingValidationCode"},"message":{"type":"string"}},"required":["path","code","message"],"type":"object","additionalProperties":false},"MarketingValidationReport":{"description":"What stands between a draft and a successful publish — errors block, warnings do not.","properties":{"canPublish":{"type":"boolean"},"errors":{"items":{"$ref":"#/components/schemas/MarketingValidationIssue"},"type":"array"},"warnings":{"items":{"$ref":"#/components/schemas/MarketingValidationIssue"},"type":"array"}},"required":["canPublish","errors","warnings"],"type":"object","additionalProperties":false},"MarketingPageAdminViewModel":{"description":"Draft AND published side by side, plus what validation currently says about the draft.","properties":{"partnerSlug":{"type":"string"},"partnerName":{"type":"string"},"creatorId":{"type":"string","nullable":true},"status":{"$ref":"#/components/schemas/MarketingPageStatus"},"draft":{"$ref":"#/components/schemas/MarketingPageContent"},"published":{"allOf":[{"$ref":"#/components/schemas/MarketingPageContent"}],"nullable":true},"publishedAt":{"type":"string","nullable":true},"publishedBy":{"type":"string","nullable":true},"updatedAt":{"type":"string"},"updatedBy":{"type":"string","nullable":true},"validation":{"$ref":"#/components/schemas/MarketingValidationReport"}},"required":["partnerSlug","partnerName","creatorId","status","draft","updatedAt","validation"],"type":"object","additionalProperties":false},"CreateMarketingPageRequest":{"properties":{"partnerSlug":{"type":"string","description":"An existing partner. The page inherits its slug; it never mints one."},"cloneFromSlug":{"type":"string","description":"Optional starting point — copies another partner's DRAFT."}},"required":["partnerSlug"],"type":"object","additionalProperties":false},"UploadMarketingImageRequest":{"description":"`alt` rides the request (no platform upload model carries one); the panel stores the returned view model verbatim.","properties":{"file":{"type":"string","description":"Base64 encoded file."},"fileName":{"type":"string","description":"File name. Must contain extension."},"alt":{"type":"string"}},"required":["file","fileName","alt"],"type":"object","additionalProperties":false},"FaqLibraryItemViewModel":{"properties":{"id":{"type":"string"},"question":{"$ref":"#/components/schemas/RichText"},"answer":{"$ref":"#/components/schemas/RichText"},"category":{"type":"string"},"isActive":{"type":"boolean"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string","nullable":true}},"required":["id","question","answer","category","isActive","updatedAt"],"type":"object","additionalProperties":false},"PaginatedList_FaqLibraryItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/FaqLibraryItemViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"CreateMarketingFaqItemRequest":{"properties":{"question":{"$ref":"#/components/schemas/RichText"},"answer":{"$ref":"#/components/schemas/RichText"},"category":{"type":"string","description":"Loose grouping for the admin picker: general | subscription | playback | stadiumAudio | support."}},"required":["question","answer","category"],"type":"object","additionalProperties":false},"UpdateMarketingFaqItemRequest":{"properties":{"question":{"$ref":"#/components/schemas/RichText"},"answer":{"$ref":"#/components/schemas/RichText"},"category":{"type":"string"},"isActive":{"type":"boolean","description":"Reactivation path for a deactivated row — DELETE is the deactivation."}},"type":"object","additionalProperties":false},"FaqItemUsageViewModel":{"description":"Answers \"what breaks if I change this?\" before an editor changes it.","properties":{"partnerSlug":{"type":"string"},"partnerName":{"type":"string"},"isOverridden":{"type":"boolean","description":"True when that page overrides this item's copy — the edit will not reach it."},"isPublished":{"type":"boolean"}},"required":["partnerSlug","partnerName","isOverridden","isPublished"],"type":"object","additionalProperties":false},"AdDaypart":{"type":"string","enum":["morning","afternoon","evening","night"],"description":"`cust_params.daypart`. Pure time-of-day bucket of the BROADCAST (not\nviewer), derived by `adProxyService.derivedDaypart(scheduledStart)` in\n`America/New_York` by default — the canonical timezone for US sports\nbroadcasting where audience plurality lives. Per-stream tz override via\n`LiveSsaiConfig.daypartTimezone`.\n\nBuckets (24h, IANA-tz local):\n- `morning`   05:00–11:59\n- `afternoon` 12:00–17:59\n- `evening`   18:00–22:59\n- `night`     23:00–04:59\n\nDay-of-week is a **separate** axis on `cust_params.day_of_week` — see\n`AdDayOfWeek`. A Saturday 8pm game emits `daypart=evening` AND\n`day_of_week=weekend`, so sales can target \"weekend evenings\" by\ncombining both filters."},"AdDayOfWeek":{"type":"string","enum":["weekday","weekend"],"description":"`cust_params.day_of_week`. Independent axis from `daypart` so sales\ncan target \"weekend evenings\" with two filters instead of conflating\nthem onto one key. Derived from the same `scheduledStart` + tz pair\nas daypart."},"AdGameWindow":{"type":"string","enum":["early","mid","late"],"description":"`cust_params.game_window`. Coarse position within a broadcast — early/\nmid/late thirds of an assumed 3-hour game window. Derived from elapsed\ntime since `live.liveStartedAt`. Used by sales for \"spread your spots\nacross the game\" Sponsorship line items where exact inning targeting\nisn't available yet (Phase 2: `inning` from a game-state service)."},"AdContentType":{"type":"string","enum":["live","replay","highlight"],"description":"`cust_params.content_type`. Lets sales sell \"live-only\" or \"replay-only\"\ndeals at different rates. `live` for the live SSAI path, `replay` for VOD\ncue resolution; `highlight` reserved for Phase 2 short-form clips."},"AdBreakPosition":{"type":"number","enum":[1,2,3,4,5,6],"description":"`cust_params.break_position`. Slot WITHIN a single ad pod (1 = first ad\nin the break, 2 = second, …). Sold at premium for `break_position=1`\nbecause completion rate / viewer attention drop with each subsequent\nslot. NOT to be confused with `[avail.index]` from MediaTailor\nwhich counts pods across the broadcast — that's `avail_num` in our\ncode, a different cust_param entirely.\n\nIn our current SSAI setup every break is a single-ad pod, so\n`break_position` is always 1. When we move to multi-ad pods (GAM\nAdPod via `pod_dur`), MediaTailor populates per-slot positions and\nwe forward them."},"AdCustParamsFields":{"description":"Full set of GAM `cust_params` keys we emit. Single source of truth for\nthe cust_params taxonomy: `LiveSsaiConfig.targetingOverride`,\n`adProxyService.computeEffectiveCustParams`, and `AdRequestContext` all\nderive from this.\n\n`contentType` is technically per-request (varies between /now=live\nand /cue=replay), but lives here so override can pin it for QA.\n\n`availNum` is per-request and ad-block-counter semantics — listed\nhere for completeness because we DO emit it as `cust_params.avail_num`,\nbut it cannot be set as a static override (admin pinning makes no\nsense for a counter that increments across breaks).","properties":{"league":{"type":"string"},"homeTeam":{"type":"string","description":"Identifier of the home team in the broadcast (e.g. `rangers`,\n`astros`). Surfaces as `cust_params.home_team`. Together with\n`awayTeam` lets sales target any matchup — including ones where\nneither side is BZZR's primary team — with a single OR/AND filter\n(`home_team=astros OR away_team=astros` for \"any Astros game\",\n`home_team=rangers AND away_team=astros` for a specific matchup)."},"awayTeam":{"type":"string","description":"Identifier of the away team. See `homeTeam`."},"gameId":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home`/`away` POV сети — explicit per-broadcast bucket for sales\nline items like \"all home games of network X\". Set on import from\nthe schedule's location column; not derived runtime since we no\nlonger carry a single network team identifier."},"seriesType":{"$ref":"#/components/schemas/SeriesType"},"daypartTimezone":{"type":"string","description":"IANA timezone used to bucket the broadcast start into `daypart`. When\nunset, `adProxyService.derivedDaypart` falls back to `America/New_York` —\nthe canonical US-sports broadcasting tz where audience plurality\nlives. Set per-stream when serving inventory tied to a specific\nvenue / league time zone (e.g. `America/Chicago` for Rangers home\nbroadcasts) so sales' `daypart=evening` line items fire in local\nprimetime instead of ET-shifted.\n\nNot a cust_param itself — controls how `daypart` is computed.\nInvalid tz strings (Luxon `isValid === false`) drop daypart from\nthe request entirely rather than emitting a wrong bucket."},"daypart":{"$ref":"#/components/schemas/AdDaypart"},"dayOfWeek":{"$ref":"#/components/schemas/AdDayOfWeek"},"gameWindow":{"$ref":"#/components/schemas/AdGameWindow"},"contentType":{"$ref":"#/components/schemas/AdContentType"},"breakPosition":{"$ref":"#/components/schemas/AdBreakPosition"}},"type":"object","additionalProperties":false},"LiveSsaiConfig":{"description":"GAM targeting fields (`league`, `homeTeam`, `awayTeam`, `gameId`,\n`gameType`, `seriesType`) are inherited from `AdTargetingFields`. Carried\ninto ad calls as `cust_params` so sales can target line items by\nleague/team/series.\n\nGeo (region / DMA) is NOT here — GAM resolves it from the viewer IP we\nforward in the ad request. Daypart and game_window are derived at request\ntime from `live.scheduledStart` / `live.liveStartedAt`.","properties":{"league":{"type":"string"},"homeTeam":{"type":"string","description":"Identifier of the home team in the broadcast (e.g. `rangers`,\n`astros`). Surfaces as `cust_params.home_team`. Together with\n`awayTeam` lets sales target any matchup — including ones where\nneither side is BZZR's primary team — with a single OR/AND filter\n(`home_team=astros OR away_team=astros` for \"any Astros game\",\n`home_team=rangers AND away_team=astros` for a specific matchup)."},"awayTeam":{"type":"string","description":"Identifier of the away team. See `homeTeam`."},"gameId":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home`/`away` POV сети — explicit per-broadcast bucket for sales\nline items like \"all home games of network X\". Set on import from\nthe schedule's location column; not derived runtime since we no\nlonger carry a single network team identifier."},"seriesType":{"$ref":"#/components/schemas/SeriesType"},"daypartTimezone":{"type":"string","description":"IANA timezone used to bucket the broadcast start into `daypart`. When\nunset, `adProxyService.derivedDaypart` falls back to `America/New_York` —\nthe canonical US-sports broadcasting tz where audience plurality\nlives. Set per-stream when serving inventory tied to a specific\nvenue / league time zone (e.g. `America/Chicago` for Rangers home\nbroadcasts) so sales' `daypart=evening` line items fire in local\nprimetime instead of ET-shifted.\n\nNot a cust_param itself — controls how `daypart` is computed.\nInvalid tz strings (Luxon `isValid === false`) drop daypart from\nthe request entirely rather than emitting a wrong bucket."},"enabled":{"type":"boolean","description":"When true, the live is provisioned with the hybrid pipeline (MediaTailor SSAI + Mux recording)."},"vastUrl":{"type":"string","description":"URL MediaTailor calls for VAST. Hybrid provisioning always rewrites this\nto point at our `/lives/{id}/now` proxy so beacons inside the VAST\nresponse can be rewritten to a first-party domain. The original GAM\nad-tag URL is preserved on `upstreamVastUrl`.\n\nAdmin endpoints accept this field via createLive / updateLive and\n`LivesService.updateSsaiVastUrl`. The provisioner / `updateSsaiVastUrl`\npromote the admin-supplied value into `upstreamVastUrl` and replace\n`vastUrl` with the proxy URL, so the value the admin sets ultimately\nlands as the upstream that the proxy forwards to."},"upstreamVastUrl":{"type":"string","description":"Per-live upstream GAM ad-tag URL — what `/lives/:id/now` forwards to.\nSet internally by `LiveInfrastructureService.buildHybridProxyConfig`\nwhen the proxy is wrapped in front of MediaTailor; not exposed on\ncreateLive / updateLive request shapes (admins set the URL via\n`vastUrl` and the provisioner promotes it). When omitted, the proxy\nfalls back to `MediaLiveIntegrationSettings.gamUpstreamVastUrl` (the\nglobal default MediaTailor used to call directly)."},"targetingOverride":{"$ref":"#/components/schemas/AdCustParamsFields","description":"Forces specific GAM `cust_params` instead of what would be computed at\nrequest time. Each subfield wins over the corresponding source:\n- `daypart` / `gameWindow` override `adProxyService.derivedDaypart` /\n  `derivedGameWindow` (otherwise computed from `live.scheduledStart` /\n  `live.liveStartedAt`).\n- `league` / `homeTeam` / `awayTeam` / `gameId` / `gameType` /\n  `seriesType` override the matching field on `LiveSsaiConfig` itself\n  (the \"static\" fields pulled by `adProxyService.staticTargetingFrom`).\n\nUse cases:\n- Demos: switch creatives between breaks without waiting for real time\n  to advance or mutating `liveStartedAt` (the latter breaks VOD VMAP\n  `timeOffset` math) or `ssaiConfig.homeTeam`/`awayTeam` etc. (those\n  go through `updateLive` which Mux rejects on active streams).\n- QA / line-item validation: ad-ops can verify a specific cust_params\n  combination delivers without provisioning a fake live for it.\n\nEach subfield is independently optional — present subfield overrides;\nabsent subfield falls through to default. Clear individual fields by\nsending an empty string in the admin request body, or wipe the whole\noverride with `DELETE /admin/lives/{id}/targetingOverride`."},"targetingMode":{"$ref":"#/components/schemas/LiveSsaiTargetingMode","description":"Selects how the playback proxy modifies `upstreamVastUrl` before fetching\nVAST — `gam_cust_params` for Google Ad Manager, `mediatailor_macros` for\nSpringServe and other tags built around `[player_params.X]` /\n`[avail.random]`, or `passthrough` to leave the URL untouched.\n\nWritten atomically with `upstreamVastUrl` via the admin endpoint, which\nvalidates that the URL shape matches the chosen mode. When absent on an\nexisting document, the proxy treats it as `gam_cust_params` — the prior\ndefault — so all pre‑existing lives keep working without a backfill."},"adAvailOffsetSeconds":{"type":"number","format":"double","description":"Shifts the ad-break START time by this many seconds, forwarded to MediaLive\nas `AvailConfiguration.Scte35SpliceInsert.AdAvailOffset` (milliseconds) at\nchannel provisioning. Positive = insert LATER (delay the ad); use it to\ncompensate when the broadcaster signals SCTE-35 a few seconds before the\nactual content break, so the ad no longer eats the tail of content.\nSnapshotted onto the channel at create time — a channel RESTART\n(re-provision) is required to change it; NOT hot-swappable (unlike `vastUrl`\n/ avail suppression via PutPlaybackConfiguration). Its effect on the\nSSAI-passthrough markers MediaTailor reads is unverified — canary on a live\ngame before relying on it. Absent / 0 ⇒ no offset."},"adPrefetchEnabled":{"type":"boolean","description":"Creates the recurring MediaTailor ad-prefetch schedule for this live.\n**Default OFF** (absent/false ⇒ no schedule): MediaTailor stores\ntranscoded creatives indefinitely, so with a stable ad catalog prefetch's\nonly job (avoiding first-encounter NEW_CREATIVE skips) barely applies —\nwhile prefetch-buffer insertion amplified the SpringServe\nduplicate-impressions incident and ~2-3x's billed ADS ad-decisions.\nEnable only for a game expecting a fresh, never-seen creative catalog\n(e.g. season start). Hot-toggleable mid-game: an admin\n`PUT /admin/lives/{id}/ssaiConfig` re-push re-runs `refreshAdPrefetch`,\nwhich deletes the existing schedule and re-creates it only when this is\ntrue. Resolved broadcast-override → source-default like the rest of\n`ssaiConfig`. See `LiveInfrastructureService.refreshAdPrefetch`."}},"required":["enabled"],"type":"object","additionalProperties":false},"LivePreviewDetailsViewModel":{"description":"Admin-only view of the preview pipeline. Exists because `preview` is `null`\nfor \"never attempted\", \"rendering\" and \"failed\" alike — this is the only\nplace those are distinguishable.","properties":{"status":{"type":"string","enum":["processing","ready","failed"]},"url":{"type":"string","nullable":true,"description":"Set once `ready`."},"anchorAt":{"type":"string","description":"Wall-clock ISO of the clip window start."},"durationSeconds":{"type":"number","format":"double"},"sourceAssetId":{"type":"string","description":"Which recording asset the clip came from (a long broadcast splits across several)."},"failures":{"type":"number","format":"double","description":"Real failures so far; automatic retries stop at 3."},"source":{"type":"string","enum":["auto","admin"]},"lastError":{"type":"string","nullable":true},"updatedAt":{"type":"string"}},"required":["status","anchorAt","durationSeconds","sourceAssetId","failures","source","updatedAt"],"type":"object","additionalProperties":false},"PipelineRebuildProgressViewModel":{"description":"Fine-grained rebuild progress for the admin stepper (see domain doc).","properties":{"step":{"type":"string","enum":["queued","creating_resources","starting_channel","awaiting_confirm","probing","flipping","failed"]},"stepStartedAt":{"type":"string"},"timeline":{"items":{"properties":{"at":{"type":"string"},"step":{"type":"string"}},"required":["at","step"],"type":"object"},"type":"array"},"probeAttempts":{"type":"number","format":"double"},"probeMaxAttempts":{"type":"number","format":"double"},"probeLastError":{"type":"string"},"probeVariantCount":{"type":"number","format":"double"},"probeHasAudioCodec":{"type":"boolean"}},"required":["step","stepStartedAt","timeline"],"type":"object","additionalProperties":false},"PipelineRebuildStateViewModel":{"description":"In-flight rebuild state as surfaced to the admin panel.","properties":{"status":{"type":"string","enum":["queued","provisioning","awaiting_confirm","finalizing","failed"]},"targetGeneration":{"type":"number","format":"double"},"reason":{"type":"string"},"requestedBy":{"type":"string"},"startedAt":{"type":"string"},"updatedAt":{"type":"string"},"error":{"type":"string"},"newPipeline":{"allOf":[{"$ref":"#/components/schemas/MediaLivePipelineViewModel"}],"nullable":true,"description":"The provisioned-but-not-yet-serving new generation. For push/listener\ninputs this carries the NEW ingest URLs/passphrase the broadcaster must\nre-point to before `/rebuild/confirm`."},"hasEncoderPatch":{"type":"boolean","description":"True when the rebuild carries an encoderProfilePatch — it parks in\n`awaiting_confirm` so the operator verifies the new generation's output\n(the probe can't detect e.g. a silent audio PID) before confirming."},"progress":{"$ref":"#/components/schemas/PipelineRebuildProgressViewModel","description":"Live stepper telemetry — poll every 2-3s while a rebuild is active."}},"required":["status","targetGeneration","requestedBy","startedAt","updatedAt","newPipeline"],"type":"object","additionalProperties":false},"PipelineRebuildResultViewModel":{"description":"Terminal outcome of the most recent rebuild — the admin result banner.","properties":{"targetGeneration":{"type":"number","format":"double"},"outcome":{"type":"string","enum":["flipped","cancelled","reaped"]},"finishedAt":{"type":"string"},"durationMs":{"type":"number","format":"double"},"probeAttempts":{"type":"number","format":"double"},"error":{"type":"string"},"reason":{"type":"string"},"requestedBy":{"type":"string"}},"required":["targetGeneration","outcome","finishedAt"],"type":"object","additionalProperties":false},"RetiredPipelineGenerationViewModel":{"description":"A retired pipeline generation (rebuild history) — identifiers only, no secrets.","properties":{"generation":{"type":"number","format":"double"},"pipelineName":{"type":"string"},"channelId":{"type":"string"},"mediaPackageChannelId":{"type":"string"},"mediaTailorConfigName":{"type":"string"},"srtSourceIndex":{"type":"number","format":"double"},"cdnDistributionId":{"type":"string"},"retiredAt":{"type":"string"},"retireReason":{"type":"string"},"cleanedUpAt":{"type":"string","description":"Absent ⇒ AWS teardown still pending (watchdog keeps retrying)."},"cleanupAttempts":{"type":"number","format":"double"},"lastCleanupError":{"type":"string"}},"required":["generation","channelId","retiredAt","retireReason"],"type":"object","additionalProperties":false},"LiveVodRecordingStatus":{"type":"string","enum":["harvesting","ready","failed","skipped","purged"],"description":"- `harvesting` — the MediaPackage V2 harvest job is running; the live's cleanup task is holding\n  the pipeline (MediaPackage must outlive the job) and re-checks it every minute.\n- `ready` — the recording is in S3.\n- `failed` — the job failed, timed out or could not be started; `lastError` says why. Cleanup\n  went ahead regardless: AWS resources are never held hostage to a copy.\n- `skipped` — there was nothing harvestable (no start/stop timestamps, or a window too short).\n- `purged` — the copy was deleted from S3 with the rest of the recording once the replay window\n  (plus the purge grace) closed (`RecordingPurgeService`)."},"LiveVodRecording":{"description":"The game's recording copied from MediaPackage V2 into S3 at the end of the live (the AWS-hosted\nreplay; runs alongside the Mux recording). Written only for lives with `vodHarvest`, and only by\nthe pipeline cleanup task, which advances it one step per pass (`VodRecordingService`). Kept at\nthe top level of the Live because `mediaLivePipeline` is nulled at the end of that same cleanup.","properties":{"status":{"$ref":"#/components/schemas/LiveVodRecordingStatus"},"bucket":{"type":"string","description":"S3 bucket and key prefix the job writes under (`replays/{liveId}/`)."},"s3Prefix":{"type":"string"},"manifests":{"items":{"type":"string"},"type":"array","description":"HLS manifest names harvested (`index`, plus `index-60` when the live had the 60fps ladder)."},"windowStart":{"type":"string","description":"Harvested wall-clock window: normally the game, `replayStartAt` (moved past an ad break it fell\ninto) → `liveStoppedAt`; the whole broadcast from `liveStartedAt` when `replayStartAt` is absent\nor outside it. Clamped to the startover window. See `planVodHarvestWindow`."},"windowEnd":{"type":"string"},"windowClamped":{"type":"boolean","description":"True when the window had to be shortened to fit the endpoint's startover window."},"lastSegmentAt":{"type":"string","description":"PDT of the last segment the endpoint held when the copy was requested: the replay bridge never asks past it."},"windowShiftedPastBreakSeconds":{"type":"number","format":"double","description":"Seconds the start was moved from `replayStartAt` to clear an ad break it fell into; absent when\nit was not moved (or the job's window is not the plan's). `windowStart` minus this is the game\nstart the copy was planned from."},"harvestJobName":{"type":"string"},"channelGroupName":{"type":"string"},"channelName":{"type":"string"},"originEndpointName":{"type":"string"},"requestedAt":{"type":"string"},"completedAt":{"type":"string"},"pollCount":{"type":"number","format":"double","description":"Status checks made while `harvesting` (informational; the wait is bounded by time — `VOD_HARVEST_MAX_WAIT_MS`)."},"lastError":{"type":"string"},"purgedAt":{"type":"string","description":"When the S3 copy was deleted (`purged`)."}},"required":["status"],"type":"object","additionalProperties":false},"AdminLiveViewModel":{"description":"Admin view of a live: the public model plus internal/ad fields that must\nnever reach consumers. Returned only by `GET /admin/lives/{id}` — the\nconsumer `GET /lives/{id}` returns the bare `LiveViewModel`, so the GAM tag\nand targeting cust_params can't leak.","properties":{"id":{"type":"string"},"title":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"preview":{"allOf":[{"$ref":"#/components/schemas/LivePreviewViewModel"}],"nullable":true,"description":"The ~60s game preview (first minute of play, anchored at game start),\ngenerated automatically a couple of minutes into the game — the same clip\nwhether the live is on air or ended. Null until generated. Public URL —\nno token needed."},"status":{"$ref":"#/components/schemas/LiveStatus"},"scheduledStart":{"type":"string"},"ownerId":{"type":"string"},"scheduledBroadcastId":{"type":"string","nullable":true},"viewsCount":{"type":"number","format":"double"},"streamDetails":{"allOf":[{"$ref":"#/components/schemas/StreamDetailsViewModel"}],"nullable":true},"mediaLivePipeline":{"allOf":[{"$ref":"#/components/schemas/MediaLivePipelineViewModel"}],"nullable":true,"deprecated":true},"playback":{"allOf":[{"$ref":"#/components/schemas/LivePlaybackViewModel"}],"nullable":true,"deprecated":true},"stadiumAudio":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioPublicStatusViewModel"}],"nullable":true,"description":"Slim audio pipeline status for the stadium-audio (IVS Real-Time) feed.\nPresent iff the live was provisioned with `audioConfig.enabled`. The\nFlutter client should only show the \"Listen at venue\" CTA when\n`stadiumAudio?.status === \"running\"`. Creds arrive as the `ivs-whep`\ndelivery on `GET /playback/lives/{liveId}` — the same grant that carries\nvideo, alongside `geo.audio` (the venue policy to satisfy) and, when\nrefused, an `ivs-whep` entry in `denials[]`. The `geofence` here is a\npre-join proximity hint only; `geo.audio` is the authoritative policy."},"hasCaptions":{"type":"boolean","description":"`true` when this live streams with auto-generated captions (Smart\nSubtitles) — the HLS manifest carries a WebVTT subtitles rendition and\nplayers surface their standard CC toggle. Purely informational for\ncaption-related UX (e.g. onboarding hints); the track itself needs no\nextra request."},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array"},"videos":{"items":{"$ref":"#/components/schemas/VideoReferenceViewModel"},"type":"array"},"videoIds":{"items":{"type":"string"},"type":"array"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"entitlementIds":{"items":{"type":"string"},"type":"array"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"ssaiConfig":{"allOf":[{"$ref":"#/components/schemas/LiveSsaiConfig"}],"nullable":true,"description":"GAM cust_params, current `targetingOverride`, `vastUrl`, `targetingMode`."},"chatBlocked":{"type":"boolean","description":"Admin chat kill-switch state. `true` ⇒ the chat is blocked and cannot be\nre-enabled by anyone until an admin lifts it via\n`DELETE /admin/lives/{id}/chat/block`. Lets the admin panel render the\nblock toggle in its correct state on load. Normalized from the (optional)\n`Live.chatBlocked` flag — always a concrete boolean here."},"previewDetails":{"allOf":[{"$ref":"#/components/schemas/LivePreviewDetailsViewModel"}],"nullable":true,"description":"Game-preview pipeline state — `processing` / `failed` / `lastError`, which\nthe consumer `preview` field cannot express (it is null for all of them).\nPoll this after `POST {liveId}/preview`. Null ⇒ never attempted."},"pipelineGeneration":{"type":"number","format":"double","description":"Current pipeline generation (1 = never rebuilt mid-broadcast)."},"cdnSlotId":{"type":"string","nullable":true,"description":"Dedicated CDN slot leased by this live; null ⇒ legacy shared distribution."},"pipelineRebuild":{"allOf":[{"$ref":"#/components/schemas/PipelineRebuildStateViewModel"}],"nullable":true,"description":"In-flight mid-broadcast rebuild; null when none."},"lastRebuildResult":{"allOf":[{"$ref":"#/components/schemas/PipelineRebuildResultViewModel"}],"nullable":true,"description":"Terminal outcome of the LAST rebuild — result banner after the record clears."},"pipelineHistory":{"items":{"$ref":"#/components/schemas/RetiredPipelineGenerationViewModel"},"type":"array","description":"Generations retired by rebuild flips, oldest first."},"replayStartAt":{"type":"string","nullable":true,"description":"Where the replay starts (wall-clock); null ⇒ full recording."},"replayStartSource":{"type":"string","enum":["gameFeed","admin",null],"nullable":true,"description":"Who set `replayStartAt`: absent ⇒ the schedule, `gameFeed` ⇒ the live game feed (first play −\nlead), `admin` ⇒ the replayStart endpoints (the feed never overwrites it)."},"replayStartOffsetSeconds":{"type":"number","format":"double","nullable":true,"description":"`replayStartAt` as seconds into the recorded replay — what the admin UI\nshows/edits and exactly the `asset_start_time` the grant will mint.\nNull until the stream has started or when the value wouldn't clip."},"vodHarvest":{"type":"boolean","description":"The recording is copied to S3 when this live ends (`Live.vodHarvest` snapshot)."},"vodRecording":{"allOf":[{"$ref":"#/components/schemas/LiveVodRecording"}],"nullable":true,"description":"State of that copy — `harvesting` while the end-of-live job runs, then `ready`, `failed`\n(`lastError` says why) or `skipped`. Absent until the live's cleanup first acts on it."}},"required":["id","title","description","thumbnail","status","scheduledStart","ownerId","scheduledBroadcastId","viewsCount","streamDetails","mediaLivePipeline","playback","stadiumAudio","hasCaptions","muxAssets","videos","videoIds","liveStartedAt","liveStoppedAt","entitlementIds","createdAt","updatedAt","ssaiConfig","chatBlocked","pipelineGeneration","cdnSlotId","pipelineRebuild","lastRebuildResult","pipelineHistory","replayStartAt","replayStartOffsetSeconds","vodHarvest"],"type":"object","additionalProperties":false},"RebuildPipelineRequest":{"description":"Mid-broadcast parallel pipeline rebuild (`POST /admin/lives/{id}/pipeline/rebuild`).\nA new generation is provisioned alongside the running one; viewers flip over\nafter a health probe. Hybrid (cloudfront) lives only.","properties":{"reason":{"type":"string","description":"Why the rebuild was requested — lands on `pipelineHistory[].retireReason`."},"force":{"type":"boolean","description":"Required to rebuild an srt_caller live with a SINGLE configured source that\nis not marked `supportsConcurrentSessions` (the new generation would dial\nthe same venue port the old one holds — the old input may glitch)."},"srtSourceIndex":{"type":"integer","format":"int32","description":"Explicit index into the live's `inputConfig.srtSources[]` for the new\ngeneration's input. Default: the next free source cyclically.","minimum":0},"srtSourcesOverride":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array","description":"Fresh SRT source(s) for the new generation (e.g. new URLs from the venue\nmid-game). Takes precedence over `srtSourceIndex`."},"encoderProfilePatch":{"$ref":"#/components/schemas/LiveEncoderProfile","description":"Partial encoder profile merged over the live's current snapshot BEFORE the\nnew generation provisions — makes rebuild the generic \"apply new encoder\nconfig mid-broadcast\" lever (audioPid, ladder, …) with seconds of viewer\nimpact instead of a stop→update→start outage."}},"type":"object","additionalProperties":false},"AdBreakEventViewModel":{"properties":{"id":{"type":"string"},"liveId":{"type":"string"},"channelId":{"type":"string"},"spliceEventId":{"type":"number","format":"double"},"actionName":{"type":"string"},"durationSeconds":{"type":"number","format":"double"},"requestedAt":{"type":"string","description":"When the admin issued the request (audit only)."},"scheduledAt":{"type":"string","description":"Wall-clock ISO timestamp at which MediaLive inserts the SCTE-35 splice.\nMatch this against `EXT-X-PROGRAM-DATE-TIME` of the Mux asset playback\nmanifest to drive client-side ad insertion on VOD."},"insertedAt":{"type":"string","deprecated":true},"liveStartedAt":{"type":"string","nullable":true,"deprecated":true},"vodOffsetSeconds":{"type":"number","format":"double","deprecated":true}},"required":["id","liveId","channelId","spliceEventId","actionName","durationSeconds","requestedAt","scheduledAt","insertedAt","liveStartedAt","vodOffsetSeconds"],"type":"object","additionalProperties":false},"LiveRecordingSliceType":{"description":"Editorial segment a recording slice represents, and the slice's Firestore doc\nid — which is what enforces one slice per type per live without a transaction:\na re-cut overwrites instead of piling up near-duplicate (and separately\nbilled) Mux assets.\n\nA single value for now — the head-and-tail game trim, the only segment any\nsurface serves. Widening (pre/post-game as separately playable cuts) is\npurely additive: new values are new doc ids, no migration. Values are a\nSTORAGE contract (they are prod doc ids) — never rename an existing one.","enum":["live_game"],"type":"string"},"LiveRecordingSliceStatus":{"description":"Mux clipping is asynchronous: `assets.create` returns a `preparing` asset and\nthe clip only becomes playable on `video.asset.ready`. `Errored` is not\nterminal — re-cutting the type overwrites the record with a fresh clip.","enum":["processing","ready","errored"],"type":"string"},"LiveRecordingSliceViewModel":{"description":"One recording slice as returned by the admin slicing endpoints.","properties":{"liveId":{"type":"string"},"type":{"$ref":"#/components/schemas/LiveRecordingSliceType"},"status":{"$ref":"#/components/schemas/LiveRecordingSliceStatus"},"title":{"type":"string"},"sourceAssetId":{"type":"string"},"startOffsetSeconds":{"type":"number","format":"double"},"endOffsetSeconds":{"type":"number","format":"double"},"durationSeconds":{"type":"number","format":"double","description":"Requested clip length. The delivered asset's own duration lands on `muxAssets[0]`."},"muxAssets":{"items":{"$ref":"#/components/schemas/MuxAsset"},"type":"array","description":"Mux asset(s) of the clip — same shape as `LiveViewModel.muxAssets`. Empty while Mux is still preparing."},"playbackId":{"type":"string","nullable":true},"isActive":{"type":"boolean","description":"True when this slice is the one currently served to viewers."},"lastError":{"type":"string","nullable":true},"requestedBy":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["liveId","type","status","title","sourceAssetId","startOffsetSeconds","endOffsetSeconds","durationSeconds","muxAssets","playbackId","isActive","lastError","requestedBy","createdAt","updatedAt"],"type":"object","additionalProperties":false},"LiveRecordingOverviewViewModel":{"description":"Everything an admin trimming UI needs in one call: the source it scrubs, the\nad breaks it must not cut through, and the slices that already exist.","properties":{"liveId":{"type":"string"},"title":{"type":"string"},"status":{"$ref":"#/components/schemas/LiveStatus"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"sourceAssetId":{"type":"string","nullable":true,"description":"The ORIGINAL recording — what slices are cut from and what the scrubber plays."},"sourcePlaybackId":{"type":"string","nullable":true},"sourceDuration":{"type":"number","format":"double"},"activeSliceType":{"allOf":[{"$ref":"#/components/schemas/LiveRecordingSliceType"}],"nullable":true,"description":"Which slice is live right now; null ⇒ viewers get the original."},"adBreaks":{"items":{"properties":{"durationSeconds":{"type":"number","format":"double"},"offsetSeconds":{"type":"number","format":"double"},"id":{"type":"string"}},"required":["durationSeconds","offsetSeconds","id"],"type":"object"},"type":"array","description":"Recorded ad breaks positioned on the SOURCE timeline, so the UI can avoid cutting mid-break."},"slices":{"items":{"$ref":"#/components/schemas/LiveRecordingSliceViewModel"},"type":"array"}},"required":["liveId","title","status","liveStartedAt","liveStoppedAt","sourceAssetId","sourcePlaybackId","sourceDuration","activeSliceType","adBreaks","slices"],"type":"object","additionalProperties":false},"AdminLiveTranscriptSegmentViewModel":{"properties":{"start":{"type":"number","format":"double","description":"Seconds from the start of the replay copy — seek the S3 replay straight to it."},"end":{"type":"number","format":"double"},"text":{"type":"string"}},"required":["start","end","text"],"type":"object","additionalProperties":false},"AdminLiveTranscriptViewModel":{"description":"A game's transcript, from the live captions its S3 replay copy holds (`LiveTranscriptService`).\nOutlives the copy: it is kept after the replay is purged.","properties":{"liveId":{"type":"string"},"language":{"type":"string","description":"Language tag as the captions declared it (`eng`)."},"source":{"type":"string","enum":["live-captions"],"nullable":false},"text":{"type":"string","nullable":true,"description":"Every line joined with spaces; null when too long to store in one piece (the segments are complete)."},"segmentCount":{"type":"number","format":"double"},"wordCount":{"type":"number","format":"double"},"durationSec":{"type":"number","format":"double"},"gameStartOffsetSec":{"type":"number","format":"double","nullable":true,"description":"Where the game begins on the segments' timeline: normally 0 (the copy starts at the game); when\npositive, the lines before it are the pregame. Null when unknown."},"segments":{"items":{"$ref":"#/components/schemas/AdminLiveTranscriptSegmentViewModel"},"type":"array"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["liveId","language","source","segmentCount","wordCount","durationSec","segments","createdAt","updatedAt"],"type":"object","additionalProperties":false},"CreateLiveRecordingSliceRequest":{"description":"Cuts (or re-cuts) one recording slice of an ended live; the type is a path\nparameter because it is the resource identity. Bounds come EITHER as offsets\nin seconds (what a scrubber produces) OR as ISO wall-clock (what a rundown\ngives, and the units ad breaks use) — mixing the two is a 400. Each side is\noptional, so `{ startOffsetSeconds: 600 }` means \"chop the first 10 minutes\".","properties":{"startOffsetSeconds":{"type":"number","format":"double"},"endOffsetSeconds":{"type":"number","format":"double"},"startAt":{"type":"string"},"endAt":{"type":"string"},"title":{"type":"string","description":"Admin label for the slice. Defaults to the live's title."}},"type":"object","additionalProperties":false},"RegenerateLivePreviewRequest":{"properties":{"atSeconds":{"type":"number","format":"double","description":"Pins the preview clip start, seconds into the recording (same axis as\n`PUT {liveId}/replayStart`). Omit to re-cut at the game-start anchor\n(`replayStartAt`). When set, the preview is marked `source: \"admin\"` and\nautomatic generation will not overwrite it."}},"type":"object","additionalProperties":false},"UpdateLiveSsaiConfigRequest":{"properties":{"vastUrl":{"type":"string","description":"New VAST ad decision server URL. Applied to the live MediaTailor playback configuration\nwithout restarting the channel. New viewer sessions pick it up within seconds.\n\nRequired for every mode EXCEPT `local_creatives`, which has no upstream ad\nserver at all — there the field is ignored and may be omitted."},"targetingMode":{"$ref":"#/components/schemas/LiveSsaiTargetingMode","description":"How the playback proxy should modify `vastUrl` before fetching VAST.\nPersisted on `ssaiConfig.targetingMode`.\n\nValidated against the URL shape on the server: a GAM URL with\n`mediatailor_macros` is rejected, as is a URL containing\n`[player_params.X]` tokens with `gam_cust_params`. Omit to let the server\ninfer the mode from the URL — supported for unambiguous URLs (`*.doubleclick.net`\nor `cust_params=` → `gam_cust_params`; `[player_params.X]` tokens →\n`mediatailor_macros`); ambiguous URLs return 400."},"adPrefetchEnabled":{"type":"boolean","description":"Toggle the recurring MediaTailor ad-prefetch schedule on this live,\nmid-broadcast, without a channel restart: the hot-swap re-runs\n`refreshAdPrefetch`, which deletes any existing schedule and re-creates\nit only when the resolved value is true. Absent ⇒ keep the live's\ncurrent `ssaiConfig.adPrefetchEnabled` (default OFF). See\n`LiveSsaiConfig.adPrefetchEnabled`."}},"type":"object","additionalProperties":false},"UpdateLiveTargetingOverrideRequest":{"description":"Forces specific GAM `cust_params` for the live's next /now or /cue calls,\nregardless of what would be computed at request time. Covers every cust_param\nwe emit, so QA / ad-ops can pin any combination without provisioning a\nfake live for it.\n\n- `daypart` / `dayOfWeek` / `gameWindow` override\n  `adProxyService.derivedDaypart` / `derivedDayOfWeek` / `derivedGameWindow`.\n- `daypartTimezone` overrides the IANA tz used to bucket `daypart` /\n  `dayOfWeek` (otherwise inherited from `LiveSsaiConfig.daypartTimezone`).\n- `league` / `homeTeam` / `awayTeam` / `gameId` / `gameType` /\n  `seriesType` override the matching field on `LiveSsaiConfig` (the\n  static targeting fields baked at provision time).\n- `contentType` forces `cust_params.content_type` (live / replay /\n  highlight) — useful to make a /now call behave like /cue or vice versa.\n- `breakPosition` forces the per-pod slot index (1-6) for multi-ad pod QA;\n  real traffic uses 1 in the current single-ad-pod setup.\n\nEach subfield is independently optional:\n- present non-empty value → set\n- present empty string `\"\"` → clear that subfield only\n- absent → leave whatever was set previously\n\nWipe everything via `DELETE /admin/lives/{id}/targetingOverride`.","properties":{"daypart":{"anyOf":[{"$ref":"#/components/schemas/AdDaypart"},{"type":"string","enum":[""]}]},"dayOfWeek":{"anyOf":[{"$ref":"#/components/schemas/AdDayOfWeek"},{"type":"string","enum":[""]}]},"daypartTimezone":{"type":"string"},"gameWindow":{"anyOf":[{"$ref":"#/components/schemas/AdGameWindow"},{"type":"string","enum":[""]}]},"league":{"type":"string"},"homeTeam":{"type":"string"},"awayTeam":{"type":"string"},"gameId":{"type":"string"},"gameType":{"anyOf":[{"$ref":"#/components/schemas/GameType"},{"type":"string","enum":[""]}]},"seriesType":{"anyOf":[{"$ref":"#/components/schemas/SeriesType"},{"type":"string","enum":[""]}]},"contentType":{"anyOf":[{"$ref":"#/components/schemas/AdContentType"},{"type":"string","enum":[""]}]},"breakPosition":{"$ref":"#/components/schemas/AdBreakPosition"}},"type":"object","additionalProperties":false},"UpdateLiveReplayStartRequest":{"properties":{"offsetSeconds":{"type":"number","format":"double","description":"Seconds into the recorded replay where playback should start (\"the game\nactually starts at 42:13\" → 2533). Requires a started stream; clear via\n`DELETE /admin/lives/{id}/replayStart` to serve the full recording."}},"required":["offsetSeconds"],"type":"object","additionalProperties":false},"StadiumAudioPipelineDetails":{"description":"Per-stream runtime AWS state. Lives on `Live.audioPipeline`, written by\n`StadiumAudioService.provisionAudioFor`. Mirrors the\n`MediaLivePipelineDetails` pattern on the video side.","properties":{"ingestKeyPrefix":{"type":"string"},"stageArn":{"type":"string","description":"AWS IVS Real-Time stage ARN."},"stageRegion":{"type":"string","description":"AWS region of the stage."},"whipEndpoint":{"type":"string","description":"Public WHIP push endpoint (generic AWS host, 307-redirects)."},"stageWhipUrl":{"type":"string","description":"Per-stage WHIP URL returned by `CreateStage.endpoints.whip` —\n`https://e857fee1a051.global-bm.whip.live-video.net` style. Required\nverbatim in self-signed JWT claims (immutable `whip_url`); cannot be\nrecomputed later because AWS bakes a stage-specific host fragment.\nCache lifetime per AWS docs: up to 14 days."},"stageEventsUrl":{"type":"string","description":"Per-stage events WebSocket URL returned by `CreateStage.endpoints.events`\n— `wss://global.events.live-video.net`. Required verbatim in self-signed\nJWT claims (immutable `events_url`). Cache lifetime per AWS docs:\nup to 14 days."},"whipTokenSecretArn":{"type":"string","description":"AWS Secrets Manager ARN of the broadcaster (PUBLISH) participant token."},"whipTokenExpiresAt":{"type":"string","description":"Wall-clock expiry of the broadcaster token."},"status":{"$ref":"#/components/schemas/StadiumAudioStatus"},"provisionedAt":{"type":"string"},"endedAt":{"type":"string","nullable":true},"lastError":{"type":"string","nullable":true},"lastPolledAt":{"type":"string","nullable":true,"description":"ISO timestamp of the publisher's last poll of\n`GET .../stadium-audio/active`. Stamped best-effort by\n`getActiveLiveForLiveSource`; read by the `verifyActiveIngest` watchdog as\nthe free \"process liveness\" signal alongside the authoritative IVS check."},"notStreamingSince":{"type":"string","nullable":true,"description":"ISO timestamp of when the `verifyActiveIngest` watchdog first observed the\npipeline running with nobody streaming to it. Set on the first miss, cleared\nwhen streaming resumes. Used to require the outage to be *sustained* before\npaging, so a brief publisher reconnect doesn't trigger a false alert."}},"required":["ingestKeyPrefix","stageArn","stageRegion","whipEndpoint","whipTokenSecretArn","whipTokenExpiresAt","status","provisionedAt"],"type":"object","additionalProperties":false},"StadiumAudioAdminStatusViewModel":{"description":"Returned by `GET /admin/lives/{liveId}/stadium-audio` — full pipeline\nstate for ops visibility.","properties":{"liveId":{"type":"string"},"pipeline":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioPipelineDetails"}],"nullable":true}},"required":["liveId","pipeline"],"type":"object","additionalProperties":false},"LiveStatsRates":{"description":"Snapshot of the pricing config applied to a `LiveStats` doc, for reproducibility.","properties":{"egressPerGb":{"type":"number","format":"double","description":"$ per BILLING GB (1024³ bytes) — how AWS meters data transfer."},"channelHourRate":{"type":"number","format":"double"},"reqRate":{"type":"number","format":"double","description":"LEGACY manifest-request rate; the v2 cost uses `cfRequestsPer1k`."},"currency":{"type":"string"},"pricingVersion":{"type":"string"},"cfRequestsPer1k":{"type":"number","format":"double"},"mediaPackageOriginPerGb":{"type":"number","format":"double"},"mediaPackageIngestPerGb":{"type":"number","format":"double"},"mediaTailorManifestDtoPerGb":{"type":"number","format":"double"},"mediaTailorAdInsertPer1k":{"type":"number","format":"double"},"cloudWatchVendedLogsPerGb":{"type":"number","format":"double"},"cloudWatchInsightsScanPerGb":{"type":"number","format":"double"}},"required":["egressPerGb","channelHourRate","reqRate","currency","pricingVersion"],"type":"object","additionalProperties":false},"LiveStatsCostLine":{"description":"One line of the passport's cost estimate. `measured` = quantity comes from\nlogs/metrics/billing-grade telemetry; `estimated` = quantity derived from a\ncalibrated intensity in `PricingEstimates` (still real rates).","properties":{"key":{"type":"string"},"label":{"type":"string"},"amount":{"type":"number","format":"double"},"basis":{"type":"string","enum":["measured","estimated"]}},"required":["key","label","amount","basis"],"type":"object","additionalProperties":false},"LiveStats":{"description":"Per-live audience + delivery + ads + cost \"passport\", written to\n`lives/{liveId}/stats/summary`. Refreshed ~every minute while `isLive`, then\nfrozen (with the expensive CloudFront-log fields filled) on end. Built by\n`LiveStatsService`.","properties":{"liveId":{"type":"string"},"title":{"type":"string"},"startedAt":{"type":"string"},"endedAt":{"type":"string","nullable":true},"durationMin":{"type":"number","format":"double"},"deliveryMode":{"type":"string"},"pipelineType":{"type":"string"},"asOf":{"type":"string","description":"When this snapshot was computed."},"isLive":{"type":"boolean","description":"true = still updating live; false = frozen final."},"mediaTailorConfigName":{"type":"string","nullable":true,"description":"CloudWatch dimension refs captured while the pipeline is alive so `finalize`\n(which runs AFTER the pipeline is torn down and `Live.mediaLivePipeline` is\nnulled) can still query the metrics. Without these, finalize would resolve a\nnull config/channel and zero out the MediaTailor/MediaLive-derived fields,\nclobbering the good live values (CloudWatch itself retains the data 15 mo)."},"channelId":{"type":"string","nullable":true},"cdnDistributionId":{"type":"string","nullable":true,"description":"Distribution serving this live (the leased CDN slot's, else the legacy\nshared one). Same post-teardown rationale as the refs above. With slots,\nCloudFront metrics become genuinely per-live; on the legacy shared\ndistribution they remain cross-contaminated between concurrent games\nuntil the finalize log scan corrects the log-derived fields."},"mediaTailorConfigNames":{"items":{"type":"string"},"type":"array","description":"ALL generations' CloudWatch refs (mid-broadcast rebuilds create a new\nMediaTailor config + channel per generation). The singular fields above\nstay the CURRENT generation for back-compat; metric queries union over\nthese so a rebuilt game's totals don't lose the pre-flip generations."},"channelIds":{"items":{"type":"string"},"type":"array"},"concurrentAllPlatform":{"type":"number","format":"double","description":"MediaTailor manifest-poll ÷15 — web + STB + mobile."},"peakAllPlatform":{"type":"number","format":"double"},"avgAllPlatform":{"type":"number","format":"double"},"concurrentMux":{"type":"number","format":"double","description":"Mux current-concurrent-viewers — realtime, web-instrumented only."},"peakMux":{"type":"number","format":"double"},"nonWebSharePct":{"type":"number","format":"double","nullable":true,"description":"≈ 1 − Mux/AllPlatform (share of non-web platforms)."},"uniqueUsers":{"type":"number","format":"double","nullable":true,"description":"True authenticated unique users (BQ `views` COUNT DISTINCT). Null for games before uid recording shipped."},"finalLogsAvailable":{"type":"boolean","nullable":true,"description":"Whether the finalize CloudFront-log pass found data. `false` = the game's\naccess logs were unavailable (expired past retention, no traffic, or a scan\nerror) at finalize/recompute — the log-derived `[F]` fields (`uniqueSessions`,\n`uniqueIps`, `audienceSegments`, session-length, `geoBreakdown`, corrected\negress/cost) are then LEFT AS-IS rather than zeroed, so a recompute after log\nexpiry never clobbers a good passport. Null on games finalized before this flag."},"uniqueSessions":{"type":"number","format":"double","nullable":true,"description":"[final] all-platform device reach from CloudFront logs."},"uniqueIps":{"type":"number","format":"double","nullable":true},"audienceSegments":{"items":{"$ref":"#/components/schemas/AudienceSegment"},"type":"array","nullable":true,"description":"[final] audience sliced from the CloudFront `cs(User-Agent)` into structured\ndimensions (`client` / `appFlavor` / `appVersion` / `os` / `deviceClass`), one\nrow per distinct combination — so the admin UI can group/pivot/chart by any\naxis (by app type, by OS, by version, by device). Null while live or when the\nenv has no CloudFront access-log group. Sorted by sessions desc.\n\nCaveat: app version is accurate for clients whose player uses the app UA on\nevery request (Android/Flutter); the native iOS/Apple-TV AVPlayer fetches\nsegments as `AppleCoreMedia` without a version, so those sessions land as\n`client:\"app\"` with a null `appVersion`."},"platformMix":{"allOf":[{"$ref":"#/components/schemas/LiveStatsPlatformMix"}],"nullable":true,"description":"Session counts rolled up to CTV / mobile / web — the ad-sales platform split. Derived from `audienceSegments`."},"geoBreakdown":{"allOf":[{"$ref":"#/components/schemas/LiveStatsGeo"}],"nullable":true,"description":"[F/log] Audience by US state + Nielsen DMA (IP-geolocated). Null while live or on envs with no geo DB."},"audienceAsOf":{"type":"string","nullable":true,"description":"When `audienceSegments`/`platformMix` were last built — refreshed ~every 10 min while live, then frozen."},"watchTimeMinutesTotal":{"type":"number","format":"double"},"avgWatchTimeMin":{"type":"number","format":"double","nullable":true},"ama":{"type":"number","format":"double","description":"Average Minute Audience — avg concurrent viewers over the game (industry rating currency = `avgAllPlatform`)."},"viewerMinutes":{"type":"number","format":"double","description":"Total viewer-minutes (= `watchTimeMinutesTotal`, named for ad reports)."},"viewerHours":{"type":"number","format":"double","description":"Total viewer-hours (= viewer-minutes / 60)."},"sessionLenMedianMin":{"type":"number","format":"double","nullable":true,"description":"[final] session-length distribution from CloudFront logs."},"sessionLenP90Min":{"type":"number","format":"double","nullable":true},"sessionLenHistogram":{"items":{"$ref":"#/components/schemas/LiveStatsSessionBucket"},"type":"array","nullable":true,"description":"[final] session-length distribution buckets (engagement curve), from the CloudFront-log sample."},"rejoinRate":{"type":"number","format":"double","nullable":true,"description":"[final] avg sessions per distinct IP (≈ per household) — high = reconnects / instability."},"bounceRate":{"type":"number","format":"double","nullable":true,"description":"[final] share of sessions that bailed after a single manifest hit (~0 length), 0..1."},"sessionQualityByDevice":{"items":{"$ref":"#/components/schemas/LiveStatsSessionQuality"},"type":"array","nullable":true,"description":"[final] per-device session quality (session count, short-session share, median length). Sorted by sessions desc."},"timeToPeakMin":{"type":"number","format":"double","nullable":true},"concurrencySparkline":{"items":{"type":"number","format":"double"},"type":"array"},"cacheHitRateAvg":{"type":"number","format":"double","nullable":true},"error5xxRateAvg":{"type":"number","format":"double","nullable":true},"error5xxRateMax":{"type":"number","format":"double","nullable":true},"totalErrorRateAvg":{"type":"number","format":"double","nullable":true},"error4xxRateAvg":{"type":"number","format":"double","nullable":true,"description":"Avg CloudFront 4xx error rate (0..1). Split into 403/404 counts below for diagnosis."},"manifestLatencyP95Ms":{"type":"number","format":"double","nullable":true},"maxManifestAgeMs":{"type":"number","format":"double","nullable":true},"stallMinutes":{"type":"number","format":"double"},"encoderUptimePct":{"type":"number","format":"double","nullable":true},"status403Count":{"type":"number","format":"double","nullable":true,"description":"[final] CloudFront 403 responses over the game (signed-cookie / geo / DRM auth failures)."},"status404Count":{"type":"number","format":"double","nullable":true,"description":"[final] CloudFront 404 responses over the game (missing segments / manifest gaps)."},"webQoe":{"allOf":[{"$ref":"#/components/schemas/LiveStatsWebQoe"}],"nullable":true},"audio":{"allOf":[{"$ref":"#/components/schemas/LiveStatsAudio"}],"nullable":true,"description":"Stadium-audio (IVS Real-Time) delivery. Absent on games that never provisioned\nan audio stage.\n\nOPTIONAL (`?`), deliberately — not `audio: LiveStatsAudio | null`. TSOA expands\n`PartnerLiveStatsViewModel`'s `Omit<...>` into a NEW flat schema that keeps\n`required` while DROPPING `nullable`, so a non-optional nullable field here\nhands the generated partner client a key it must have but may receive as null.\nOptionality survives the expansion; nullability does not. See CLAUDE.md and the\nassertion in `tests/partnerDashboardApi.test.ts`.\n\nWritten whole or not at all: `upsertLiveStats` merges recursively, so a partial\nwrite would leave stale sub-fields standing, and it only prunes `undefined` at\nthe TOP level — a nested `undefined` throws. On a measurement failure the\nbuilder omits the key entirely, leaving the last good block untouched (the same\nnon-destructive discipline as `finalLogsAvailable`)."},"adBreaksCount":{"type":"number","format":"double"},"adSecondsTotal":{"type":"number","format":"double"},"adFillRateAvg":{"type":"number","format":"double","nullable":true},"adsInserted":{"type":"number","format":"double","nullable":true,"description":"Ad impressions served (from MediaTailor `AdDecisionServer.Ads`)."},"adFrequency":{"type":"number","format":"double","nullable":true,"description":"Average impressions per unique user (`adsInserted / uniqueUsers`). Null without uid data."},"adServerLatencyMs":{"type":"number","format":"double","nullable":true,"description":"Avg ad-decision-server response time over the game, ms (`AdDecisionServer.Latency`)."},"adServerErrors":{"type":"number","format":"double","nullable":true,"description":"Total ad-decision-server errors + timeouts over the game."},"adFunnel":{"allOf":[{"$ref":"#/components/schemas/LiveStatsAdFunnel"}],"nullable":true,"description":"Detailed ad funnel (demand / fill / skip / impressions / observed) from MediaTailor. Null without SSAI."},"usage":{"$ref":"#/components/schemas/LiveStatsUsage"},"ratesUsed":{"allOf":[{"$ref":"#/components/schemas/LiveStatsRates"}],"nullable":true},"costLines":{"items":{"$ref":"#/components/schemas/LiveStatsCostLine"},"type":"array","nullable":true,"description":"Full per-line cost breakdown at the game's era rates (v2 costing); null on legacy docs."},"egressCost":{"type":"number","format":"double","nullable":true},"fixedInfraCostEst":{"type":"number","format":"double","nullable":true,"description":"Sum of every non-egress cost line (v2) — kept under its legacy name for API compat."},"totalCostEst":{"type":"number","format":"double","nullable":true},"costPerViewerHour":{"type":"number","format":"double","nullable":true},"costPerUniqueUser":{"type":"number","format":"double","nullable":true},"egressCostOnDemandRef":{"type":"number","format":"double","nullable":true},"avgBitrateMbps":{"type":"number","format":"double","nullable":true,"description":"[final] Avg delivered bitrate across all viewers, Mbps (egress ÷ viewer-time) — ABR-ladder usage signal."},"gbPerViewerHour":{"type":"number","format":"double","nullable":true,"description":"[final] Egress GB per viewer-hour — cost/quality efficiency."}},"required":["liveId","durationMin","asOf","isLive","concurrentAllPlatform","peakAllPlatform","avgAllPlatform","concurrentMux","peakMux","nonWebSharePct","uniqueUsers","watchTimeMinutesTotal","avgWatchTimeMin","ama","viewerMinutes","viewerHours","timeToPeakMin","concurrencySparkline","cacheHitRateAvg","error5xxRateAvg","error5xxRateMax","totalErrorRateAvg","error4xxRateAvg","manifestLatencyP95Ms","maxManifestAgeMs","stallMinutes","encoderUptimePct","adBreaksCount","adSecondsTotal","adFillRateAvg","adsInserted","adFrequency","adServerLatencyMs","adServerErrors","adFunnel","usage","ratesUsed","egressCost","fixedInfraCostEst","totalCostEst","costPerViewerHour","costPerUniqueUser","egressCostOnDemandRef"],"type":"object","additionalProperties":false},"LiveStatsViewModel":{"$ref":"#/components/schemas/LiveStats","description":"The per-live stats \"passport\" as served by the admin stats endpoints. Same\nflat shape as the stored `LiveStats` document (audience / delivery / ads /\ncost). `[F]` device-reach fields are null until the game is finalized;\n`uniqueUsers` is null for games predating uid recording."},"LiveStatsListItemViewModel":{"description":"One row of the admin games-stats table (`GET /admin/live-stats`): a game's\nidentity + status with its passport attached (`stats: null` for a game whose\npassport hasn't been computed yet — e.g. never went live).","properties":{"liveId":{"type":"string"},"title":{"type":"string"},"status":{"$ref":"#/components/schemas/LiveStatus"},"scheduledStart":{"type":"string"},"liveStartedAt":{"type":"string","nullable":true},"liveStoppedAt":{"type":"string","nullable":true},"deliveryMode":{"type":"string"},"pipelineType":{"type":"string"},"gameType":{"$ref":"#/components/schemas/GameType","description":"`home` / `away` relative to the broadcasting network, from the schedule import. Absent on\nlives with no targeting, so a filter needs a third state rather than defaulting either way."},"stats":{"allOf":[{"$ref":"#/components/schemas/LiveStatsViewModel"}],"nullable":true}},"required":["liveId","title","status","scheduledStart","liveStartedAt","liveStoppedAt","stats"],"type":"object","additionalProperties":false},"DocumentsList_LiveStatsListItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/LiveStatsListItemViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"LiveSourceInputConfigViewModel":{"properties":{"inputType":{"$ref":"#/components/schemas/MediaLiveInputType"},"srtSources":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array"}},"required":["inputType"],"type":"object","additionalProperties":false},"LiveSourceSsaiConfigViewModel":{"description":"Admin-only view of the source's SSAI defaults.\n\nIt used to declare `{enabled, vastUrl}` while the mapper spread the whole\nstored object through, so `targetingMode` came back at runtime but appeared\nin neither the type nor the OpenAPI spec — no admin UI could bind it and no\nreviewer could trust it. The mapper is now explicit and this is the contract.","properties":{"enabled":{"type":"boolean"},"vastUrl":{"type":"string"},"targetingMode":{"$ref":"#/components/schemas/LiveSsaiTargetingMode"},"adAvailOffsetSeconds":{"type":"number","format":"double"},"adPrefetchEnabled":{"type":"boolean"},"league":{"type":"string"},"daypartTimezone":{"type":"string"},"upstreamVastUrlConfigured":{"type":"boolean","description":"Whether an upstream ad tag is on file. The URL itself is never returned —\nit can carry partner keys, and the admin sets it through `vastUrl` anyway."}},"required":["enabled","upstreamVastUrlConfigured"],"type":"object","additionalProperties":false},"LiveSourcePregameConfigViewModel":{"properties":{"defaultMode":{"$ref":"#/components/schemas/PregameMode"}},"required":["defaultMode"],"type":"object","additionalProperties":false},"GeoPolicy":{"anyOf":[{"properties":{"allowedSources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"kind":{"type":"string","enum":["world"],"nullable":false}},"required":["kind"],"type":"object"},{"properties":{"allowedSources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"codes":{"items":{"type":"string"},"type":"array"},"kind":{"type":"string","enum":["allowed-jurisdictions"],"nullable":false}},"required":["codes","kind"],"type":"object"},{"properties":{"allowedSources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"dmaCodes":{"items":{"type":"number","format":"double"},"type":"array"},"kind":{"type":"string","enum":["allowed-dma"],"nullable":false}},"required":["dmaCodes","kind"],"type":"object"},{"properties":{"allowedSources":{"items":{"$ref":"#/components/schemas/GeoSource"},"type":"array"},"radiusMeters":{"type":"number","format":"double"},"venueLng":{"type":"number","format":"double"},"venueLat":{"type":"number","format":"double"},"kind":{"type":"string","enum":["venue-radius"],"nullable":false}},"required":["radiusMeters","venueLng","venueLat","kind"],"type":"object"}],"description":"Geo-restriction policy for playback authorization. One type used across all\nsurfaces (viewer HLS, stadium WHEP, future broadcaster gating) so policies\ncan be authored, stored, and enforced through a single mechanism.\n\nEnforced by `enforceGeoPolicy(evidence, policy, enabledSources)` in\n`services/playback/gates/geoGate.ts` — dispatches on `kind` and validates\nagainst the `GeoTokenClaims` minted by the geo sources.\n\n- `world` still requires a valid geo-token (the SDK-pass fact), it just\n  does not constrain location any further.\n- `allowed-jurisdictions` matches `geoClaims.country` or `geoClaims.region`\n  against the codes list. Country-level entry covers all of its regions.\n- `allowed-dma` matches `geoClaims.dmaCode` against a list of Nielsen\n  markets — the unit US sports rights are actually sold in. It is the ONLY\n  FAIL-CLOSED kind (see {@link isFailClosedPolicy}).\n- `venue-radius` runs a haversine check against `geoClaims.lat/lng`;\n  requires the evidence to carry coordinates.\n\nField names inside `venue-radius` match the existing\n`StadiumAudioGeofence` shape so policies authored for stadium audio and\nfor viewer HLS use identical keys.\n\n`allowedSources` (optional) restricts which {@link GeoSource}s may satisfy\nthis policy. Unset ⇒ the per-kind default from {@link allowedSourcesFor}.\nThe gate enforces the intersection of this with the globally-enabled\nsources (the per-source feature flags), so a policy is only ever as open\nas its allowed AND enabled sources."},"TveConfig":{"description":"Per-source TV Everywhere binding — see {@link LiveSource.tveConfig}.","properties":{"resourceName":{"type":"string","description":"The network this content belongs to in Cloud ID's vocabulary (`rsn`) — the\n`service` segment of `/authz/affiliates/{idp}/services/{service}`, which\nDIRECTV's partner forms call a \"Resource ID\".\n\nNot named after authorization, because the same value is what a\nsource-scoped IDP Picker would filter on. That the two are one namespace is\nASSUMED, not proven (their `?provider=rsn` still 500s) — if they diverge,\nthis gains a sibling rather than changing meaning.\n\nDistinct from `CLOUD_ID_SERVICE`, which names our APPLICATION and is not a\nregistered channel everywhere: measured 2026-09-08, `bzzr` PERMITs on\ncableco but is unmapped at DIRECTV. Hence the gate has no fallback."}},"required":["resourceName"],"type":"object","additionalProperties":false},"LiveSourceViewModel":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"heroImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true,"description":"3:1 hero art."},"bannerImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"broadcastLabel":{"type":"string"},"sortPriority":{"type":"number","format":"double"},"ownerId":{"type":"string"},"leagueId":{"type":"number","format":"double","nullable":true,"description":"Cloud SQL `leagues.id`, when the source is mapped to one."},"editorIds":{"items":{"type":"string"},"type":"array","description":"UIDs allowed to manage this source besides the owner (GlobalAdmin-managed)."},"inputConfig":{"$ref":"#/components/schemas/LiveSourceInputConfigViewModel"},"ssaiConfig":{"$ref":"#/components/schemas/LiveSourceSsaiConfigViewModel"},"audioConfig":{"allOf":[{"$ref":"#/components/schemas/StadiumAudioConfig"}],"nullable":true},"deliveryMode":{"$ref":"#/components/schemas/LiveDeliveryMode","description":"Default viewer delivery mode for broadcasts of this source (absent ⇒ global default)."},"encoderProfile":{"$ref":"#/components/schemas/LiveEncoderProfile","description":"Default encoder profile for broadcasts of this source (absent ⇒ `DEFAULT_ENCODER_PROFILE`)."},"autoCaptions":{"allOf":[{"$ref":"#/components/schemas/LiveAutoCaptionsConfig"}],"nullable":true,"description":"Default auto-captions config for broadcasts of this source (absent ⇒ off)."},"chatBlocked":{"type":"boolean","description":"Default chat kill-switch for broadcasts of this source (absent ⇒ not blocked)."},"vodHarvest":{"type":"boolean","description":"Recordings of this source's games are copied to S3 (absent ⇒ off)."},"gameFeed":{"allOf":[{"$ref":"#/components/schemas/GameFeedConfig"}],"nullable":true,"description":"Live game-state feed for this source's games (absent ⇒ off)."},"pregameConfig":{"$ref":"#/components/schemas/LiveSourcePregameConfigViewModel"},"startBufferMinutes":{"type":"number","format":"double"},"endBufferMinutes":{"type":"number","format":"double"},"entitlementIds":{"items":{"type":"string"},"type":"array"},"viewerGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true},"tveConfig":{"allOf":[{"$ref":"#/components/schemas/TveConfig"}],"nullable":true},"audioGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true},"isActive":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","description","thumbnail","backgroundImage","heroImage","bannerImage","ownerId","editorIds","inputConfig","pregameConfig","startBufferMinutes","endBufferMinutes","entitlementIds","isActive","createdAt","updatedAt"],"type":"object","additionalProperties":false},"CreateLiveSourceRequest":{"properties":{"ownerId":{"type":"string","description":"Firebase Auth UID of the user/creator the source belongs to. Propagates\nto every ScheduledBroadcast and Live derived from this source."},"editorIds":{"items":{"type":"string"},"type":"array","description":"Firebase Auth UIDs (besides the owner) allowed to manage this source and\nits broadcasts/lives when they hold the `live_source_editor` role.\nGlobalAdmin-only. Defaults to `[]`."},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"backgroundImage":{"$ref":"#/components/schemas/FileUploadRequest"},"heroImage":{"$ref":"#/components/schemas/FileUploadRequest","description":"Default 3:1 hero art for this source's broadcasts."},"bannerImage":{"$ref":"#/components/schemas/FileUploadRequest","description":"Landing-page banner for this source's broadcasts."},"broadcastLabel":{"type":"string","description":"Default card label for this source's broadcasts, e.g. \"MLB Baseball\".","maxLength":15},"sortPriority":{"type":"integer","format":"int32","description":"Higher sorts higher. Absent ⇒ 0."},"inputConfig":{"properties":{"srtSources":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array"},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType"}},"required":["inputType"],"type":"object"},"ssaiConfig":{"$ref":"#/components/schemas/SsaiConfigRequest","description":"Default SSAI settings inherited by every broadcast of this source."},"pregameConfig":{"properties":{"defaultMode":{"$ref":"#/components/schemas/PregameMode"}},"required":["defaultMode"],"type":"object"},"deliveryMode":{"$ref":"#/components/schemas/LiveDeliveryMode","description":"Default viewer delivery mode for broadcasts from this source. Default `\"cloudfront\"`."},"channelClass":{"$ref":"#/components/schemas/LiveChannelClass","description":"Default MediaLive redundancy class (`\"SINGLE_PIPELINE\"` | `\"STANDARD\"`). Default single."},"encoderProfile":{"$ref":"#/components/schemas/LiveEncoderProfile","description":"Default encoder profile (ABR ladder, frame rate, rate control, input\nfiltering) for broadcasts from this source. Partial — unset fields inherit\nfrom `DEFAULT_ENCODER_PROFILE`. Absent ⇒ the default profile entirely."},"autoCaptions":{"$ref":"#/components/schemas/LiveAutoCaptionsConfig","description":"Default auto-captions (Smart Subtitles) config for broadcasts from this source. Default off."},"chatBlocked":{"type":"boolean","description":"Default chat kill-switch for broadcasts from this source. Default not blocked."},"vodHarvest":{"type":"boolean","description":"Copy each game's recording to S3 as the AWS-hosted replay (see `LiveSource.vodHarvest`). Default off."},"gameFeed":{"$ref":"#/components/schemas/GameFeedConfig","description":"Live game-state feed for this source's games (see `LiveSource.gameFeed`). Default off."},"startBufferMinutes":{"type":"number","format":"double","description":"Minutes to start the stream BEFORE the scheduled broadcast start. Default 30."},"endBufferMinutes":{"type":"number","format":"double","description":"Minutes to keep the stream running AFTER the scheduled broadcast end. Default 30."},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Default entitlements that gate playback for Lives provisioned from this\nsource. Must be owned by `ownerId`. Required — all broadcasts are private."},"viewerGeoPolicy":{"$ref":"#/components/schemas/GeoPolicy","description":"Geo restriction for HLS playback. Absent ⇒ `world` (no jurisdictional filter)."},"tveConfig":{"$ref":"#/components/schemas/TveConfig","description":"TV Everywhere binding; omit to leave this source subscription-only."},"audioGeoPolicy":{"$ref":"#/components/schemas/GeoPolicy","description":"Geo restriction for stadium-audio WHEP. Absent ⇒ legacy `audioConfig.geofence` fallback."}},"required":["ownerId","name","description","inputConfig","entitlementIds"],"type":"object","additionalProperties":false},"DocumentsList_LiveSourceViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/LiveSourceViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"UpdateLiveSourceRequest":{"properties":{"name":{"type":"string"},"description":{"type":"string"},"editorIds":{"items":{"type":"string"},"type":"array","description":"Replace the editor allow-list. GlobalAdmin-only — a non-admin caller\nsupplying this is rejected with 403. Absent leaves it unchanged."},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true},"heroImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"Must be 3:1 (see `HERO_ASPECT_RATIO`); `null` clears it."},"bannerImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"Landing-page banner. `null` clears it."},"broadcastLabel":{"type":"string","nullable":true,"description":"`null` clears it.","maxLength":15},"sortPriority":{"type":"integer","format":"int32","nullable":true,"description":"`null` falls back to 0."},"inputConfig":{"properties":{"srtSources":{"items":{"$ref":"#/components/schemas/SrtSourceConfig"},"type":"array"},"inputType":{"$ref":"#/components/schemas/MediaLiveInputType"}},"required":["inputType"],"type":"object"},"ssaiConfig":{"$ref":"#/components/schemas/SsaiConfigRequest","description":"Default SSAI settings inherited by every broadcast of this source."},"pregameConfig":{"properties":{"defaultMode":{"$ref":"#/components/schemas/PregameMode"}},"required":["defaultMode"],"type":"object"},"deliveryMode":{"$ref":"#/components/schemas/LiveDeliveryMode","description":"Default viewer delivery mode for broadcasts from this source."},"encoderProfile":{"allOf":[{"$ref":"#/components/schemas/LiveEncoderProfile"}],"nullable":true,"description":"Replace the default encoder profile. Set to `null` to fall back to `DEFAULT_ENCODER_PROFILE`."},"autoCaptions":{"allOf":[{"$ref":"#/components/schemas/LiveAutoCaptionsConfig"}],"nullable":true,"description":"Replace the default auto-captions config. Set to `null` to turn captions off."},"chatBlocked":{"type":"boolean","description":"Default chat kill-switch for broadcasts from this source."},"vodHarvest":{"type":"boolean","description":"Copy each game's recording to S3 as the AWS-hosted replay (see `LiveSource.vodHarvest`)."},"gameFeed":{"allOf":[{"$ref":"#/components/schemas/GameFeedConfig"}],"nullable":true,"description":"Live game-state feed for this source's games (see `LiveSource.gameFeed`). `null` turns it off."},"startBufferMinutes":{"type":"number","format":"double"},"endBufferMinutes":{"type":"number","format":"double"},"entitlementIds":{"items":{"type":"string"},"type":"array"},"isActive":{"type":"boolean"},"viewerGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true,"description":"Set to clear with `null`. Absent leaves the existing policy intact."},"tveConfig":{"allOf":[{"$ref":"#/components/schemas/TveConfig"}],"nullable":true,"description":"TV Everywhere binding. `null` clears it — the rollback lever."},"audioGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true,"description":"Set to clear with `null`. Absent leaves the existing policy intact."}},"type":"object","additionalProperties":false},"SetStadiumAudioConfigRequest":{"$ref":"#/components/schemas/StadiumAudioConfig","description":"Admin body for `POST /admin/liveSources/{id}/stadium-audio/config`.\nSame shape as the persisted `StadiumAudioConfig` — validated and copied\nverbatim onto `LiveSource.audioConfig`."},"StadiumAudioAgentApiKeyViewModel":{"description":"One-time response when the admin issues a per-venue agent API key.","properties":{"apiKey":{"type":"string"},"hint":{"type":"string"}},"required":["apiKey","hint"],"type":"object","additionalProperties":false},"LiveScheduleTeamViewModel":{"description":"One row of the admin ordering screen. `owner` is resolved so the console renders names and\navatars rather than raw uids, and is null when the profile has since been deleted — which\nis exactly the row an admin needs to see in order to remove it.","properties":{"ownerId":{"type":"string"},"owner":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true},"orderIndex":{"type":"number","format":"double"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string"}},"required":["ownerId","owner","orderIndex","updatedAt","updatedBy"],"type":"object","additionalProperties":false},"DocumentsList_LiveScheduleTeamViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/LiveScheduleTeamViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"LiveScheduleTeamsQueryParams":{"properties":{"limit":{"type":"integer","format":"int32","minimum":1,"maximum":100},"lastDocId":{"$ref":"#/components/schemas/PathSegment","description":"Cursor: the previous page's `lastVisibleDocumentId`."}},"type":"object","additionalProperties":false},"AddLiveScheduleTeamRequest":{"properties":{"previousId":{"type":"string","description":"Team to sit after. Omit (with `nextId`) to place first."},"nextId":{"type":"string","description":"Team to sit before. Omit (with `previousId`) to append last."},"ownerId":{"type":"string","description":"The `LiveSource.ownerId`. Must own at least one live source."}},"required":["ownerId"],"type":"object","additionalProperties":false},"LiveScheduleTeamPlacementRequest":{"description":"Where to place a team, expressed by its neighbours rather than by an index — an absolute\nindex would be stale the moment another admin moves anything above it, while \"between these\ntwo rows\" stays meaningful.\n\nBoth sides omitted appends to the end. Both given must actually be adjacent; nothing checks\nthat, and passing a wider pair simply lands the team between them.","properties":{"previousId":{"type":"string","description":"Team to sit after. Omit (with `nextId`) to place first."},"nextId":{"type":"string","description":"Team to sit before. Omit (with `previousId`) to append last."}},"type":"object","additionalProperties":false},"LeagueSeasonInput":{"properties":{"from":{"$ref":"#/components/schemas/SeasonDate"},"to":{"$ref":"#/components/schemas/SeasonDate"}},"required":["from","to"],"type":"object","additionalProperties":false},"CreateLeagueRequest":{"properties":{"name":{"type":"string"},"shortCode":{"type":"string","description":"Lowercase alphanumeric, no underscores — SKUs and entitlement lookupKeys are underscore-delimited\n(`bzzr_{league}_{team}_{interval}`, `{access}_{league}_{team}`), so an underscore would break parsing.","pattern":"^[a-z0-9]+$"},"subscriptionScope":{"$ref":"#/components/schemas/LeagueSubscriptionScope"},"season":{"$ref":"#/components/schemas/LeagueSeasonInput"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry league this commerce league sells (its registry id, from `GET /admin/sports-registry/leagues`):\nthe join between commerce and the catalog, through which the registry sync puts the league's teams' crest rows\nunder this league. One commerce league per registry league.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},"espnUid":{"type":"string","nullable":true,"deprecated":true}},"required":["name","shortCode","subscriptionScope","season"],"type":"object","additionalProperties":false},"SaleEndResetProductViewModel":{"description":"A product whose admin-set saleEnd was reset because the league's season dates changed.","properties":{"id":{"type":"number","format":"double"},"code":{"type":"string"}},"required":["id","code"],"type":"object","additionalProperties":false},"UpdateLeagueViewModel":{"description":"updateLeague response: the updated league plus the products whose saleEnd override was cleared by\na season-date change — surfaced so the admin reviews/re-sets them against the new dates.","properties":{"id":{"type":"number","format":"double"},"name":{"type":"string"},"shortCode":{"type":"string"},"subscriptionScope":{"$ref":"#/components/schemas/LeagueSubscriptionScope"},"season":{"$ref":"#/components/schemas/LeagueSeason"},"isActive":{"type":"boolean"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry league this commerce league sells (its registry id); null when not linked."},"espnUid":{"type":"string","nullable":true,"deprecated":true},"lastSeed":{"allOf":[{"$ref":"#/components/schemas/LeagueSeedStatus"}],"nullable":true,"description":"How the last ESPN team seed for this league went; null = never seeded."},"teams":{"items":{"$ref":"#/components/schemas/TeamViewModel"},"type":"array"},"saleEndResetProducts":{"items":{"$ref":"#/components/schemas/SaleEndResetProductViewModel"},"type":"array"}},"required":["id","name","shortCode","subscriptionScope","season","isActive","saleEndResetProducts"],"type":"object","additionalProperties":false},"UpdateLeagueRequest":{"properties":{"name":{"type":"string"},"season":{"$ref":"#/components/schemas/LeagueSeasonInput"},"isActive":{"type":"boolean"},"sportEntityId":{"type":"string","nullable":true,"description":"The sports registry league this commerce league sells (its registry id); `null` unlinks it.","pattern":"^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$"},"espnUid":{"type":"string","nullable":true,"deprecated":true}},"type":"object","additionalProperties":false},"PaginatedList_LeagueViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/LeagueViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"HealthStatus":{"type":"string","enum":["ok","degraded","down"],"description":"Aggregate system status (worst of the critical checks)."},"HealthCheckKey":{"type":"string","enum":["api","firestore","cloud-sql","redis","stripe","bigquery","elasticsearch","getstream","mux","aws-live","geocomply","databricks"],"description":"Stable per-resource id the UI can switch on (icons, ordering)."},"HealthCheckGroup":{"type":"string","enum":["Infra","Core data","Payments","Analytics","Search","Realtime / Feeds","Media (VOD)","Live (AWS)","Geo","AI"],"description":"Display grouping the UI buckets checks under."},"HealthCheckStatus":{"anyOf":[{"$ref":"#/components/schemas/HealthStatus"},{"type":"string","enum":["skipped"]}],"description":"Per-resource status. `skipped` = the resource isn't configured in this env (not a failure)."},"HealthMetricViewModel":{"description":"A single point-in-time gauge attached to a check (e.g. Redis used-memory, SQL active\nconnections, this-instance heap). Snapshot only — historical series live in the separate\n`/admin/metrics` Cloud Monitoring endpoint, not here.","properties":{"label":{"type":"string","description":"Display label, e.g. \"Active connections\"."},"value":{"anyOf":[{"type":"number","format":"double"},{"type":"string"}]},"unit":{"type":"string","description":"Unit hint for the UI, e.g. \"bytes\", \"%\", \"ops/s\", \"conns\"."}},"required":["label","value"],"type":"object","additionalProperties":false},"HealthCheckViewModel":{"properties":{"key":{"$ref":"#/components/schemas/HealthCheckKey","description":"Stable id, e.g. \"redis\"."},"name":{"type":"string","description":"Human-readable name, e.g. \"Memorystore Redis\"."},"group":{"$ref":"#/components/schemas/HealthCheckGroup","description":"Display grouping, e.g. \"Core data\"."},"status":{"$ref":"#/components/schemas/HealthCheckStatus"},"latencyMs":{"type":"number","format":"double","nullable":true,"description":"Probe round-trip in ms; null for skipped checks."},"detail":{"type":"string","description":"Short detail or error message."},"critical":{"type":"boolean","description":"Whether a `down` here flips the aggregate status to `down`."},"metrics":{"items":{"$ref":"#/components/schemas/HealthMetricViewModel"},"type":"array","description":"Live point-in-time gauges for this resource (omitted when none / probe failed)."}},"required":["key","name","group","status","latencyMs","detail","critical"],"type":"object","additionalProperties":false},"HealthReportViewModel":{"properties":{"status":{"$ref":"#/components/schemas/HealthStatus"},"env":{"type":"string","description":"Firebase project id, e.g. \"bzzr-staging\"."},"checkedAt":{"type":"string"},"checks":{"items":{"$ref":"#/components/schemas/HealthCheckViewModel"},"type":"array"}},"required":["status","env","checkedAt","checks"],"type":"object","additionalProperties":false},"HandleRestrictionsViewModel":{"description":"`GET`/`PATCH /admin/config/handle-restrictions` — the full current list, alphabetically sorted.","properties":{"words":{"items":{"type":"string"},"type":"array"},"totalCount":{"type":"number","format":"double","description":"Number of entries — saves the admin UI counting a list it may render lazily."},"updatedAt":{"type":"string","nullable":true,"description":"ISO timestamp of the last edit; `null` when the list has never been written."}},"required":["words","totalCount","updatedAt"],"type":"object","additionalProperties":false},"UpdateHandleRestrictionsRequest":{"description":"Body of `PATCH /admin/config/handle-restrictions`. Additive/subtractive rather than a whole-list\nreplace so two admins editing concurrently can't clobber each other's entries. Both fields are\noptional; `remove` is applied after `add`. Entries are matched for removal on their normalized\nform, so an admin can delete `\"F.U.C.K\"` by sending `\"fuck\"`.","properties":{"add":{"items":{"type":"string"},"type":"array","description":"Words to add. Case/format-insensitive: already-present entries are ignored, not duplicated."},"remove":{"items":{"type":"string"},"type":"array","description":"Words to drop. Entries that aren't in the list are ignored."}},"type":"object","additionalProperties":false},"UpdateFeatureStateRequest":{"properties":{"features":{"$ref":"#/components/schemas/Partial_Record_FeatureKey.boolean__","description":"Partial patch of feature → enabled. Only the keys present are changed;\nomitted features keep their current value. Keys must be known\n{@link FeatureKey} values; unknown keys are rejected (400)."}},"required":["features"],"type":"object","additionalProperties":false},"EntitlementGrantedAccess":{"enum":["game_streaming","preseason_streaming","vod_access","channel_streaming"],"type":"string"},"CreateEntitlementRequest":{"properties":{"access":{"$ref":"#/components/schemas/EntitlementGrantedAccess"},"leagueShortCode":{"type":"string"},"creatorId":{"type":"string"},"teamShortCode":{"type":"string"},"benefits":{"items":{"type":"string"},"type":"array"}},"required":["access","leagueShortCode","creatorId"],"type":"object","additionalProperties":false},"PaginatedList_EntitlementViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/EntitlementViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"EditEntitlementProductsRequest":{"properties":{"productIds":{"items":{"type":"number","format":"double"},"type":"array"}},"required":["productIds"],"type":"object","additionalProperties":false},"UpdateEntitlementBenefitsRequest":{"properties":{"benefits":{"items":{"type":"string"},"type":"array"}},"required":["benefits"],"type":"object","additionalProperties":false},"Partial_Record_EmailKind.string__":{"properties":{"verification_code":{"type":"string"},"email_change_code":{"type":"string"},"password_change_code":{"type":"string"},"password_reset_code":{"type":"string"},"email_changed":{"type":"string"},"password_changed":{"type":"string"},"password_set":{"type":"string"}},"type":"object","description":"Make all properties in T optional"},"EmailConfigViewModel":{"description":"The stored kind → Resend Template id map; a kind missing here answers 503 `email_unavailable` on send.","properties":{"templates":{"$ref":"#/components/schemas/Partial_Record_EmailKind.string__"}},"required":["templates"],"type":"object","additionalProperties":false},"UpdateEmailConfigRequest":{"description":"Partial patch of `config/email`. Only the kinds present change. A template that does not exist,\nis unpublished or lacks the kind's variables is rejected and nothing is written. To unmap a kind\nuse `DELETE /admin/config/email/templates/{kind}`.","properties":{"templates":{"$ref":"#/components/schemas/Partial_Record_EmailKind.string__"}},"type":"object","additionalProperties":false},"EmailKind":{"description":"What a transactional email is. Sent to Resend as the `kind` tag, so the dashboard and the delivery webhooks can split by flow.","enum":["verification_code","email_change_code","password_change_code","password_reset_code","email_changed","password_changed","password_set"],"type":"string"},"CreatorContentCount":{"description":"How much of a kind a creator has: ever, and created inside the window.","properties":{"total":{"type":"number","format":"double"},"inWindow":{"type":"number","format":"double"}},"required":["total","inWindow"],"type":"object","additionalProperties":false},"CreatorContentViewModel":{"properties":{"videos":{"$ref":"#/components/schemas/CreatorContentCount"},"hypes":{"$ref":"#/components/schemas/CreatorContentCount"},"videoPosts":{"$ref":"#/components/schemas/CreatorContentCount","description":"Videos attached to posts."},"mrssVideos":{"$ref":"#/components/schemas/CreatorContentCount","description":"Videos of any type that came in through an MRSS feed."},"posts":{"$ref":"#/components/schemas/CreatorContentCount"},"sidecastEpisodes":{"$ref":"#/components/schemas/CreatorContentCount"},"mrssFeeds":{"type":"number","format":"double","description":"Live MRSS feeds of every kind."}},"required":["videos","hypes","videoPosts","mrssVideos","posts","sidecastEpisodes","mrssFeeds"],"type":"object","additionalProperties":false},"CreatorWebTvTotalsViewModel":{"description":"A distinct count (viewers, likers, ...) is null in a list row over a window the daily snapshot does not hold whole,\nsince days cannot be added up into one; see the client guide.","properties":{"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double","nullable":true},"watchTimeMs":{"type":"number","format":"double"},"videosWithViews":{"type":"number","format":"double","nullable":true,"description":"Videos (not lives or episodes) with at least one view in the window."},"completion":{"type":"number","format":"double","nullable":true,"description":"Mean share of a recording reached by on-demand views, 0 to 1; null when there were none."},"completionViews":{"type":"number","format":"double","description":"The on-demand views the completion averages over."},"completionSince":{"type":"string","nullable":true,"description":"Set while per-view data covers only part of the window: the day it starts; completion holds from that day."}},"required":["views","viewers","watchTimeMs","videosWithViews","completion","completionViews","completionSince"],"type":"object","additionalProperties":false},"CreatorMobileAppPlaybackModeViewModel":{"properties":{"mode":{"type":"string","description":"The app's view mode: `vod`, `live`, `replay`, or `unknown` for older app builds."},"plays":{"type":"number","format":"double"},"watchTimeMs":{"type":"number","format":"double"}},"required":["mode","plays","watchTimeMs"],"type":"object","additionalProperties":false},"CreatorMobileAppPlaybackViewModel":{"description":"GA4 over the window: the native iOS and Android apps, which do not report to Mux.","properties":{"plays":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double","nullable":true},"watchTimeMs":{"type":"number","format":"double","description":"Ended playbacks only: a playback the app was killed in is not counted, so this is a floor."},"byMode":{"items":{"$ref":"#/components/schemas/CreatorMobileAppPlaybackModeViewModel"},"type":"array"},"since":{"type":"string","nullable":true,"description":"First day the GA4 export holds; app events began reaching it later (2026-09-04 in production)."}},"required":["plays","viewers","watchTimeMs","byMode","since"],"type":"object","additionalProperties":false},"CreatorPlaybackTotalsViewModel":{"description":"Playback over the window, one block per source: the two see different audiences, in different units, and never\nadd up. The native TV apps and Roku report to neither.","properties":{"webTv":{"$ref":"#/components/schemas/CreatorWebTvTotalsViewModel"},"mobileApp":{"allOf":[{"$ref":"#/components/schemas/CreatorMobileAppPlaybackViewModel"}],"nullable":true,"description":"null where the project has no GA4 export."}},"required":["webTv","mobileApp"],"type":"object","additionalProperties":false},"CreatorEngagementViewModel":{"properties":{"likes":{"type":"number","format":"double","description":"Likes on the creator's content, likes on comments left out."},"likers":{"type":"number","format":"double","nullable":true},"comments":{"type":"number","format":"double"},"commenters":{"type":"number","format":"double","nullable":true},"engagedUsers":{"type":"number","format":"double","nullable":true,"description":"Distinct users who liked or commented, the two sets merged."},"followersGained":{"type":"number","format":"double","description":"Followers won inside the window: follows of the account plus, for a claimed account, of its topic or podcast."},"followersLost":{"type":"number","format":"double","nullable":true,"description":"Followers lost inside the window, netted per follower; null for an account that claimed nothing, where it is not measured."},"followers":{"type":"number","format":"double","description":"The profile's follower count now: a running counter, not `followersGained` summed over time."},"internalViews":{"type":"number","format":"double","description":"The internal view counter: signed-in viewers on every client."},"internalViewers":{"type":"number","format":"double","nullable":true}},"required":["likes","likers","comments","commenters","engagedUsers","followersGained","followersLost","followers","internalViews","internalViewers"],"type":"object","additionalProperties":false},"CreatorPodcastViewModel":{"description":"The podcast the account claimed: its episodes, and what they drew inside the window.","properties":{"podcastId":{"type":"string"},"lastPostedAt":{"type":"string","nullable":true},"episodes":{"$ref":"#/components/schemas/CreatorContentCount"},"durationMs":{"$ref":"#/components/schemas/CreatorContentCount","description":"The episodes' run time: ever, and of those posted inside the window."},"words":{"$ref":"#/components/schemas/CreatorContentCount","description":"The episodes' transcript words, the same way."},"listens":{"type":"number","format":"double","description":"The internal listen counter, signed-in listeners on every client."},"listeners":{"type":"number","format":"double","nullable":true},"likes":{"type":"number","format":"double"},"likers":{"type":"number","format":"double","nullable":true},"comments":{"type":"number","format":"double"},"commenters":{"type":"number","format":"double","nullable":true}},"required":["podcastId","lastPostedAt","episodes","durationMs","words","listens","listeners","likes","likers","comments","commenters"],"type":"object","additionalProperties":false},"CreatorProfileVisitsViewModel":{"description":"GA4 web page views of the creator's profile.","properties":{"views":{"type":"number","format":"double"},"visitors":{"type":"number","format":"double","nullable":true},"avgEngagementMs":{"type":"number","format":"double","description":"Engagement time on the page per user active on it, GA4's average engagement time near enough."},"since":{"type":"string","nullable":true}},"required":["views","visitors","avgEngagementMs","since"],"type":"object","additionalProperties":false},"CreatorSearchViewModel":{"properties":{"impressions":{"type":"number","format":"double","description":"Times the creator, or their content, was shown in a search response."},"searchers":{"type":"number","format":"double","nullable":true},"averagePosition":{"type":"number","format":"double","nullable":true},"impressionsSince":{"type":"string","nullable":true,"description":"The first day impressions were recorded; null before any."},"nameSearches":{"type":"number","format":"double","description":"Searches whose text held the creator's name or handle: an approximation, no click is recorded."}},"required":["impressions","searchers","averagePosition","impressionsSince","nameSearches"],"type":"object","additionalProperties":false},"CreatorStatsRowViewModel":{"description":"One creator's totals over the window: the card without its day and kind splits and its top content.","properties":{"creatorId":{"type":"string"},"displayName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"createdAt":{"type":"string"},"content":{"$ref":"#/components/schemas/CreatorContentViewModel"},"playback":{"$ref":"#/components/schemas/CreatorPlaybackTotalsViewModel"},"engagement":{"$ref":"#/components/schemas/CreatorEngagementViewModel"},"podcast":{"allOf":[{"$ref":"#/components/schemas/CreatorPodcastViewModel"}],"nullable":true,"description":"null for an account that claimed no podcast, or whose podcast is gone."},"profileVisits":{"allOf":[{"$ref":"#/components/schemas/CreatorProfileVisitsViewModel"}],"nullable":true,"description":"null where the project has no GA4 export."},"search":{"$ref":"#/components/schemas/CreatorSearchViewModel"}},"required":["creatorId","displayName","bzzrHandle","createdAt","content","playback","engagement","podcast","profileVisits","search"],"type":"object","additionalProperties":false},"CreatorStatsListViewModel":{"properties":{"since":{"type":"string","description":"The window every row covers: its first and last day, `YYYY-MM-DD`, and its length."},"to":{"type":"string"},"days":{"type":"number","format":"double"},"computedAt":{"type":"string","nullable":true,"description":"When the rows were computed: the list is a daily snapshot. null before the first run."},"documents":{"items":{"$ref":"#/components/schemas/CreatorStatsRowViewModel"},"type":"array"},"totalCount":{"type":"number","format":"double","description":"Every creator the filters match, across pages."}},"required":["since","to","days","computedAt","documents","totalCount"],"type":"object","additionalProperties":false},"CreatorStatsOrderBy":{"type":"string","enum":["followers","videos","hypes","posts","newest","name","webTvViews","mobileAppPlays","followersGained","profileViews"],"description":"How a creator stats list is sorted: by the row's counts (`followers`, `videos`, `hypes`, `posts`, `newest`, `name`)\nor by a figure of the window (`webTvViews`, `mobileAppPlays`, `followersGained`, `profileViews`). Largest first,\n`newest` first, the name A to Z."},"CreatorStatsExportRequest":{"description":"Which creators a stats export covers: `userIds`, or those in any of the `networks` whose name starts with `search`.","properties":{"userIds":{"items":{"type":"string"},"type":"array"},"search":{"type":"string","description":"The start of a creator's display name, three characters or more, any case."},"networks":{"items":{"type":"string"},"type":"array","description":"The creators in any of these networks."},"days":{"type":"integer","format":"int32","description":"The window: the last `days` days before the latest snapshot, 30 when omitted, or `from` to `to`, which win.","minimum":1,"maximum":90},"from":{"type":"string","description":"The window's first and last day, `YYYY-MM-DD`, given together. A window the snapshot holds whole (the last 7,\n30 or 90 days, the week or month to date) answers with its distinct counts; any other is its days added up.","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"to":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"},"orderBy":{"$ref":"#/components/schemas/CreatorStatsOrderBy"}},"type":"object","additionalProperties":false},"CreatorPlaybackKindViewModel":{"properties":{"contentKind":{"type":"string","nullable":true,"description":"`video`, `live` or `sidecastEpisode`."},"videoType":{"type":"string","nullable":true,"description":"A video's type: `full`, `hype`, `post`, …; null for a live or an episode."},"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double"},"watchTimeMs":{"type":"number","format":"double"}},"required":["contentKind","videoType","views","viewers","watchTimeMs"],"type":"object","additionalProperties":false},"CreatorPlaybackDayViewModel":{"properties":{"day":{"type":"string","description":"`YYYY-MM-DD`"},"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double"},"watchTimeMs":{"type":"number","format":"double"},"completion":{"type":"number","format":"double","nullable":true,"description":"null before `completionSince`."}},"required":["day","views","viewers","watchTimeMs","completion"],"type":"object","additionalProperties":false},"CreatorPlaybackSliceViewModel":{"description":"Playback split by one attribute of the view; `key` is its value, null where Mux had none.","properties":{"key":{"type":"string","nullable":true},"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double"},"watchTimeMs":{"type":"number","format":"double"}},"required":["key","views","viewers","watchTimeMs"],"type":"object","additionalProperties":false},"CreatorWebTvPlaybackViewModel":{"properties":{"views":{"type":"number","format":"double"},"viewers":{"type":"number","format":"double","nullable":true},"watchTimeMs":{"type":"number","format":"double"},"videosWithViews":{"type":"number","format":"double","nullable":true,"description":"Videos (not lives or episodes) with at least one view in the window."},"completion":{"type":"number","format":"double","nullable":true,"description":"Mean share of a recording reached by on-demand views, 0 to 1; null when there were none."},"completionViews":{"type":"number","format":"double","description":"The on-demand views the completion averages over."},"completionSince":{"type":"string","nullable":true,"description":"Set while per-view data covers only part of the window: the day it starts; completion holds from that day."},"byKind":{"items":{"$ref":"#/components/schemas/CreatorPlaybackKindViewModel"},"type":"array"},"daily":{"items":{"$ref":"#/components/schemas/CreatorPlaybackDayViewModel"},"type":"array","description":"Days with any playback, oldest first. Viewers a day do not add up to the total."},"byDevice":{"items":{"$ref":"#/components/schemas/CreatorPlaybackSliceViewModel"},"type":"array","description":"By the viewer's device category, OS and country, largest first; per-view rows only, so they hold from `completionSince`."},"byOs":{"items":{"$ref":"#/components/schemas/CreatorPlaybackSliceViewModel"},"type":"array"},"byCountry":{"items":{"$ref":"#/components/schemas/CreatorPlaybackSliceViewModel"},"type":"array"}},"required":["views","viewers","watchTimeMs","videosWithViews","completion","completionViews","completionSince","byKind","daily","byDevice","byOs","byCountry"],"type":"object","additionalProperties":false},"CreatorPlaybackViewModel":{"properties":{"webTv":{"$ref":"#/components/schemas/CreatorWebTvPlaybackViewModel"},"mobileApp":{"allOf":[{"$ref":"#/components/schemas/CreatorMobileAppPlaybackViewModel"}],"nullable":true,"description":"null where the project has no GA4 export."}},"required":["webTv","mobileApp"],"type":"object","additionalProperties":false},"CreatorTopContentViewModel":{"properties":{"videoId":{"type":"string"},"title":{"type":"string","nullable":true},"webTvViews":{"type":"number","format":"double"},"webTvViewers":{"type":"number","format":"double"},"webTvWatchTimeMs":{"type":"number","format":"double"},"completion":{"type":"number","format":"double","nullable":true},"mobileAppPlays":{"type":"number","format":"double"},"mobileAppWatchTimeMs":{"type":"number","format":"double"}},"required":["videoId","title","webTvViews","webTvViewers","webTvWatchTimeMs","completion","mobileAppPlays","mobileAppWatchTimeMs"],"type":"object","additionalProperties":false},"CreatorStatsViewModel":{"properties":{"creatorId":{"type":"string"},"displayName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"since":{"type":"string","description":"The window every in-window figure covers: its first day, `YYYY-MM-DD`, and its length."},"days":{"type":"number","format":"double"},"createdAt":{"type":"string","description":"When the account was created."},"content":{"$ref":"#/components/schemas/CreatorContentViewModel"},"playback":{"$ref":"#/components/schemas/CreatorPlaybackViewModel"},"topContent":{"items":{"$ref":"#/components/schemas/CreatorTopContentViewModel"},"type":"array","description":"The ten most played items (videos, games and episodes), browser, TV and app together."},"engagement":{"$ref":"#/components/schemas/CreatorEngagementViewModel"},"podcast":{"allOf":[{"$ref":"#/components/schemas/CreatorPodcastViewModel"}],"nullable":true,"description":"null for an account that claimed no podcast, or whose podcast is gone."},"profileVisits":{"allOf":[{"$ref":"#/components/schemas/CreatorProfileVisitsViewModel"}],"nullable":true,"description":"null where the project has no GA4 export."},"search":{"$ref":"#/components/schemas/CreatorSearchViewModel"}},"required":["creatorId","displayName","bzzrHandle","since","days","createdAt","content","playback","topContent","engagement","podcast","profileVisits","search"],"type":"object","additionalProperties":false},"CreatorStatsDayViewModel":{"description":"One day of a creator's snapshot: the list row over that day alone, distinct counts included.","properties":{"creatorId":{"type":"string"},"displayName":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"createdAt":{"type":"string"},"content":{"$ref":"#/components/schemas/CreatorContentViewModel"},"playback":{"$ref":"#/components/schemas/CreatorPlaybackTotalsViewModel"},"engagement":{"$ref":"#/components/schemas/CreatorEngagementViewModel"},"podcast":{"allOf":[{"$ref":"#/components/schemas/CreatorPodcastViewModel"}],"nullable":true,"description":"null for an account that claimed no podcast, or whose podcast is gone."},"profileVisits":{"allOf":[{"$ref":"#/components/schemas/CreatorProfileVisitsViewModel"}],"nullable":true,"description":"null where the project has no GA4 export."},"search":{"$ref":"#/components/schemas/CreatorSearchViewModel"},"day":{"type":"string"}},"required":["creatorId","displayName","bzzrHandle","createdAt","content","playback","engagement","podcast","profileVisits","search","day"],"type":"object","additionalProperties":false},"CreatorStatsDailyViewModel":{"description":"A creator's days inside the window, oldest first, only the days the snapshot holds.","properties":{"since":{"type":"string"},"to":{"type":"string"},"days":{"items":{"$ref":"#/components/schemas/CreatorStatsDayViewModel"},"type":"array"}},"required":["since","to","days"],"type":"object","additionalProperties":false},"CouponViewModel":{"properties":{"id":{"type":"string"},"stripeCouponId":{"type":"string","nullable":true,"description":"Set only for monthly comps (the discount runs through Stripe)."},"name":{"type":"string"},"creatorId":{"type":"string","description":"Partner the comp belongs to (team creator id)."},"productId":{"type":"number","format":"double"},"productSource":{"$ref":"#/components/schemas/ProductSource","description":"Rail of the product this comps. `free` = a zero-cost roster product, where `discountPct: 100`\nputs the fan on the free tier, NOT on the paid pass — without this the two are indistinguishable\nin every list."},"productInterval":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true,"description":"Plan of that product — a free product is always `season`."},"discountPct":{"type":"number","format":"double"},"duration":{"$ref":"#/components/schemas/CouponDuration"},"redemptionDeadline":{"type":"string","nullable":true},"campaign":{"type":"string","nullable":true},"isActive":{"type":"boolean"},"createdAt":{"type":"string"}},"required":["id","stripeCouponId","name","creatorId","productId","productSource","productInterval","discountPct","duration","redemptionDeadline","campaign","isActive","createdAt"],"type":"object","additionalProperties":false},"CreateCouponRequest":{"properties":{"name":{"type":"string"},"creatorId":{"type":"string","description":"Intended partner for this comp — the team's entitlement creator. Cross-checked against the\nproduct's actual entitlement creator, so selecting a product that belongs to a different\npartner is rejected instead of silently used."},"productId":{"type":"number","format":"double","description":"Single Stripe product the codes grant + bill against (interval, price, entitlements come from it)."},"discountPct":{"type":"integer","format":"int32","description":"Share of price waived; 100 = full comp. <100 is stored but only the 100% path is wired today.","minimum":1,"maximum":100},"duration":{"$ref":"#/components/schemas/CouponDuration","description":"Kept for parity with Stripe; only \"once\" is accepted on the platform today."},"redemptionDeadline":{"type":"string","description":"ISO datetime; campaign-wide deadline — codes under this coupon can't be redeemed after this moment."},"campaign":{"type":"string"}},"required":["name","creatorId","productId","duration"],"type":"object","additionalProperties":false},"PaginatedList_CouponViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/CouponViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"UpdateCouponRequest":{"properties":{"name":{"type":"string"},"isActive":{"type":"boolean","description":"false suspends the coupon — redemption rejects its codes; true resumes it."}},"type":"object","additionalProperties":false},"CompCodeViewModel":{"properties":{"id":{"type":"string"},"couponId":{"type":"string"},"batchId":{"type":"string","nullable":true},"code":{"type":"string"},"status":{"$ref":"#/components/schemas/CompCodeStatus"},"codeExpiration":{"type":"string","nullable":true},"redeemedByAccount":{"type":"string","nullable":true},"redeemedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"}},"required":["id","couponId","batchId","code","status","codeExpiration","redeemedByAccount","redeemedAt","createdAt"],"type":"object","additionalProperties":false},"AdminCompCodeViewModel":{"description":"Admin view of a code: the base row plus the two human identities behind it, resolved per page.\nKept off `CompCodeViewModel` so the mint / revoke responses (which have no identities to resolve)\ndon't have to carry always-null fields.","properties":{"id":{"type":"string"},"couponId":{"type":"string"},"batchId":{"type":"string","nullable":true},"code":{"type":"string"},"status":{"$ref":"#/components/schemas/CompCodeStatus"},"codeExpiration":{"type":"string","nullable":true},"redeemedByAccount":{"type":"string","nullable":true},"redeemedAt":{"type":"string","nullable":true},"createdAt":{"type":"string"},"claimedByEmail":{"type":"string","nullable":true,"description":"Email of the subscriber claim linked to this code (Rangers pre-issued / auto / admin-minted).\nLives in SQL and may exist with no BZZR account behind it yet. `null` when no claim points here\n(a plain batch code that was never matched to a claim)."},"redeemedByEmail":{"type":"string","nullable":true,"description":"Email of the account that redeemed the code, resolved from Firestore by `redeemedByAccount`.\n`null` while the code is unredeemed; `\"deleted\"` when the account no longer exists."}},"required":["id","couponId","batchId","code","status","codeExpiration","redeemedByAccount","redeemedAt","createdAt","claimedByEmail","redeemedByEmail"],"type":"object","additionalProperties":false},"AdminCompCodeLookupRequest":{"description":"Admin code lookup within one coupon. At least one field must be set — an empty body is rejected\nrather than answered with the whole coupon. Passing both narrows: the code must also have been\nredeemed by that account.","properties":{"code":{"type":"string","description":"The code as the fan quotes it; matched case-insensitively, at most one code can match."},"redeemedByEmail":{"type":"string","description":"Email of the account that redeemed the code; matched case-insensitively, exact (not a substring)."}},"type":"object","additionalProperties":false},"CompCodeListResponse":{"description":"Codes for a coupon plus the parent coupon itself — so the FE gets the codes and what they grant\n(partner / product / discount / campaign) in one call instead of a separate coupon fetch.","properties":{"coupon":{"$ref":"#/components/schemas/CouponViewModel"},"documents":{"items":{"$ref":"#/components/schemas/AdminCompCodeViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["coupon","documents","pagination"],"type":"object","additionalProperties":false},"CouponCodesFilterQueryParams":{"description":"Filters shared by the codes list and its CSV export — the export covers everything they select.","properties":{"status":{"$ref":"#/components/schemas/CompCodeStatus"},"batchId":{"type":"string"},"source":{"type":"string","enum":["batch","single"],"description":"`batch` = code belongs to a generated batch; `single` = CS-rep single code (no batch)."},"createdAtFrom":{"type":"string","format":"date-time"},"createdAtTo":{"type":"string","format":"date-time"},"expiresAtFrom":{"type":"string","format":"date-time"},"expiresAtTo":{"type":"string","format":"date-time"}},"type":"object","additionalProperties":false},"CostPlannerScenarioKind":{"type":"string","enum":["streaming","stadium"]},"Record_string.number-or-string-or-boolean_":{"properties":{},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"number","format":"double"},{"type":"boolean"}]},"type":"object","description":"Construct a type with a set of properties K of type T"},"CostPlannerScenarioViewModel":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"kind":{"$ref":"#/components/schemas/CostPlannerScenarioKind"},"inputs":{"$ref":"#/components/schemas/Record_string.number-or-string-or-boolean_"},"note":{"type":"string","nullable":true},"createdBy":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","kind","inputs","note","createdBy","createdAt","updatedAt"],"type":"object","additionalProperties":false},"CostPlannerScenariosViewModel":{"properties":{"scenarios":{"items":{"$ref":"#/components/schemas/CostPlannerScenarioViewModel"},"type":"array"}},"required":["scenarios"],"type":"object","additionalProperties":false},"SaveCostPlannerScenarioRequest":{"description":"Body of `POST /admin/cost-planner/scenarios` and `PUT /admin/cost-planner/scenarios/{id}`.","properties":{"name":{"type":"string"},"kind":{"$ref":"#/components/schemas/CostPlannerScenarioKind"},"inputs":{"$ref":"#/components/schemas/Record_string.number-or-string-or-boolean_","description":"Engine inputs as the client saves them (team slug, audience numbers, assumptions...)."},"note":{"type":"string"}},"required":["name","kind","inputs"],"type":"object","additionalProperties":false},"AwsBillingServiceRow":{"description":"One raw Cost Explorer group: (service, usage type) with its monthly cost and usage quantity.","properties":{"service":{"type":"string"},"usageType":{"type":"string"},"cost":{"type":"number","format":"double","description":"Unblended cost, USD."},"usageQty":{"type":"number","format":"double","description":"Usage quantity in the SKU's native unit (GB for *-Bytes types, hours, requests...)."}},"required":["service","usageType","cost","usageQty"],"type":"object","additionalProperties":false},"AwsBillingEffectiveRates":{"description":"Effective per-unit rates derived from a month's raw Cost Explorer rows\n(cost ÷ usage per matching usage type). `null` = that SKU had no usage that month.\nThe admin UI compares these against the configured `CostPlannerRates` to surface drift —\ne.g. the moment the GlobalDots contract rate actually lands in the billing data.","properties":{"cdnEgressPerGb":{"type":"number","format":"double","nullable":true},"cdnRequestsPer1k":{"type":"number","format":"double","nullable":true},"mediaLivePerChannelHr":{"type":"number","format":"double","nullable":true,"description":"Total MediaLive cost ÷ input hours — a real blended $/channel-hour."},"mediaPackageOriginPerGb":{"type":"number","format":"double","nullable":true},"mediaPackageIngestPerGb":{"type":"number","format":"double","nullable":true},"mediaTailorManifestDtoPerGb":{"type":"number","format":"double","nullable":true},"mediaTailorAdInsertPer1k":{"type":"number","format":"double","nullable":true},"cloudWatchVendedLogsPerGb":{"type":"number","format":"double","nullable":true},"cloudWatchInsightsScanPerGb":{"type":"number","format":"double","nullable":true},"ivsStandardPerParticipantHr":{"type":"number","format":"double","nullable":true,"description":"IVS Real-Time STANDARD participant-hours (`*-Real-Time-Hours`) — the venue WHIP publisher."},"ivsAudioPerParticipantHr":{"type":"number","format":"double","nullable":true,"description":"IVS Real-Time AUDIO-ONLY participant-hours (`*-Real-Time-Audio-Only-Hours`) — every listener."}},"required":["cdnEgressPerGb","cdnRequestsPer1k","mediaLivePerChannelHr","mediaPackageOriginPerGb","mediaPackageIngestPerGb","mediaTailorManifestDtoPerGb","mediaTailorAdInsertPer1k","cloudWatchVendedLogsPerGb","cloudWatchInsightsScanPerGb","ivsStandardPerParticipantHr","ivsAudioPerParticipantHr"],"type":"object","additionalProperties":false},"AwsBillingMonthViewModel":{"properties":{"month":{"type":"string"},"syncedAt":{"type":"string"},"totalCost":{"type":"number","format":"double"},"services":{"items":{"$ref":"#/components/schemas/AwsBillingServiceRow"},"type":"array"},"effectiveRates":{"$ref":"#/components/schemas/AwsBillingEffectiveRates"},"note":{"type":"string","nullable":true}},"required":["month","syncedAt","totalCost","services","effectiveRates","note"],"type":"object","additionalProperties":false},"CostPlannerBillingViewModel":{"description":"`GET /admin/cost-planner/billing` — stored monthly snapshots, newest first.","properties":{"months":{"items":{"$ref":"#/components/schemas/AwsBillingMonthViewModel"},"type":"array"}},"required":["months"],"type":"object","additionalProperties":false},"Record_post-or-video-or-video_transcript-or-news_article.number_":{"properties":{"post":{"type":"number","format":"double"},"video":{"type":"number","format":"double"},"video_transcript":{"type":"number","format":"double"},"news_article":{"type":"number","format":"double"}},"required":["post","video","video_transcript","news_article"],"type":"object","description":"Construct a type with a set of properties K of type T"},"ContentModerationQueueSummaryViewModel":{"description":"`GET admin/moderation/summary/queue`: what waits for a reviewer, and the score thresholds in force.","properties":{"held":{"$ref":"#/components/schemas/Record_post-or-video-or-video_transcript-or-news_article.number_","description":"Items held (waiting, or flagged on a public item) per target."},"holdAt":{"type":"number","format":"double","description":"A score at or above this is held for a reviewer."},"rejectAt":{"type":"number","format":"double","description":"A score at or above this is rejected without a reviewer (feed items) or flagged (public items)."}},"required":["held","holdAt","rejectAt"],"type":"object","additionalProperties":false},"ContentModerationTarget":{"enum":["post","video","video_transcript","news_article"],"type":"string"},"ContentModerationItemViewModel":{"description":"One item in the review queue (`GET admin/moderation/{target}`).","properties":{"target":{"$ref":"#/components/schemas/ContentModerationTarget"},"id":{"type":"string"},"title":{"type":"string","nullable":true,"description":"The video's title; absent for a post."},"text":{"type":"string","nullable":true,"description":"The post's text, or the video's description."},"tags":{"items":{"type":"string"},"type":"array"},"sourceUrl":{"type":"string","nullable":true,"description":"The original item: the post's source link, or the video's media URL."},"authorId":{"type":"string","nullable":true},"authorName":{"type":"string","nullable":true},"playlistId":{"type":"string","nullable":true},"imageUrls":{"items":{"type":"string"},"type":"array","description":"Images to show the reviewer: a post's pictures, a video's or an article's thumbnail."},"videoUrl":{"type":"string","nullable":true,"description":"A playable file of the video, or of a post's first video: the CDN copy, else the feed's file."},"createdAt":{"type":"string"},"moderation":{"$ref":"#/components/schemas/ContentModeration"}},"required":["target","id","createdAt","moderation"],"type":"object","additionalProperties":false},"DocumentsList_ContentModerationItemViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/ContentModerationItemViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"ContentEntityBackfillKind":{"description":"The content the tags backfill walks, one kind per run.","enum":["video","post","episode"],"type":"string"},"StartContentEntityBackfillRequest":{"properties":{"kind":{"$ref":"#/components/schemas/ContentEntityBackfillKind"},"dryRun":{"type":"boolean","description":"Counts what would change and the raw names that would be tagged, writes nothing."},"since":{"type":"string","description":"Content published at or after this instant (a video's or post's `createdAt`, an episode's `postedAt`)."}},"required":["kind","since"],"type":"object","additionalProperties":false},"RetagContentEntitiesRequest":{"properties":{"kind":{"$ref":"#/components/schemas/ContentEntityBackfillKind"},"dryRun":{"type":"boolean","description":"Counts what would change and the raw names that would be tagged, writes nothing."},"tags":{"items":{"type":"string"},"type":"array","description":"Only content whose `entityTags` hold one of these, as written there (`football`).","minItems":1,"maxItems":30}},"required":["kind","tags"],"type":"object","additionalProperties":false},"ContentEntityBackfillCursor":{"properties":{"value":{"type":"string"},"path":{"type":"string"}},"required":["value","path"],"type":"object","additionalProperties":false},"StartBleacherFeedsBackfillRequest":{"properties":{"kind":{"$ref":"#/components/schemas/ContentEntityBackfillKind"},"dryRun":{"type":"boolean","description":"Counts what would be sent to GetStream, sends nothing."},"since":{"type":"string","description":"Content published at or after this instant (a video's or post's `createdAt`, an episode's `postedAt`)."},"cursor":{"$ref":"#/components/schemas/ContentEntityBackfillCursor","description":"Resumes a stopped run: its first page starts after this document of `kind`. Copied from the `cursor` of the run's\nlast `Content entity tags backfill page failed` log; the resumed run's totals start from zero."}},"required":["kind","since"],"type":"object","additionalProperties":false},"EntityDictionaryRebuildViewModel":{"properties":{"entities":{"type":"number","format":"double","description":"Cards read: every registry row but a deleted profile's team."},"sports":{"type":"number","format":"double","description":"Sport cards among the candidates (every one but a retired sport)."},"keys":{"type":"number","format":"double","description":"Dictionary keys written."},"removed":{"type":"number","format":"double","description":"Keys no entity names any more, deleted."},"topicFeedsCreated":{"type":"number","format":"double","description":"Topic feeds created for slugs the slug list lacked (docs/bleacher-feeds.md)."},"topicFeedsFailed":{"type":"number","format":"double","description":"Slugs whose topic feed could not be created: left off the slug list, tried again by the next rebuild."},"syncedAt":{"type":"string"}},"required":["entities","sports","keys","removed","topicFeedsCreated","topicFeedsFailed","syncedAt"],"type":"object","additionalProperties":false},"GrantableCouponProductViewModel":{"description":"What a coupon grants, flattened for the admin picker so it needs no second product call.","properties":{"id":{"type":"number","format":"double"},"code":{"type":"string","description":"SKU (`bzzr_{league}_{team|all}_{interval}`)."},"name":{"type":"string"},"source":{"$ref":"#/components/schemas/ProductSource","description":"`stripe` = paid product, `free` = zero-cost roster product."},"interval":{"allOf":[{"$ref":"#/components/schemas/ProductInterval"}],"nullable":true}},"required":["id","code","name","source","interval"],"type":"object","additionalProperties":false},"GrantableCouponViewModel":{"description":"A coupon the admin can grant to the account it was resolved for — the list carries no others.","properties":{"coupon":{"$ref":"#/components/schemas/CouponViewModel"},"product":{"$ref":"#/components/schemas/GrantableCouponProductViewModel"}},"required":["coupon","product"],"type":"object","additionalProperties":false},"PaginatedList_GrantableCouponViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/GrantableCouponViewModel"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"GrantableCouponsRequest":{"description":"Whose grantable coupons to list, and how much of the answer to show. A body rather than a query\nstring because it carries an email — same reason as {@link AdminCompCodeLookupRequest}; the call\nitself is a read.","properties":{"email":{"type":"string","description":"Email of an existing account — one of `email` / `userId` is required."},"userId":{"type":"string","description":"Firebase uid of an existing account. Used for the lookup; a disagreeing `email` is rejected."},"creatorId":{"type":"string","description":"Narrow to one partner (entitlement creator)."},"search":{"type":"string","description":"Case-insensitive substring over the coupon's name and campaign."},"offset":{"type":"integer","format":"int32","minimum":0},"limit":{"type":"integer","format":"int32","description":"Page size, default 50.","minimum":1,"maximum":100}},"type":"object","additionalProperties":false},"AdminCompCodeGrantViewModel":{"description":"Outcome of an admin grant — the fan's new subscription plus the code minted to produce it.","properties":{"status":{"type":"string","enum":["redeemed","alreadyRedeemed"],"description":"`redeemed` = granted now; `alreadyRedeemed` = the minted code resolved to an existing grant."},"subscriptionId":{"type":"string","nullable":true},"couponId":{"type":"string"},"productId":{"type":"number","format":"double"},"code":{"type":"string","description":"The minted code, already consumed — for the audit trail and support lookups, not for the fan."}},"required":["status","subscriptionId","couponId","productId","code"],"type":"object","additionalProperties":false},"AdminCompCodeGrantRequest":{"description":"Admin grant: apply a comp for one fan against a chosen coupon. The code is minted and redeemed\nserver-side, so no code string is ever handled. At least one identifier is required — `email` is\nwhat support works from, `userId` what the admin user page already has.","properties":{"couponId":{"type":"string","description":"Coupon to grant against — it decides the product, the partner and the plan."},"email":{"type":"string","description":"Email of an EXISTING account; resolved through Firebase Auth."},"userId":{"type":"string","description":"Firebase uid of an existing account. Used for the lookup; a disagreeing `email` is rejected."},"reason":{"type":"string","description":"Why it was granted (ticket, campaign). Free text on the code's audit trail; never shown to the fan."}},"required":["couponId"],"type":"object","additionalProperties":false},"AdminUserCommentViewModel":{"description":"The admin trash row: the consumer shape plus the deletion record the consumer never sees.","properties":{"id":{"type":"string"},"userId":{"type":"string"},"commentedActivityId":{"type":"string"},"content":{"type":"string"},"images":{"items":{"$ref":"#/components/schemas/ImagesViewModel"},"type":"array"},"taggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array"},"untaggedUsers":{"items":{"$ref":"#/components/schemas/TaggedUserMetadata"},"type":"array"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"isDeleted":{"type":"boolean"},"deletionData":{"allOf":[{"$ref":"#/components/schemas/DeletionData"}],"nullable":true},"userProfileReference":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true,"description":"The author, the same shape a post row carries; null when the account is gone."},"deletedByUser":{"allOf":[{"$ref":"#/components/schemas/UserProfileReferenceViewModel"}],"nullable":true,"description":"Who took it down (`deletionData.deletedBy`); null on a restored row or when that account is gone."}},"required":["id","userId","commentedActivityId","content","images","taggedUsers","untaggedUsers","createdAt","updatedAt","isDeleted"],"type":"object","additionalProperties":false},"DocumentsList_AdminUserCommentViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/AdminUserCommentViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"EntityClaimUpdateRequest":{"properties":{"entityId":{"type":"string"},"status":{"$ref":"#/components/schemas/ClaimRequestStatus"}},"required":["status"],"type":"object","additionalProperties":false},"CdnSlotStatus":{"type":"string","enum":["available","leased","maintenance"],"description":"Lifecycle of a CDN slot:\n - `available`   — free; the next hybrid/cloudfront live to provision may lease it.\n - `leased`      — exclusively held by `leasedByLiveId` for the live's whole\n                   lifetime (across all pipeline generations of that live).\n - `maintenance` — administratively excluded from leasing (drain/repair)."},"CdnSlotViewModel":{"properties":{"slotId":{"type":"string","description":"Stable slot id (the Firestore doc id) — matches the register request's\n`slotId` and `Live.cdnSlotId`, so the whole ecosystem uses one name."},"distributionId":{"type":"string"},"distributionDomain":{"type":"string"},"dnsAlias":{"type":"string","nullable":true},"playbackDomain":{"type":"string","description":"Playback host clients actually receive: dnsAlias when set, else the CF domain."},"channelGroupName":{"type":"string"},"channelGroupEgressDomain":{"type":"string"},"status":{"$ref":"#/components/schemas/CdnSlotStatus"},"leasedByLiveId":{"type":"string","nullable":true},"leasedAt":{"type":"string","nullable":true},"notes":{"type":"string"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["slotId","distributionId","distributionDomain","dnsAlias","playbackDomain","channelGroupName","channelGroupEgressDomain","status","leasedByLiveId","leasedAt","createdAt"],"type":"object","additionalProperties":false},"CdnSlotsListViewModel":{"properties":{"slots":{"items":{"$ref":"#/components/schemas/CdnSlotViewModel"},"type":"array"},"availableCount":{"type":"number","format":"double","description":"Slots currently available for lease — the pool-headroom number ops watch."}},"required":["slots","availableCount"],"type":"object","additionalProperties":false},"RegisterCdnSlotRequest":{"description":"Registers a slot whose AWS resources were created by\n`functions/scripts/setup-aws-cdn-slot.sh` (the script prints this JSON).","properties":{"slotId":{"type":"string","description":"Short stable slot id, e.g. \"s01\". Becomes the Firestore doc id."},"distributionId":{"type":"string"},"distributionDomain":{"type":"string"},"dnsAlias":{"type":"string","nullable":true},"channelGroupName":{"type":"string"},"channelGroupEgressDomain":{"type":"string"},"notes":{"type":"string"}},"required":["slotId","distributionId","distributionDomain","channelGroupName","channelGroupEgressDomain"],"type":"object","additionalProperties":false},"UpdateCdnSlotRequest":{"description":"Admin status toggle. Only `available` ↔ `maintenance` transitions are\nallowed — `leased` is owned exclusively by the provisioning/cleanup flow.","properties":{"status":{"type":"string","enum":["available","maintenance"]},"notes":{"type":"string"}},"type":"object","additionalProperties":false},"ReleaseCdnSlotRequest":{"properties":{"force":{"type":"boolean","description":"Release even when the leasing live is still active (dangerous — only for\na stuck lease whose live is beyond repair). Default false."}},"type":"object","additionalProperties":false},"PlatformVersionRule":{"description":"Platform keys are free-form (ios, android, webos, tizen, androidtv, firetv, tvos, roku, ...) —\nnormalized trim+lowercase, not an enum; see 574bb0cf (\"accept any TV platform label\"). Section-level\nPATCH (`AppConfig.appVersion`) is merge-only per platform key (no delete endpoint) — to lift a\nrestriction, set `minSupportedVersion` low enough that it's always satisfied.","properties":{"minSupportedVersion":{"type":"string"},"updateUrl":{"type":"string"},"message":{"type":"string"}},"required":["minSupportedVersion"],"type":"object","additionalProperties":false},"Record_string.PlatformVersionRule_":{"properties":{},"additionalProperties":{"$ref":"#/components/schemas/PlatformVersionRule"},"type":"object","description":"Construct a type with a set of properties K of type T"},"Partial_Record_VersionedPushType.Record_string.string___":{"properties":{"creatorLive":{"$ref":"#/components/schemas/Record_string.string_"}},"type":"object","description":"Make all properties in T optional"},"PushMinAppVersions":{"$ref":"#/components/schemas/Partial_Record_VersionedPushType.Record_string.string___","description":"Per push type, platform (`ios`, `android`) → the oldest app version that handles it; read by `PushNotificationsService.runsAtLeast`."},"IntroSwitchViewModel":{"description":"One intro's switch as the admin sees it. `enabledAt` is when it last went on, null before that: every re-enable moves\nit, and with it who counts as an existing fan. Fans see the intro only while the `intros` feature flag is on for them.","properties":{"enabled":{"type":"boolean"},"enabledAt":{"type":"string","nullable":true}},"required":["enabled","enabledAt"],"type":"object","additionalProperties":false},"Record_IntroId.IntroSwitchViewModel_":{"properties":{"whatsNew":{"$ref":"#/components/schemas/IntroSwitchViewModel"},"discoverTip":{"$ref":"#/components/schemas/IntroSwitchViewModel"},"unfollowExplainer":{"$ref":"#/components/schemas/IntroSwitchViewModel"}},"required":["whatsNew","discoverTip","unfollowExplainer"],"type":"object","description":"Construct a type with a set of properties K of type T"},"AppConfigViewModel":{"description":"`GET /admin/config/app-config` — always has every known section present ({} if unset; `intros` names every known intro).","properties":{"appVersion":{"$ref":"#/components/schemas/Record_string.PlatformVersionRule_"},"pushMinAppVersions":{"$ref":"#/components/schemas/PushMinAppVersions"},"intros":{"$ref":"#/components/schemas/Record_IntroId.IntroSwitchViewModel_","description":"Read-only: to switch an intro, PATCH `{ \"intros\": { \"<id>\": true } }` or `false`."}},"required":["appVersion","pushMinAppVersions","intros"],"type":"object","additionalProperties":false},"Partial_Record_IntroId.boolean__":{"properties":{"whatsNew":{"type":"boolean"},"discoverTip":{"type":"boolean"},"unfollowExplainer":{"type":"boolean"}},"type":"object","description":"Make all properties in T optional"},"IntrosEnabled":{"$ref":"#/components/schemas/Partial_Record_IntroId.boolean__"},"UpdateAppConfigRequest":{"description":"Body of `PATCH /admin/config/app-config`. Only the top-level sections present are touched;\nomitted sections keep their current value. Within `appVersion`, only the platform keys present\nare added/replaced — same merge semantics as `featureState`'s `features` patch.","properties":{"appVersion":{"$ref":"#/components/schemas/Record_string.PlatformVersionRule_"},"pushMinAppVersions":{"$ref":"#/components/schemas/PushMinAppVersions","description":"Only the push types and the platform keys present are added or replaced; each value a version such as `2.4.0`."},"intros":{"$ref":"#/components/schemas/IntrosEnabled","description":"The intro ids present go on or off; a switch-on stamps the time, which moves who counts as an existing fan\n(docs/one-time-intros.md). Send only the ids you change: a null is read as false."}},"type":"object","additionalProperties":false},"AnalyticsPlatform":{"type":"string","enum":["web","ios","android","roku","appleTv","androidTv","fireTv","tvWeb"],"description":"The clients a source can hear from. `tvWeb` is the browser build inside Tizen and webOS."},"AnalyticsCaveatViewModel":{"description":"A limitation that holds whatever the window: the admin UI shows `text` beside the figure.","properties":{"code":{"type":"string","description":"Stable, for the client to key on: `LOGGED_IN_ONLY`, `WEB_ONLY`, ..."},"text":{"type":"string","description":"The sentence the admin UI shows."}},"required":["code","text"],"type":"object","additionalProperties":false},"AnalyticsGroupDescriptorViewModel":{"description":"A group of figures read from one source, which is what their shared caveats and coverage are about.","properties":{"key":{"type":"string","description":"As a metric's `group` and a response's `coverage` name it: `engagement.content`, `playback`, ..."},"label":{"type":"string","description":"A short name for the admin UI."},"description":{"type":"string","description":"One sentence on what the group's figures are."},"source":{"type":"string","description":"Where the rows come from, for the admin: `analytics.views`, `Mux Data`, `GA4`, `Cloud SQL`, ..."},"platforms":{"items":{"$ref":"#/components/schemas/AnalyticsPlatform"},"type":"array","description":"The clients the source could hear from; the response's coverage says which do. Empty for a server-side count."},"caveats":{"items":{"$ref":"#/components/schemas/AnalyticsCaveatViewModel"},"type":"array","description":"Caveats of every figure in the group."}},"required":["key","label","description","source","platforms","caveats"],"type":"object","additionalProperties":false},"AnalyticsMetricDescriptorViewModel":{"properties":{"key":{"type":"string","description":"The path of the figure in its response, `engagement.views.lives`."},"group":{"type":"string","description":"The group's `key`; its caveats and coverage apply to the figure."},"label":{"type":"string","description":"A short name for the admin UI."},"description":{"type":"string","description":"One sentence on what the figure counts, for a tooltip."},"unit":{"type":"string","enum":["count","users","seconds","milliseconds","ratio"],"description":"How to format the figure: a count, distinct users, a duration, or a ratio from 0 to 1."},"caveats":{"items":{"$ref":"#/components/schemas/AnalyticsCaveatViewModel"},"type":"array","description":"The metric's own caveats; the group's apply on top."}},"required":["key","group","label","description","unit","caveats"],"type":"object","additionalProperties":false},"AnalyticsCatalogViewModel":{"description":"Every group and figure the analytics endpoints answer with, described once for the admin UI's labels and tooltips.","properties":{"groups":{"items":{"$ref":"#/components/schemas/AnalyticsGroupDescriptorViewModel"},"type":"array","description":"Every group of figures."},"metrics":{"items":{"$ref":"#/components/schemas/AnalyticsMetricDescriptorViewModel"},"type":"array","description":"Every figure that has a description of its own; a figure absent here is described by its group."}},"required":["groups","metrics"],"type":"object","additionalProperties":false},"AnalyticsPlatformStatus":{"type":"string","enum":["reporting","notReporting","notExpected"],"description":"`reporting`: the platform's rows are in the source. `notReporting`: the client exists but its build does not\nreport yet, so the figure is short of it. `notExpected`: the source cannot hear from that client at all."},"AnalyticsPlatformCoverageViewModel":{"properties":{"platform":{"$ref":"#/components/schemas/AnalyticsPlatform"},"status":{"$ref":"#/components/schemas/AnalyticsPlatformStatus"},"since":{"type":"string","nullable":true,"description":"First production day with the platform's rows; null unless `reporting`."},"basis":{"type":"string","enum":["measured","declared"],"description":"`measured`: read from the rows. `declared`: the source stores no platform, so this is what the clients are known to do."}},"required":["platform","status","basis"],"type":"object","additionalProperties":false},"AnalyticsCoverageNoteViewModel":{"description":"A fact about the window that is computed, not written: the client reads `code` and formats `value`.","properties":{"code":{"type":"string","description":"Stable, for the client to key on."},"value":{"type":"number","format":"double","nullable":true,"description":"The fact's figure, where it has one."}},"required":["code"],"type":"object","additionalProperties":false},"AnalyticsCoverageViewModel":{"description":"What a group of figures covers over the window asked for. One per group, beside the figures.","properties":{"since":{"type":"string","nullable":true,"description":"First production day the source holds; null when it holds nothing."},"until":{"type":"string","nullable":true,"description":"Last day the source holds; today for a source written as it happens."},"partial":{"type":"boolean","description":"True when the window asked for starts before `since` or ends after `until`: the figures cover part of it."},"isMeasured":{"type":"boolean","description":"False when the source does not exist in this environment; every figure of the group is then null."},"platforms":{"items":{"$ref":"#/components/schemas/AnalyticsPlatformCoverageViewModel"},"type":"array","description":"Every client, whether the source hears from it."},"notes":{"items":{"$ref":"#/components/schemas/AnalyticsCoverageNoteViewModel"},"type":"array","description":"Computed facts about the window; empty so far."}},"required":["partial","isMeasured","platforms","notes"],"type":"object","additionalProperties":false},"PlatformTotalsResponse":{"properties":{"posts":{"type":"number","format":"double","description":"Posts created in the window and not deleted. Catalog key `totals.posts`."},"videos":{"type":"number","format":"double","description":"Full videos created in the window and not deleted. Catalog key `totals.videos`."},"hypes":{"type":"number","format":"double","description":"Hypes created in the window and not deleted. Catalog key `totals.hypes`."},"podcasts":{"type":"number","format":"double","description":"Podcast episodes by the day they were posted, not the day a feed brought them in. Catalog key `totals.podcasts`."},"sidecasts":{"type":"number","format":"double","description":"Sidecast episodes with an owner, by the day they were created. Catalog key `totals.sidecasts`."},"comments":{"type":"number","format":"double","description":"Comments posted in the window and not deleted. Catalog key `totals.comments`."},"users":{"type":"number","format":"double","description":"Accounts created in the window; a deleted account's document is gone. Catalog key `totals.users`."},"podcastShows":{"type":"number","format":"double","description":"Podcasts (shows), by `createdAt`."},"mrssVideos":{"properties":{"hype":{"type":"number","format":"double"},"full":{"type":"number","format":"double"}},"required":["hype","full"],"type":"object","description":"Videos that came in through an MRSS feed: a video feed's as `full`, a hype feed's as `hype`."},"mrssPosts":{"type":"number","format":"double","description":"Posts that came in through an MRSS feed."},"userDeletions":{"type":"number","format":"double","description":"Accounts whose deletion completed, from 2026-10-13. Catalog key `totals.userDeletions`."},"mrssFeeds":{"properties":{"post":{"type":"number","format":"double"},"hype":{"type":"number","format":"double"},"video":{"type":"number","format":"double"}},"required":["post","hype","video"],"type":"object","description":"Connected MRSS feeds by what they bring in; as they stand now, whatever the dates. Catalog key `totals.mrssFeeds`."},"coverage":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel"}},"required":["posts","videos","hypes","podcasts","sidecasts","comments","users","podcastShows","mrssVideos","mrssPosts","userDeletions","mrssFeeds","coverage"],"type":"object","additionalProperties":false},"EngagementsTotalsRes":{"properties":{"added":{"type":"number","format":"double","description":"Those whose last change fell in the window and that still stand."},"deleted":{"type":"number","format":"double","description":"Those taken back or deleted in the window."}},"required":["added","deleted"],"type":"object","additionalProperties":false},"ViewsTotalsRes":{"properties":{"total":{"type":"number","format":"double","description":"Every `analytics.views` row, lives and stadium audio included."},"videos":{"type":"number","format":"double","description":"Views of full videos the clients reported. Catalog key `engagement.views.videos`."},"hypes":{"type":"number","format":"double","description":"Views of hypes the clients reported. Catalog key `engagement.views.hypes`."},"sidecasts":{"type":"number","format":"double","description":"Views of sidecast episodes the clients reported. Catalog key `engagement.views.sidecasts`."},"lives":{"type":"number","format":"double","description":"Playback grants of lives, one per user per six hours. Catalog key `engagement.views.lives`."},"podcastEpisodes":{"type":"number","format":"double","description":"Listens the web client reported. Catalog key `engagement.views.podcastEpisodes`."},"stadiumAudio":{"type":"number","format":"double","description":"Stadium-audio (`ivs-whep`) grants."}},"required":["total","videos","hypes","sidecasts","lives","podcastEpisodes","stadiumAudio"],"type":"object","additionalProperties":false},"FollowsTotalsRes":{"properties":{"podcasts":{"type":"number","format":"double","description":"Podcasts, claimed or not."},"topics":{"type":"number","format":"double","description":"Topics no account claimed."},"users":{"type":"number","format":"double","description":"Topics and podcasts an account claimed, what a creator gains or loses through them; a claimed podcast is in `podcasts` too."},"accounts":{"type":"number","format":"double","description":"Follows of accounts themselves, from the Firestore mirror of every follow edge less the podcast and topic\nfollows above. Gains only. Catalog key `engagement.followings.follows.accounts`."}},"required":["podcasts","topics","users","accounts"],"type":"object","additionalProperties":false},"FollowingsTotalsRes":{"description":"Follows or unfollows by what was followed, netted per follower: a follow undone inside the window counts for neither.","properties":{"podcasts":{"type":"number","format":"double","description":"Podcasts, claimed or not."},"topics":{"type":"number","format":"double","description":"Topics no account claimed."},"users":{"type":"number","format":"double","description":"Topics and podcasts an account claimed, what a creator gains or loses through them; a claimed podcast is in `podcasts` too."}},"required":["podcasts","topics","users"],"type":"object","additionalProperties":false},"EngagementCoverageRes":{"properties":{"counters":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel","description":"`engagement.counters`: `views.videos`, `.hypes`, `.sidecasts`, `.podcastEpisodes`."},"liveAccess":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel","description":"`engagement.liveAccess`: `views.lives`, `views.stadiumAudio`."},"social":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel","description":"`engagement.social`: likes, comments, follows, engaged users and reposts."}},"required":["counters","liveAccess","social"],"type":"object","additionalProperties":false},"EngagementResponse":{"properties":{"engagements":{"properties":{"reposts":{"type":"number","format":"double","description":"Reposts of posts, written by the server when the repost publishes. Catalog key `engagement.reposts`."},"engagedUsers":{"type":"number","format":"double","description":"Distinct users who liked or commented in the window. Catalog key `engagement.engagedUsers`."},"views":{"$ref":"#/components/schemas/ViewsTotalsRes","description":"The internal view counter's rows by kind."},"comments":{"$ref":"#/components/schemas/EngagementsTotalsRes","description":"Comments from the feed provider. Catalog key `engagement.comments`."},"likes":{"properties":{"comments":{"$ref":"#/components/schemas/EngagementsTotalsRes","description":"Likes on comments."},"activities":{"$ref":"#/components/schemas/EngagementsTotalsRes","description":"Likes on content: posts, videos, hypes, episodes."},"total":{"$ref":"#/components/schemas/EngagementsTotalsRes","description":"Every like."}},"required":["comments","activities","total"],"type":"object","description":"Likes from the feed provider. Catalog key `engagement.likes`."}},"required":["reposts","engagedUsers","views","comments","likes"],"type":"object","description":"Likes, comments and views over the window, with the users behind them."},"followings":{"properties":{"unfollows":{"$ref":"#/components/schemas/FollowingsTotalsRes","description":"Follows undone; recorded for topics and podcasts only. Catalog key `engagement.followings.unfollows`."},"follows":{"$ref":"#/components/schemas/FollowsTotalsRes","description":"Follows gained, by what was followed. Catalog key `engagement.followings.follows`."}},"required":["unfollows","follows"],"type":"object","description":"Follows over the window."},"coverage":{"$ref":"#/components/schemas/EngagementCoverageRes","description":"One per catalog group the figures come from."}},"required":["engagements","followings","coverage"],"type":"object","additionalProperties":false},"AnalyticsCountSliceRes":{"properties":{"key":{"type":"string","description":"What the slice is of: a list, a client, a device class, a way playback started."},"count":{"type":"number","format":"double","description":"The figure inside the slice."}},"required":["key","count"],"type":"object","additionalProperties":false},"ContentEngagementTypeRes":{"description":"The response's figures for one content type.","properties":{"contentType":{"type":"string","description":"`post`, `video`, `hype`, `podcastEpisode`, `sidecastEpisode`."},"impressions":{"type":"number","format":"double","description":"Cards seen in a list."},"opens":{"type":"number","format":"double","description":"Content screens opened."},"playbackSessions":{"type":"number","format":"double","description":"Playback sessions of any length."},"thresholdViews":{"type":"number","format":"double","description":"Sessions past the view threshold."}},"required":["contentType","impressions","opens","playbackSessions","thresholdViews"],"type":"object","additionalProperties":false},"ContentEngagementResponse":{"description":"What the content events say about the window: the lists, the openings and the playback sessions clients reported.","properties":{"impressions":{"type":"number","format":"double","description":"Cards seen in a list. Catalog key `engagement.content.impressions`."},"opens":{"type":"number","format":"double","description":"Content screens opened. Catalog key `engagement.content.opens`."},"ctr":{"type":"number","format":"double","nullable":true,"description":"`opens / impressions`; null without impressions."},"reachedUsers":{"type":"number","format":"double","description":"Distinct users with an impression or an open."},"impressionsByPlacement":{"items":{"$ref":"#/components/schemas/AnalyticsCountSliceRes"},"type":"array","description":"Impressions by the list that showed the card: `feed`, `videos`, `profile`, `related`, `playlist`."},"playbackSessions":{"type":"number","format":"double","description":"Playback sessions of any length."},"thresholdViews":{"type":"number","format":"double","description":"Sessions past the view threshold, the studio's `views` rule. Catalog key `engagement.content.thresholdViews`."},"userStartedPlays":{"type":"number","format":"double","description":"Sessions the user started, as against autoplay and hover."},"byStartedBy":{"items":{"$ref":"#/components/schemas/AnalyticsCountSliceRes"},"type":"array","description":"Sessions by how they started: `user`, `autoplay`, `hover`."},"totalWatchedSeconds":{"type":"number","format":"double","description":"Seconds watched over every session, each session counted once at its longest report."},"byContentType":{"items":{"$ref":"#/components/schemas/ContentEngagementTypeRes"},"type":"array","description":"The figures above by content type. Catalog key `engagement.content.byContentType`."},"coverage":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel"}},"required":["impressions","opens","ctr","reachedUsers","impressionsByPlacement","playbackSessions","thresholdViews","userStartedPlays","byStartedBy","totalWatchedSeconds","byContentType","coverage"],"type":"object","additionalProperties":false},"LoggedInAudienceRes":{"properties":{"last1Day":{"type":"number","format":"double","description":"Signed-in users with authenticated activity in the last day, 7 days and 30 days before now."},"last7Days":{"type":"number","format":"double","description":"Catalog key `audience.loggedIn.last7Days`."},"last30Days":{"type":"number","format":"double","description":"Catalog key `audience.loggedIn.last30Days`."},"stickiness":{"type":"number","format":"double","nullable":true,"description":"`last1Day / last30Days`; null without a 30-day figure."},"byDeviceClass":{"items":{"$ref":"#/components/schemas/AnalyticsCountSliceRes"},"type":"array","description":"Users of the last 30 days by device class (`web`, `mobile`, `tv`, `other`); a user on a phone and a TV is in both."}},"required":["last1Day","last7Days","last30Days","stickiness","byDeviceClass"],"type":"object","additionalProperties":false},"VisitorsAudienceDayRes":{"properties":{"day":{"type":"string","description":"`YYYY-MM-DD`, GA4's day."},"devices":{"type":"number","format":"double","description":"Distinct devices with any event that day."}},"required":["day","devices"],"type":"object","additionalProperties":false},"VisitorsAudienceRes":{"properties":{"activeDevices":{"type":"number","format":"double","description":"Distinct devices with any event in the window."},"avgDailyDevices":{"type":"number","format":"double","description":"The daily devices averaged over the window's days. Catalog key `audience.visitors.avgDailyDevices`."},"stickiness":{"type":"number","format":"double","nullable":true,"description":"`avgDailyDevices / activeDevices` over a window of 28 days or more; null for a shorter one."},"daily":{"items":{"$ref":"#/components/schemas/VisitorsAudienceDayRes"},"type":"array","description":"Devices with any event, per GA4 day. Catalog key `audience.visitors.daily`."},"byPlatform":{"items":{"$ref":"#/components/schemas/AnalyticsCountSliceRes"},"type":"array","description":"Devices with any event, per client (`web`, `ios`, `androidTv`, ...). Catalog key `audience.visitors.byPlatform`."},"installs":{"type":"number","format":"double","description":"First opens of the apps; a reinstall is a new one."},"firstVisits":{"type":"number","format":"double","description":"First visits to the site."}},"required":["activeDevices","avgDailyDevices","stickiness","daily","byPlatform","installs","firstVisits"],"type":"object","additionalProperties":false},"AudienceCoverageRes":{"properties":{"loggedIn":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel"},"visitors":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel"}},"required":["loggedIn","visitors"],"type":"object","additionalProperties":false},"AudienceResponse":{"description":"Who is on the platform: signed-in users as the server sees them, and every device as GA4 sees it.","properties":{"loggedIn":{"$ref":"#/components/schemas/LoggedInAudienceRes","description":"As of now, whatever the dates asked for. Catalog group `audience.loggedIn`."},"visitors":{"allOf":[{"$ref":"#/components/schemas/VisitorsAudienceRes"}],"nullable":true,"description":"Over the dates asked for, the last 30 export days by default; null where the project has no GA4 export."},"coverage":{"$ref":"#/components/schemas/AudienceCoverageRes","description":"One per catalog group the figures come from."}},"required":["loggedIn","visitors","coverage"],"type":"object","additionalProperties":false},"PlaybackQualityRes":{"description":"What the players reported about the playback itself, as rates over the views and means over those that reported.","properties":{"startupFailureRate":{"type":"number","format":"double","nullable":true,"description":"Views that never started playing, over all views."},"exitBeforeStartRate":{"type":"number","format":"double","nullable":true,"description":"Views the viewer left before the first frame, over all views."},"errorRate":{"type":"number","format":"double","nullable":true,"description":"Views that reported a player error, over all views."},"avgStartupMs":{"type":"number","format":"double","nullable":true,"description":"Time from the play request to the first frame, averaged over the views that reported it."},"avgRebufferRatio":{"type":"number","format":"double","nullable":true,"description":"Share of watch time spent rebuffering, 0 to 1, averaged over views."},"avgExperienceScore":{"type":"number","format":"double","nullable":true,"description":"Mux's viewer experience score, 0 to 1, averaged over views."},"avgLiveLatencyMs":{"type":"number","format":"double","nullable":true,"description":"Live views only."}},"required":["startupFailureRate","exitBeforeStartRate","errorRate","avgStartupMs","avgRebufferRatio","avgExperienceScore","avgLiveLatencyMs"],"type":"object","additionalProperties":false},"PlaybackSliceRes":{"properties":{"key":{"type":"string","description":"The client, content kind, country, US state or day the slice is of; `unknown` where the player did not say."},"views":{"type":"number","format":"double","description":"Views in the slice."},"viewers":{"type":"number","format":"double","description":"Distinct viewers inside the slice; slices do not add up."},"watchTimeMs":{"type":"number","format":"double","description":"Time watched in the slice."}},"required":["key","views","viewers","watchTimeMs"],"type":"object","additionalProperties":false},"PlaybackDayRes":{"properties":{"key":{"type":"string","description":"The client, content kind, country, US state or day the slice is of; `unknown` where the player did not say."},"views":{"type":"number","format":"double","description":"Views in the slice."},"viewers":{"type":"number","format":"double","description":"Distinct viewers inside the slice; slices do not add up."},"watchTimeMs":{"type":"number","format":"double","description":"Time watched in the slice."},"peakConcurrent":{"type":"number","format":"double","description":"The most views open at once that day."}},"required":["key","views","viewers","watchTimeMs","peakConcurrent"],"type":"object","additionalProperties":false},"PlaybackResponse":{"description":"Playback as the Mux-instrumented players report it: the web player and every TV app. Catalog group `playback`.","properties":{"views":{"type":"number","format":"double","description":"Player sessions, however short. Catalog key `playback.views`."},"viewers":{"type":"number","format":"double","description":"Distinct viewers, signed-in users where known."},"watchTimeMs":{"type":"number","format":"double","description":"Time the players spent playing, ads included. Catalog key `playback.watchTimeMs`."},"peakConcurrent":{"type":"number","format":"double","description":"The most views open at once over the window."},"liveAudienceCoverage":{"type":"number","format":"double","nullable":true,"description":"Signed-in users with a live view over the users granted a live in the window, 0 to 1: the share of the live audience seen here."},"quality":{"$ref":"#/components/schemas/PlaybackQualityRes"},"byPlatform":{"items":{"$ref":"#/components/schemas/PlaybackSliceRes"},"type":"array","description":"By the client that reported the view (`web`, `roku`, `appleTv`, ...). Catalog key `playback.byPlatform`."},"byContentKind":{"items":{"$ref":"#/components/schemas/PlaybackSliceRes"},"type":"array","description":"`live`, `video`, `sidecastEpisode`. Catalog key `playback.byContentKind`."},"byCountry":{"items":{"$ref":"#/components/schemas/PlaybackSliceRes"},"type":"array","description":"By the viewer's country. Catalog key `playback.byCountry`."},"byRegion":{"items":{"$ref":"#/components/schemas/PlaybackSliceRes"},"type":"array","description":"US states."},"daily":{"items":{"$ref":"#/components/schemas/PlaybackDayRes"},"type":"array","description":"By the UTC day a view ended. Catalog key `playback.daily`."},"coverage":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel"}},"required":["views","viewers","watchTimeMs","peakConcurrent","liveAudienceCoverage","quality","byPlatform","byContentKind","byCountry","byRegion","daily","coverage"],"type":"object","additionalProperties":false},"LiveBroadcastsPlatformMixRes":{"description":"CDN sessions of the window's ended broadcasts rolled up to living-room, handheld and desktop, from their passports.","properties":{"ctv":{"type":"number","format":"double","description":"Connected TVs and streaming boxes."},"mobile":{"type":"number","format":"double","description":"Phones and tablets."},"web":{"type":"number","format":"double","description":"Desktop browsers."},"other":{"type":"number","format":"double","description":"Sessions whose device the logs could not place."}},"required":["ctv","mobile","web","other"],"type":"object","additionalProperties":false},"LiveBroadcastsRes":{"description":"The window's ended broadcasts, added up from their stats passports (`lives/{id}/stats/summary`).","properties":{"ended":{"type":"number","format":"double","description":"Lives that ended in the window."},"withPassport":{"type":"number","format":"double","description":"Of them, those with a frozen passport; the figures below cover these."},"peakConcurrent":{"type":"number","format":"double","description":"The highest all-platform peak of any one broadcast."},"viewerHours":{"type":"number","format":"double","description":"Viewer-hours over every broadcast, every client alike. Catalog key `liveAccess.broadcasts.viewerHours`."},"sessions":{"type":"number","format":"double","description":"CDN sessions over every broadcast; a device that watched two games is two."},"platformMix":{"allOf":[{"$ref":"#/components/schemas/LiveBroadcastsPlatformMixRes"}],"nullable":true,"description":"null when no passport had an audience breakdown (no CloudFront log access in the environment)."},"byDeviceClass":{"items":{"$ref":"#/components/schemas/AnalyticsCountSliceRes"},"type":"array","description":"CDN sessions by device class (`Roku`, `Apple TV`, `iPhone`, `Desktop web`, ...), largest first."}},"required":["ended","withPassport","peakConcurrent","viewerHours","sessions","platformMix","byDeviceClass"],"type":"object","additionalProperties":false},"LiveAccessCoverageRes":{"properties":{"access":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel","description":"`engagement.liveAccess`: the grants."},"broadcasts":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel","description":"`liveAccess.broadcasts`: the passports."}},"required":["access","broadcasts"],"type":"object","additionalProperties":false},"LiveAccessResponse":{"description":"Lives over the window: the server's playback grants, which every client takes, and the broadcasts' passports.","properties":{"liveOpens":{"type":"number","format":"double","description":"Playback grants of lives, one per user per six hours. Catalog key `engagement.views.lives`."},"liveOpenUsers":{"type":"number","format":"double","description":"Distinct users granted a live."},"stadiumAudioListens":{"type":"number","format":"double","description":"Stadium-audio (`ivs-whep`) grants. Catalog key `engagement.views.stadiumAudio`."},"stadiumAudioListeners":{"type":"number","format":"double","description":"Distinct users granted stadium audio. Catalog key `liveAccess.stadiumAudioListeners`."},"broadcasts":{"$ref":"#/components/schemas/LiveBroadcastsRes"},"coverage":{"$ref":"#/components/schemas/LiveAccessCoverageRes","description":"One per catalog group the figures come from."}},"required":["liveOpens","liveOpenUsers","stadiumAudioListens","stadiumAudioListeners","broadcasts","coverage"],"type":"object","additionalProperties":false},"TopSearchQueryRes":{"properties":{"query":{"type":"string","description":"Lower-cased and trimmed."},"searches":{"type":"number","format":"double","description":"Searches of the text, one per user and day."},"searchers":{"type":"number","format":"double","description":"Distinct users who searched the text."}},"required":["query","searches","searchers"],"type":"object","additionalProperties":false},"SearchStatsResponse":{"description":"What people searched for, from the server's record of every search through `/search`. Catalog group `search`.","properties":{"searches":{"type":"number","format":"double","description":"Searches answered, every text sent. Catalog key `search.searches`."},"searchers":{"type":"number","format":"double","description":"Distinct users who searched. Catalog key `search.searchers`."},"topQueries":{"items":{"$ref":"#/components/schemas/TopSearchQueryRes"},"type":"array","description":"The 25 texts searched by the most users. Catalog key `search.topQueries`."},"coverage":{"$ref":"#/components/schemas/AnalyticsCoverageViewModel"}},"required":["searches","searchers","topQueries","coverage"],"type":"object","additionalProperties":false},"TopContentItemResponse":{"properties":{"id":{"type":"string","description":"The content's id, of the kind `type` names."},"title":{"type":"string","description":"Empty where the document is gone."},"type":{"type":"string","description":"An `ActivityType`: `post`, `video`, `hype`, `podcastEpisode`, `sidecastEpisode`, `liveBroadcast`, `scheduledBroadcast`."},"viewsCount":{"type":"string","description":"Internal view counter rows (`analytics.views`), as a string for the original client."},"likesCount":{"type":"string","description":"Likes that stand: in the window when the list is sorted by likes, all time otherwise; a string, as `viewsCount`."},"commentsCount":{"type":"string","description":"Comments that stand: in the window when the list is sorted by comments, all time otherwise; a string, as `viewsCount`."},"impressions":{"type":"number","format":"double","description":"Content events, all time, under the studio rules: the web client's so far. Catalog group `engagement.content`."},"opens":{"type":"number","format":"double","description":"Content screens opened, all time. Catalog key `topContent.opens`."},"plays":{"type":"number","format":"double","description":"Playback sessions of any length, all time. Catalog key `topContent.plays`."},"watchTimeMs":{"type":"number","format":"double","description":"Mux, all time: the web player and the TV apps. Catalog group `playback`."},"viewers":{"type":"number","format":"double","description":"Distinct Mux viewers, all time. Catalog key `topContent.viewers`."}},"required":["id","title","type","viewsCount","likesCount","commentsCount","impressions","opens","plays","watchTimeMs","viewers"],"type":"object","additionalProperties":false},"PaginatedList_TopContentItemResponse_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/TopContentItemResponse"},"type":"array"},"pagination":{"$ref":"#/components/schemas/Pagination"}},"required":["documents","pagination"],"type":"object","additionalProperties":false},"ActivityType":{"enum":["post","video","hype","podcastEpisode","sidecastEpisode","scheduledBroadcast","liveBroadcast"],"type":"string"},"TopContentSortBy":{"enum":["views","likes","comments","impressions","opens","plays","reach","watchTime"],"type":"string"},"AlertTestViewModel":{"properties":{"ok":{"type":"boolean","description":"Whether the test event was accepted by PagerDuty (or dry-run logged)."},"dryRun":{"type":"boolean","description":"True only when no routing key is stored, so it was logged instead of sent."},"status":{"type":"number","format":"double","nullable":true,"description":"PagerDuty HTTP status, or null in dry-run."}},"required":["ok","dryRun","status"],"type":"object","additionalProperties":false},"AlertDryRunViewModel":{"properties":{"dryRun":{"type":"boolean","description":"Whether alerting is currently suppressed (log-only)."},"source":{"type":"string","enum":["firestore","default"],"description":"Where the value resolved from — the Firestore flag, or the fail-safe default when unset."}},"required":["dryRun","source"],"type":"object","additionalProperties":false},"AlertDryRunRequest":{"properties":{"dryRun":{"type":"boolean","description":"true = dry-run (log only, page nobody); false = send real events to PagerDuty."}},"required":["dryRun"],"type":"object","additionalProperties":false},"UsageGranularityParam":{"type":"string","enum":["hour","day","month"]},"LlmUsageRowViewModel":{"description":"Model calls of one prompt, content type and model in one hour, day or month.","properties":{"bucket":{"type":"string","description":"Start of the bucket, UTC ISO."},"prompt":{"type":"string"},"contentType":{"type":"string","nullable":true},"model":{"type":"string","nullable":true},"calls":{"type":"number","format":"double"},"errors":{"type":"number","format":"double"},"inputTokens":{"type":"number","format":"double"},"outputTokens":{"type":"number","format":"double"},"thoughtsTokens":{"type":"number","format":"double"},"avgLatencyMs":{"type":"number","format":"double"},"estimatedCostUsd":{"type":"number","format":"double","nullable":true,"description":"By the list prices in code; null when the model has no price there."}},"required":["bucket","prompt","calls","errors","inputTokens","outputTokens","thoughtsTokens","avgLatencyMs"],"type":"object","additionalProperties":false},"LlmUsageViewModel":{"properties":{"granularity":{"$ref":"#/components/schemas/UsageGranularityParam"},"since":{"type":"string","description":"The window starts here (UTC ISO): the last 48 hours, 30 days or 12 months."},"pricesAsOf":{"type":"string","description":"The date the list prices were checked."},"rows":{"items":{"$ref":"#/components/schemas/LlmUsageRowViewModel"},"type":"array"},"unpricedModels":{"items":{"type":"string"},"type":"array","description":"Models called in the window that have no price, so their cost is missing from the totals."}},"required":["granularity","since","pricesAsOf","rows","unpricedModels"],"type":"object","additionalProperties":false},"ModerationStatsRowViewModel":{"description":"Moderation decisions of one content type in one hour, day or month.","properties":{"bucket":{"type":"string"},"contentType":{"type":"string","description":"`user_post`, `mrss_post`, `mrss_video`, `hype`, `video_transcript` or `news_article`."},"checked":{"type":"number","format":"double","description":"Verdicts written: everything the classifier decided, failures included."},"passed":{"type":"number","format":"double"},"held":{"type":"number","format":"double","description":"Held for a reviewer, or flagged on a public item."},"rejected":{"type":"number","format":"double"},"recorded":{"type":"number","format":"double","description":"Shadow-mode verdicts: recorded, nothing touched."},"failed":{"type":"number","format":"double","description":"Held because the classification failed for good."},"approvedByReviewer":{"type":"number","format":"double"},"rejectedByReviewer":{"type":"number","format":"double"}},"required":["bucket","contentType","checked","passed","held","rejected","recorded","failed","approvedByReviewer","rejectedByReviewer"],"type":"object","additionalProperties":false},"ModerationStatsViewModel":{"properties":{"granularity":{"$ref":"#/components/schemas/UsageGranularityParam"},"since":{"type":"string"},"rows":{"items":{"$ref":"#/components/schemas/ModerationStatsRowViewModel"},"type":"array"}},"required":["granularity","since","rows"],"type":"object","additionalProperties":false},"ExpiringGeoOverrideUserViewModel":{"description":"One row of `GET /admin/overrides/geo/expiring` — a user holding at least one\noverride inside the requested window, with only those entries. Grants die\nsilently otherwise: nothing warns anyone that the press pass lapsed the week\nbefore the game.","properties":{"userId":{"type":"string"},"email":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"entries":{"items":{"$ref":"#/components/schemas/GeoTokenOverrideEntryViewModel"},"type":"array","description":"Matching entries only; each carries its own `expiresAt` / `isExpired`."}},"required":["userId","email","bzzrHandle","displayName","entries"],"type":"object","additionalProperties":false},"FeatureOverrideUserViewModel":{"description":"One row of `GET /admin/overrides/features` — a user who has at least one\nper-user feature override, hydrated with the identity fields the admin list\nneeds. `overrides` is the sparse divergence from global; `effective` is what\nthat user actually experiences.","properties":{"userId":{"type":"string"},"email":{"type":"string","nullable":true},"bzzrHandle":{"type":"string","nullable":true},"displayName":{"type":"string","nullable":true},"overrides":{"$ref":"#/components/schemas/FeatureOverrides"},"effective":{"$ref":"#/components/schemas/FeatureFlags"}},"required":["userId","email","bzzrHandle","displayName","overrides","effective"],"type":"object","additionalProperties":false},"BulkOverrideStatus":{"type":"string","enum":["ok","not_found","error"],"description":"Outcome of resolving+applying an override for one email in a bulk request:\n- `ok` — email resolved to a uid and the override was applied.\n- `not_found` — no Firebase user for that email (or the email was malformed).\n- `error` — resolved, but applying the override threw (message in `error`)."},"BulkOverrideResultItem":{"properties":{"email":{"type":"string"},"status":{"$ref":"#/components/schemas/BulkOverrideStatus"},"userId":{"type":"string","description":"The resolved Firebase uid (present when `status !== \"not_found\"`)."},"error":{"type":"string","description":"Failure detail when `status === \"error\"`."}},"required":["email","status"],"type":"object","additionalProperties":false},"BulkOverrideResultViewModel":{"description":"Response for both bulk endpoints — a per-email outcome list plus rolled-up\ncounts so the UI can show a one-line summary without re-tallying.","properties":{"results":{"items":{"$ref":"#/components/schemas/BulkOverrideResultItem"},"type":"array"},"okCount":{"type":"number","format":"double"},"notFoundCount":{"type":"number","format":"double"},"errorCount":{"type":"number","format":"double"}},"required":["results","okCount","notFoundCount","errorCount"],"type":"object","additionalProperties":false},"BulkGeoOverrideRequest":{"description":"Body for `POST /admin/overrides/geo/bulk` — grant the same test-mode\ngeo-token override to a batch of users identified by email. Each email is\nresolved to a Firebase uid authoritatively (`auth().getUserByEmail`); the\nlocation claims below are stamped onto every minted token. Mirrors the\nper-user `GeoTokenOverrideRequest` plus the `emails` list.","properties":{"emails":{"items":{"type":"string"},"type":"array","description":"Emails to grant the override to. Unresolvable ones are reported, not fatal."},"lat":{"type":"number","format":"double","description":"Latitude in decimal degrees."},"lng":{"type":"number","format":"double","description":"Longitude in decimal degrees."},"country":{"type":"string","description":"ISO 3166-1 alpha-2, e.g. \"US\"."},"region":{"type":"string","description":"ISO 3166-2, e.g. \"US-TX\"."},"city":{"type":"string","description":"City name."},"dmaCode":{"type":"number","format":"double","description":"Nielsen DMA code, e.g. 803 (Los Angeles) — see `util/dmaNames.ts`. Needed\nto let a batch of testers into an `allowed-dma` (rights-holder territory)\nlive; those policies are fail-closed and ignore the admin bypass."},"ttlSeconds":{"type":"number","format":"double","description":"Token lifetime in seconds. Defaults to 30 days. Pass a large value (e.g.\n`3153600000` = 100y) for an effectively-unlimited override."}},"required":["emails"],"type":"object","additionalProperties":false},"BulkFeatureOverrideRequest":{"description":"Body for `POST /admin/overrides/features/bulk` — set the same per-user\nfeature overrides on a batch of users identified by email. `true`\nforce-enables the feature, `false` force-disables it; both diverge from the\nglobal flag. Only the keys present in `features` change. Unknown feature keys\nare rejected (400). All resolved users are written in ONE transaction on the\nsingleton `config/featureState` document.","properties":{"emails":{"items":{"type":"string"},"type":"array","description":"Emails to apply the overrides to. Unresolvable ones are reported, not fatal."},"features":{"$ref":"#/components/schemas/FeatureOverrides","description":"Partial patch of feature → forced value, applied to every resolved user."}},"required":["emails","features"],"type":"object","additionalProperties":false},"AdDeliveryCountsViewModel":{"description":"The funnel for one thing, over distinct plays.","properties":{"impressions":{"type":"number","format":"double"},"starts":{"type":"number","format":"double"},"firstQuartiles":{"type":"number","format":"double"},"midpoints":{"type":"number","format":"double"},"thirdQuartiles":{"type":"number","format":"double"},"completes":{"type":"number","format":"double"},"errors":{"type":"number","format":"double"},"completionRate":{"type":"number","format":"double","nullable":true,"description":"`completes / thirdQuartiles`, or `null` when nothing reached the third\nquartile.\n\nDeliberately NOT `completes / impressions`: the impression fires on a\ndifferent trigger and carries a different number of URLs per play, which\nskews the ratio — the same reason the live-pipeline work settled on this\ndenominator when it was diagnosing clipped avails."}},"required":["impressions","starts","firstQuartiles","midpoints","thirdQuartiles","completes","errors","completionRate"],"type":"object","additionalProperties":false},"AdCreativeDeliveryViewModel":{"description":"One cut of a title, and how much of it actually played.","properties":{"impressions":{"type":"number","format":"double"},"starts":{"type":"number","format":"double"},"firstQuartiles":{"type":"number","format":"double"},"midpoints":{"type":"number","format":"double"},"thirdQuartiles":{"type":"number","format":"double"},"completes":{"type":"number","format":"double"},"errors":{"type":"number","format":"double"},"completionRate":{"type":"number","format":"double","nullable":true,"description":"`completes / thirdQuartiles`, or `null` when nothing reached the third\nquartile.\n\nDeliberately NOT `completes / impressions`: the impression fires on a\ndifferent trigger and carries a different number of URLs per play, which\nskews the ratio — the same reason the live-pipeline work settled on this\ndenominator when it was diagnosing clipped avails."},"creativeId":{"type":"string"},"name":{"type":"string","nullable":true,"description":"`null` when the creative document has since been deleted."},"durationSeconds":{"type":"number","format":"double","nullable":true},"shareOfCampaign":{"type":"number","format":"double","description":"Share of this campaign's impressions that went to this cut, 0–1.\n\nThis is the delivered length mix — what `rotationWeight` asked for,\nmeasured after the fact. They will not match exactly: weights are\nrenormalised over what fits the remaining avail, so the delivered split\ndepends on how long the breaks actually were."}},"required":["impressions","starts","firstQuartiles","midpoints","thirdQuartiles","completes","errors","completionRate","creativeId","name","durationSeconds","shareOfCampaign"],"type":"object","additionalProperties":false},"AdCampaignDeliveryViewModel":{"properties":{"impressions":{"type":"number","format":"double"},"starts":{"type":"number","format":"double"},"firstQuartiles":{"type":"number","format":"double"},"midpoints":{"type":"number","format":"double"},"thirdQuartiles":{"type":"number","format":"double"},"completes":{"type":"number","format":"double"},"errors":{"type":"number","format":"double"},"completionRate":{"type":"number","format":"double","nullable":true,"description":"`completes / thirdQuartiles`, or `null` when nothing reached the third\nquartile.\n\nDeliberately NOT `completes / impressions`: the impression fires on a\ndifferent trigger and carries a different number of URLs per play, which\nskews the ratio — the same reason the live-pipeline work settled on this\ndenominator when it was diagnosing clipped avails."},"campaignId":{"type":"string","nullable":true,"description":"`null` for rows written before campaigns existed."},"name":{"type":"string","nullable":true},"advertiser":{"type":"string","nullable":true},"games":{"type":"number","format":"double","description":"Distinct lives this campaign appeared in over the window."},"creatives":{"items":{"$ref":"#/components/schemas/AdCreativeDeliveryViewModel"},"type":"array"}},"required":["impressions","starts","firstQuartiles","midpoints","thirdQuartiles","completes","errors","completionRate","campaignId","name","advertiser","games","creatives"],"type":"object","additionalProperties":false},"AdBreakDeliveryViewModel":{"description":"One break of one game.","properties":{"availNum":{"type":"number","format":"double","nullable":true,"description":"MediaTailor `[avail.index]`. `null` for replay plays, which have no avail."},"impressions":{"type":"number","format":"double"},"completes":{"type":"number","format":"double"},"campaignIds":{"items":{"type":"string"},"type":"array","description":"Which titles filled this break, in impression order."}},"required":["availNum","impressions","completes","campaignIds"],"type":"object","additionalProperties":false},"AdDeliveryReportViewModel":{"properties":{"isMeasured":{"type":"boolean","description":"FALSE means nobody measured, not that nobody watched: the beacon table does\nnot exist in this project yet (no local-creative break has ever run here).\nRead it before reading a row of zeroes."},"window":{"properties":{"to":{"type":"string"},"from":{"type":"string"}},"required":["to","from"],"type":"object"},"scope":{"properties":{"contentType":{"type":"string","description":"`live` or `replay`. Replay plays are counted separately, never merged."},"liveSourceId":{"type":"string","nullable":true},"liveId":{"type":"string","nullable":true}},"required":["contentType","liveSourceId","liveId"],"type":"object"},"totals":{"$ref":"#/components/schemas/AdDeliveryCountsViewModel"},"campaigns":{"items":{"$ref":"#/components/schemas/AdCampaignDeliveryViewModel"},"type":"array"},"breaks":{"items":{"$ref":"#/components/schemas/AdBreakDeliveryViewModel"},"type":"array","description":"Per-break detail. Only populated for a single-game report."}},"required":["isMeasured","window","scope","totals","campaigns","breaks"],"type":"object","additionalProperties":false},"AdCreativeViewModel":{"properties":{"id":{"type":"string"},"campaignId":{"type":"string","nullable":true,"description":"The campaign this is a cut of. `null` only for a creative written before\ncampaigns existed — those are still targeted individually and keep serving,\nbut PATCH a `campaignId` onto them to bring them under a title."},"campaignName":{"type":"string","nullable":true,"description":"Denormalised for listings, so a creative row reads without a second call."},"name":{"type":"string"},"mediaFileUrl":{"type":"string"},"durationSeconds":{"type":"number","format":"double"},"rotationWeight":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"targeting":{"$ref":"#/components/schemas/AdTargetingViewModel","description":"The targeting that actually applies to this cut: its campaign's, or — for a\npre-campaign creative — its own legacy targeting.\n\nAlways the EFFECTIVE value, so an operator never has to know which of the\ntwo they are looking at to answer \"where will this run\"."},"isLegacyTargeting":{"type":"boolean","description":"True when `targeting` above came from the creative itself rather than from\na campaign — i.e. this is a pre-campaign record, and the fields the campaign\nwould own cannot be edited here."},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","name","mediaFileUrl","durationSeconds","rotationWeight","isActive","targeting","isLegacyTargeting","createdAt","updatedAt"],"type":"object","additionalProperties":false},"AdCreativeUploadUrlViewModel":{"properties":{"uploadUrl":{"type":"string","description":"Signed PUT URL. Upload the file with `Content-Type` exactly as requested —\nthe signature covers it. Single object, no resume."},"storagePath":{"type":"string","description":"Object path inside the storage bucket. Useful for support and cleanup."},"mediaFileUrl":{"type":"string","description":"Public URL to pass as `mediaFileUrl` when registering the creative. Valid\nonly once the PUT has completed."},"uploadUrlExpiresInSeconds":{"type":"number","format":"double"}},"required":["uploadUrl","storagePath","mediaFileUrl","uploadUrlExpiresInSeconds"],"type":"object","additionalProperties":false},"AdCreativeUploadUrlRequest":{"description":"Asks for a one-shot signed PUT URL to upload a sponsor MP4 into our own\nbucket, so an operator does not have to arrange CDN hosting separately.\n\nThe file never passes through the API — it is PUT straight to Cloud Storage.\nRegister the creative afterwards with the `mediaFileUrl` this returns.","properties":{"fileName":{"type":"string","description":"Original file name. Sanitised before use; only for recognisability in the bucket."},"contentType":{"type":"string","description":"MIME type of the upload, and the `Content-Type` the PUT must send — a signed\nURL is bound to it, so a mismatch is rejected by Cloud Storage.\nOnly `video/mp4` is accepted: it is what MediaTailor conditions."}},"required":["fileName","contentType"],"type":"object","additionalProperties":false},"CreateAdCreativeRequest":{"properties":{"campaignId":{"type":"string","description":"The campaign (title) this file is a cut of. Required.\n\nTargeting is NOT set here — it belongs to the campaign, so every cut of a\ntitle is sold, flighted and retired as one thing. Create the campaign\nfirst; `POST /admin/ad-campaigns` is where the feeds, teams, markets and\nflight dates go."},"name":{"type":"string","description":"Operator-facing label for THIS CUT, e.g. \"0:30 broadcast\". Surfaces as\n`<AdTitle>` and in reporting; the campaign carries the title itself."},"mediaFileUrl":{"type":"string","description":"Public HTTPS URL of the MP4. MediaTailor fetches and transcodes this\ndirectly — it never passes through our proxy, so it is not subject to the\nad-tag host allow-list, but it MUST be reachable without credentials.\n\nDeliver 1920×1080 H.264 High + AAC-LC, progressive, loudness-normalised to\n−24 LKFS. A mismatched ladder costs extra conditioning time on the first\nbreak; un-normalised audio is the complaint viewers actually notice."},"durationSeconds":{"type":"integer","format":"int32","description":"EXACT duration of the file in seconds.\n\nThis is load-bearing, not metadata: pod assembly packs creatives against\nthe avail using this number. Over-stating it truncates the creative in\nflight — the `impression` fires and the `complete` never does. Take it from\nthe file, not from the insertion order.\n\nThe cap is deliberately far above any break we run. It is NOT a statement\nabout what will air: a creative longer than the avail simply never gets\npacked, and says so as `does_not_fit_avail` in the admin dry-run. Studios\nship long-form trailer cuts (2:32 is real) alongside the :15/:30 broadcast\nversions, and refusing to STORE one only meant the asset lived somewhere we\ncould not see it. What remains is a typo guard.","minimum":5,"maximum":400},"rotationWeight":{"type":"integer","format":"int32","description":"Relative likelihood of being the cut drawn for this campaign's slot, among\nthe cuts that fit what is left of the avail. Defaults to 1 (uniform).\n\nThis is how a media plan's length mix is expressed: \"60/40 between the :30s\nand the :15s\" is weight 60 on the :30 and 40 on the :15. Any two numbers in\nthe same ratio behave identically — 3 and 2 is the same plan.\n\nIt is a per-draw probability, NOT a delivery guarantee: it converges to the\nrequested mix across a game and says nothing about any single break. Use\nthe dry-run's `rotation` block to see the mix it actually produces for a\ngiven avail length.","minimum":1,"maximum":1000},"isActive":{"type":"boolean","description":"Absent ⇒ active. An inactive creative is never selected for a pod."}},"required":["campaignId","name","mediaFileUrl","durationSeconds"],"type":"object","additionalProperties":false},"UpdateAdCreativeRequest":{"description":"Every field optional — a PATCH leaves anything omitted untouched.","properties":{"campaignId":{"type":"string","description":"Moves this cut to another campaign — and, for a creative written before\ncampaigns existed, is how it stops being targeted on its own and joins one.\nAssigning it DROPS the creative's legacy `targeting`, which the campaign's\nnow supersedes."},"name":{"type":"string"},"mediaFileUrl":{"type":"string"},"durationSeconds":{"type":"integer","format":"int32","minimum":5,"maximum":400},"rotationWeight":{"type":"integer","format":"int32","minimum":1,"maximum":1000},"isActive":{"type":"boolean","description":"Set false to retire a cut without deleting it — reporting keeps referencing its id."}},"type":"object","additionalProperties":false},"AdCampaignVariantViewModel":{"description":"One cut of a campaign, as listed under it.","properties":{"id":{"type":"string"},"name":{"type":"string"},"durationSeconds":{"type":"number","format":"double"},"rotationWeight":{"type":"number","format":"double","description":"Relative draw weight among the cuts that fit the remaining avail."},"isActive":{"type":"boolean"},"mediaFileUrl":{"type":"string"}},"required":["id","name","durationSeconds","rotationWeight","isActive","mediaFileUrl"],"type":"object","additionalProperties":false},"AdCampaignViewModel":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"advertiser":{"type":"string"},"targeting":{"$ref":"#/components/schemas/AdTargetingViewModel"},"maxPerPod":{"type":"number","format":"double"},"isActive":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"variants":{"items":{"$ref":"#/components/schemas/AdCampaignVariantViewModel"},"type":"array","description":"The cuts belonging to this campaign, shortest first.\n\nPresent on the single-campaign GET and on the list, because the operator\nquestion is always \"what will this title actually play\" and answering it\nfrom two endpoints invites the two views to disagree. Empty means the\ncampaign is booked but has no file yet — it will never fill an avail."}},"required":["id","name","targeting","maxPerPod","isActive","createdAt","updatedAt","variants"],"type":"object","additionalProperties":false},"AdTargetingRequest":{"description":"Targeting on CREATE. Separate from the PATCH shape because `liveSourceIds` is\nmandatory here and optional there — tsoa emits one schema per interface, so\nsharing them would make the field required on PATCH too.","properties":{"liveSourceIds":{"items":{"type":"string"},"type":"array","description":"Rights-holder feeds (`LiveSource` ids) this campaign may serve into. The\ncommercial scope, and the only axis that bounds it.\n\nPass `[\"*\"]` — as the sole element — for a run-of-network house ad. There is\ndeliberately no way to express \"eligible nowhere\" here: to take a campaign\noff the air, send `isActive: false`.","minItems":1,"maxItems":20},"teams":{"items":{"type":"string"},"type":"array","description":"Lowercase team keys, matched against the live's home team OR away team.\nOmit for \"any matchup\".\n\nMatching both sides is what keeps a campaign on its team's ROAD games: a\nroad fixture is authored with the opponent as `homeTeam`.","maxItems":20},"regions":{"items":{"type":"string"},"type":"array","description":"Lowercase ISO 3166-2 subdivisions (`\"tx\"`), matched against the region\nresolved from the viewer's IP. Omit for \"any region\".\n\nA hard gate: a viewer whose IP cannot be placed (VPN, carrier NAT) is never\nserved a region-targeted campaign.","maxItems":60},"startAt":{"type":"string","description":"Flight start, ISO-8601 with an EXPLICIT offset (`Z` or `±hh:mm`). A bare\nlocal timestamp is rejected — it would resolve differently on Cloud Run and\non a developer's machine. Omit for \"already started\"."},"endAt":{"type":"string","description":"Flight end, exclusive. Same format rule. Omit for \"never ends\"."}},"required":["liveSourceIds"],"type":"object","additionalProperties":false},"CreateAdCampaignRequest":{"properties":{"name":{"type":"string","description":"The TITLE being advertised, as an operator would say it — one film, one\nproduct, one sponsor message.\n\nThe grain is the title and not the buyer: a studio booking five films\ncreates five campaigns, because \"never the same title twice in one break\"\nis the rule this entity enforces, and a break carrying trailers for two\ndifferent films is exactly what everyone wants. Use `advertiser` to roll\nthose five up in reporting."},"advertiser":{"type":"string","description":"Buyer or studio, for grouping several titles in reporting. Optional, free-form."},"targeting":{"$ref":"#/components/schemas/AdTargetingRequest","description":"Required: a campaign that names no feed is eligible nowhere."},"maxPerPod":{"type":"integer","format":"int32","description":"How many cuts of this campaign may appear in ONE pod. Defaults to 1, which\nis the rule as asked for — a break must never carry two cuts of the same\ntitle. Raise it only for a campaign that has bought a double spot.","minimum":1,"maximum":5},"isActive":{"type":"boolean","description":"Absent ⇒ active. An inactive campaign contributes nothing to any pod."}},"required":["name","targeting"],"type":"object","additionalProperties":false},"AdTargetingPatchRequest":{"description":"Targeting on PATCH. Sub-fields MERGE: an omitted one is left untouched, an\nempty array drops that constraint, and `null` clears a flight bound.\n\nMerging rather than replacing matters more than it looks: a PATCH of\n`{teams: [\"rams\"]}` under replace semantics would wipe `liveSourceIds` and\ntake the campaign off the air mid-season, silently — the exact failure class\nthe scoping model exists to remove.","properties":{"liveSourceIds":{"items":{"type":"string"},"type":"array","minItems":1,"maxItems":20},"teams":{"items":{"type":"string"},"type":"array","maxItems":20},"regions":{"items":{"type":"string"},"type":"array","maxItems":60},"startAt":{"type":"string","nullable":true},"endAt":{"type":"string","nullable":true}},"type":"object","additionalProperties":false},"UpdateAdCampaignRequest":{"description":"Every field optional — a PATCH leaves anything omitted untouched.","properties":{"name":{"type":"string"},"advertiser":{"type":"string","nullable":true,"description":"`null` clears it."},"targeting":{"$ref":"#/components/schemas/AdTargetingPatchRequest"},"maxPerPod":{"type":"integer","format":"int32","minimum":1,"maximum":5},"isActive":{"type":"boolean","description":"Set false to take every cut of this title off the air at once — the single\nswitch that exists because pulling four creatives one at a time during a\nbreak is how one gets missed."}},"type":"object","additionalProperties":false},"ChannelGuideFormat":{"description":"Guide document formats the sync worker can parse.","enum":["xmltv"],"type":"string"},"ChannelGuideSourceViewModel":{"properties":{"url":{"type":"string"},"format":{"$ref":"#/components/schemas/ChannelGuideFormat"},"channelId":{"type":"string","nullable":true}},"required":["url","format","channelId"],"type":"object","additionalProperties":false},"ChannelGuideSyncStateViewModel":{"properties":{"lastAttemptAt":{"type":"string","nullable":true},"lastSyncedAt":{"type":"string","nullable":true},"lastError":{"type":"string","nullable":true},"programsCount":{"type":"number","format":"double"}},"required":["lastAttemptAt","lastSyncedAt","lastError","programsCount"],"type":"object","additionalProperties":false},"AdminChannelFeedViewModel":{"description":"Admin view of a feed: includes the partner URLs and the sync bookkeeping.","properties":{"id":{"type":"string"},"channelId":{"type":"string"},"channelIsActive":{"type":"boolean","description":"The parent channel's `isActive` as of this response. Deactivating a channel's last active tab\ndeactivates the channel too, and this is where the console sees it happen (`false` right\nafter such a `PATCH`/`DELETE`); re-activating a tab does not flip it back."},"ownerId":{"type":"string"},"name":{"type":"string"},"logo":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"orderIndex":{"type":"number","format":"double"},"playbackUrl":{"type":"string"},"guideSource":{"allOf":[{"$ref":"#/components/schemas/ChannelGuideSourceViewModel"}],"nullable":true},"guideSync":{"$ref":"#/components/schemas/ChannelGuideSyncStateViewModel"},"entitlementIds":{"items":{"type":"string"},"type":"array","nullable":true,"description":"The override as stored; `null` = inherits the channel defaults."},"effectiveEntitlementIds":{"items":{"type":"string"},"type":"array","description":"What actually gates playback: the override, else the channel defaults."},"isActive":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"}},"required":["id","channelId","channelIsActive","ownerId","name","logo","orderIndex","playbackUrl","guideSource","guideSync","entitlementIds","effectiveEntitlementIds","isActive","createdAt","updatedAt"],"type":"object","additionalProperties":false},"AdminChannelViewModel":{"properties":{"id":{"type":"string"},"name":{"type":"string"},"description":{"type":"string"},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/ImagesViewModel"}],"nullable":true},"ownerId":{"type":"string"},"leagueId":{"type":"number","format":"double","nullable":true},"sortPriority":{"type":"number","format":"double"},"entitlementIds":{"items":{"type":"string"},"type":"array"},"viewerGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true},"isActive":{"type":"boolean"},"createdAt":{"type":"string"},"updatedAt":{"type":"string"},"feeds":{"items":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"},"type":"array","description":"Present on the detail read only."}},"required":["id","name","description","thumbnail","backgroundImage","ownerId","leagueId","sortPriority","entitlementIds","viewerGeoPolicy","isActive","createdAt","updatedAt"],"type":"object","additionalProperties":false},"CreateChannelRequest":{"properties":{"ownerId":{"type":"string","description":"Firebase Auth UID of the creator user (`type: creator`) the channel belongs to. Immutable."},"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"thumbnail":{"$ref":"#/components/schemas/FileUploadRequest"},"backgroundImage":{"$ref":"#/components/schemas/FileUploadRequest"},"leagueId":{"type":"integer","format":"int32","nullable":true,"description":"Cloud SQL `leagues.id`."},"sortPriority":{"type":"integer","format":"int32","description":"Higher sorts higher on the live page. Absent ⇒ 0."},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Default entitlements gating playback on every feed of this channel. Must be owned by\n`ownerId`. Required — a channel is always gated (a free product still grants an entitlement).","minItems":1},"viewerGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true,"description":"Geo restriction for playback. Absent or `null` ⇒ open."}},"required":["ownerId","name","entitlementIds"],"type":"object","additionalProperties":false},"DocumentsList_AdminChannelViewModel_":{"properties":{"documents":{"items":{"$ref":"#/components/schemas/AdminChannelViewModel"},"type":"array"},"lastVisibleDocumentId":{"type":"string"},"totalCount":{"type":"number","format":"double"}},"required":["documents","lastVisibleDocumentId","totalCount"],"type":"object","additionalProperties":false},"UpdateChannelRequest":{"properties":{"name":{"type":"string","minLength":1,"maxLength":80},"description":{"type":"string","maxLength":2000},"thumbnail":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"`null` clears it."},"backgroundImage":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"`null` clears it."},"leagueId":{"type":"integer","format":"int32","nullable":true,"description":"Cloud SQL `leagues.id`; `null` unsets it."},"sortPriority":{"type":"integer","format":"int32"},"entitlementIds":{"items":{"type":"string"},"type":"array","description":"Replaces the default set. Feeds inheriting (`entitlementIds: null`) follow automatically.","minItems":1},"viewerGeoPolicy":{"allOf":[{"$ref":"#/components/schemas/GeoPolicy"}],"nullable":true,"description":"`null` opens the channel."},"isActive":{"type":"boolean","description":"`false` behaves like `DELETE`; `true` re-lists a deactivated channel."}},"type":"object","additionalProperties":false},"ChannelGuideSourceRequest":{"properties":{"url":{"type":"string","description":"The partner's guide URL, including whatever window parameters it needs. HTTPS only."},"format":{"$ref":"#/components/schemas/ChannelGuideFormat","description":"Absent ⇒ `xmltv`."},"channelId":{"type":"string","nullable":true,"description":"XMLTV `channel` id to keep; absent or `null` keeps every programme in the document."}},"required":["url"],"type":"object","additionalProperties":false},"CreateChannelFeedRequest":{"properties":{"name":{"type":"string","description":"Tab label.","minLength":1,"maxLength":40},"logo":{"$ref":"#/components/schemas/FileUploadRequest"},"orderIndex":{"type":"integer","format":"int32","description":"Ascending tab order; the card opens on the first active feed. Absent ⇒ appended after the last feed."},"playbackUrl":{"type":"string","description":"The partner's HLS master playlist. HTTPS, path ending in `.m3u8`."},"guideSource":{"allOf":[{"$ref":"#/components/schemas/ChannelGuideSourceRequest"}],"nullable":true,"description":"Absent or `null` ⇒ no program guide."},"entitlementIds":{"items":{"type":"string"},"type":"array","nullable":true,"description":"Overrides the channel defaults; absent or `null` inherits. Must be owned by the channel owner."}},"required":["name","playbackUrl"],"type":"object","additionalProperties":false},"UpdateChannelFeedRequest":{"properties":{"name":{"type":"string","minLength":1,"maxLength":40},"logo":{"allOf":[{"$ref":"#/components/schemas/FileUploadRequest"}],"nullable":true,"description":"`null` clears it."},"orderIndex":{"type":"integer","format":"int32"},"playbackUrl":{"type":"string"},"guideSource":{"allOf":[{"$ref":"#/components/schemas/ChannelGuideSourceRequest"}],"nullable":true,"description":"Replacing the guide source resets the sync state so the next run refetches; `null` removes the\nprogram guide and deletes the feed's programs."},"entitlementIds":{"items":{"type":"string"},"type":"array","nullable":true,"description":"`null` reverts to inheriting the channel defaults."},"isActive":{"type":"boolean","description":"`false` behaves like `DELETE` (programs are deleted); `true` re-lists a deactivated feed."}},"type":"object","additionalProperties":false},"ChannelGuideSyncOutcome":{"description":"What one guide sync run did.","enum":["synced","not_modified","skipped","failed"],"type":"string"},"AdminChannelFeedSyncViewModel":{"description":"Result of the admin \"sync now\": what the run did, and the feed as it stands afterwards.","properties":{"outcome":{"$ref":"#/components/schemas/ChannelGuideSyncOutcome"},"feed":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"}},"required":["outcome","feed"],"type":"object","additionalProperties":false},"BleachersLimitsAdminViewModel":{"description":"`GET /admin/config/bleachers-limits`: the limits in force, and the defaults an absent value falls back to.","properties":{"limits":{"$ref":"#/components/schemas/BleachersLimitsViewModel"},"defaults":{"$ref":"#/components/schemas/BleachersLimitsViewModel"},"updatedAt":{"type":"string"},"updatedBy":{"type":"string"}},"required":["limits","defaults"],"type":"object","additionalProperties":false},"UpdateBleachersLimitsRequest":{"description":"`PATCH /admin/config/bleachers-limits`: only the keys sent change.","properties":{"maxAdditions":{"type":"integer","format":"int32","description":"The most teams one Bleachers holds besides its base. At most `nested`'s `@maxItems`, past which a write is refused\nbefore the limit is read.","minimum":1,"maximum":200}},"type":"object","additionalProperties":false},"BleachersCreatorTieEntityViewModel":{"properties":{"type":{"$ref":"#/components/schemas/CatalogEntityType"},"id":{"type":"string"},"name":{"type":"string","nullable":true,"description":"Null once the entity has left the catalog."},"isHidden":{"type":"boolean","description":"Hidden down the chain (its own status, its league's or its sport's); false once it has left the catalog."}},"required":["type","id","name","isHidden"],"type":"object","additionalProperties":false},"BleachersCreatorTieChange":{"description":"One weight a creator tie took; 0 is an untie.","properties":{"weight":{"type":"number","format":"double"},"at":{"type":"string"},"by":{"type":"string","description":"The admin's uid."}},"required":["weight","at","by"],"type":"object","additionalProperties":false},"BleachersCreatorTieViewModel":{"description":"A creator tied to a catalog entity.","properties":{"entity":{"$ref":"#/components/schemas/BleachersCreatorTieEntityViewModel"},"creatorId":{"type":"string"},"creator":{"allOf":[{"$ref":"#/components/schemas/FollowingShortViewModel"}],"nullable":true,"description":"Null once the creator's account is gone."},"weight":{"type":"number","format":"double","description":"1 to 10; 0 only in the answer to an untie."},"history":{"items":{"$ref":"#/components/schemas/BleachersCreatorTieChange"},"type":"array","description":"Every weight the tie has had, oldest first; 0 is an untie."},"updatedAt":{"type":"string"},"updatedBy":{"type":"string","description":"The admin who made the last change."}},"required":["entity","creatorId","creator","weight","history","updatedAt","updatedBy"],"type":"object","additionalProperties":false},"BleachersCreatorTieUpdateViewModel":{"description":"What a tie or an untie answers: the tie, written either way.","properties":{"tie":{"$ref":"#/components/schemas/BleachersCreatorTieViewModel"},"warning":{"type":"string","nullable":true,"description":"Set when something the write queues could not be queued (the sync of the team's fans, the placement or the cleanup\nof the creator's items), a sentence each saying what repairs it; null otherwise."}},"required":["tie","warning"],"type":"object","additionalProperties":false},"SetBleachersCreatorTieRequest":{"description":"`PUT /admin/bleachers/creator-ties/entities/{type}/{id}/creators/{creatorId}`.","properties":{"weight":{"type":"integer","format":"int32","description":"How closely the creator is tied to the entity, 10 the closest.","minimum":1,"maximum":10}},"required":["weight"],"type":"object","additionalProperties":false},"EnqueueSportsRegistrySyncResult":{"description":"What an enqueue did: the tasks it made, and the ones already queued or done this clock hour (named alike).","properties":{"enqueued":{"items":{"type":"string"},"type":"array"},"alreadyQueued":{"items":{"type":"string"},"type":"array"}},"required":["enqueued","alreadyQueued"],"type":"object","additionalProperties":false},"TriggerSportsSyncRequest":{"description":"`POST /admin/bleachers/catalog/sync`: everything by default.","properties":{"leagueIds":{"items":{"$ref":"#/components/schemas/PathSegment"},"type":"array","description":"Registry ids of the leagues to sync, one task each; absent, a full run: the provider's overview, then every\nactive league.","maxItems":50}},"type":"object","additionalProperties":false},"BleachersSyncStats":{"properties":{"leaguesSyncedCount":{"type":"number","format":"double","description":"Leagues whose deep sync completed this run."},"leaguesFailedCount":{"type":"number","format":"double"},"sportsDiscoveredCount":{"type":"number","format":"double","description":"Sports and leagues the overview registered as `discovered`."},"leaguesDiscoveredCount":{"type":"number","format":"double"},"entitiesCreatedCount":{"type":"number","format":"double","description":"Groups and teams added to the registry by the deep syncs."},"profilesCreatedCount":{"type":"number","format":"double"},"profilesUpdatedCount":{"type":"number","format":"double","description":"Profiles whose projected fields changed."},"teamsWithRivalsCount":{"type":"number","format":"double","description":"Teams with at least one rival from Wikidata."},"teamsCount":{"type":"number","format":"double","description":"Teams listed by the deep syncs."}},"required":["leaguesSyncedCount","leaguesFailedCount","sportsDiscoveredCount","leaguesDiscoveredCount","entitiesCreatedCount","profilesCreatedCount","profilesUpdatedCount","teamsWithRivalsCount","teamsCount"],"type":"object","additionalProperties":false},"BleachersSyncReportEntity":{"description":"An entity as the report names it.","properties":{"id":{"type":"string","description":"The id clients use (`BleachersCatalogEntity.id`)."},"registryId":{"type":"string"},"name":{"type":"string"},"league":{"type":"string","nullable":true,"description":"The league's name; null for a sport or a league."}},"required":["id","registryId","name","league"],"type":"object","additionalProperties":false},"BleachersSyncFailedLeague":{"properties":{"registryId":{"type":"string"},"name":{"type":"string"},"error":{"type":"string"}},"required":["registryId","name","error"],"type":"object","additionalProperties":false},"BleachersProfileSkipReason":{"description":"Why the catalog sync created no profile for a provider's team that has none.","enum":["inactive","nameTaken","createFailed"],"type":"string"},"BleachersSyncTeamWithoutProfile":{"properties":{"id":{"type":"string","description":"The id clients use (`BleachersCatalogEntity.id`)."},"registryId":{"type":"string"},"name":{"type":"string"},"league":{"type":"string","nullable":true,"description":"The league's name; null for a sport or a league."},"reason":{"$ref":"#/components/schemas/BleachersProfileSkipReason"},"detail":{"type":"string","nullable":true,"description":"The organization profiles holding the name, or the creation error."}},"required":["id","registryId","name","league","reason","detail"],"type":"object","additionalProperties":false},"BleachersSyncProfileDrift":{"description":"A claimed profile the projection left alone although the registry's name differs.","properties":{"id":{"type":"string","description":"The id clients use (`BleachersCatalogEntity.id`)."},"registryId":{"type":"string"},"name":{"type":"string"},"league":{"type":"string","nullable":true,"description":"The league's name; null for a sport or a league."},"profileName":{"type":"string"}},"required":["id","registryId","name","league","profileName"],"type":"object","additionalProperties":false},"BleachersSyncMissedEntity":{"properties":{"id":{"type":"string","description":"The id clients use (`BleachersCatalogEntity.id`)."},"registryId":{"type":"string"},"name":{"type":"string"},"league":{"type":"string","nullable":true,"description":"The league's name; null for a sport or a league."},"type":{"$ref":"#/components/schemas/CatalogEntityType"},"externalId":{"type":"string"}},"required":["id","registryId","name","league","type","externalId"],"type":"object","additionalProperties":false},"BleachersSyncReport":{"description":"Lists for the admin to act on.","properties":{"overviewError":{"type":"string","nullable":true,"description":"The overview did not run or failed; `discovered` entities are as they were."},"leaguesWithoutSettings":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array","description":"Leagues refused after their walk: no `rootGroupIds`, and more teams than `MAX_TEAMS_WITHOUT_ROOT_GROUPS`."},"failedLeagues":{"items":{"$ref":"#/components/schemas/BleachersSyncFailedLeague"},"type":"array"},"crestKeyConflicts":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array","description":"Teams whose crest key another `teams_assets` row of the commerce league holds (`commerceLeagueIdFor`)."},"teamsOfAnotherLeague":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array","description":"Provider teams of this walk the registry holds under another active league that still lists them, named under\nthe league that holds them (`settleTeamsOfOtherLeagues`)."},"profilesCreated":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array"},"teamsWithoutProfile":{"items":{"$ref":"#/components/schemas/BleachersSyncTeamWithoutProfile"},"type":"array","description":"Provider teams with no profile that the sync did not create one for; they are in the registry all the same."},"teamsWithoutGeo":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array"},"claimedProfilesDrift":{"items":{"$ref":"#/components/schemas/BleachersSyncProfileDrift"},"type":"array","description":"Claimed profiles are the user's: the projection does not rename them."},"missed":{"items":{"$ref":"#/components/schemas/BleachersSyncMissedEntity"},"type":"array","description":"Counted a miss this run and still listed by the provider's view."},"deactivated":{"items":{"$ref":"#/components/schemas/BleachersSyncMissedEntity"},"type":"array","description":"`activeAtProvider` turned false this run."},"teamsWithoutWikiArticle":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array","description":"The title the sync looked up leads to no article; a team that had one keeps it, with its stored views."},"wikiUnreadTeams":{"items":{"$ref":"#/components/schemas/BleachersSyncReportEntity"},"type":"array","description":"Their views were not read this run; they keep the stored count."},"wikiError":{"type":"string","nullable":true},"wikidataError":{"type":"string","nullable":true}},"required":["overviewError","leaguesWithoutSettings","failedLeagues","crestKeyConflicts","teamsOfAnotherLeague","profilesCreated","teamsWithoutProfile","teamsWithoutGeo","claimedProfilesDrift","missed","deactivated","teamsWithoutWikiArticle","wikiUnreadTeams","wikiError","wikidataError"],"type":"object","additionalProperties":false},"BleachersSyncLeagueStatus":{"description":"A league's last task (`config/bleachersSyncStatus/leagues/{leagueId}`). `batchId` names the full run that enqueued\nit; null for a sync an admin asked for on its own.","properties":{"state":{"$ref":"#/components/schemas/SportsSyncRunState"},"taskName":{"type":"string","nullable":true},"enqueuedAt":{"type":"string","nullable":true},"startedAt":{"type":"string","nullable":true},"finishedAt":{"type":"string","nullable":true},"stats":{"allOf":[{"$ref":"#/components/schemas/BleachersSyncStats"}],"nullable":true},"report":{"allOf":[{"$ref":"#/components/schemas/BleachersSyncReport"}],"nullable":true},"error":{"type":"string","nullable":true},"updatedAt":{"type":"string"},"leagueId":{"type":"string"},"name":{"type":"string","nullable":true},"batchId":{"type":"string","nullable":true}},"required":["state","taskName","enqueuedAt","startedAt","finishedAt","stats","report","error","updatedAt","leagueId","name","batchId"],"type":"object","additionalProperties":false},"BleachersSyncTaskStatus":{"description":"One task of the sync, the overview or a league, as `config/bleachersSyncStatus` records it.","properties":{"state":{"$ref":"#/components/schemas/SportsSyncRunState"},"taskName":{"type":"string","nullable":true},"enqueuedAt":{"type":"string","nullable":true},"startedAt":{"type":"string","nullable":true},"finishedAt":{"type":"string","nullable":true},"stats":{"allOf":[{"$ref":"#/components/schemas/BleachersSyncStats"}],"nullable":true},"report":{"allOf":[{"$ref":"#/components/schemas/BleachersSyncReport"}],"nullable":true},"error":{"type":"string","nullable":true},"updatedAt":{"type":"string"}},"required":["state","taskName","enqueuedAt","startedAt","finishedAt","stats","report","error","updatedAt"],"type":"object","additionalProperties":false},"BleachersSyncStatusSummary":{"description":"`GET /admin/bleachers/catalog/sync/status`: the last full run with every league's last task, and the totals over them;\nbefore the first full run, the leagues synced alone (`batchId`, `enqueuedAt` and `overview` null, `leagueIds` empty).","properties":{"batchId":{"type":"string","nullable":true,"description":"The overview task's name, bucketed per clock hour: the run's id."},"enqueuedAt":{"type":"string","nullable":true},"overview":{"allOf":[{"$ref":"#/components/schemas/BleachersSyncTaskStatus"}],"nullable":true},"leagueIds":{"items":{"type":"string"},"type":"array","description":"The `active` leagues the overview enqueued, in that order; empty until it did."},"fannedOutAt":{"type":"string","nullable":true},"updatedAt":{"type":"string"},"state":{"$ref":"#/components/schemas/SportsSyncRunState","description":"The run as a whole: the overview's state until it finished (`failed` when it did not), `running` while a league\nit enqueued has not finished, `completed` once every one has, failed ones included (`leaguesFailed`). Before the\nfirst full run: `running` while a league synced alone has not finished, else `completed`."},"leaguesCompleted":{"type":"number","format":"double"},"leaguesFailed":{"type":"number","format":"double"},"totals":{"$ref":"#/components/schemas/BleachersSyncStats","description":"Stats summed over the overview and the run's leagues that finished; before the first full run, over the leagues."},"leagues":{"items":{"$ref":"#/components/schemas/BleachersSyncLeagueStatus"},"type":"array","description":"Every league's last task, this run's or an earlier one's (`batchId`), by name."}},"required":["batchId","enqueuedAt","overview","leagueIds","fannedOutAt","updatedAt","state","leaguesCompleted","leaguesFailed","totals","leagues"],"type":"object","additionalProperties":false},"BleachersFeaturedEntityViewModel":{"description":"A featured entity as the console orders the list: hidden and inactive ones included.","properties":{"entity":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"featuredOrder":{"type":"number","format":"double"},"isHidden":{"type":"boolean"},"isActive":{"type":"boolean"}},"required":["entity","featuredOrder","isHidden","isActive"],"type":"object","additionalProperties":false},"BleachersCatalogSearchEntityViewModel":{"description":"A hit of the console's catalog search: an active or a hidden entity.","properties":{"entity":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"sportName":{"type":"string","nullable":true,"description":"The name of the sport the entity sits under, a league's context; null for a sport."},"isHidden":{"type":"boolean"}},"required":["entity","sportName","isHidden"],"type":"object","additionalProperties":false},"GeoPointViewModel":{"properties":{"lat":{"type":"number","format":"double"},"lng":{"type":"number","format":"double"}},"required":["lat","lng"],"type":"object","additionalProperties":false},"BleachersAdminEntityViewModel":{"description":"One catalog entity as admins see it: what the picker shows, what admins decided, and what the sync found.","properties":{"entity":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"registryId":{"type":"string","description":"The registry row's id: what `/admin/sports-registry/*` takes."},"status":{"type":"string","description":"The registry status (docs/sports-registry.md, \"Statuses\"). Without a card in the catalog, `entity` is a bare card\nfrom the row and its ancestors: no logo, no location."},"isActive":{"type":"boolean","description":"The card's `isActive` and `isHidden`, read down the chain (`effectiveStatusOf`); without a card, read the same way."},"isHidden":{"type":"boolean"},"teamsAssetId":{"type":"string","nullable":true,"description":"The `teams_assets` row the entity's names, logos and colours are edited on (`/admin/teams-assets/{id}`)."},"featuredOrder":{"type":"number","format":"double","nullable":true},"boost":{"type":"number","format":"double"},"geo":{"allOf":[{"$ref":"#/components/schemas/GeoPointViewModel"}],"nullable":true,"description":"Teams: the position suggestions use, the admin's or else the geocoded stadium."},"geoOverride":{"allOf":[{"$ref":"#/components/schemas/GeoPointViewModel"}],"nullable":true},"wikiArticle":{"type":"string","nullable":true,"description":"Teams: the article the last sync read, and its views over the twelve months before."},"wikiViews12m":{"type":"number","format":"double","nullable":true},"wikiArticleOverride":{"type":"string","nullable":true,"description":"Teams: the article the next sync reads instead of the title template's."},"rivals":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array","description":"Wikidata's rivals, plus `rivalsAdded`, minus `rivalsRemoved`: the ones still in the catalog, as cards."},"rivalIds":{"items":{"type":"string"},"type":"array","description":"Every rival's profile id, teams that have left the catalog included: the ids `DELETE …/rivals/{rivalId}` takes."},"rivalsAdded":{"items":{"type":"string"},"type":"array","description":"Profile ids admins made rivals, and rivalries admins ended (Wikidata's or their own); both outlast Wikidata's later changes."},"rivalsRemoved":{"items":{"type":"string"},"type":"array"},"aliases":{"items":{"type":"string"},"type":"array","description":"Other names content calls the entity, as admins entered them."}},"required":["entity","registryId","status","isActive","isHidden","teamsAssetId","featuredOrder","boost","geo","geoOverride","wikiArticle","wikiViews12m","wikiArticleOverride","rivals","rivalIds","rivalsAdded","rivalsRemoved","aliases"],"type":"object","additionalProperties":false},"GeoPointRequest":{"properties":{"lat":{"type":"number","format":"double","minimum":-90,"maximum":90},"lng":{"type":"number","format":"double","minimum":-180,"maximum":180}},"required":["lat","lng"],"type":"object","additionalProperties":false},"UpdateBleachersEntityAdminRequest":{"description":"`PATCH /admin/bleachers/catalog/entities/{type}/{id}`: what is sent replaces it; null clears it. The entity's status\n(active, hidden, retired) is set on `/admin/sports-registry/entities/{id}`.","properties":{"featuredOrder":{"type":"integer","format":"int32","nullable":true,"description":"The entity's place among featured entities; null takes it out.","minimum":0},"boost":{"type":"number","format":"double","description":"Added to the popularity score, which is between 0 and 1 without it.","minimum":-1,"maximum":1},"geoOverride":{"allOf":[{"$ref":"#/components/schemas/GeoPointRequest"}],"nullable":true,"description":"Teams only: the position suggestions use instead of the geocoded stadium."},"wikiArticle":{"type":"string","nullable":true,"description":"Teams only: the English Wikipedia article the next sync reads views from, instead of the title template's. A `|`\nwould split it into two titles in the lookup; the other characters cannot be in a title.","minLength":1,"maxLength":255,"pattern":"^[^|#<>\\[\\]{}]+$"},"aliases":{"items":{"type":"string"},"type":"array","description":"Every other name content calls the entity (\"Sac State\"), replacing the list; names are trimmed, and two that\ndiffer only in case or punctuation count once.","maxItems":20}},"type":"object","additionalProperties":false},"AddBleachersRivalRequest":{"properties":{"rivalId":{"$ref":"#/components/schemas/PathSegment","description":"A listed team of the same sport, of any league."}},"required":["rivalId"],"type":"object","additionalProperties":false}},"securitySchemes":{"jwt":{"type":"http","scheme":"bearer","bearerFormat":"JWT","description":"Just paste the token from the app here. No need to add `Bearer` in front of it."},"geo-token":{"type":"apiKey","in":"header","name":"X-Geo-Token","description":"Short-lived JWT issued by POST /geocomply/verify. Required on geo-gated endpoints; must match the authenticated user and be unexpired."},"tv-public":{"type":"http","scheme":"bearer","description":"Shared public bearer baked into TV app builds. Yields a consumer-only synthetic principal, accepted by the TV legal texts and by the older Live reads, until the pre-login builds that still send it are gone."},"feature":{"type":"apiKey","in":"header","name":"X-Feature-Gate","description":"Server-side runtime feature gate (config/featureState). NOT a client credential — the client sends nothing for it; a disabled feature answers 403 `feature_disabled`. Declared here only so the OpenAPI spec is valid (endpoints reference the `feature` scheme via @Security)."},"partner":{"type":"apiKey","in":"header","name":"X-Partner-Gate","description":"Server-side partner-tenant gate: resolves the {slug} path segment to a partner, checks the caller's membership (Cloud SQL, Redis-cached) and the module scopes, then injects the tenant scope into the request. NOT a client credential — the client sends nothing for it; a non-member answers 403, a disabled module 403 `module_disabled`. Declared here only so the OpenAPI spec is valid (endpoints reference the `partner` scheme via @Security)."}}},"info":{"title":"functions","version":"1","contact":{}},"paths":{"/tv/watchHistory/continueWatching":{"get":{"operationId":"GetTvContinueWatching","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_WatchHistoryItemViewModel_"}}}}},"description":"Continue Watching of one kind, `video` when omitted (see `GET /watchHistory/continueWatching`).","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"kind","required":false,"schema":{"$ref":"#/components/schemas/WatchHistoryKind"}}]}},"/tv/watchHistory":{"get":{"operationId":"GetTvHistory","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_WatchHistoryItemViewModel_"}}}}},"description":"The history of one kind, `video` when omitted (see `GET /watchHistory`). `nextAfter` is empty on the last page.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"kind","required":false,"schema":{"$ref":"#/components/schemas/WatchHistoryKind"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]},"delete":{"operationId":"ClearTvHistory","responses":{"204":{"description":"No content"}},"description":"Clears the history of one kind (see `DELETE /watchHistory`). 204.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"kind","required":true,"schema":{"$ref":"#/components/schemas/WatchHistoryKind"}}]}},"/tv/watchHistory/{contentId}":{"delete":{"operationId":"RemoveFromTvHistory","responses":{"204":{"description":"No content"}},"description":"Forgets one entry (see `DELETE /watchHistory/{contentId}`). 204.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"contentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/videos/user/{userId}":{"get":{"operationId":"GetTvUserVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_VideoEngagementViewModel_"}}}}},"description":"A creator's published full videos, newest first — the same records as the consumer `v3`\nroute, in the TV cursor envelope: `nextAfter` is EMPTY on the last page, because one row past\nthe page is read to prove another follows. Pass `nextAfter` back as `lastDocId`.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/tv/videos/moreLike":{"get":{"operationId":"GetTvMoreVideosLikeVideo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"aggregations":{"properties":{},"additionalProperties":{},"type":"object"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object"},"totalRecords":{"type":"number","format":"double"},"offset":{"type":"number","format":"double"},"limit":{"type":"number","format":"double"},"records":{"items":{"properties":{"record":{"$ref":"#/components/schemas/VideoViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"}},"required":["record","highlightedProperties"],"type":"object"},"type":"array"}},"required":["aggregations","debugInformation","totalRecords","offset","limit","records"],"type":"object"}}}}},"description":"Published videos of the same type as `videoId`, ranked by similarity of title and description, the viewer's sports\na little higher, etc.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"videoId","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"int32","type":"integer","minimum":0}}]}},"/tv/videos/pages/home":{"get":{"operationId":"GetTvHomeVideoPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"description":"The Video Center page structure — the consumer `GET /videos/pages/home` minus components\nhidden for OTT (`isOttVisible: false`).","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/tv/videos/pages/{pageId}/relatedVideos":{"get":{"operationId":"GetTvPageRelatedVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ComponentItemVideoViewModel_"}}}}},"description":"A page's For You section — the mirror of the consumer `GET /videos/pages/{pageId}/relatedVideos`.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/tv/videos/pages/v2/home/component/{componentId}/content":{"get":{"operationId":"GetTvHomePageComponentContent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ComponentItemViewModel_"}}}}},"description":"One Video Center rail's items — the consumer\n`GET /videos/pages/v2/home/component/{componentId}/content` with the OTT rules: an OTT-hidden\ncomponent is 404, and a creators rail serves only verified creators with published full videos\n(the TV client lands on the creator's first video).","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/tv/videos/{videoId}/v3":{"get":{"operationId":"GetTvVideo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDetailViewModel"}}}}},"description":"The video page — the mirror of the consumer `GET /videos/{videoId}/v3`. Opened from TV search, it takes the typed\ntext as `searchQuery` and saves it, best effort, to the viewer's recent searches, cut to 100 characters when\nlonger.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"searchQuery","required":false,"schema":{"type":"string"}}]}},"/tv/sidecast/shows":{"get":{"operationId":"GetTvSidecastShows","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastShowViewModel_"}}}}},"description":"Shows, searchable and filterable — the mirror of the consumer `GET /sidecast/shows`.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/tv/sidecast/episodes":{"get":{"operationId":"GetTvSidecastEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastEpisodeSearchViewModel_"}}}}},"description":"Published episodes across every show EXCEPT the live ones, searchable and filterable — the\nconsumer `GET /sidecast/episodes` minus what `GET /tv/lives/liveNow` already lists. Same view\nmodel and parameters, without `prioritizeLive`: there is nothing live left to put first. Around a\ngo-live or an end an episode can sit in both lists, or in neither, for up to about half a minute.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}}]}},"/tv/sidecast/shows/{showId}":{"get":{"operationId":"GetTvSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"One show by id — the mirror of the consumer `GET /sidecast/shows/{showId}`.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/sidecast/shows/{showId}/episodes":{"get":{"operationId":"GetTvSidecastShowEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastEpisodeSearchEngagementViewModel_"}}}}},"description":"A show's published episodes, enriched with the caller's GetStream engagement — the mirror of\nthe consumer `GET /sidecast/shows/{showId}/episodes`.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"default":true,"type":"boolean"}}]}},"/tv/sidecast/shows/{showId}/episodes/{episodeId}":{"get":{"operationId":"GetTvSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeDetailViewModel"}}}}},"description":"One episode by id, engagement-enriched — the mirror of the consumer\n`GET /sidecast/shows/{showId}/episodes/{episodeId}`. Opened from TV search, it takes the typed\ntext as `searchQuery` and saves it, best effort, to the viewer's recent searches, cut to 100\ncharacters when longer.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"searchQuery","required":false,"schema":{"type":"string"}}]}},"/tv/sidecast/shows/{showId}/episodes/{episodeId}/viewer-count-token":{"get":{"operationId":"GetTvSidecastEpisodeViewerCountToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewerCountTokenViewModel"}}}}},"description":"Viewer-count token for one episode — the mirror of the consumer\n`GET /sidecast/shows/{showId}/episodes/{episodeId}/viewer-count-token`.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/search":{"get":{"operationId":"GetTvSearch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_TvSearchItemViewModel_"}}}}},"description":"Games, sidecast episodes and videos in one list. A game's payload is the Live page's card, whose `isSubscribed` is\nnull here as on the Live page lists (intersect `entitlementIds` with `GET /entitlements/me`); an episode's is the\nLive page's card too; a video's is `VideoEngagementViewModel`, as from `GET /tv/videos/{videoId}/v3`. An episode's\nand a video's views and engagement are not counted here — `viewsCount` is the stored field, an episode's\n`liveViewsCount` null, a video's `likesCount` and `commentsCount` 0, `isLiked` false and `activityId` null — so do\nnot show them from search; a game's card carries the Live page's `concurrentViews`.\n\nCall it as the viewer types, debounced: input with fewer than three letters or digits gets an empty list, and input\nover 100 characters is searched by its first 100. A search saves nothing. The search a viewer opens a result from is\nsaved by the route that opens it, given the typed text as `searchQuery`: `GET /tv/videos/{videoId}/v3`,\n`GET /tv/scheduledBroadcasts/{broadcastId}` or `GET /tv/sidecast/shows/{showId}/episodes/{episodeId}`.\n\nWhat comes, in three groups: games on air, then sidecast episodes on air, then everything to watch again — videos,\nended episodes and game replays still inside their window — mixed. Upcoming games and scheduled episodes do not\ncome: the Live page lists them. Neither does a cancelled, skipped or failed game, nor a premium or non-public\nvideo, which the Video Center rails leave out too.\n\nA video matches on its title or its creator's name, a sidecast episode on its title or its hosts' and guests'\nnames, a game on its title or program name; any one typed word is enough. Words match whole, the last one as a\nprefix once it has two letters or digits. Within each group, a title that is the query itself ranks first, then\ntitles in which the typed words begin consecutive words, in order — at the start of the title above elsewhere in\nit, shorter titles above longer — and a video creator's name ranks the same way; then relevance; equals by date,\nnewer videos first, episodes and games after them. Here a title's words are its runs of letters and digits:\n\"Red Sox @ Rangers\" is the query `red sox rangers` itself.\n\nPaging is the TV cursor: send `nextAfter` back as `lastDocId`, with the same `query`; it is empty on the last page,\nincluding one exactly `limit` long. Every page but the last holds `limit` records — whatever is no longer listed\n(unpublished, a replay that expired) or whose card could not be built is skipped. Search reaches the first 200\nmatches. A `lastDocId` from another `query` — the same text in another case or spacing counts as the same — starts\nfrom the top, so the previous text's cursor never skips the new text's first results. Dedupe records by `type` and\nid: content published while the viewer pages can shift results between pages.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/search/history":{"get":{"operationId":"GetTvSearchHistory","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchHistoryListViewModel"}}}}},"description":"The viewer's recent searches, newest first: the ones they opened a result from (`searchQuery` on the routes that\nopen one). The account keeps its 50 newest.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":5,"format":"int32","type":"integer","minimum":1,"maximum":20}}]},"delete":{"operationId":"ClearTvSearchHistory","responses":{"204":{"description":"No content"}},"description":"Clears the viewer's recent searches.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/tv/lives/{liveId}/progress":{"put":{"operationId":"UpdateTvLiveWatchProgress","responses":{"204":{"description":"No content"}},"description":"Saves the frame on screen (see `PUT /playback/lives/{liveId}/progress`). 204.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWatchProgressRequest"}}}}},"get":{"operationId":"GetTvLiveWatchProgress","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchProgressLookupViewModel"}}}}},"description":"The saved position, if any (see `GET /playback/lives/{liveId}/progress`).","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/lives/{liveId}/playback-state":{"get":{"operationId":"GetTvLivePlaybackState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePlaybackStateViewModel"}}}}},"description":"The live's playback state (see `LivePlaybackStateViewModel`). While playing a live, poll it after\n`pollAfterSeconds` (≈5 min mid-game, ≈60 s near and after the scheduled end); on `status: \"ended\"`\na player behind the live edge re-fetches `GET /tv/playback/lives/{liveId}` once `replayReady`\nand seeks the replay to the wall-clock moment it was playing, before `liveServingUntil`.\n`playbackEpoch` changing mid-game means the same re-fetch (a pipeline rebuild).","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/playback/lives/{liveId}":{"get":{"operationId":"GetTvLivePlaybackGrant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePlaybackGrantViewModel"}}}}},"description":"Playback grant for a live. Geo is enforced from IP-derived claims when\nthe `ip` geo-source is enabled — fail-soft for ordinary policies: without\nusable claims the gate stays open, while a fail-closed territory denies.\nEntitlements, geo and the recording window are skipped for the shared\n`tv-public` principal (old builds — free and un-geo-blocked until sunset; see\nthe skipGeo comment) and for the technical filler stream (open for everyone by\ndesign — see `isFillerLive`), though a fail-closed territory policy still\napplies; the admin secret skips them all.\n`ivs-whep` (stadium audio) is filtered out. Returns the same\n`LivePlaybackGrantViewModel` shape as the consumer `/playback/lives/{id}`.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Send `true` only from a build that plays an ended game's S3-copy replay correctly (a\n`cloudfront-hls` with `isLive: false` as a recording, from `startOffsetSeconds`, merging\n`ssaiAdsParams` into any session-init POST — a build that plays `masterUrl` directly needs\nnothing), exactly once and as the literal `true` (anything else is a 422), and only\nwhen the VIEWER chose that replay (Catch Up / Watch Replay) — never for the technical filler\nloop. The filler is usually the latest ended game itself, so only the client knows which of\nthe two it is launching; the loop must stay the free, ad-free, slice-trimmed Mux recording.\nAbsent ⇒ the replay is always the Mux one.","in":"query","name":"acceptsReplayCopy","required":false,"schema":{"type":"boolean"}}]}},"/tv/playback/lives/{liveId}/storyboard-token":{"get":{"operationId":"GetTvLiveStoryboardToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StoryboardTokenViewModel"}}}}},"description":"The ONE storyboard-token source for TV: no params ⇒ the whole recording\n(scrub bar; equivalent to the grant's `storyboardToken`), `start`+`end`\n(PLAYER seconds, snapped to the backend grid — read the response bounds\nback) ⇒ a zoomed window. Built on the SAME context as the grant above, so\na window is never refused — or cut from a different asset — where the\ngrant passed. The `/tv/*` middleware is the rate limiter.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"start","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"end","required":false,"schema":{"format":"double","type":"number"}}]}},"/tv/lives":{"get":{"operationId":"GetTvLives","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveViewModel_"}}}}},"description":"Active lives — every `lives` document that has not ended and is not deleted. Kept for the builds\nthat use it; `GET /tv/lives/liveNow` is the Live page's on-air list.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"]}}]}},"/tv/lives/liveNow":{"get":{"operationId":"GetTvLiveNow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_CurrentLiveItemViewModel_"}}}}},"description":"Everything on air right now in one list: live broadcasts first, then live sidecast episodes,\neach block newest start first — the items of the consumer `GET /lives/liveNow`, except that a game\njoins when the scheduler flips it to live, about a minute before its start (the moment it leaves\n`upcoming` of `GET /tv/scheduledBroadcasts`). In the TV cursor envelope: `nextAfter` is EMPTY on\nthe last page (echo it back as `lastDocId` otherwise). `limit` defaults to its ceiling, 200. Each\nitem is discriminated by `type` (`broadcast` | `sidecast`).\n\nIts broadcasts are live SCHEDULED broadcasts (the game cards of the EPG), not the `lives`\ndocuments `GET /tv/lives` lists. A sidecast item has no playback grant: it carries what plays it.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":200,"format":"int32","type":"integer","minimum":1,"maximum":200}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/scheduledBroadcasts/upcoming":{"get":{"operationId":"GetTvUpcomingBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UpcomingBroadcastViewModel_"}}}}},"description":"EPG feed: upcoming broadcasts (scheduled / provisioning / live), soonest\nfirst. Each item carries `liveId` (from `liveIds[0]`, null until the\nbroadcast is provisioned) — the client feeds that into\n`GET /tv/playback/lives/{liveId}` once it is non-null. This is metadata\nonly (no geo/entitlement gate).\n\nOn page 1 the \"technical\" filler/replay broadcast is PREPENDED at index [0]\n(an always-`live` projection of the previous game's recording). The FE\nconvention: skip [0] in the list, use its `liveId` for \"Watch previous game\"\n(→ mux-hls VOD, looped client-side; the grant sets `skipRecordingWindow` so\nit plays past 48h). Absent only when no recording exists yet — then [0] is a\nreal broadcast, so the FE must not blindly assume [0] is technical.\n\n`staticFiller` (default true) pins [0] to the curated broadcast from\n`TV_STATIC_FILLER_BROADCAST_ID`; pass false to fall back to the dynamic\nlatest-ended-with-recording selection.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"staticFiller","required":false,"schema":{"default":true,"type":"boolean"}}]}},"/tv/scheduledBroadcasts":{"get":{"operationId":"GetTvScheduledBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TvScheduledBroadcastsViewModel"}}}}},"description":"The Live page's broadcast lists in one read: `upcoming` and `replays`. On-air broadcasts are not\nhere — `GET /tv/lives/liveNow` lists them with the live sidecasts. Each list holds the games the\nconsumer `GET /scheduledBroadcasts?state=` lists for `upcoming` / `ended`, read in parallel,\neach through its own TV cache entry, in the TV cursor envelope (`nextAfter` EMPTY on the last\npage), 200 per list by default. Echo a list's `nextAfter` back as `upcomingLastDocId` /\n`replaysLastDocId` — the other list then comes back from its first page.","tags":["TV"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Page size of EACH list; defaults to its ceiling.","in":"query","name":"limit","required":false,"schema":{"default":200,"format":"int32","type":"integer","minimum":1,"maximum":200}},{"description":"Cursor of `upcoming`: its previous page's `nextAfter`.","in":"query","name":"upcomingLastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Cursor of `replays`: its previous page's `nextAfter`.","in":"query","name":"replaysLastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Scope to one team. A team may own several live sources.","in":"query","name":"ownerId","required":false,"schema":{"type":"string"}},{"description":"Scope to one broadcast source, not a linear channel.","in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}}]}},"/tv/scheduledBroadcasts/{broadcastId}":{"get":{"operationId":"GetTvBroadcastById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpcomingBroadcastViewModel"}}}}},"description":"Single upcoming broadcast by id. Plain view model (no GetStream engagement\nenrichment — TV doesn't need likes/comments). The OTT app's player polls it while a game plays\nto learn that it has ended (Roku polls the EPG instead). Opened from TV search, it takes the\ntyped text as `searchQuery` and saves it, best effort, to the viewer's recent searches, cut to 100\ncharacters when longer: pass it only on the call that opens the game, never on the player's polls.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"searchQuery","required":false,"schema":{"type":"string"}}]}},"/tv/channels":{"get":{"operationId":"GetTvChannels","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ChannelSummaryViewModel_"}}}}},"description":"Linear channels on the TV surface — the thin list, as the consumer `GET /channels`, in the\ncursor envelope the video-pages surfaces use (`records` + `nextAfter`, empty on the last page;\nthe older `/tv` lists still answer `DocumentsList`). Same\ncached, user-agnostic payloads as the consumer routes.","tags":["TV"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"description":"Cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Scope to one creator's channels (the creator page).","in":"query","name":"ownerId","required":false,"schema":{"type":"string"}}]}},"/tv/channels/feeds/{feedId}/programs":{"get":{"operationId":"GetTvChannelFeedPrograms","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ChannelProgramViewModel_"}}}}},"description":"A tab's program rail from now forward: `now`, `next`, then `later` rows with their air times.","tags":["TV"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"description":"Cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/channels/{channelId}":{"get":{"operationId":"GetTvChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TvChannelViewModel"}}}}},"description":"The card: a page of tabs (default 3 — the tile row; cursor `lastDocId` = a tab id, next page\nin `feeds.nextAfter`), each with `nowPlaying` and two `upNext` rows — the hero and the rail's\nthree cards (now, next, later) of any tab on the page.","tags":["TV"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Tabs per page; each tab with a guide costs its own program read. Default 3.","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":20}},{"description":"Cursor: the previous page's `feeds.lastVisibleDocumentId` (a tab id); stop when a page is shorter than `limit`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/playback/channels/{feedId}":{"get":{"operationId":"GetTvChannelFeedPlaybackGrant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelFeedPlaybackGrantViewModel"}}}}},"description":"Playback grant for one tab of a linear channel — the partner's HLS master as a\n`external-hls` delivery. JWT only, and here it is load-bearing: a channel feed has no filler, so\nthe entitlement gate always runs for a real viewer and needs a real user to check against. The\nfree season pass (`POST /subscriptions/free`, consumer route,\nuser JWT) is the consent-carrying claim behind that gate. Geo is the TV rule:\nIP-derived claims, fail-soft, enforced only where the channel carries a `viewerGeoPolicy`.\nNothing is recorded, so no filler exemption, no replay window, no storyboards. The player\nre-requests this grant mid-stream at the `refreshAfter` it names (OTT team, 2026-09-24).","tags":["TV"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/tv/legal/terms":{"get":{"operationId":"GetTvTerms","responses":{"204":{"description":"No content"}},"description":"Terms & Conditions as plain text. Content lives in `config/termsAndConditions`\n(edited in the Firestore console) so it can change without an app store\nresubmit. Returns 404 if the doc is missing.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[]}},"/tv/legal/privacy-policy":{"get":{"operationId":"GetTvPrivacyPolicy","responses":{"204":{"description":"No content"}},"description":"Privacy Policy as plain text. Content lives in `config/privacyPolicy` (edited\nin the Firestore console). Returns 404 if the doc is missing.","tags":["TV"],"security":[{"tv-public":[]},{"jwt":["consumer"]}],"parameters":[]}},"/public/subscriber-claims":{"post":{"operationId":"Submit","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimViewModel"}}}}},"description":"Manual-claim Q2 submit (pre-auth). Find-or-create the claim by `(email, partner)` and report which\nbranch it resolved to (`code_issued` returns the code for the FE to auth → redeem). Rate-limited by IP.\n\nreCAPTCHA v3: send `X-Recaptcha-Token` (grecaptcha action `claim_submit`); fails with\n400 `captcha_failed` / 503 `captcha_unavailable` when enforcement is on.","tags":["Public/Subscriber Claims"],"security":[{"feature":["compCodes"]}],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FindOrCreateClaimRequest"}}}}}},"/public/subscriber-claims/{claimId}/receipt":{"post":{"operationId":"Receipt","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimViewModel"}}}}},"description":"Receipt-upload step (pre-auth) for the 2025-list / no-match path. The image arrives as base64;\nthe BE extracts amount + date (OCR), applies the date-gate, and either auto-mints or routes to\nadmin review. Rate-limited by IP. The base64 image exceeds the default `express.json()` body\nlimit, so this one path gets a 22mb parser bump in `api.ts` (kept off every other route); the\n~16mb image cap itself is the `@maxLength` on `SubmitReceiptRequest.image` (→ 422).\n\nreCAPTCHA v3: send `X-Recaptcha-Token` (grecaptcha action `claim_receipt`).","tags":["Public/Subscriber Claims"],"security":[{"feature":["compCodes"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubmitReceiptRequest"}}}}}},"/public/subscriber-claims/{claimId}/escalate":{"post":{"operationId":"Escalate","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimViewModel"}}}}},"description":"Opt out of the `partial_data` re-upload loop (pre-auth) — the \"I can't get a clearer image\"\naffordance. Routes the claim to admin review instead of re-running extraction. Valid only while\nthe claim is still awaiting/retrying a receipt (else 409 `claim_not_escalatable`).\n\nreCAPTCHA v3: send `X-Recaptcha-Token` (grecaptcha action `claim_escalate`).","tags":["Public/Subscriber Claims"],"security":[{"feature":["compCodes"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}]}},"/publisher/config":{"get":{"operationId":"GetConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherConfigViewModel"}}}}},"description":"The signed-in publisher appliance fetches its bound venue's config + the\ncurrent stadium-audio key. Scoped to the `publisher_agent` role; the venue\nis resolved from the caller's `PublisherDevice` binding (never from input),\nso this only ever returns the caller's own config.","tags":["Publisher"],"security":[{"jwt":["publisher_agent"]}],"parameters":[{"in":"query","name":"appVersion","required":false,"schema":{"type":"string"}}]}},"/publisher/health":{"post":{"operationId":"ReportHealth","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherHealthResponse"}}}}},"description":"The appliance reports its own health — engine run state, crash-loop detail,\nand how stale the engine's last written status is.\n\nSent by the APP, not the engine, and that is the whole point: the engine is\nthe component that dies, so a quarantined binary or a crash loop leaves it\nsilent while the app is alive and knows precisely what is wrong. Before\nthis, a venue going quiet was indistinguishable from a PC switched off at\nthe wall — which is exactly how eight games were lost in Aug-Sep 2026.\n\nSame binding rule as getConfig: the venue is resolved from the caller's\n`PublisherDevice`, never from the body. Everything in the payload is a claim\nby a machine at a venue, recorded as diagnostics only.\n\nThe response acknowledges durable delivery and piggybacks a diagnostic\ncommand, avoiding a second publisher polling connection.","tags":["Publisher"],"security":[{"jwt":["publisher_agent"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherHealthRequest"}}}}}},"/publisher/diagnostics/{requestId}":{"post":{"operationId":"UploadDiagnostics","responses":{"204":{"description":"Recorded"}},"tags":["Publisher"],"security":[{"jwt":["publisher_agent"]}],"parameters":[{"in":"path","name":"requestId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherDiagnosticsUploadRequest"}}}}}},"/public/videos/{videoId}":{"get":{"operationId":"PublicGetVideo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoEngagementViewModel"}}}}},"tags":["Public/Videos"],"security":[],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/videos/user/{userId}":{"get":{"operationId":"PublicGetUsersPublishedVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"allOf":[{"$ref":"#/components/schemas/VideoViewModel"},{"$ref":"#/components/schemas/EngagementModel"}]},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Public/Videos"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"type":"boolean"}}]}},"/public/videos/user/{userId}/search":{"get":{"operationId":"PublicSearchUserVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_VideoViewModel_"}}}}},"tags":["Public/Videos"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"publishedDate:desc","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":5,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/public/tve/authn/return":{"post":{"operationId":"AuthnReturn","responses":{"303":{"description":"Redirect to returnTo (or the default landing page) with status / reason / idp in the query"}},"description":"Bridge return catcher. Always answers 303; the result is in the redirect query\n(see `TveReturnStatus` / `TveReturnReason` in `models/cloudId/enums.ts`):\n\nEvery redirect carries `action=link|logout` — `status` alone is ambiguous on\nthe error path, where both flows can report `invalid_callback`.\n\n- `returnTo?action=link&status=linked&idp=<idp>`, plus `&permitted=true|false` when the login was\n  started with a picker `provider` naming one of our channels and the operator answered for it\n  (false only on a refusal the viewer can act on; absent when it could not be asked)\n- `returnTo?action=link&status=error&reason=provider_error | incomplete_payload | provider_mismatch | server_error`\n  or `linked_to_another_account` / `household_limit` (the operator login or household is taken — send the viewer to support)\n  or `login_expired` (they came back after the 15-minute window; nothing linked — offer a retry)\n- default landing page `?action=link&status=error&reason=invalid_callback` (no usable nonce),\n  `server_error` (nonce could not be read) or `rate_limited` (answered by the limiter in front of\n  this surface, before anything was read)","tags":["Public/TVE"],"security":[],"parameters":[]}},"/public/tve/authn/logoutReturn":{"post":{"operationId":"LogoutReturn","responses":{"303":{"description":"Redirect to the logout returnTo with status in the query"}},"description":"Bridge logout catcher. 303 to the `to` target we put on the logout `return_url`:\n`to?action=logout&status=logged_out&idp=<idp>`, or\n`?action=logout&status=error&reason=invalid_callback` when the\nBridge signature does not verify.","tags":["Public/TVE"],"security":[],"parameters":[{"in":"query","name":"to","required":false,"schema":{"type":"string"}},{"in":"query","name":"idp","required":false,"schema":{"type":"string"}}]}},"/public/sidecast/shows/user/{userId}":{"get":{"operationId":"PublicGetUserSidecastShows","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastShowViewModel_"}}}}},"tags":["Public/Sidecast"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/public/sidecast/shows/{showId}/episodes":{"get":{"operationId":"GetSidecastShowEpisodesPublic","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastEpisodeSearchEngagementViewModel_"}}}}},"tags":["Public/Sidecast"],"security":[],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/public/sidecast/shows/{showId}/episodes/{episodeId}":{"get":{"operationId":"GetPublicSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeSearchEngagementViewModel"}}}}},"tags":["Public/Sidecast"],"security":[],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/share-links/{token}":{"get":{"operationId":"GetShareLink","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareLinkViewModel"}}}}},"description":"What a link shared, for the app or the site to open, signed in or not; a signed-in reader is told whether they are\nalready in a group an invite is for. `404` with `code` `share_link_not_found` for an unknown token,\n`share_link_unavailable` when what a Bleachers link shared can no longer be used; `410` (`share_link_gone`) for an\ninvite to a group that was deleted, `410` (`share_link_expired`) for one sent before a member was removed, unless the\nreader is a member. `403` (`feature_disabled`) when the kind's flag is off.","tags":["Public/ShareLinks"],"security":[{"feature":["bleachers"]}],"parameters":[{"in":"path","name":"token","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/scheduledBroadcasts/{broadcastId}":{"get":{"operationId":"PublicGetBroadcastById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpcomingBroadcastEngagementViewModel"}}}}},"tags":["Public/ScheduledBroadcasts"],"security":[{"feature":["lives"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/scheduledBroadcasts/creator/{creatorId}":{"get":{"operationId":"PublicGetBroadcastsByCreator","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UpcomingBroadcastViewModel_"}}}}},"description":"Upcoming/active broadcasts (scheduled, provisioning, or live) owned by a single creator,\nsorted by broadcast start time ascending. Powers the public creator landing page.\nNo auth, so `isSubscribed` is always null; the service caches the response (TTL-only).","tags":["Public/ScheduledBroadcasts"],"security":[{"feature":["lives"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/auth/signinWithProvider":{"post":{"operationId":"SignInWithProvider","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderSignInViewModel"}}}}},"description":"Exchange a Google/Apple ID token (obtained by the page via GIS / Apple JS) for a Firebase\ncustom token. The FE finishes with `signInWithCustomToken` and gets the same session a\nnormal sign-in produces — minus any possibility of sign-up.","tags":["Public/ProviderSignIn"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProviderSignInRequest"}}}}}},"/public/subscriptions/products/{creatorId}":{"get":{"operationId":"GetCreatorProducts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProductExpandedViewModel"},"type":"array"}}}}},"description":"Active Stripe products (with prices + entitlements) offered by a creator, resolved via\nthe creator's entitlements. Powers the public creator landing page. Unauthenticated, so\nthe per-user `isSubscribed` field is omitted — sign-in resolves it via the authenticated\n`GET /subscriptions/products/{creatorId}`.","tags":["Public/Subscriptions"],"security":[{"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/podcasts/user/{userId}":{"get":{"operationId":"GetPublicUserPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Unauthenticated twin of `GET /podcasts/user/{userId}` for the shared profile page.","tags":["Public/Podcasts"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/public/podcasts/{podcastId}/episodes/{episodeId}":{"get":{"operationId":"GetPublicPodcastEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodePublicViewModel"}}}}},"tags":["Public/Podcasts"],"security":[],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/playlists/{playlistId}":{"get":{"operationId":"PublicGetPublishedPlaylist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"tags":["Public/Playlists"],"security":[],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/playlists/{playlistId}/videos":{"get":{"operationId":"PublicGetPublishedPlaylistVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/PlaylistVideoReferenceEngagementViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Public/Playlists"],"security":[],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/playlists/user/{userId}":{"get":{"operationId":"PublicGetProfileUsersPlaylists","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/PlaylistViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Public/Playlists"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/public/auth/password-reset/send":{"post":{"operationId":"SendPasswordResetCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendCodeViewModel"}}}}},"description":"Emails a code when an email/password account has it; 200 either way. `X-Recaptcha-Token` action `password_reset_send`.","tags":["Public/PasswordReset"],"security":[],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendPasswordResetRequest"}}}}}},"/public/auth/password-reset/verify":{"post":{"operationId":"VerifyPasswordResetCode","responses":{"204":{"description":"No content"}},"description":"Checks the code without using it up: 204 on a match, else 422 `code_invalid` with no attempt count.\nThe step is optional. `X-Recaptcha-Token` action `password_reset_check`, as on confirm.","tags":["Public/PasswordReset"],"security":[],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyPasswordResetRequest"}}}}}},"/public/auth/password-reset/confirm":{"post":{"operationId":"ConfirmPasswordReset","responses":{"204":{"description":"No content"}},"description":"Sets the password, marks the address verified and signs the account out everywhere. 400 on\n`newPassword`, naming the part broken, when it fails the sign-up password rule; the code stays valid.","tags":["Public/PasswordReset"],"security":[],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmPasswordResetRequest"}}}}}},"/public/news/{id}":{"get":{"operationId":"GetPublicNewsArticle","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsArticleViewModel"}}}}},"tags":["Public/News"],"security":[],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/marketing/pages":{"get":{"operationId":"ListPublishedPages","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MarketingPageSummaryViewModel"},"type":"array"}}}}},"description":"Every published page's slug. Consumed by the web app's `generateStaticParams` and by\nnothing else, so it is deliberately minimal — no content, no partner names.\n`updatedAt` lets a caller reason about staleness without a second call.","tags":["Public/Marketing"],"security":[],"parameters":[]}},"/public/marketing/pages/{slug}":{"get":{"operationId":"GetPublishedPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageViewModel"}}}}},"description":"One published page — everything the renderer needs, in one payload.\n\n404 for ALL of: unknown slug, disabled partner, no page row, page not published. One\nshape for all four on purpose — distinguishing them on an unauthenticated endpoint is\na tenant-existence oracle.","tags":["Public/Marketing"],"security":[],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"type":"string"}}]}},"/public/feed/activities/{activityId}":{"get":{"operationId":"GetActivityInfo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityResponse"}}}}},"tags":["Public/Feed"],"security":[],"parameters":[{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/feed/token":{"get":{"operationId":"GetPublicToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["Public/Feed"],"security":[],"parameters":[]}},"/public/feed/user/{userId}":{"get":{"operationId":"PublicGetUserProfileWithFeedsInfo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFollowedProfileViewModel"}}}}},"tags":["Public/Feed"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/feed/user/{userId}/expanded":{"get":{"operationId":"PublicGetUserProfileWithFeedsInfoExpanded","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileWithFeedAndPaidStateViewModel"}}}}},"tags":["Public/Feed"],"security":[],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/auth/device/code":{"post":{"operationId":"RequestDeviceCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceCodeViewModel"}}}}},"description":"Issue a device code + 6-digit user code for the TV to display as a QR + on-screen code.","tags":["Public/Device Auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceCodeRequest"}}}}}},"/public/auth/device/token":{"post":{"operationId":"PollDeviceToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceTokenViewModel"}}}}},"description":"Poll for the token. Always HTTP 200 with a `status` discriminant (`pending` / `slowDown` /\n`authorized` / `expired`); only a genuinely unknown/invalid `deviceCode` returns 4xx.","tags":["Public/Device Auth"],"security":[],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceTokenRequest"}}}}}},"/public/comp-codes/lookup":{"post":{"operationId":"Lookup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeLookupResponse"}}}}},"description":"Public, pre-auth, read-only check so the redeem page can branch by plan interval before auth.\nNon-consuming and rate-limited by IP. Returns minimal info — `valid` + `interval` + `expiresAt`,\nno status reason — to limit code enumeration; the precise reason surfaces at the authed redeem.\n\nOPTIONAL auth: this route is reached both anonymously (the `/redeem` page) and by an authenticated\ncaller (the seasonal-pass checkout's promo-apply). A VERIFIED Firebase identity exempts the caller\nfrom the captcha — see `lookupCode`.\n\nreCAPTCHA v3 (anonymous callers only): send `X-Recaptcha-Token` (grecaptcha action\n`comp_code_lookup`). A failed / missing check returns the same neutral `valid:false` — never a\ndistinct error (no enumeration tell).","tags":["Public/Comp Codes"],"security":[{"feature":["compCodes"]}],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LookupCompCodeRequest"}}}}}},"/public/channels/{channelId}":{"get":{"operationId":"GetPublicChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublicChannelViewModel"}}}}},"description":"One channel for the public page. Cached until the first program boundary on the page, and 2 minutes at most, so\n`state` on its programs is current: key the Live pill on it and re-fetch once `nowPlaying.endAt` has passed, as on\nthe card. 404 when the channel is unknown, switched off or has no active tab; 403 `feature_disabled` while\nchannels are off platform-wide; 503 when that switch cannot be read.","tags":["Public/Channels"],"security":[{"feature":["channels"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/calendar":{"get":{"operationId":"GetPublicCalendarEvents","responses":{"200":{"description":"A list of matching calendar events sorted by `name` in ascending order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_CalendarEvent_"}}}}},"description":"Retrieves a list of calendar events with optional filtering and pagination.\n\nSupports the following filters as query params:\n- `date` (e.g., \"2025-07-28\") and `tz` (e.g., \"Z\", \"+02:00\") to return events occurring on a specific day,\n   with full-day calculation based on the given timezone.\n- `startsAfter` (ISO 8601 string) to return events starting after a specific datetime.\n- `sports` (array of sport names) and `league` to filter by sport and league.\n\nPagination using `limit` (default: 10) and `lastId` for cursor-based pagination.\n\nResults are sorted in ascending order by `name`.","tags":["Public/Calendar"],"security":[],"parameters":[{"description":"- (optional) ISO date string (YYYY-MM-DD) to filter by specific day.","in":"query","name":"date","required":false,"schema":{"type":"string"}},{"description":"- (optional) Timezone offset (e.g., \"Z\", \"+02:00\") used with `date` to determine the full-day range. Defaults to \"Z\".","in":"query","name":"tz","required":false,"schema":{"default":"Z","type":"string"}},{"description":"- (optional) ISO 8601 datetime string to filter events starting after this time.","in":"query","name":"startsAfter","required":false,"schema":{"type":"string"}},{"description":"- (optional) Array of sport names to filter results.","in":"query","name":"sports","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"description":"- (optional) League name to filter results.","in":"query","name":"league","required":false,"schema":{"type":"string"}},{"description":"- (optional) Maximum number of results to return. Defaults to 10.","in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"description":"- (optional) ID of the last retrieved item for cursor-based pagination.","in":"query","name":"lastId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/calendar/{eventId}":{"get":{"operationId":"GetPublicCalendarEvent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEvent"}}}}},"tags":["Public/Calendar"],"security":[],"parameters":[{"in":"path","name":"eventId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/public/app-version/check":{"get":{"operationId":"CheckVersion","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppVersionCheckViewModel"}}}}},"description":"Checks whether `currentVersion` on `platform` meets the configured minimum, so the client can\ndecide whether to show a blocking \"please update\" modal. `platform` is free-form (e.g. `ios`,\n`android`, `webos`, `tizen`, `androidtv`, `firetv`, `tvos`, `roku`) — normalized server-side,\nnot validated against a closed set. Unconfigured platforms fail open (`updateRequired: false`).","tags":["Public/AppVersion"],"security":[],"parameters":[{"in":"query","name":"platform","required":true,"schema":{"type":"string"}},{"in":"query","name":"currentVersion","required":true,"schema":{"type":"string"}}]}},"/liveSources/{liveSourceId}/stadium-audio/active":{"get":{"operationId":"GetActiveStadiumAudio","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioActiveResponse"}}}}},"tags":["Stadium Audio"],"security":[{"stadium-audio-key":[]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/subscriptions/summary":{"get":{"operationId":"PartnerGetSubscriptionsSummary","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSubscriptionsSummaryViewModel"}}}}},"description":"Subscriber totals and breakdowns over the partner's own catalog — the same product set\n`partner/{slug}/products` lists. `byState` is always the full breakdown; the optional\nfilters narrow which PURCHASES are counted, never which states are shown.","tags":["Partner/Subscriptions"],"security":[{"jwt":["partner","global_admin"],"partner":["subscriptions"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"productIds","required":false,"schema":{"type":"array","items":{"type":"number","format":"double"}}},{"in":"query","name":"interval","required":false,"schema":{"$ref":"#/components/schemas/ProductInterval"}},{"in":"query","name":"subscribedFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"subscribedTo","required":false,"schema":{"format":"date-time","type":"string"}}]}},"/partner/{slug}/settings":{"get":{"operationId":"PartnerGetSettings","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSettingsViewModel"}}}}},"description":"Every setting of the tenant in one read: enabled modules, skin, and the replay window\n(both as configured and as effectively applied).","tags":["Partner/Settings"],"security":[{"jwt":["partner","global_admin"],"partner":[],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"PartnerUpdateSetting","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerSettingsViewModel"}}}}},"description":"Writes one setting, or clears it with `value: null`. Returns every setting, so the\ndashboard refreshes from this one response.\n\nAuthorization is PER KEY (`SETTING_POLICIES`): `modules` is global-admin-only because it\ndecides which surfaces the tenant may reach, `theme` is partner_admin+, and\n`replayRetention` is partner_admin+ behind the Lives module.","tags":["Partner/Settings"],"security":[{"jwt":["partner","global_admin"],"partner":[],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePartnerSettingRequest"}}}}}},"/partner/{slug}/products":{"get":{"operationId":"PartnerListProducts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerProductViewModel"},"type":"array"}}}}},"tags":["Partner/Products"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/moderation/bans":{"get":{"operationId":"PartnerListBans","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_PartnerUserBanViewModel_"}}}}},"tags":["Partner/Moderation"],"security":[{"jwt":["partner","global_admin"],"partner":["moderation"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"format":"double","type":"number"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/PartnerUserBanStatus"}}]},"post":{"operationId":"PartnerBanUser","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerUserBanViewModel"}}}}},"tags":["Partner/Moderation"],"security":[{"jwt":["partner","global_admin"],"partner":["moderation"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerBanUserRequest"}}}}}},"/partner/{slug}/moderation/bans/{banId}":{"delete":{"operationId":"PartnerLiftBan","responses":{"204":{"description":"No content"}},"description":"Lifting the ban IS the appeal path in v1 — audit-logged like the ban itself.","tags":["Partner/Moderation"],"security":[{"jwt":["partner","global_admin"],"partner":["moderation"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"banId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/memberships":{"get":{"operationId":"PartnerGetMyMemberships","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MyPartnerMembershipViewModel"},"type":"array"}}}}},"description":"The authenticated user's partner tenants — the dashboard's routing source after sign-in\n(none → no-access screen, one → redirect to /{slug}, many → picker) and the shell's\ntheme/nav data. Always fresh from the DB — membership never rides on token claims.","tags":["Partner"],"security":[{"jwt":[],"feature":["partnerDashboard"]}],"parameters":[]}},"/partner/{slug}/members":{"get":{"operationId":"PartnerListMembers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerMemberViewModel"},"type":"array"}}}}},"description":"The tenant roster — every member sees who is on the team and with which role.","tags":["Partner"],"security":[{"jwt":["partner","global_admin"],"partner":[],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"post":{"operationId":"PartnerAddMember","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerMemberViewModel"}}}}},"description":"Adds a member by email — strictly below your own rank: admins add viewers, owners add\nadmins. An address with no BZZR account yet becomes a pending invite.\n\nUpsert: posting an existing member re-roles them, so this is also the role-change call\n(rank then applies to their current role too). The OWNER seat is not assignable here —\nit moves via `POST /admin/partners/{slug}/members/{membershipId}/transfer-owner`.","tags":["Partner"],"security":[{"jwt":["partner","global_admin"],"partner":[],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddPartnerMemberRequest"}}}}}},"/partner/{slug}/members/{membershipId}":{"delete":{"operationId":"PartnerRevokeMember","responses":{"204":{"description":"No content"}},"description":"Ends a membership or cancels a pending invite — addressed by ROW id (an invite has no uid\nyet). Same strictly-below-rank rule against the target's CURRENT role.","tags":["Partner"],"security":[{"jwt":["partner","global_admin"],"partner":[],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"membershipId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/coupons":{"get":{"operationId":"PartnerListCoupons","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_PartnerCouponViewModel_"}}}}},"tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"isActive","required":false,"schema":{"type":"boolean"}}]}},"/partner/{slug}/coupons/{couponId}":{"get":{"operationId":"PartnerGetCoupon","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCouponViewModel"}}}}},"tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/coupons/{couponId}/batches":{"post":{"operationId":"PartnerGenerateBatch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeBatchViewModel"}}}}},"description":"Starts an async batch run; poll the batch until `completed`, then export the CSV.","tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCompCodesRequest"}}}}}},"/partner/{slug}/coupons/{couponId}/batches/{batchId}":{"get":{"operationId":"PartnerGetBatch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeBatchViewModel"}}}}},"tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/coupons/{couponId}/batches/{batchId}/csv":{"get":{"operationId":"PartnerExportBatchCsv","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"CSV of the batch, one code per line — raw code strings, hence admin-gated.","tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/coupons/{couponId}/batches/{batchId}/revoke":{"post":{"operationId":"PartnerRevokeBatch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerBatchRevokeResult"}}}}},"description":"Kills every unredeemed code in the batch (e.g. a leaked CSV).","tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/coupons/{couponId}/codes":{"post":{"operationId":"PartnerMintSingleCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCompCodeViewModel"}}}}},"description":"Mints one code outside any batch.","tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSingleCompCodeRequest"}}}}},"get":{"operationId":"PartnerListCodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCodesListResponse"}}}}},"tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/CompCodeStatus"}},{"in":"query","name":"batchId","required":false,"schema":{"type":"string"}},{"description":"`batch` = code belongs to a generated batch; `single` = CS-rep single code (no batch).","in":"query","name":"source","required":false,"schema":{"type":"string","enum":["batch","single"]}},{"in":"query","name":"createdAtFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"createdAtTo","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"expiresAtFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"expiresAtTo","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"format":"int32","type":"integer","minimum":0}},{"description":"Page size, default 50. Capped at the same ceiling as the other identity-hydrating list endpoints\n(`GET /user/blacklist`): every row on the page is joined to a claim and an account, and a 70k-code\ncoupon makes an uncapped page an easy way to hang the admin UI. Use the CSV export when you need\nthe whole set rather than a page.","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":50}}]}},"/partner/{slug}/coupons/{couponId}/codes/lookup":{"post":{"operationId":"PartnerLookupCodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerCompCodeViewModel"},"type":"array"}}}}},"description":"Finds this coupon's codes by the exact string a fan quotes — no redeemer identity in the response.","tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCodeLookupRequest"}}}}}},"/partner/{slug}/coupons/{couponId}/codes/{codeId}/revoke":{"post":{"operationId":"PartnerRevokeCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerCompCodeViewModel"}}}}},"description":"Revokes one not-yet-redeemed code.","tags":["Partner/Codes"],"security":[{"jwt":["partner","global_admin"],"partner":["codes"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"codeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/channels":{"get":{"operationId":"PartnerListChannels","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerChannelViewModel"},"type":"array"}}}}},"description":"The tenant's channels (active or not) in display order; tabs are the next call.","tags":["Partner/Channels"],"security":[{"jwt":["partner","global_admin"],"partner":["channels"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/channels/{channelId}/feeds":{"get":{"operationId":"PartnerGetChannelFeeds","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PartnerChannelFeedViewModel_"}}}}},"description":"A page of one channel's tabs (default 5, cursor = a tab id, `totalCount` = tabs on the channel)\nwith sync health and what each is airing now. Stop when a page is shorter than `limit`.","tags":["Partner/Channels"],"security":[{"jwt":["partner","global_admin"],"partner":["channels"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":20}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/channels/feeds/{feedId}/programs":{"get":{"operationId":"PartnerGetChannelFeedPrograms","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ChannelProgramViewModel_"}}}}},"description":"The program guide on file for one of the tenant's feeds in guide order, past rows included, paged.","tags":["Partner/Channels"],"security":[{"jwt":["partner","global_admin"],"partner":["channels"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/live-sources":{"get":{"operationId":"PartnerListLiveSources","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerLiveSourceViewModel"},"type":"array"}}}}},"tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/broadcasts":{"get":{"operationId":"PartnerListBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PartnerScheduledBroadcastViewModel_"}}}}},"description":"The schedule for one of the partner's sources — upcoming and past games alike. This is\nwhere a `liveId` comes from before a game has stats (each row carries its `liveIds`);\nthe games table below only lists lives that already exist.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"liveSourceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/partner/{slug}/live-stats":{"get":{"operationId":"PartnerListLiveStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PartnerLiveStatsListItemViewModel_"}}}}},"description":"Games table for one of the partner's sources — lives with their passport, newest first.\n\n`from`/`to` are ISO datetimes matched against `liveStartedAt`, the same window\n`analytics/rollup` aggregates over, so a range and the tiles above it agree. Either bound\nalone is accepted. Passing a window sorts by `liveStartedAt` instead of creation, which\nalso drops lives that never aired — they have no start to fall inside a range.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"liveSourceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/LiveStatus"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/partner/{slug}/live-stats/{liveId}":{"get":{"operationId":"PartnerGetLiveStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLiveStatsViewModel"}}}}},"description":"The stored passport for one game. 404 if it hasn't been computed yet.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/live-stats/{liveId}/recompute":{"post":{"operationId":"PartnerRecomputeLiveStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerLiveStatsViewModel"}}}}},"description":"Refreshes this game's passport. A finalised game returns its stored passport unchanged —\nnothing partner-visible re-derives differently. Admin+, since a real recompute spends.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/analytics/rollup":{"get":{"operationId":"PartnerGetAnalyticsRollup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerAnalyticsRollupViewModel"}}}}},"description":"Season/date-range totals across every source of the partner — aggregated from the same\nper-game passports, so the rollup always agrees with the individual game pages.\n`from`/`to` are ISO datetimes matched against each game's `liveStartedAt`.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"from","required":true,"schema":{"type":"string"}},{"in":"query","name":"to","required":true,"schema":{"type":"string"}}]}},"/partner/{slug}/live-stats/{liveId}/timeseries":{"get":{"operationId":"PartnerGetLiveStatsTimeseries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveStatsTimeseriesViewModel"}}}}},"description":"The persisted 5-minute charting series for one game. 404 if it hasn't been built yet.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/replay-stats":{"get":{"operationId":"PartnerListReplayStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ReplayStatsPartnerListItemViewModel_"}}}}},"description":"Replays table for one of the partner's sources — ended games with their VOD\npassport, newest-ended first. `liveSourceId` is required, same as the games table.\n\nThe passport is Mux-Data-derived and covers instrumented clients only; read\n`availability` before any figure, since it separates \"nobody watched\" from\n\"nobody measured\".","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"liveSourceId","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/partner/{slug}/replay-stats/{liveId}":{"get":{"operationId":"PartnerGetReplayStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayStatsPartnerViewModel"}}}}},"description":"The VOD passport for one replay. 404 if it hasn't been computed yet.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/replay-stats/{liveId}/recompute":{"post":{"operationId":"PartnerRecomputeReplayStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayStatsPartnerViewModel"}}}}},"description":"Refresh one replay's passport now. Admin+ because it spends — a pass is ~17 Mux\nData calls against an account-wide budget shared with the background sweep.\n\nSafe to press repeatedly: past two real re-reads a minute per replay — and on a\nfrozen passport — the stored figures are returned rather than an error.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/partner/{slug}/replay-stats/{liveId}/timeseries":{"get":{"operationId":"PartnerGetReplayStatsTimeseries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayStatsTimeseriesViewModel"}}}}},"description":"The replay's daily decay curve (views + playing time per day). 404 if not built yet.","tags":["Partner/Analytics"],"security":[{"jwt":["partner","global_admin"],"partner":["analytics"],"feature":["partnerDashboard"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/watchHistory/continueWatching":{"get":{"operationId":"GetContinueWatching","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_WatchHistoryItemViewModel_"}}}}},"description":"Continue Watching (or listening) of one kind, `video` when omitted: the viewer's last unfinished full videos, podcast\nepisodes or sidecast episodes, newest first, at most 10, each with `watchProgress.resumeAtSeconds` to seek to on open.\nAlways empty for `hype`, which keeps no position. Not paged: `nextAfter` is always empty.","tags":["Watch history"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"kind","required":false,"schema":{"$ref":"#/components/schemas/WatchHistoryKind"}}]}},"/watchHistory":{"get":{"operationId":"GetHistory","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_WatchHistoryItemViewModel_"}}}}},"description":"The history of one kind, `video` when omitted, newest first. Pass `nextAfter` back as-is and stop when it is empty;\na page can come back shorter than `limit` when content stopped being listed since (unpublished,\ndeleted, a duplicate).","tags":["Watch history"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"kind","required":false,"schema":{"$ref":"#/components/schemas/WatchHistoryKind"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]},"delete":{"operationId":"ClearHistory","responses":{"204":{"description":"No content"}},"description":"Clears the history of one kind: `kind` is required, so a client never clears every kind by accident. 204.","tags":["Watch history"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"kind","required":true,"schema":{"$ref":"#/components/schemas/WatchHistoryKind"}}]}},"/watchHistory/{contentId}":{"delete":{"operationId":"RemoveFromHistory","responses":{"204":{"description":"No content"}},"description":"Forgets one video, hype or episode: it leaves the history and Continue Watching. 204, also when there was nothing.","tags":["Watch history"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"contentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/videos/uploadUrl/direct":{"post":{"operationId":"RequestVideoDirectUploadUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUploadUrlCreateResponse"}}}}},"tags":["Videos"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUploadUrlCreateRequest"}}}}}},"/videos/uploadUrl/bucket":{"post":{"operationId":"RequestVideoBucketUpload","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoBucketUploadCreateResponse"}}}}},"description":"Fallback upload path: uploads land in our GCS bucket (or a remote URL the user provides),\nthen the backend submits them to Mux as a pull-input. Used when the direct-to-Mux flow fails.","tags":["Videos"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoBucketUploadCreateRequest"}}}}}},"/videos/upload-url":{"post":{"operationId":"RequestCloudflareVideoUploadUrl","responses":{"200":{"description":""},"204":{"description":"No content"},"400":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}},"401":{"description":"","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["Videos"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[]}},"/videos/moreLike":{"get":{"operationId":"GetMoreVideosLikeVideo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"aggregations":{"properties":{},"additionalProperties":{},"type":"object"},"debugInformation":{"properties":{},"additionalProperties":{},"type":"object"},"totalRecords":{"type":"number","format":"double"},"offset":{"type":"number","format":"double"},"limit":{"type":"number","format":"double"},"records":{"items":{"properties":{"record":{"$ref":"#/components/schemas/VideoViewModel"},"highlightedProperties":{"properties":{},"additionalProperties":{"items":{"type":"string"},"type":"array"},"type":"object"}},"required":["record","highlightedProperties"],"type":"object"},"type":"array"}},"required":["aggregations","debugInformation","totalRecords","offset","limit","records"],"type":"object"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"videoId","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/videos/user/{userId}/v3":{"get":{"operationId":"GetUsersPublishedVideosV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_VideoEngagementViewModel_"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"lastVisibleDocumentId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"},"deprecated":true}]}},"/videos/pages":{"post":{"operationId":"AddVideoPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"description":"Deprecated: Use admin/video-pages instead","tags":["Videos"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageCreateRequest"}}}}},"get":{"operationId":"GetVideoPages","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_VideoPageViewModel_"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"pageFilter","required":false,"schema":{"$ref":"#/components/schemas/VideoPageFilter"}}]}},"/videos/pages/home":{"get":{"operationId":"GetHomeVideoPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/videos/pages/home/featuredPromo":{"get":{"operationId":"GetVideoPageFeaturedPromoComponents","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PageComponentWithItemsViewModel_ComponentItemVideoViewModel_"},"type":"array"}}}}},"description":"Returns all visible promo-slot components of the home page (any component\nwith a non-null featuredPromoType — FeaturedPromo and HeroFeaturedPromo)\nwith their items in a single response, ordered by the page's component\norder. `limit` applies per component; use\npages/v2/home/component/{componentId}/content with the returned `nextAfter`\nto fetch more items of one component.","tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}}]}},"/videos/pages/{pageId}/relatedVideos":{"get":{"operationId":"GetPageRelatedVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ComponentItemVideoViewModel_"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/videos/pages/home/component/{componentId}/content":{"get":{"operationId":"GetHomePageComponentContent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedComponentResponse"}}}}},"description":"Deprecated: use pages/v2/home/component/{componentId}/content instead","tags":["Videos"],"deprecated":true,"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/videos/pages/v2/home/component/{componentId}/content":{"get":{"operationId":"GetHomePageComponentContentV2","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ComponentItemViewModel_"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/videos/pages/home/component/featured/{itemType}/content":{"get":{"operationId":"GetHomePageFeaturedComponentContent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ComponentItemViewModel_"}}}}},"description":"Redundant logic. Will be removed","tags":["Videos"],"deprecated":true,"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"itemType","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/videos/{videoId}/v3":{"get":{"operationId":"GetVideoV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoDetailViewModel"}}}}},"tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/videos/{videoId}/stats":{"get":{"operationId":"GetVideoStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoStatistic"}}}}},"tags":["Videos"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"fromDate","required":true,"schema":{"type":"string"}},{"in":"query","name":"toDate","required":false,"schema":{"type":"string"}}]}},"/videos/{videoId}":{"patch":{"operationId":"UpdateVideo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoViewModel"}}}}},"tags":["Videos"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUpdateRequest"}}}}},"delete":{"operationId":"DeleteVideo","responses":{"204":{"description":"No content"}},"tags":["Videos"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/videos/{videoId}/restore":{"post":{"operationId":"RestoreVideo","responses":{"204":{"description":"No content"}},"tags":["Videos"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/videos":{"get":{"operationId":"SearchVideosByType","responses":{"200":{"description":"A list result response model with videos records.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_VideoViewModel_"}}}}},"description":"Search videos of a specific type.\n\nThis endpoint allows consumers to search for videos filtered by `videoType`.\nSupports full-text search, advanced filtering, sorting, pagination, and highlighting.","tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"The type of videos to search (e.g., \"full\", \"hype\").","in":"query","name":"videoType","required":true,"schema":{"$ref":"#/components/schemas/VideoType"}},{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Optional serialized filter string (JSON format) for advanced filtering.\nUse library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filter string.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma-separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"createdAt:desc","type":"string"}},{"description":"Maximum number of videos to return. Default is 100.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of records to skip for pagination.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/videos/{videoType}/by-tags":{"get":{"operationId":"SearchTypedVideosByTags","responses":{"200":{"description":"A dictionary where each key is a tag and the value is a list result response model with matching videos.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record_string.ListResultReponse_VideoViewModel__"}}}}},"description":"Search for videos of a specific type, grouped by tags.\n\nThis endpoint allows consumers to search for videos filtered by type and grouped by tags.\nAdditional filtering, search query, and sorting can be applied.","tags":["Videos"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"The type of videos to search (e.g., \"full\", \"hype\").","in":"path","name":"videoType","required":true,"schema":{"$ref":"#/components/schemas/VideoType"}},{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Optional serialized filter string (JSON format) for advanced filtering.\nUse library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filter string.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Maximum number of videos to return per tag group. Default is 10.","in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"description":"List of tags to group the videos by.","in":"query","name":"tags","required":true,"schema":{"type":"array","items":{"type":"string"}}}]}},"/videos/{videoType}/{tag}":{"get":{"operationId":"SearchTypedVideosByTeams","responses":{"200":{"description":"A dictionary where each key is a team profile name, and the value is a list result response model with matching videos.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record_string.ListResultReponse_VideoViewModel__"}}}}},"description":"Search videos of a specific type and tag, grouped by team profiles.\n\nThis endpoint allows consumers to retrieve videos filtered by `videoType` and `tag`.\nAdditional filtering, search query, and sorting can be applied.","tags":["Videos"],"deprecated":true,"security":[{"jwt":["consumer"]}],"parameters":[{"description":"The type of videos to search (e.g., \"full\", \"hype\").","in":"path","name":"videoType","required":true,"schema":{"$ref":"#/components/schemas/VideoType"}},{"description":"A tag that the videos must contain (e.g., \"baseball\", \"football\", \"ufc\", etc.).","in":"path","name":"tag","required":true,"schema":{"type":"string"}},{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Optional serialized filter string (JSON format) for advanced filtering.\nUse library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filter string.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Maximum number of videos to return per tag group. Default is 10.","in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}}]}},"/videos/{videoId}/transcription":{"post":{"operationId":"StartTranscription","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTranscription"}}}}},"description":"Kicks off transcription. Creates the doc (status=`rendering`) and requests an\naudio-only MUX rendition; the webhook chain runs the rest of the pipeline.\nOwner-scoped — only a `userProfilesIds` member of the video can call this.","tags":["VideoTranscription"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartTranscriptionRequest"}}}}},"get":{"operationId":"GetTranscription","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTranscription"}}}}},"tags":["VideoTranscription"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/videos/{videoId}/transcription/retry":{"post":{"operationId":"RetryTranscription","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoTranscription"}}}}},"description":"Fast-path retry for a `failed` transcription whose audio is still cached\nin GCS — re-runs only the transcription engine call, skipping MUX rendition\n+ download. Use when the failure was transient (rate limits, schema parse\nglitch, etc.). Returns 409 if the transcription isn't in `failed` state,\n400 if there's no cached audio (caller should use `POST /transcription`\nfor full re-run).","tags":["VideoTranscription"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/videos/{videoId}/transcription/clips":{"post":{"operationId":"ExtractClips","responses":{"202":{"description":"Clip extraction enqueued","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ClipExtractionRequestViewModel"}}}}},"description":"Enqueues the 4-pass clip extraction pipeline as a Cloud Task and returns 202 with\n`clipsExtractionStatus = \"pending\"`. Poll `GET /clips` for progress.\nIdempotent on `completed` / `failed`; rejected while `pending` / `running`.","tags":["VideoClips"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"get":{"operationId":"ListClips","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoClipsListViewModel"}}}}},"description":"Returns persisted clips plus the current extraction status, so a single endpoint\nsuffices for polling. Status is `null` when extraction has never been requested.","tags":["VideoClips"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/users/suggest":{"get":{"operationId":"GetSearchUserSuggestion","responses":{"200":{"description":"List of verified users.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_UserProfileReferenceViewModel_"}}}}},"description":"Get users suggestion queried by name and bzzrHandle.","tags":["Users"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"(string, required) Query to search by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"No field is filterable here yet: a filter naming one answers 400.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}}]}},"/user/me/verification":{"get":{"operationId":"GetMyVerificationState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationStateViewModel"}}}}},"description":"The method the verify screen should run for `platform` (no platform → `link`) and the caller's state.","tags":["SignUpVerification"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"platform","required":false,"schema":{"$ref":"#/components/schemas/VerificationPlatform"}}]}},"/user/me/verification/send":{"post":{"operationId":"SendMyVerificationCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendVerificationViewModel"}}}}},"description":"Emails a 6-digit code to the address on the ID token. Send `X-Recaptcha-Token` (grecaptcha action\n`verification_send`); the gate is a runtime toggle, see `config/recaptcha`.","tags":["SignUpVerification"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendVerificationRequest"}}}}}},"/user/me/verification/confirm":{"post":{"operationId":"ConfirmMyVerificationCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmVerificationViewModel"}}}}},"description":"Checks the code; on a match the Firebase account is marked verified and the client must force-refresh its ID token.","tags":["SignUpVerification"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmVerificationRequest"}}}}}},"/user/me/sports-interests":{"get":{"operationId":"GetMySportsInterests","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserSportsInterestViewModel"},"type":"array"}}}}},"tags":["SportsInterests"],"security":[{"jwt":["consumer"]}],"parameters":[]},"put":{"operationId":"SaveMySportsInterests","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserSportsInterestViewModel"},"type":"array"}}}}},"description":"Replaces the user's selected sports with `sportIds`: at least one, each from the catalog. Once the user has\nBleachers, the sports of their entities are saved instead, unless none is in a listed sport; the answer is what was\nsaved. `429` past 30 saves a minute; `503` when the user has Bleachers and the Bleachers catalog cannot be read.","tags":["SportsInterests"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveUserSportsInterestsRequest"}}}}}},"/user/me/onboarding-state":{"get":{"operationId":"GetMyOnboardingState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingStateViewModel"}}}}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/onboarding-state/path":{"put":{"operationId":"SetMyOnboardingPath","responses":{"204":{"description":"No content"}},"description":"The fork screen's choice, `fan` or `creator`; the latest call wins.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetOnboardingPathRequest"}}}}}},"/user/me/intros":{"get":{"operationId":"GetMyIntros","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IntrosViewModel"}}}}},"description":"Every known intro with its on/off, how it closed for the caller and the verdict `show`, the only field to act on.\nRead it once per app open, and again right before showing the Unfollow explainer, which can come long after. With\n`featureState.features.intros` false on `GET /user/me` every intro answers `show: false`, so the read can be skipped.\nDo not cache it across opens; on any error, `503 feature_state_unavailable` included, show nothing. The read itself\ncloses an intro that is on but not for the caller's account: it answers `outcome: skipped` from then on.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/intros/{introId}":{"put":{"operationId":"MarkMyIntroSeen","responses":{"204":{"description":"No content"}},"description":"Marks the intro seen: send `{}` as soon as it is on screen, and `{ \"dismissed\": true }` if the fan then closes it\nwith ×; after the 204 treat its `show` as false. After a sign-up it ran itself, the app also sends `{}` for\n`whatsNew`: an account created before the switch-on and finished on Core would otherwise get What's new. Safe to\nretry: a repeat changes nothing, a dismiss after a seen upgrades it, and nothing reopens an intro. An id this\nbackend does not know is a 422: drop the mark.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"introId","required":true,"schema":{"$ref":"#/components/schemas/IntroId"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarkIntroSeenRequest"}}}}}},"/user/me/interests":{"get":{"operationId":"GetMyInterests","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserInterestsViewModel"}}}}},"description":"The user's interests, from their Bleachers and sports, as GetStream `interest_weights`. Send `interestWeights` as\n`interest_weights` with each read of a feed Stream ranks by interest (`foryou`, `interestVideosRanked`), and do not\nset `overwrite_interest_weights`: Stream then adds them to what it learned from the user's reactions. Read it again\nbefore each feed read, since nothing else tells the app that the picks changed. Empty for a user with no picks.","tags":["UserInterests"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/creators/live-alerts":{"get":{"operationId":"GetMyCreatorLiveAlerts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_CreatorAlertViewModel_"}}}}},"description":"A page of the creators whose live alert is on, newest first; `records` empty while none is. Page with the answer's\n`nextAfter`, empty on the last page; a page can come back short of `limit` when a listed creator's account is gone.","tags":["Notifications"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":200}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/user/me/creators/followed":{"get":{"operationId":"GetMyFollowedCreators","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_FollowedCreatorViewModel_"}}}}},"description":"Settings › Notifications › Creator lives: a page of the verified creators the user follows, but for any a block stands\nbetween, newest follow first, each with whether its live alert is on (`isLiveAlertOn`); `records` empty while the user\nfollows none. Page with the answer's `nextAfter`, empty on the last page; a page can come back short of `limit`, or\nempty, while it goes on.","tags":["Notifications"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":200}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/user/me/creators/{creatorId}/live-alert":{"put":{"operationId":"TurnOnMyCreatorLiveAlert","responses":{"204":{"description":"No content"}},"description":"Turns the creator's live alert on: one push when their SideCast goes live. `400` for the user themself, an\nunverified creator or one the user does not follow, and with `code` `bell_limit` for a 201st creator; `404` for an\naccount that is gone or a creator who blocked the user; `403` for a creator the user blocked. One already on stays\nas it is.","tags":["Notifications"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"TurnOffMyCreatorLiveAlert","responses":{"204":{"description":"No content"}},"description":"Turns it off; one not on is not an error.","tags":["Notifications"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/request-claim":{"post":{"operationId":"RequestEntityClaim","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityClaimCreateRequest"}}}}},"delete":{"operationId":"DeleteRequestEntityClaim","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me":{"get":{"operationId":"GetUserPersonal","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileViewModel"}}}}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]},"patch":{"operationId":"UpdateUserPersonal","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdatePersonalRequest"}}}}},"delete":{"operationId":"DeleteUserAccount","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/preferences":{"patch":{"operationId":"UpdateUserPreferences","responses":{"204":{"description":"No content"}},"description":"Partial update of the caller's preferences; omitted sections are left untouched.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateUserPreferencesRequest"}}}}}},"/user/me/preferences/notifications/reset":{"post":{"operationId":"ResetNotificationPreferences","responses":{"204":{"description":"No content"}},"description":"Settings › Notifications › Reset all: the toggles go back to their defaults; the phone's permission stays.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/v2/me/images/upload-url":{"post":{"operationId":"RequestUserImageUploadUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageUploadUrlCreateResponse"}}}}},"description":"v2 image upload — step 1: mint a signed URL, then the client PUTs the raw bytes straight\nto GCS and passes the returned `storagePath` back on `PATCH /user/v2/me`. Keeps large\nimages out of the JSON body (no ~32MB request cap, no base64 inflation).","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImageUploadUrlCreateRequest"}}}}}},"/user/v2/me":{"patch":{"operationId":"UpdateUserPersonalV2","responses":{"204":{"description":"No content"}},"description":"v2 personal update — step 2: same as `PATCH /user/me`, but image fields carry a\n`storagePath` reference (from the upload-url step) instead of an inline base64 blob.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdatePersonalRequestV2"}}}}}},"/user/me/sign-up":{"delete":{"operationId":"DeleteUnfinishedSignUp","responses":{"204":{"description":"No content"}},"description":"Abandons an unfinished sign-up: the same hard delete as `DELETE /user/me`, refused with 409\n`sign_up_completed` once the account is no longer a draft (docs/onboarding-state.md), so a stale\nonboarding screen cannot delete an account finished on another device.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/tokens":{"delete":{"operationId":"RevokePersonalTokens","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/push-devices":{"post":{"operationId":"RegisterPushDevice","responses":{"204":{"description":"No content"}},"description":"Registers (or refreshes) the device's FCM token for the signed-in user: the app's, or a browser's (`web`).\nIdempotent — clients call it on every app start / token rotation.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterPushDeviceRequest"}}}}},"get":{"operationId":"GetPushDevices","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PushDeviceViewModel"},"type":"array"}}}}},"description":"The caller's registered devices with each one's notification permission, so the app can tell on a later\nopen whether this device was already asked.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/push-devices/{fcmToken}":{"delete":{"operationId":"UnregisterPushDevice","responses":{"204":{"description":"No content"}},"description":"Unregisters the token on sign-out. Idempotent — an unknown token, or one\nalready re-bound to another account, is a silent no-op.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"fcmToken","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/following/v3":{"get":{"operationId":"GetUserFollowingsV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_FollowingShortViewModel_"}}}}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/user/me/session":{"post":{"operationId":"SetAuthSession","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]},"delete":{"operationId":"ClearSession","responses":{"204":{"description":"No content"}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/me/session-token":{"get":{"operationId":"GetSessionToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/user/blacklist":{"post":{"operationId":"UpdateBlacklist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBlacklistRequest"}}}}},"get":{"operationId":"GetBlacklist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_BlockedUserViewModel_"}}}}},"description":"Lists users blocked by the current user, newest first.\nPages may contain fewer documents than requested (deleted users are\nskipped) — iterate until the response lastVisibleDocumentId is an empty\nstring, not until documents is empty, passing it as lastDocId. An unknown\nlastDocId (e.g. the cursor entry was unblocked meanwhile) falls back to\nthe first page — replace the list with such a response, don't append it.","tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"page size, defaults to 20","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/report":{"post":{"operationId":"CreateReport","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReportViewModel"}}}}},"tags":["User"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateReportRequest"}}}}}},"/tve/providers":{"get":{"operationId":"GetProviders","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TveUserProviderViewModel"},"type":"array"}}}}},"description":"Provider Discovery — the list of MVPDs for the provider-selection UI.\nEach item's `idp` feeds straight into `GET /tve/authn/loginUrl?idp=...`.\nCached server-side, featured first. `?provider=rsn` narrows the list to\nthe IDPs valid for that content provider (404 if Cloud ID doesn't know it).\nEach item carries `isLinked` / `isActiveLink` for the caller, so a picker\nthat marks the connected provider needs no second request.","tags":["TVE"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Picker `provider` filter — only the IDPs valid for this content provider (e.g. `rsn`).","in":"query","name":"provider","required":false,"schema":{"type":"string"}}]}},"/tve/link":{"get":{"operationId":"GetLink","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TveLinkViewModel"}}}}},"description":"Linked MVPDs and the active one (no upstream call).","tags":["TVE"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/tve/link/active":{"put":{"operationId":"SetActiveLink","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TveLinkViewModel"}}}}},"description":"Make one of the linked providers the default for AuthZ. 404 if not linked.","tags":["TVE"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CloudIdSetActiveLinkRequest"}}}}}},"/tve/authn/loginUrl":{"get":{"operationId":"GetLoginUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TveAuthUrlViewModel"}}}}},"description":"Build an MVPD login redirect URL (signed when a custom `returnUrl` is supplied).","tags":["TVE"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"idp","required":true,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"}},{"description":"Force credential entry (disable SSO). Only ever ADDS force: the server already\nforces whenever `idp` is not the currently linked provider.","in":"query","name":"force","required":false,"schema":{"type":"boolean"}},{"description":"Where the public callback redirects the browser afterwards: a web app origin or the mobile scheme.","in":"query","name":"returnTo","required":true,"schema":{"type":"string"}},{"description":"The IDP Picker `provider` the client listed operators by (`GET /tve/providers?provider=rsn`). When\nit names a channel we carry, the redirect back reports the operator's verdict on it as\n`permitted=true|false`; absent when the operator could not be asked, or it is no channel of ours.","in":"query","name":"provider","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"}}]}},"/tve/authn/logoutUrl":{"get":{"operationId":"GetLogoutUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TveAuthUrlViewModel"}}}}},"description":"Build an MVPD logout redirect URL and drop that link (`idp`, default: the active one).\nThe browser comes back to `returnTo?status=logged_out` through the logout catcher.","tags":["TVE"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Provider to log out; defaults to the active link.","in":"query","name":"idp","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"}},{"description":"Where the logout callback redirects the browser afterwards: a web app origin or the mobile scheme.","in":"query","name":"returnTo","required":true,"schema":{"type":"string"}}]}},"/tve/authz":{"get":{"operationId":"AuthorizeSingle","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TveAuthzSingleViewModel"}}}}},"description":"Single-entitlement authorization check — DIAGNOSTIC, not a client contract.\n\nDeprecated on arrival: real access is decided inside the playback grant,\nwhich reads the channel from `LiveSource.tveConfig.resourceName` and caches\nthe verdict, so a client calling this would bypass the cache and put an\noperator round-trip on the play button. Kept as the only way to see a raw\noperator verdict with every field, against any channel.","tags":["TVE"],"deprecated":true,"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Check a specific linked provider instead of the active one.","in":"query","name":"idp","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"}},{"description":"Authorization Bridge channel to ask about — the `service` segment of\n`/authz/affiliates/{idp}/services/{service}`. Testing only: playback reads\nthis from `LiveSource.tveConfig.resourceName`, never from the client.\nOmitted falls back to the app-wide `CLOUD_ID_SERVICE`, which is an AuthN\nidentifier and is NOT a registered channel at every operator.","in":"query","name":"resource","required":false,"schema":{"type":"string","pattern":"^[A-Za-z0-9_.-]{1,64}$"}},{"in":"query","name":"assetId","required":false,"schema":{"type":"string"}},{"in":"query","name":"assetNamespace","required":false,"schema":{"type":"string"}},{"in":"query","name":"assetTitle","required":false,"schema":{"type":"string"}},{"in":"query","name":"assetRating","required":false,"schema":{"type":"string"}},{"in":"query","name":"assetRatingType","required":false,"schema":{"type":"string"}}]}},"/topics":{"get":{"operationId":"GetTopics","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_TrendingTopicViewModel_"}}}}},"description":"Discover's Topics row for the fan: the topics about a team in their Bleachers first, then the ones about a league\nin them, then the platform's top topics, each group the highest score first; `whyShown` says which group a topic\nis in. A fan with no Bleachers gets the platform's top topics alone. A topic is here while it is a confirmed\nstory with enough recent independent voices (two in the last 36 hours, unless the scoring settings say otherwise),\nso a page may hold fewer than three topics, or none. `lastDocId` is the `lastVisibleDocumentId` of the page before.","tags":["Topics"],"security":[{"jwt":["consumer"],"feature":["discoverTopics"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":5,"format":"int32","type":"integer","minimum":1,"maximum":20}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/topics/{topicId}":{"get":{"operationId":"GetTopic","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TrendingTopicViewModel"}}}}},"description":"One topic, for its page. 404 unless it is a confirmed story, so a topic the content team took down is gone at\nonce; a topic that has left the row still answers.","tags":["Topics"],"security":[{"jwt":["consumer"],"feature":["discoverTopics"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/topics/{topicId}/videos":{"get":{"operationId":"GetTopicVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedPageViewModel"}}}}},"description":"The full videos about the topic, landscape only, for the Videos block of its page: GetStream's activities read as\nthe fan, in the server's order, paged and cached exactly as the topic's feed is. A topic's `videosCount` says\nwhether there is any. 404 unless the topic is a confirmed story; 400 for a cursor that cannot be read.","tags":["Topics"],"security":[{"jwt":["consumer"],"feature":["discoverTopics"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/topics/{topicId}/feed":{"get":{"operationId":"GetTopicFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedPageViewModel"}}}}},"description":"The topic's feed: its posts and the Hypes about it as GetStream's activities read as the fan, the shape the Home\ntimeline answers with, in the server's order (the newest first, the items of one creator spread apart). `next` is\nan opaque cursor: send it back as it came; \"\" once the feed has ended. A request without it is a refresh, read\nagain from the top, though one within 5 seconds of a refresh gets that refresh's first page again; while a fan\nscrolls, likes and counts are as of that read. A page can come short, or empty, with a `next`: a GetStream outage\nanswers what the page already has and a `next` that tries again. 404 unless the topic is a confirmed story; 400\nfor a cursor that cannot be read.","tags":["Topics"],"security":[{"jwt":["consumer"],"feature":["discoverTopics"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/subscriptions/me":{"get":{"operationId":"GetUserSubscriptions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_SubscriptionViewModel_"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"states","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriptionState"}}}]}},"/subscriptions/{subscriptionId}/cancel":{"post":{"operationId":"CancelSubscription","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"subscriptionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/{subscriptionId}/revoke-cancellation":{"post":{"operationId":"RevokeCancellation","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"subscriptionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/subscribe":{"post":{"operationId":"CreateSubscription","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubscriptionResponse"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSubscriptionRequest"}}}}}},"/subscriptions/free":{"post":{"operationId":"CreateFreeSubscription","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFreeSubscriptionResponse"}}}}},"description":"Subscribes the caller to a zero-cost product. No payment method, no tax, nothing to confirm —\nthe response carries the granted subscription id directly (unlike `POST subscribe`, which hands\nback a client secret). Idempotent: re-calling returns the existing subscription with\n`alreadySubscribed`.","tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFreeSubscriptionRequest"}}}}}},"/subscriptions/countries":{"get":{"operationId":"GetCountries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/StripeCountryViewModel"},"type":"array"}}}}},"description":"Countries Stripe can process payments from; cached server-side.","tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[]}},"/subscriptions/payment-methods":{"get":{"operationId":"GetPaymentMethods","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PaymentMethodViewModel"},"type":"array"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[]}},"/subscriptions/{subscriptionId}/payment-methods":{"get":{"operationId":"GetSubscriptionPaymentMethods","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriptionPaymentMethodsResponse"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"subscriptionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/{subscriptionId}/payment-method":{"post":{"operationId":"UpdateSubscriptionPaymentMethod","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubscriptionPaymentMethodResponse"}}}}},"description":"Repoints a monthly subscription onto a saved card. On a `past_due` subscription that card (the\nsame one again counts) is also charged for the open invoice at once — `payment` says how that\nwent; access comes back through the Stripe webhook, so re-read the subscription after a `paid`,\nor after completing a `requiresAction` challenge with the returned client secret. A decline\nanswers `declined`, a 3DS challenge `requiresAction`, anything else that fails after the card is\nsaved `processing` — never an error. Past due only: 409\n`subscription_ended` when Stripe has already ended it, 429 `rate_limited` after a burst.","tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"subscriptionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSubscriptionPaymentMethodRequest"}}}}}},"/subscriptions/payment-methods/{paymentMethodId}":{"patch":{"operationId":"UpdatePaymentMethod","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaymentMethodViewModel"}}}}},"description":"Edits a saved card: billing address, nickname, expiration date (month + year, not in the\npast), cardholder name, and optionally makes it the customer default.","tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"paymentMethodId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePaymentMethodRequest"}}}}},"delete":{"operationId":"DeletePaymentMethod","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeletePaymentMethodResponse"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"paymentMethodId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/payment-methods/{paymentMethodId}/reassign-subscriptions":{"post":{"operationId":"ReassignSubscriptionsPaymentMethod","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReassignSubscriptionsResponse"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"paymentMethodId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReassignSubscriptionsRequest"}}}}}},"/subscriptions/payment-methods/{paymentMethodId}/default":{"post":{"operationId":"SetDefaultPaymentMethod","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"paymentMethodId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/intent":{"post":{"operationId":"CreateSetupIntent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetupIntentResponse"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[]}},"/subscriptions/{userId}/regions":{"get":{"operationId":"GetAllowedRegionsList","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllowedListViewModel"}}}}},"description":"`userId` is the CREATOR being read, not the caller — both halves carry a per-viewer flag.","tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/tax/calculate":{"post":{"operationId":"CalculateTax","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateTaxResponse"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalculateTaxRequest"}}}}}},"/subscriptions/products/{creatorId}":{"get":{"operationId":"GetAvailableProducts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ProductExpandedViewModel"},"type":"array"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/subscriptions/me/billing-history":{"get":{"operationId":"GetBillingHistory","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_BillingHistoryEntryViewModel_"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}}]}},"/subscriptions/me/{subscriptionId}":{"get":{"operationId":"GetUserSubscriptionEvents","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_SubscriptionEventViewModel_"}}}}},"tags":["Subscriptions"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[{"in":"path","name":"subscriptionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}}]}},"/studio/videos/v2":{"get":{"operationId":"GetUsersStudioVideosV2","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_WithContentStats_StudioVideoEngagementViewModel__"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"type","required":true,"schema":{}},{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/StudioState"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"default":true,"type":"boolean"}}]},"delete":{"operationId":"BulkVideosDeleteV2","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/videos/v2/{videoId}":{"get":{"operationId":"GetStudioVideoById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithContentStats_StudioVideoEngagementViewModel_"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateStudioVideo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioVideoViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioVideoUpdateRequest"}}}}}},"/studio/videos/v2/uploadUrl/direct":{"post":{"operationId":"RequestStudioDirectUploadUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoUploadUrlCreateResponse"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioVideoUploadUrlCreateRequest"}}}}}},"/studio/videos/v2/publish":{"post":{"operationId":"BulkVideosPublishV2","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/videos/v2/unpublish":{"post":{"operationId":"BulkVideosUnpublishV2","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/videos/v2/restore":{"post":{"operationId":"BulkVideosRestoreV2","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/posts":{"get":{"operationId":"GetStudioPosts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_WithContentStats_UserPostEngagementViewModel__"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/StudioState"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]},"post":{"operationId":"CreateStudioPost","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostEngagementViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioPostCreateRequest"}}}}}},"/studio/posts/{postId}":{"get":{"operationId":"GetStudioPostById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithContentStats_UserPostEngagementViewModel_"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateStudioPost","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostEngagementViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StudioPostUpdateRequest"}}}}},"delete":{"operationId":"DeleteStudioPost","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/videos":{"get":{"operationId":"GetUsersStudioVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/VideoViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/VideoState"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"default":true,"type":"boolean"}}]},"delete":{"operationId":"BulkVideosDelete","responses":{"204":{"description":"No content"}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/videos/publish":{"post":{"operationId":"BulkVideosPublish","responses":{"204":{"description":"No content"}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/videos/unpublish":{"post":{"operationId":"BulkVideosUnpublish","responses":{"204":{"description":"No content"}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/videos/restore":{"post":{"operationId":"BulkVideosRestore","responses":{"204":{"description":"No content"}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/playlists":{"get":{"operationId":"GetUsersPlaylists","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/PlaylistViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"type":"string","enum":["private","public"]}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/PlaylistGivenStudioState"}}]},"post":{"operationId":"CreatePlaylist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistCreateRequest"}}}}},"delete":{"operationId":"BulkPlaylistsDelete","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/playlists/hype":{"post":{"operationId":"CreateHypePlaylist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"description":"Creates an MRSS hype feed. Same payload as a regular playlist (MRSS config required); the feed kind\nis set to hype server-side. Honors `mrss.isCrosspostEnabled` (default true) like a regular feed.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistCreateRequest"}}}}}},"/studio/playlists/post":{"post":{"operationId":"CreatePostPlaylist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"description":"Creates an MRSS post feed: each new feed item becomes a text post of the creator.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistCreateRequest"}}}}}},"/studio/playlists/publish":{"post":{"operationId":"BulkPlaylistsPublish","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/playlists/unpublish":{"post":{"operationId":"BulkPlaylistsUnpublish","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/playlists/feeds":{"get":{"operationId":"GetUserMrssFeeds","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/PlaylistViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"description":"The creator's MRSS connections of every kind; `feedType` tells them apart. Hype and post feeds are absent from `GET playlists`.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/playlists/feeds/{playlistId}":{"delete":{"operationId":"DeleteUserMrssFeed","responses":{"204":{"description":"No content"}},"description":"Disconnects a hype or post feed: its sync stops, the content it imported stays. A video feed is deleted as a playlist.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/playlists/{playlistId}":{"get":{"operationId":"GetPlaylistById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdatePlaylist","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistUpdateRequest"}}}}},"delete":{"operationId":"DeletePlaylist","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/playlists/{playlistId}/sync":{"patch":{"operationId":"ManuallySyncMrssPlaylist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/playlists/{playlistId}/reorder":{"post":{"operationId":"ReorderPlaylist","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"nextPlaylistId":{"type":"string"},"previousPlaylistId":{"type":"string"}},"type":"object"}}}}}},"/studio/playlists/{playlistId}/videos":{"get":{"operationId":"GetPlaylistVideos","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PlaylistVideoReferenceViewModel_"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/VideoState"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"BulkVideosAddToPlaylist","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/studio/playlists/{playlistId}/videos/{videoId}/reorder":{"post":{"operationId":"ReorderPlaylistVideo","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"nextVideoId":{"type":"string"},"previousVideoId":{"type":"string"}},"type":"object"}}}}}},"/studio/sidecast/shows/{showId}":{"get":{"operationId":"StudioGetSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"StudioUpdateSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowUpdateRequest"}}}}},"delete":{"operationId":"StudioDeleteSidecastShow","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows":{"get":{"operationId":"StudioGetSidecastShows","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastShowViewModel_"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]},"delete":{"operationId":"StudioBulkDeleteShows","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"ids","required":true,"schema":{"type":"array","items":{"type":"string"}}}]},"post":{"operationId":"StudioCreateSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowCreateRequest"}}}}}},"/studio/sidecast/shows/{showId}/reorder":{"post":{"operationId":"StudioReorderSidecastShow","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEntityReorderRequest"}}}}}},"/studio/sidecast/shows/{showId}/{participantRole}/{participantId}/pin":{"post":{"operationId":"StudioPinShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"StudioUnpinShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/{participantRole}/{participantId}/mute":{"post":{"operationId":"StudioMuteShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/{participantRole}/{participantId}/unmute":{"post":{"operationId":"StudioUnmuteShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}":{"get":{"operationId":"StudioGetSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WithContentStats_SidecastEpisodeSearchEngagementViewModel_"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"StudioUpdateSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeUpdateRequest"}}}}},"delete":{"operationId":"StudioDeleteSidecastShowEpisode","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes":{"get":{"operationId":"StudioGetSidecastShowEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_WithContentStats_SidecastEpisodeSearchEngagementViewModel__"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"default":true,"type":"boolean"}}]},"delete":{"operationId":"StudioBulkDeleteShowEpisodes","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"ids","required":true,"schema":{"type":"array","items":{"type":"string"}}}]},"post":{"operationId":"StudioCreateSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeCreateRequest"}}}}}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/reorder":{"post":{"operationId":"StudioReorderSidecastShowEpisode","responses":{"204":{"description":"No content"}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEntityReorderRequest"}}}}}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/broadcastConnection":{"get":{"operationId":"GetEpisodeBroadcastConnectionDetails","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastConnectionDetailsViewModel"}}}}},"description":"Get broadcast connection details (RTMPS/SRT) for an external broadcast episode.\nOnly available to show owner and producers.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/broadcastConnection":{"get":{"operationId":"GetShowBroadcastConnectionDetails","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastConnectionDetailsViewModel"}}}}},"description":"Get broadcast connection details (RTMPS/SRT) of the show-level persistent stream.\nAvailable to show owner, hosts and producers.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"post":{"operationId":"ProvisionShowBroadcastConnection","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastConnectionDetailsViewModel"}}}}},"description":"Provision the show-level persistent stream (idempotent — returns the existing connection\ndetails when already provisioned). Only available to the show owner.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"DeleteShowBroadcastConnection","responses":{"204":{"description":"No content"}},"description":"Remove the show-level persistent stream. Rejected while an episode is live.\nOnly available to the show owner.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/broadcastConnection/resetKey":{"post":{"operationId":"ResetShowBroadcastConnectionKey","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastConnectionDetailsViewModel"}}}}},"description":"Rotate the stream key of the show-level persistent stream. The previous key stops working\nimmediately — encoders must be updated with the returned details. Only available to the show owner.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/stream":{"patch":{"operationId":"StudioProcessSidecastEpisodeStatus","responses":{"204":{"description":"No content"}},"description":"Initiate stream process according to new episode status.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":true,"schema":{}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/pin":{"post":{"operationId":"StudioPinEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"StudioUnpinEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/mute":{"post":{"operationId":"StudioMuteEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/unmute":{"post":{"operationId":"StudioUnmuteEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/cameraOff":{"post":{"operationId":"StudioSetEpisodeParticipantCameraOff","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/cameraOn":{"post":{"operationId":"StudioSetEpisodeParticipantCameraOn","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/status/approve":{"post":{"operationId":"StudioApproveEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/lives":{"get":{"operationId":"GetStudioLives","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveViewModel_"}}}}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator","global_admin"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/LiveStatus"}},{"in":"query","name":"orderDirection","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"]}}]},"post":{"operationId":"CreateLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator","global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiveRequest"}}}}}},"/studio/lives/{liveId}":{"patch":{"operationId":"UpdateLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator","global_admin"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLiveRequest"}}}}}},"/studio/lives/{liveId}/end":{"post":{"operationId":"EndLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator","global_admin"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole}/session/{sessionId}":{"patch":{"operationId":"StudioUpdateEpisodeParticipantSession","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated. Moved to sidecast controller\nUse PATCH sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole} instead","tags":["Studio"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole}":{"patch":{"operationId":"StudioUpdateEpisodeParticipantStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated. Moved to sidecast controller\nUse PATCH sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole} instead","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastParticipantSelfUpdateRequest"}}}}}},"/sports-interests":{"get":{"operationId":"GetSportsInterestsCatalog","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsInterestsListViewModel"}}}}},"description":"The sports-interests catalog for the picker, the sports that have teams:\nthe admin-curated popular list in full plus the rest paginated. `search` filters the non-popular\nsection by slug / display name (case-insensitive).","tags":["SportsInterests"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"offset","required":false,"schema":{"format":"int32","type":"integer","minimum":0}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}}]}},"/sports":{"get":{"operationId":"GetAllSports","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportEntity"},"type":"array"},"examples":{"Example 1":{"value":[{"id":"4rNCVpqxG2YCkjJQXWvS","name":"NBA","subcollectionName":null,"parentPath":"basketball","createdAt":"2025-01-30T10:20:37.391Z","path":"basketball/nba","collectionName":"leagues","parentCollectionName":"sports","breadcrumbs":["Basketball","NBA"],"tags":["Basketball","NBA"],"assignedEntityType":"team","isFeatured":false,"espnUid":"s:40~l:46"}]}}}}}},"tags":["Sports"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/sports/{path}":{"get":{"operationId":"GetSportEntities","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportEntity"},"type":"array"},"examples":{"Example 1":{"value":[{"id":"4rNCVpqxG2YCkjJQXWvS","name":"NBA","subcollectionName":null,"parentPath":"basketball","createdAt":"2025-01-30T10:20:37.391Z","path":"basketball/nba","collectionName":"leagues","parentCollectionName":"sports","breadcrumbs":["Basketball","NBA"],"tags":["Basketball","NBA"],"assignedEntityType":"team","isFeatured":false,"espnUid":"s:40~l:46"}]}}}}}},"description":"Returns a list of entities under specific path.","tags":["Sports"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Path without subcollection name: 'football', or 'basketball/nba'","in":"path","name":"path","required":true,"schema":{"type":"string"}}]}},"/sidecast/shows/{showId}":{"get":{"operationId":"GetSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowUpdateRequest"}}}}},"delete":{"operationId":"DeleteSidecastShow","responses":{"204":{"description":"No content"}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows":{"get":{"operationId":"GetSidecastShows","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastShowViewModel_"}}}}},"tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"participateByMe","required":false,"schema":{"default":false,"type":"boolean"},"deprecated":true}]},"post":{"operationId":"CreateSidecastShow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowCreateRequest"}}}}}},"/sidecast/shows/{showId}/reorder":{"post":{"operationId":"ReorderSidecastShow","responses":{"204":{"description":"No content"}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEntityReorderRequest"}}}}}},"/sidecast/shows/{showId}/{participantRole}/{participantId}/pin":{"post":{"operationId":"PinShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"UnpinShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/{participantRole}/{participantId}/mute":{"post":{"operationId":"MuteShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/{participantRole}/{participantId}/unmute":{"post":{"operationId":"UnmuteShowParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastShowViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/episodes/{episodeId}":{"get":{"operationId":"GetSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeDetailViewModel"}}}}},"tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeUpdateRequest"}}}}},"delete":{"operationId":"DeleteSidecastShowEpisode","responses":{"204":{"description":"No content"}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/episodes/{episodeId}/viewer-count-token":{"get":{"operationId":"GetSidecastEpisodeViewerCountToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewerCountTokenViewModel"}}}}},"tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/episodes":{"get":{"operationId":"GetSidecastShowEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastEpisodeSearchEngagementViewModel_"}}}}},"tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"participateByMe","required":false,"schema":{"default":false,"type":"boolean"},"deprecated":true},{"in":"query","name":"includeViewsCount","required":false,"schema":{"default":true,"type":"boolean"}}]},"post":{"operationId":"CreateSidecastShowEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeCreateRequest"}}}}}},"/sidecast/shows/{showId}/episodes/{episodeId}/reorder":{"post":{"operationId":"ReorderSidecastShowEpisode","responses":{"204":{"description":"No content"}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEntityReorderRequest"}}}}}},"/sidecast/shows/{showId}/episodes/{episodeId}/stream":{"patch":{"operationId":"ProcessSidecastEpisodeStatus","responses":{"204":{"description":"No content"}},"description":"Deprecated: Use studio/sidecast instead\n\nInitiate stream process according to new episode status.","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":true,"schema":{}}]}},"/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/pin":{"post":{"operationId":"PinEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"UnpinEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/mute":{"post":{"operationId":"MuteEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/shows/{showId}/episodes/{episodeId}/{participantRole}/{participantId}/unmute":{"post":{"operationId":"UnmuteEpisodeParticipant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated: Use studio/sidecast instead","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"participantId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/episodes":{"get":{"operationId":"GetAllEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SidecastEpisodeSearchViewModel_"}}}}},"tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"includeViewsCount","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"prioritizeLive","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/sidecast/episodes/by-tags":{"get":{"operationId":"SearchSidecastEpisodesByTags","responses":{"200":{"description":"A dictionary where each key is a tag and the value is a list result response model with matching sidecast episodes.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record_string.ListResultReponse_SidecastEpisodeSearchViewModel__"}}}}},"description":"Search for sidecast episodes grouped by tags.\n\nThis endpoint allows consumers to search for sidecast episodes filtered by type and grouped by tags.\nAdditional filtering, search query, and sorting can be applied.","tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Optional serialized filter string (JSON format) for advanced filtering.\nUse library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filter string.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Maximum number of sidecast episodes to return per tag group. Default is 10.","in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"description":"List of tags to group sidecast episodes by.","in":"query","name":"tags","required":true,"schema":{"type":"array","items":{"type":"string"}}}]}},"/sidecast/episodes/tags":{"get":{"operationId":"SearchSidecastEpisodesUniqueTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SidecastUniqueTagViewModel"},"type":"array"}}}}},"description":"Get episodes unique tags ordered by tag mentions count.","tags":["Sidecast"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"Query to search tags by. Example: `ball` to find `football` and `baseball`","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Optional serialized filter string (JSON format) for advanced filtering.\nUse library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filter string.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Maximum number of tags to return. Default is 10.","in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}}]}},"/sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole}/session/{sessionId}":{"patch":{"operationId":"UpdateEpisodeParticipantSession","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"description":"Deprecated. Logic was included into this controller\nPATCH sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole}","tags":["Sidecast"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}},{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/sidecast/participants/me/shows/{showId}/episodes/{episodeId}/{participantRole}":{"patch":{"operationId":"UpdateEpisodeParticipantStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeViewModel"}}}}},"tags":["Sidecast"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"participantRole","required":true,"schema":{"$ref":"#/components/schemas/SidecastParticipantRole"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastParticipantSelfUpdateRequest"}}}}}},"/share-links":{"post":{"operationId":"CreateShareLink","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ShareLinkCreatedViewModel"}}}}},"description":"Makes a link. `bleacherSetup`: one of the user's Bleachers as it is now, its base and added entities, never its\nname; `404` when `sourceId` is not one of the user's Bleachers. `groupInvite`: a new invite to one of the user's\ngroups; `404` (`group_not_found`) when the user is not a member. Each kind has its own flag besides `bleachers`\n(`bleachersShares`, `bleachersChat`): `403` (`feature_disabled`) when it is off.","tags":["ShareLinks"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateShareLinkRequest"}}}}}},"/search/suggest":{"get":{"operationId":"GetSearchSuggestions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SearchSuggestionViewModel_"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":5,"format":"int32","type":"integer","minimum":1,"maximum":100}}]}},"/search/suggest/users":{"get":{"operationId":"GetSuggestedUsers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UserProfileReferenceViewModel"},"type":"array"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":5,"format":"double","type":"number"}}]}},"/search/suggest/claimable":{"get":{"operationId":"GetSearchClaimableSuggestions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SearchSuggestionViewModel_"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"type":"string"}}]}},"/search/suggest/tags":{"get":{"operationId":"GetSearchSuggestedTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"records":{}},"required":["records"],"type":"object"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}}]}},"/search/suggest/{entityType}":{"get":{"operationId":"GetSearchSuggestionsByEntityType","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SearchSuggestionViewModel_"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"path","name":"entityType","required":true,"schema":{}},{"in":"query","name":"query","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":5,"format":"int32","type":"integer","minimum":1,"maximum":100}}]}},"/search":{"get":{"operationId":"ConsumerSearch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupedSearchResultViewModel"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"applyIsFollowed","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/search/tags":{"get":{"operationId":"GetSearchTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_TagViewModel_"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"lastId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/search/tags/featured":{"get":{"operationId":"GetSearchFeaturedTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_TagViewModel_"}}}}},"description":"Deprecated alias of GET /podcasts/featuredTags: the same featured tags in the older DocumentsList envelope.","tags":["Search"],"deprecated":true,"security":[{"jwt":["global_admin","consumer"]}],"parameters":[]}},"/search/profiles":{"get":{"operationId":"ConsumerSearchProfiles","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"applyIsFollowed","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/search/{entityType}":{"get":{"operationId":"ConsumerSearchByEntityType","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AllEntitiesListResultReponse_SearchResultViewModel_"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"path","name":"entityType","required":true,"schema":{}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"applyIsFollowed","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/search/{entityType}/entities":{"get":{"operationId":"ConsumerSearchTypedEntitiesByTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record_string.AllEntitiesListResultReponse_SearchResultViewModel__"}}}}},"tags":["Search"],"security":[{"jwt":["global_admin","consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"tags","required":true,"schema":{"type":"array","items":{"type":"string"}}},{"in":"path","name":"entityType","required":true,"schema":{}}]}},"/scheduledBroadcasts/schedule":{"get":{"operationId":"GetSchedule","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduleViewModel"}}}}},"description":"One page of the Schedule tab: curated team sections in the admin-configured order, each\ncarrying the head of its own broadcasts.\n\nPaginates over TEAMS: pass the top-level `lastVisibleDocumentId` back as `lastDocId` and\nkeep going while it is non-empty — a page can hold fewer sections than `limit`, even none.\n\nFor more broadcasts of ONE team use that SECTION's cursor against\n`GET /scheduledBroadcasts?state=…&ownerId=…&lastDocId=…`.\n\nA team absent from the admin shelf has no section at all, whatever it has scheduled.","tags":["ScheduledBroadcasts"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"description":"Which state fills each team's section. Defaults to `upcoming`.","in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/BroadcastState"}},{"description":"Teams per page — much tighter than a broadcast list's, because each team on the page\ncosts its own query.","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":25}},{"description":"Team cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/scheduledBroadcasts":{"get":{"operationId":"GetBroadcastsByState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UpcomingBroadcastViewModel_"}}}}},"description":"Broadcasts in one consumer state, cursor-paginated.\n\n- `upcoming` — not started yet (scheduled / provisioning), soonest first.\n- `live` — on air now (live / ending), soonest-started first.\n- `ended` — replays still inside their team's retention window, **freshest first**.\n  Ordering differs from the other two by design: an archive is read by recency, and\n  Firestore permits one sort key.\n\nStatuses that are neither watchable nor upcoming (`cancelled`, `skipped`,\n`provision_failed`) map to no state and never appear here.\n\n`ownerId` scopes to a team (a team can own several live sources, so this is the filter\nthe Schedule sections use); `liveSourceId` scopes to one broadcast channel.","tags":["ScheduledBroadcasts"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"query","name":"state","required":true,"schema":{"$ref":"#/components/schemas/BroadcastState"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"description":"Cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Scope to one team. A team may own several live sources.","in":"query","name":"ownerId","required":false,"schema":{"type":"string"}},{"description":"Scope to one broadcast channel.","in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}}]}},"/scheduledBroadcasts/upcoming":{"get":{"operationId":"GetUpcomingBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UpcomingBroadcastViewModel_"}}}}},"description":"Returns upcoming broadcasts (scheduled, provisioning, or live).\nSorted by broadcast start time ascending (soonest first).\nEach broadcast includes a resolved thumbnail (own or fallback from LiveSource).","tags":["ScheduledBroadcasts"],"deprecated":true,"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}}]}},"/scheduledBroadcasts/availableBroadcasts":{"get":{"operationId":"GetAvailableBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UpcomingBroadcastViewModel_"}}}}},"description":"Upcoming/live broadcasts (cursor-paginated by start, soonest first) PLUS\nrecently-ended broadcasts still inside the 48h replay window (status=ended,\nfreshest first), appended as a finite, unpaginated block on the FIRST page\nonly. The cursor advances through upcoming ONLY. The FE buckets items by\n`status` (ended == replay) and plays a replay via its `liveId`\n(GET /playback/lives/{liveId}).","tags":["ScheduledBroadcasts"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"ownerId","required":false,"schema":{"type":"string"}}]}},"/scheduledBroadcasts/replays":{"get":{"operationId":"GetReplayBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UpcomingBroadcastViewModel_"}}}}},"description":"Replays only: ended broadcasts whose recording is still inside the 48h\nreplay window, most recently ended first. Cursor-paginated: pass the\nprevious page's `lastVisibleDocumentId` as `lastDocId`. The FE plays a\nreplay via its `liveId` (`GET /playback/lives/{liveId}`).","tags":["ScheduledBroadcasts"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"ownerId","required":false,"schema":{"type":"string"}}]}},"/scheduledBroadcasts/banner":{"get":{"operationId":"GetBanner","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastBannerViewModel"}}}}},"description":"Landing banner payload: the pass of the soonest upcoming broadcast's owner (else the default creator's)\n+ that broadcast (or null) + a banner image (may be null). 404 `not_on_sale` while neither has a paid pass\non sale (between seasons) — hide the banner.","tags":["ScheduledBroadcasts"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[]}},"/scheduledBroadcasts/{broadcastId}":{"get":{"operationId":"GetBroadcastById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpcomingBroadcastEngagementViewModel"}}}}},"tags":["ScheduledBroadcasts"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/profiles/{profileId}":{"get":{"operationId":"GetProfile","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/PersonViewModel"},{"$ref":"#/components/schemas/OrganizationViewModel"},{"$ref":"#/components/schemas/SchoolViewModel"}]}}}}},"tags":["Profiles"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"profileId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/podcasts":{"get":{"operationId":"GetPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/mock":{"get":{"operationId":"GetPodcastsMock","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"tags":["Podcasts"],"deprecated":true,"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/tagged":{"get":{"operationId":"GetTaggedPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Get podcasts on a given host name.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/episodes/tagged":{"get":{"operationId":"GetTaggedPodcastEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastEpisodeViewModel_"}}}}},"description":"Get podcasts on a given host name.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/moreLike":{"get":{"operationId":"GetSimilarPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Get podcasts similar to the given one (content-based, via ElasticSearch more_like_this).","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"podcastId","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/youMightLike":{"get":{"operationId":"GetPodcastsYouMightLike","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"\"You might like\" — interest-based podcast recommendations for the current user (the fan's\npicks as words, then the GetStream interest profile → weighted search), with already-followed\npodcasts excluded.\nReturns an empty list when the user has no interest signal yet — deliberately does NOT fall\nback to the popular list, since the page already renders that rail separately.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/popular":{"get":{"operationId":"GetPopularPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Popular podcasts — the admin-curated list (`admin/podcasts/popular`), in curated order.\nShared list — followed podcasts are included. Empty until admins add podcasts.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/ranked":{"get":{"operationId":"GetRankedPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Ranked podcasts, ordered by BZZR engagement (net follows + episode likes + comments).\nShared list — followed podcasts are included.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/episodes/popular":{"get":{"operationId":"GetPopularPodcastEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastEpisodePopularViewModel_"}}}}},"description":"Popular podcast episodes from the shared GetStream popular-selector feed, with like/comment\ncounts. Fully shared/user-agnostic — no per-user `isLiked` on this rail (it would cost a\nGetStream call per request, defeating the shared cache).","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/creators":{"get":{"operationId":"GetPodcastCreators","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastCreatorViewModel_"}}}}},"description":"Podcast creators — users who claimed podcasts on the interest-ranked + engagement-ranked lists, in\nrank order. Followed creators are included and flagged via `isFollowed`.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/featuredTags":{"get":{"operationId":"GetFeaturedTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TagViewModel"},"type":"array"}}}}},"description":"The podcast tab bar: every admin-curated featured tag, in its manual position order. Each row\ncarries `label` (display text, null when the client formats `name`) and `additionalNames`;\n`name` is the key to pass to GET podcasts/byTag. Not paged. Declared above `{podcastId}` so\nthe literal segment is not swallowed by it.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/podcasts/tagRails":{"get":{"operationId":"GetFeaturedTagRails","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FeaturedTagRailViewModel"},"type":"array"}}}}},"description":"Discover rails for the featured tags an admin switched a rail on for, in the tags' position\norder, each with its first `limit` podcasts (largest Podscan audience estimate first) from one\nsearch. A tag matching no podcast is left out. \"See all\" is GET podcasts/byTag with the\nrail's `tag.name`. Declared above `{podcastId}` so the literal segment is not swallowed by it.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer","minimum":1,"maximum":20}}]}},"/podcasts/byTag":{"get":{"operationId":"GetPodcastsByTag","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Podcasts carrying a tag, largest Podscan audience estimate first: the grid behind a podcast\ntab. A featured tag's `name` expands to its whole value set (name + additionalNames); any\nother tag matches itself. Case-insensitive. Declared above `{podcastId}` so the literal\nsegment is not swallowed.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"tag","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"int32","type":"integer","minimum":0,"maximum":9900}}]}},"/podcasts/user/{userId}":{"get":{"operationId":"GetUserPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Podcast shows attributable to a user — the show they claimed, plus shows hosted by the profile\nthey claimed. Backs the Podcasts tab on the profile page; `ContentCounts.podcasts` counts the\nsame set. Declared above `{podcastId}` so the literal `user` segment is not swallowed by it.","tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/podcasts/{podcastId}":{"get":{"operationId":"GetPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastFollowableViewModel"}}}}},"tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/podcasts/{podcastId}/episodes":{"get":{"operationId":"GetPodcastEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PodcastEpisodeViewModel_"}}}}},"tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"lastId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"isSearch","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"includeListens","required":false,"schema":{"type":"boolean"}}]}},"/podcasts/{podcastId}/episodes/engaged":{"get":{"operationId":"GetPodcastEpisodesWithEngagement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PodcastEpisodeEngagementViewModel_"}}}}},"tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"lastId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"includeListens","required":false,"schema":{"type":"boolean"}}]}},"/podcasts/{podcastId}/episodes/{episodeId}":{"get":{"operationId":"GetPodcastEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeDetailViewModel"}}}}},"tags":["Podcasts"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/playlists/user/{userId}":{"get":{"operationId":"GetProfileUsersPlaylists","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/PlaylistViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Playlists"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"collectionOrderBy","required":false,"schema":{"type":"string"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/playlists/{playlistId}":{"get":{"operationId":"GetPublishedPlaylist","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"tags":["Playlists"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/playlists/{playlistId}/videos/v3":{"get":{"operationId":"GetPublishedPlaylistVideosV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_PlaylistVideoReferenceEngagementViewModel_"}}}}},"tags":["Playlists"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"lastVisibleDocumentId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"},"deprecated":true}]}},"/playback/lives/{liveId}":{"get":{"operationId":"GetLivePlaybackGrant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePlaybackGrantViewModel"}}}}},"tags":["Playback"],"security":[{"jwt":["consumer","global_admin","live_source_editor"],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Send `true` only from a player that plays an ended live's S3-copy replay correctly: a\n`cloudfront-hls` with `isLive: false` as a recording, from `startOffsetSeconds`, with\n`ssaiAdsParams` merged into the session-init POST. Exactly once, as the literal `true`\n(anything else is a 422). Absent ⇒ the replay is always the Mux one.","in":"query","name":"acceptsReplayCopy","required":false,"schema":{"type":"boolean"}}]}},"/playback/lives/{liveId}/whep":{"get":{"operationId":"GetLiveWhepGrant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePlaybackGrantViewModel"}}}}},"tags":["Playback"],"security":[{"jwt":["consumer","global_admin","live_source_editor"],"feature":["lives","stadiumAudio"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/playback/channels/{feedId}":{"get":{"operationId":"GetChannelFeedPlaybackGrant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelFeedPlaybackGrantViewModel"}}}}},"description":"Playback grant for one tab of a linear channel: the partner's HLS master as an `external-hls`\ndelivery, behind the channel's geo policy and the tab's entitlements (feed override, else\nchannel defaults). Nothing is recorded, so there is no replay window and no `playbackEpoch`.\nGeo-token handling is the same as for lives: opportunistic, never a 401.","tags":["Playback"],"security":[{"jwt":["consumer","global_admin"],"feature":["channels"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/playback/lives/{liveId}/audio-telemetry":{"post":{"operationId":"RecordAudioTelemetry","responses":{"202":{"description":"Accepted"}},"description":"Stadium-audio playback telemetry from a sampled listener.\n\nThe only source of real latency for this delivery — `AWS/IVSRealTime` publishes\nno latency metric, so playout delay, RTT, rebuffering and audio level are\nmeasurable only inside the player. Feeds `LiveStats.audio.clientQoe`.\n\nSend when the grant's `deliveries[].telemetry.enabled` is true: once on\nsubscribe (`start`), every `intervalSeconds` (`heartbeat`), and once at the end\n(`final`, or `error` with a code). Membership in the sample is decided\nserver-side and re-checked here, so an unsampled client is silently ignored.\n\nALWAYS 202, even for a dropped beacon: a rate-limited, unsampled or\nunparseable report must not become an error the client retries mid-broadcast.\nDeliberately no feature gate — the flag governs whether audio is OFFERED, and a\nlistener already mid-session when it flips must still be able to close out\ntheir session's numbers.","tags":["Playback"],"security":[{"jwt":["consumer","global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudioTelemetryRequest"}}}}}},"/partner-consent/owed":{"get":{"operationId":"GetOwedConsents","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/OwedPartnerConsentViewModel"},"type":"array"}}}}},"description":"Purchases the caller holds but never consented for — empty for almost everyone. A non-empty\nresponse is the cue to block playback of those until `accept` succeeds.","tags":["Partner Consent"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[]}},"/partner-consent/accept":{"post":{"operationId":"AcceptConsent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"description":"Accepts one outstanding statement, keyed on the subscription it belongs to.\n`consent_not_required` when nothing is owed for it; 409 when `version` no longer matches —\nrefetch `owed` and show the current text.","tags":["Partner Consent"],"security":[{"jwt":["consumer"],"feature":["subscriptions"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AcceptPartnerConsentRequest"}}}}}},"/news/tagged":{"get":{"operationId":"GetTaggedArticles","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_NewsArticleViewModel_"}}}}},"description":"Get news on a content match by query value.","tags":["News"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/news/{id}":{"get":{"operationId":"GetNewsArticle","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsArticleViewModel"}}}}},"tags":["News"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/lives/liveNow":{"get":{"operationId":"GetLiveNow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_CurrentLiveItemViewModel_"}}}}},"description":"Combined \"what's live right now\" feed: currently-live scheduled broadcasts\nand currently-live sidecast episodes in one cursor-paginated list. Live\nbroadcasts are prioritized — they all come before any sidecast — and each\ntype is ordered by start time descending within its own block. Each item is\ndiscriminated by `type` (`broadcast` | `sidecast`); the cursor rides in\n`lastVisibleDocumentId` — echo it back as `lastDocId` for the next page\n(empty string means no more pages).\n\nDeclared before `GET /{liveId}` so the static `liveNow` path isn't captured\nas a `liveId`.","tags":["Lives"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/lives":{"get":{"operationId":"GetLives","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveViewModel_"}}}}},"tags":["Lives"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"]}}]}},"/lives/{liveId}":{"get":{"operationId":"GetLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"tags":["Lives"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/lives/{liveId}/token":{"get":{"operationId":"GetLivePlaybackToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePlaybackTokenViewModel"}}}}},"tags":["Lives"],"deprecated":true,"security":[{"jwt":["consumer"],"geo-token":[],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/lives/{liveId}/viewer-count-token":{"get":{"operationId":"GetViewerCountToken","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewerCountTokenViewModel"}}}}},"tags":["Lives"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/lives/{liveId}/stadium-audio/whep":{"get":{"operationId":"GetStadiumAudioWhep","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioWhepViewModel"}}}}},"tags":["Lives"],"deprecated":true,"security":[{"jwt":["consumer"],"feature":["lives","stadiumAudio"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/playback/lives/{liveId}/progress":{"put":{"operationId":"UpdateLiveWatchProgress","responses":{"204":{"description":"No content"}},"description":"Saves the frame on screen, as a wall-clock (`programDateTime`). About once a minute while a\nrecording plays, plus `final: true` on pause / stop / leaving; closer writes are coalesced. 204.","tags":["Playback"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateWatchProgressRequest"}}}}},"get":{"operationId":"GetLiveWatchProgress","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/WatchProgressLookupViewModel"}}}}},"description":"The saved position, if any — read when a recording opens (next to the grant) to offer\n\"Resume / Start over\": seek to the first content segment whose `EXT-X-PROGRAM-DATE-TIME` is at or\nafter `programDateTime`. `completed` ⇒ start from the beginning.","tags":["Playback"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/playback/lives/{liveId}/state":{"get":{"operationId":"GetLivePlaybackState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePlaybackStateViewModel"}}}}},"description":"Whether the live is still on, ended, and — once ended — whether its replay exists and until when\nthe live URLs keep serving (docs/live-end-handoff.md §5). Poll after `pollAfterSeconds`; `0` ⇒ stop.\nSame roles as the grant.","tags":["Playback"],"security":[{"jwt":["consumer","global_admin","live_source_editor"],"feature":["lives"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/studio/link-preview":{"get":{"operationId":"GetLinkPreview","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LinkPreviewResultViewModel"}}}},"400":{"description":"Not an absolute http(s) URL"},"422":{"description":"Missing, empty or over-2048-character url"},"429":{"description":"Over the per-creator limit: 30 requests per fixed 60s window, cache hits included"}},"description":"OG-card preview of one absolute http(s) URL (percent-encode it in the query — a raw `&`\ncuts it short; prepend https:// to schemeless links yourselves). Send the post's FIRST\ndetected link — the card stored at posting time is built from that one. `preview: null`\nmeans nothing to show: render the bare domain card.","tags":["Studio"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"url","required":true,"schema":{"type":"string","minLength":1,"maxLength":2048}}]}},"/leagues":{"get":{"operationId":"GetLeagues","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/LeagueShortViewModel"},"type":"array"}}}}},"description":"Browse all's leagues: every league the catalog offers that has an offered team, each on its own (college is two:\nfootball and men's basketball), in the order admins set, unordered ones last by name, each with its logo. The same\nleagues as `GET /bleachers/leagues`. `403` while `bleachers` is off for the fan.","tags":["Leagues"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[]}},"/leagues/{leagueId}/feed":{"get":{"operationId":"GetLeagueFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedPageViewModel"}}}}},"description":"A page of a league's feed: posts, videos, Hypes and episodes about the league and about each of its teams, newest\nfirst, the same for every fan, as GetStream reads them for the fan (with the fan's `own_reactions`), without\n`current_feed`. Left out: promotional accounts' items, the posts the fan answered \"Not relevant to me\",\nand reposts of either, so a page can hold fewer rows than `limit`. `leagueId` is a league's `id` from\n`GET /leagues`. `next` is an opaque cursor: send it back as it came; \"\" once the feed has ended. A GetStream outage\nanswers the empty page with `next` \"\". `limit` is kept within 10 and 50. `404` for an id that is no offered league;\n`403` while `bleachers` is off for the fan; `400` for a cursor GetStream refuses.","tags":["Leagues"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"leagueId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/hypes":{"get":{"operationId":"GetDiscoverHypes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FeedActivityViewModel"},"type":"array"}}}}},"description":"Up to five Hypes for the signed-in fan: their sports and active marked big news first, then all others.\nCards are GetStream's activities as the fan, without `current_feed`. An empty array hides the row.\nBoth groups preserve feed order. Raising follows the shared interests model; otherwise keep today's ranking.\n`403` while `discoverHypes` or its `bleachers` parent is off. This read supplies no player queue.","tags":["Hypes"],"security":[{"jwt":["consumer"],"feature":["discoverHypes"]}],"parameters":[]}},"/location/verify":{"post":{"operationId":"Verify","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoVerifyViewModel"}}}}},"description":"Decrypts an encrypted geolocation response from the GeoComply Core SDK and,\non pass, mints a short-lived geoToken JWT the client sends back as\n`X-Geo-Token` on geo-gated endpoints (e.g. `GET /lives/token`).\n\nDeliberately NOT gated on `FeatureKey.GeoComply`: with the kill-switch off\nwe short-circuit to an open token instead of 403'ing, so clients that gate\ntheir own player on `pass` keep working even when GeoComply is unreachable\n— which is the scenario the switch exists for. `body.geoResponse` is\nignored on that path (nothing to decrypt against).","tags":["Location"],"security":[{"jwt":["consumer"],"feature":["lives"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyGeoResponseRequest"}}}}}},"/location/native":{"post":{"operationId":"Native","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoVerifyPassViewModel"}}}}},"description":"Cheap between-anchors renewal on the stadium-audio path. The client sends\nits device-native GPS (`lat`/`lng`) plus its current geo-token in the\n`X-Geo-Token` header; we re-issue a `native-gps` token carrying the\nGeoComply anchor forward, so a continuous listener doesn't hit GeoComply on\nevery lease — only once per re-anchor window.\n\n403 `native_geo_disabled` when the `geoNativeGps` source is off (the client\nshould fall back to `/location/verify`). 403 `geo_anchor_expired` when the\nlast GeoComply anchor is too old (client must re-run GeoComply). The anchor\ncheck is skipped entirely when `geocomply` is off — native then runs solo.","tags":["Location"],"security":[{"jwt":["consumer"],"feature":["lives","stadiumAudio"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NativeGeoRequest"}}}}}},"/feed/v3/user/token":{"get":{"operationId":"GetUserTokenV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/feed/v3/user/{userId}":{"get":{"operationId":"GetUserProfileWithFeedsInfoV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFollowedProfileViewModel"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"isSearch","required":false,"schema":{"type":"boolean"}}]}},"/feed/v3/user/{userId}/expanded":{"get":{"operationId":"GetUserProfileWithFeedsInfoV3Expanded","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileWithFeedAndPaidStateViewModel"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/user/{id}/followers":{"get":{"operationId":"GetUserFollowersV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_FollowingShortViewModel_"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/feed/v3/user/{userId}/followings":{"get":{"operationId":"GetUserFollowingsByIdV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_FollowingShortViewModel_"}}}}},"description":"Twin of `followers` but for the other direction — the users/topics/podcasts that {id}\nfollows (matches `followingsCount` on the profile). Same cursor pagination (`limit` + `next`).","tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/feed/v3/user/{userId}/activities":{"get":{"operationId":"GetUserActivitiesV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StreamResponse_GetOrCreateFeedResponse_"},{"properties":{"next":{"type":"string"},"activities":{"items":{},"type":"array"}},"required":["next","activities"],"type":"object"}]}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}},{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/follow/{entityType}/{entityId}":{"post":{"operationId":"FollowV3","responses":{"204":{"description":"No content"}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"entityType","required":true,"schema":{"$ref":"#/components/schemas/FollowableEntityTypeEnum"}},{"in":"path","name":"entityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/unfollow/{entityType}/{entityId}":{"post":{"operationId":"UnfollowV3","responses":{"204":{"description":"No content"}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"entityType","required":true,"schema":{"$ref":"#/components/schemas/FollowableEntityTypeEnum"}},{"in":"path","name":"entityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/timeline":{"get":{"operationId":"GetUserTimelineActivitiesV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"anyOf":[{"$ref":"#/components/schemas/StreamResponse_GetOrCreateFeedResponse_"},{"properties":{"next":{"type":"string"},"activities":{"items":{},"type":"array"}},"required":["next","activities"],"type":"object"}]}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/feed/v3/bleachers/{bleachersId}":{"get":{"operationId":"GetBleacherFeedV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleacherFeedPageViewModel"}}}}},"description":"A page of one of the signed-in fan's Bleachers, read as the fan: GetStream's activities without `current_feed`, an\nitem that reaches the Bleachers through two of its followed feeds once. `next` is an opaque cursor: send it back as\nit came for the next page, which keeps the order the first page set. A request without it is a refresh, read again\nfrom the top, though one within 10 seconds of a refresh gets that refresh's first page again. A page can hold fewer\nrows than `limit`, or none, with a `next` that goes on; `next` is \"\" once the feed has ended. A GetStream outage\nanswers the rows the page already has with a `next` that tries again, or, with no row to give, the empty page with\n`next` \"\". `limit` is kept within 10 and 50. `404` when the fan has no such Bleachers; `403` while\n`bleachers` is off for the fan; `400` for a cursor that cannot be read.\n\nA scroll opens with the posts new to the fan, then the \"You're caught up\" row, then older posts, a team's Bleachers\nserving its related posts before them. `caughtUp` is set\non the one page of the scroll that holds that row, absent on every other: draw the row before the activity at index\n`caughtUp.position`, or after the last one when `position` equals the length of `activities`, an empty page\nincluded. It comes at most once a scroll, at `position` 0 of the first page when nothing is new, and a scroll\nwhose ranking values could not be built has none; a refresh starts a new scroll. After it a team's Bleachers\nserves its related posts, league-wide and then sport-wide, with the fan's own like and poll vote on them, and then\nits older posts; any other Bleachers, its older posts alone. The answer's shape does not change, and nothing marks\na related post. The row is never an item of `activities`.\n`caughtUp.nextBleachers` is the first of the fan's Bleachers after this one, in the fan's order, that has something\nnew for them, as `{ id, name }` for the row's button; null means no button, as in the fan's last Bleachers.\n\nEvery activity's author says whether the fan follows them, `user.custom.isFollowed`, and so does the author of the\nactivity a repost reposts, `parent.user.custom.isFollowed`: show Follow where it is false. The fan as an author\ncarries none. It is the fan's own follow of a user or, on an episode, of its podcast, as it was when the page's\nbatch was read: a Follow or an Unfollow of a creator, or of a podcast or a profile a creator claimed, reaches the\nnext page; of a podcast nobody claimed, a later batch or refresh.","tags":["Feed/V3"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/feed/v3/bleachers/{bleachersId}/new-posts":{"get":{"operationId":"GetBleacherNewPostsV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleacherNewPostsViewModel"}}}}},"description":"Whether one of the signed-in fan's Bleachers has new posts since the app last loaded the top of its feed, for the\nRefresh pill. `since` is that moment, in epoch milliseconds by the app's own clock. The check reads no feed, only\nwhen the newest item of each feed the Bleachers follows was created, so it is cheap, and how often to ask is the\napp's choice. `hasNewPosts` is true when one of them was created in `since`'s second or later, so the pill can show\nonce for an item of that same second that the app already has. Its limits: the times are the same for every fan, so\nit can answer true for a post this fan's feed leaves out (a hidden post, a creator the fan removed, a blocked\nauthor); a new post can take up to a minute to count; and a post that joins a team's feed only when it is tagged\ncounts by when it was created, so one created shortly before the app's read can be missed. `404` when the fan has\nno such Bleachers, also while its feeds are not made yet, though one just deleted answers from the feeds it\nfollowed for up to ten minutes; `403` while `bleachers` is off for the fan; `422` for a `since` that is missing or\nnot a positive integer.","tags":["Feed/V3"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"since","required":true,"schema":{"format":"int64","type":"integer","minimum":1}}]}},"/feed/v3/post":{"post":{"operationId":"PublishPostV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostViewModel"}}}}},"tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostCreateRequest"}}}}}},"/feed/v3/post/{postId}":{"patch":{"operationId":"UpdatePostV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostViewModel"}}}}},"tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserPostUpdateRequest"}}}}},"delete":{"operationId":"DeletePostV3","responses":{"204":{"description":"No content"}},"tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["creator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/posts/processing":{"get":{"operationId":"GetProcessingPostsV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_UserPost_"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["creator"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/activities/{activityId}/comment":{"post":{"operationId":"AddCommentV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CommentResponse"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCommentCreateRequest"}}}}}},"/feed/v3/activities/seen/{feed}":{"get":{"operationId":"GetSeenActivitiesDataV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record_string.SeenActivityRanking_"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"feed","required":true,"schema":{"$ref":"#/components/schemas/SUPPORTED_FEEDS"}}]},"post":{"operationId":"BatchMarkActivitiesAsSeenV3","responses":{"204":{"description":"No content"}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"feed","required":true,"schema":{"$ref":"#/components/schemas/SUPPORTED_FEEDS"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"items":{"type":"string"},"type":"array"}}}}}},"/feed/v3/activities/seen/{feed}/{activityId}":{"post":{"operationId":"MarkActivityAsSeenV3","responses":{"204":{"description":"No content"}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"feed","required":true,"schema":{"$ref":"#/components/schemas/SUPPORTED_FEEDS"}},{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/activities/comments/{commentId}":{"patch":{"operationId":"UpdateCommentV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"reaction_groups":{"$ref":"#/components/schemas/Record_string.FeedsReactionGroupResponse_"},"moderation":{"$ref":"#/components/schemas/ModerationV2Response"},"custom":{"$ref":"#/components/schemas/Record_string.any_"},"latest_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array"},"attachments":{"items":{"$ref":"#/components/schemas/Attachment"},"type":"array"},"text":{"type":"string"},"parent_id":{"type":"string"},"edited_at":{"type":"string","format":"date-time"},"deleted_at":{"type":"string","format":"date-time"},"controversy_score":{"type":"number","format":"double"},"user":{"$ref":"#/components/schemas/UserResponse"},"own_reactions":{"items":{"$ref":"#/components/schemas/FeedsReactionResponse"},"type":"array"},"mentioned_users":{"items":{"$ref":"#/components/schemas/UserResponse"},"type":"array"},"upvote_count":{"type":"number","format":"double"},"updated_at":{"type":"string","format":"date-time"},"score":{"type":"number","format":"double"},"reply_count":{"type":"number","format":"double"},"reaction_count":{"type":"number","format":"double"},"object_type":{"type":"string"},"object_id":{"type":"string"},"id":{"type":"string"},"downvote_count":{"type":"number","format":"double"},"created_at":{"type":"string","format":"date-time"},"confidence_score":{"type":"number","format":"double"},"bookmark_count":{"type":"number","format":"double"},"status":{"type":"string"}},"required":["user","own_reactions","mentioned_users","upvote_count","updated_at","score","reply_count","reaction_count","object_type","object_id","id","downvote_count","created_at","confidence_score","bookmark_count","status"],"type":"object"}}}}},"description":"Updates a comment reaction for the given comment ID.\n\nThis endpoint allows an authenticated user to update an existing comment reaction\n(such as editing the content or updating associated images).","tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"- The ID of the comment to update.","in":"path","name":"commentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"description":"- The updated comment content and new images.\nImages could me set to null to delete from comment.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserCommentUpdateRequest","description":"- The updated comment content and new images.\nImages could me set to null to delete from comment."}}}}},"delete":{"operationId":"DeleteCommentV3","responses":{"204":{"description":"No content"}},"description":"Deletes a comment reaction by its ID.\n\nThis endpoint allows an authenticated user to delete one of their comment reactions.","tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"- The ID of the comment to delete.","in":"path","name":"commentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/feed/v3/activities/{activityId}/vote":{"post":{"operationId":"AddVoteV3","responses":{"204":{"description":"No content"}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivityPollVoteCreateRequestV3"}}}}}},"/feed/v3/activities/{activityId}/reactions/{reactionType}":{"get":{"operationId":"GetActivityLastReactedUsers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FollowingShortViewModel"},"type":"array"}}}}},"tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"reactionType","required":true,"schema":{"$ref":"#/components/schemas/ActivityReactionType"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer","minimum":1,"maximum":100}}]}},"/feed/v3/activities/{activityId}/not-interested":{"put":{"operationId":"AnswerNotInterestedV3","responses":{"204":{"description":"No content"}},"description":"\"Not interested in this post\", from a post's ··· menu. `notRelevantToMe` hides the post for the fan in every feed,\nand its creator and its sports rank lower in all of the fan's Bleachers; `notRelevantToBleacher` hides it in the one\nBleachers `bleachersId` names, and changes nothing else. Send `bleachersId` only for an answer given in a Bleachers\ntab: with `notRelevantToMe` it is kept only when it is one of the fan's, and the answer goes through either way.\nEach answer is kept by itself, a `notRelevantToBleacher` for each Bleachers, and the same one sent again replaces\nitself, so a retry is safe. `204` once answered; `400` for `notRelevantToBleacher` without a well-formed\n`bleachersId`; `403` while `bleachers` is off for the fan; `404` for a post that does not exist, or for\n`notRelevantToBleacher` with a `bleachersId` that is not one of the fan's; `422` for a missing or unknown `answer`;\n`429` past 30 Bleachers writes a minute, every Bleachers edit counted.","tags":["Feed/V3"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NotInterestedRequest"}}}}},"delete":{"operationId":"UndoNotInterestedV3","responses":{"204":{"description":"No content"}},"description":"Undo: takes back the answer it names, and the post shows again where that answer hid it. Send the `answer` that\nwas given, and for `notRelevantToBleacher` the `bleachersId` it was given for; with `notRelevantToMe` a\n`bleachersId` is not read. Send it only once the answer's own request has answered: the two are not ordered here,\nso an Undo that reaches the server before its answer finds nothing to take back, and the answer then hides the\npost. A post with no such answer, or one that no longer exists, is not an error. `204` once undone; `400` for\n`notRelevantToBleacher` without a well-formed `bleachersId`; `403` while `bleachers` is off for the fan; `422` for\na missing or unknown `answer`; `429` past 30 Bleachers writes a minute, every Bleachers edit counted.","tags":["Feed/V3"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"activityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"answer","required":true,"schema":{"$ref":"#/components/schemas/NotInterestedAnswer"}},{"in":"query","name":"bleachersId","required":false,"schema":{"type":"string"}}]}},"/feed/v3/topics/{topicId}":{"get":{"operationId":"GetTopicV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicViewModel"}}}}},"description":"Get topic by id","tags":["Feed/V3"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"isSearch","required":false,"schema":{"type":"boolean"}}]}},"/feed/v3/feedGroups":{"post":{"operationId":"AddFeedGroupV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedGroupResponse"}}}}},"description":"Types of the selectors:\n `current_feed`: Shows activities from the current feed. This is the selector used when reading a user feed;\n\n `following`: Shows activities from feeds the current feed follows. This is the selector used when reading a timeline feed;\n\n `popular`: Selects popular activities from public and visible feeds.\n     Popularity is computed by the following formula: activity.popularity = reactions + comments * 2 + bookmarks * 3 + shares * 3;\n\n `proximity`: Shows activities based on geographic proximity;\n\n `interest`: Selects activities that match the logged-in user’s interests.\n     Interests are automatically calculated for each user by Stream API based on which activities the user interacts with.\n     (https://getstream.io/activity-feeds/docs/node/activity_processors/)\n\n `query`: Selects activities using the provided filter query;\n\nTypes of the processors:\n `text_interest_tags`: Analyzes text content to extract topics;\n `image_interest_tags`: Analyzes image attachments to extract topics;\n `og_metadata_enrichment`: Analyzes Open Graph (OG) metadata of links in activity text to extract topic","tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFeedGroupRequest"}}}}},"get":{"operationId":"GetAllFeedGroupsV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Record_string.FeedGroupResponse_"}}}}},"tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/feed/v3/feedGroups/{feedGroupId}":{"patch":{"operationId":"UpdateFeedGroupV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeedGroupResponse"}}}}},"tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedGroupId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeedGroupRequest"}}}}}},"/feed/v3/feedGroups/{feedGroupId}/activities":{"get":{"operationId":"GetFeedGroupActivitiesV3","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StreamResponse_GetOrCreateFeedResponse_"}}}}},"tags":["Feed/V3"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedGroupId","required":true,"schema":{"$ref":"#/components/schemas/FeedGroup"}},{"in":"query","name":"userId","required":true,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"next","required":false,"schema":{"default":"","type":"string"}}]}},"/feature-state":{"get":{"operationId":"GetFeatureState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureStateViewModel"}}}}},"description":"Resolved EFFECTIVE on/off for every known feature for the signed-in user —\nthe global flags overlaid with any per-user overrides. The client uses this\nto show/hide feature UI proactively; the backend still hard-gates the\nfeature endpoints (a disabled feature answers 403 `feature_disabled`). Every\nknown key is always present — default-OFF: a feature is off unless enabled\nglobally or for this user. Also embedded in `GET /user/me` for bootstrap, so\nmost clients need not call this separately (poll it when a flag may have\nflipped mid-session).","tags":["FeatureState"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/entitlements/me":{"get":{"operationId":"GetMyActiveEntitlements","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/EntitlementViewModel"},"type":"array"}}}}},"tags":["Entitlements"],"security":[{"jwt":["consumer"]}],"parameters":[]}},"/auth/device/{userCode}":{"get":{"operationId":"GetDeviceApprovalInfo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DeviceApprovalInfoViewModel"}}}}},"description":"Resolve the code the viewer typed into device info for the approval screen.","tags":["Device Auth"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"userCode","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/auth/device/approve":{"post":{"operationId":"ApproveDevice","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveDeviceResponse"}}}}},"description":"Approve the code — the TV's next poll then returns an authorized token.","tags":["Device Auth"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveDeviceRequest"}}}}}},"/comp-codes/redeem":{"post":{"operationId":"Redeem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemCompCodeResponse"}}}}},"description":"Redeems a comp code for the current account (single-use, rate-limited).","tags":["Comp Codes"],"security":[{"jwt":["consumer"],"feature":["compCodes"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemCompCodeRequest"}}}}}},"/comp-codes/redeem-by-claim":{"post":{"operationId":"RedeemByClaim","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemCompCodeResponse"}}}}},"description":"Redeems by claim id (single-use) — the system-issued code is resolved server-side, never sent to the client.","tags":["Comp Codes"],"security":[{"jwt":["consumer"],"feature":["compCodes"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RedeemByClaimRequest"}}}}}},"/chat/lives/{liveId}/moderators":{"post":{"operationId":"PromoteLiveChatModerator","responses":{"204":{"description":"No content"}},"description":"Promotes a user to channel_moderator in the live's chat. Only the live\nowner (or a global admin) can call this. The target user does not need\nto already be a member — they'll be added with the moderator role.","tags":["Chat"],"security":[{"jwt":["creator","chat_admin","global_admin"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromoteLiveChatModeratorRequest"}}}}}},"/chat/lives/{liveId}/moderators/{userId}":{"delete":{"operationId":"DemoteLiveChatModerator","responses":{"204":{"description":"No content"}},"description":"Demotes a user back to channel_member in the live's chat. The live owner\ncannot be demoted (they must remain moderator to manage the chat).","tags":["Chat"],"security":[{"jwt":["creator","chat_admin","global_admin"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/chat/lives/{liveId}/disable":{"post":{"operationId":"DisableLiveChat","responses":{"204":{"description":"No content"}},"description":"Disables the live's chat channel, taking it down for everyone. Only the\nlive owner (or a global admin) can call this. Reversible via the matching\nDELETE endpoint.","tags":["Chat"],"security":[{"jwt":["creator","chat_admin","global_admin"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"EnableLiveChat","responses":{"204":{"description":"No content"}},"description":"Re-enables a previously disabled live chat channel (clears the `disabled`\nflag). Only the live owner (or a global admin) can call this.","tags":["Chat"],"security":[{"jwt":["creator","chat_admin","global_admin"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/channels":{"get":{"operationId":"GetChannels","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ChannelSummaryViewModel_"}}}}},"description":"Channels in display order with their tabs — the thin list, no programs. `ownerId` scopes the\nlist to one creator (the creator page). The card itself is `GET /channels/{channelId}`.","tags":["Channels"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"description":"Cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Scope to one creator's channels (the creator page).","in":"query","name":"ownerId","required":false,"schema":{"type":"string"}}]}},"/channels/feeds/{feedId}/programs":{"get":{"operationId":"GetFeedPrograms","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ChannelProgramViewModel_"}}}}},"description":"A tab's program rail from now forward: `now`, `next`, then `later` rows with their air times.","tags":["Channels"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"description":"Cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/channels/{channelId}":{"get":{"operationId":"GetChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelViewModel"}}}}},"description":"The card: a page of tabs (default 3, cursor `lastDocId` = a tab id), each with `nowPlaying`\nand two `upNext` rows — the hero and the rail's three cards (now, next, later) of any tab on the page.","tags":["Channels"],"security":[{"jwt":["consumer"],"feature":["channels"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Tabs per page; each tab with a guide costs its own program read. Default 3.","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":20}},{"description":"Cursor: the previous page's `feeds.lastVisibleDocumentId` (a tab id); stop when a page is shorter than `limit`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/calendar":{"get":{"operationId":"GetCalendarEvents","responses":{"200":{"description":"A list of matching calendar events sorted by `name` in ascending order.","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_CalendarEvent_"}}}}},"description":"Retrieves a list of calendar events with optional filtering and pagination.\n\nSupports the following filters as query params:\n- `date` (e.g., \"2025-07-28\") and `tz` (e.g., \"Z\", \"+02:00\") to return events occurring on a specific day,\n   with full-day calculation based on the given timezone.\n- `startsAfter` (ISO 8601 string) to return events starting after a specific datetime.\n- `sports` (array of sport names) and `league` to filter by sport and league.\n\nPagination using `limit` (default: 10) and `lastId` for cursor-based pagination.\n\nResults are sorted in ascending order by `name`.","tags":["Calendar"],"security":[{"jwt":["consumer"]}],"parameters":[{"description":"- (optional) ISO date string (YYYY-MM-DD) to filter by specific day.","in":"query","name":"date","required":false,"schema":{"type":"string"}},{"description":"- (optional) Timezone offset (e.g., \"Z\", \"+02:00\") used with `date` to determine the full-day range. Defaults to \"Z\".","in":"query","name":"tz","required":false,"schema":{"default":"Z","type":"string"}},{"description":"- (optional) ISO 8601 datetime string to filter events starting after this time.","in":"query","name":"startsAfter","required":false,"schema":{"type":"string"}},{"description":"- (optional) Array of sport names to filter results.","in":"query","name":"sports","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"description":"- (optional) League name to filter results.","in":"query","name":"league","required":false,"schema":{"type":"string"}},{"description":"- (optional) Maximum number of results to return. Defaults to 10.","in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"description":"- (optional) ID of the last retrieved item for cursor-based pagination.","in":"query","name":"lastId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/calendar/{eventId}":{"get":{"operationId":"GetCalendarEvent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CalendarEvent"}}}}},"tags":["Calendar"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"path","name":"eventId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/email-change/send":{"post":{"operationId":"SendEmailChangeCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendCodeViewModel"}}}}},"description":"Emails a code to the NEW address. 409 `email_in_use` when another account has it, checked after the\nlimits and the captcha. `X-Recaptcha-Token` action `email_change_send`.","tags":["AccountChanges"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendEmailChangeRequest"}}}}}},"/user/me/email-change/confirm":{"post":{"operationId":"ConfirmEmailChange","responses":{"204":{"description":"No content"}},"description":"Checks the code; on a match the account's email becomes the new address, verified.","tags":["AccountChanges"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmEmailChangeRequest"}}}}}},"/user/me/password-change/send":{"post":{"operationId":"SendPasswordChangeCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SendCodeViewModel"}}}}},"description":"Emails a code to the account's current address. `X-Recaptcha-Token` action `password_change_send`.","tags":["AccountChanges"],"security":[{"jwt":["consumer"]}],"parameters":[{"in":"header","name":"x-recaptcha-token","required":false,"schema":{"type":"string"}}]}},"/user/me/password-change/verify":{"post":{"operationId":"VerifyPasswordChangeCode","responses":{"204":{"description":"No content"}},"description":"Checks the code without using it up: 204 on a match, so the client can then ask for the new password\nand send the same code with it to confirm. A wrong code counts an attempt, as on confirm.","tags":["AccountChanges"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerifyPasswordChangeRequest"}}}}}},"/user/me/password-change/confirm":{"post":{"operationId":"ConfirmPasswordChange","responses":{"204":{"description":"No content"}},"description":"Checks the code; on a match the password is set. 400 on `newPassword` when Firebase refuses it.","tags":["AccountChanges"],"security":[{"jwt":["consumer"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ConfirmPasswordChangeRequest"}}}}}},"/groups/join/{token}":{"post":{"operationId":"JoinGroup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupViewModel"}}}}},"description":"Joins the caller to the group an invite link is for (`POST /share-links` with `kind` `groupInvite` makes one) and\nanswers the group. A member gets the group back unchanged. `404 share_link_not_found` for an unknown token, `410\nshare_link_gone` once the group is deleted, `410 share_link_expired` for a link sent before a member was removed,\n`403 group_join_refused` for a fan the group removed unless the creator sent the link, `409 group_full` at the cap.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"in":"path","name":"token","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/groups":{"post":{"operationId":"CreateGroup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupViewModel"}}}}},"description":"Makes a group with the caller as its only member and its creator. `422` (request validation) for an empty name or\nentity list, or past their limits; `400` when an entity is not a team the picker offers or is listed twice, the\navatar is not one of what it follows, or the name is only spaces or holds a restricted word; `429` past the day's\ncreates.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateGroupRequest"}}}}}},"/groups/suggestions":{"get":{"operationId":"GetSuggestions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array"}}}}},"description":"What to follow in a new group: the caller's Bleachers teams the picker offers, minus teams one of their groups follows.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[]}},"/groups/share-targets":{"get":{"operationId":"GetShareTargets","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GroupShareTargetViewModel"},"type":"array"}}}}},"description":"The caller's groups for the share sheet, ordered for the content being shared: groups following one of its teams,\nthen its leagues or sports, then the rest, each by latest activity. Without tags, all by latest activity.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"description":"The content's entity slugs as the client has them: a feed activity's `custom.entitySlugs`. A team's\nslug brings its league and sport; a tag the catalog does not hold is ignored. Repeat the parameter per tag.\nSend at most 20, the order the activity lists them in (teams first): Express's query parser turns more than 20\nrepeats into an object, which validation refuses with `422`.","in":"query","name":"tags","required":false,"schema":{"type":"array","items":{"type":"string"},"maxItems":20}}]}},"/groups/{groupId}":{"get":{"operationId":"GetGroup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupViewModel"}}}}},"tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"in":"path","name":"groupId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateGroup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupViewModel"}}}}},"description":"Renames the group or changes its avatar (any member), or whether new members read the history (the creator only,\n`403 group_creator_only`).","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"in":"path","name":"groupId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGroupRequest"}}}}}},"/groups/{groupId}/entities":{"put":{"operationId":"ChangeGroupEntities","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupViewModel"}}}}},"description":"Sets what the group follows, in order (any member). `422` (request validation) for an empty list or more than 20;\n`400` for a new entity that is not an offered team, or one listed twice.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"in":"path","name":"groupId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeGroupEntitiesRequest"}}}}}},"/groups/{groupId}/leave":{"post":{"operationId":"LeaveGroup","responses":{"204":{"description":"No content"}},"description":"The caller leaves the group. When the creator leaves, the role passes to the member who joined earliest; when the\nlast member leaves, the group and everything in it are deleted.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"in":"path","name":"groupId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/groups/{groupId}/members/{userId}":{"delete":{"operationId":"RemoveGroupMember","responses":{"204":{"description":"No content"}},"description":"Takes another member out of the group. Only the creator may (`403 group_creator_only`); `404\ngroup_member_not_found` when they are not a member. Every invite link sent before expires, and the removed fan\ncomes back only through a link the creator sends afterwards.","tags":["Groups"],"security":[{"jwt":["consumer"],"feature":["bleachers","bleachersChat"]}],"parameters":[{"in":"path","name":"groupId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/creators/{creatorId}/bleachers":{"get":{"operationId":"GetMyCreatorBleachers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorBleachersViewModel"}}}}},"description":"Whether the user follows the creator; the user's Bleachers whose list holds the creator, as\n`GET /user/me/bleachers/{bleachersId}/creators` lists them; and the team to offer a new Bleachers for when the user\nfollows the creator. `404` for a creator whose account is gone; the user themself, or a promotional account,\nis on none of their Bleachers and offers no team.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/bleachers/{bleachersId}/creators":{"get":{"operationId":"GetMyBleachersCreators","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersCreatorsViewModel"}}}}},"description":"Tied creators first, by their closest tie to the Bleachers' teams, then the ones only added, in the order added;\n`removed` holds the ones removed or hidden there, in the order removed.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/bleachers/{bleachersId}/creators/{creatorId}":{"put":{"operationId":"AddMyBleachersCreator","responses":{"204":{"description":"No content"}},"description":"Add: a verified creator other than the user, who comes back if removed or hidden there. `404` for a creator whose\naccount is gone; `409` (`bleachers_creator_excluded`) for a promotional account; `400` past 200 creators added.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"RemoveMyBleachersCreator","responses":{"204":{"description":"No content"}},"description":"Remove from Bleachers (`via=remove`, the default: the profile's Remove from [Bleacher]; the Edit sheet saves its\nremovals through `PATCH /user/me/bleachers/{bleachersId}`) or Hide (`via=hide`: a post's menu), one\nstate: the creator stays off this list whatever their ties until shown again, and an added one stays added. Hide\ntakes a creator on no list too; a creator already removed keeps the first entry. `404` for a creator whose account\nis gone; `400` past 200 creators removed.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"via","required":false,"schema":{"$ref":"#/components/schemas/BleachersCreatorRemovalVia"}}]}},"/user/me/bleachers/{bleachersId}/removed-creators/{creatorId}":{"delete":{"operationId":"ShowMyBleachersCreatorAgain","responses":{"204":{"description":"No content"}},"description":"Show again: deletes the creator's removed entry; a creator not removed there is not an error.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/bleachers/{bleachersId}/creator-suggestions":{"get":{"operationId":"GetMyBleachersCreatorSuggestions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersCreatorSuggestionsViewModel"}}}}},"description":"The creators suggested for the Bleachers: verified creators who post about its teams, the most active lately\nfirst, each with whether the user follows them. The site's creators to follow is this list asked with\n`limit=3&excludeFollowed=true`. Never one on its creator list, one the user removed or hid there or unfollowed, one\nthe user blocked or who blocked the user, one the user answered \"Not relevant to me\" about among their newest 100\nanswers, a promotional or a disabled account, or the user. A Bleachers with no team has none.\n`limit` is kept within 1 and 50, 10 when absent; `excludeFollowed` leaves out the creators the user follows. The\nlist changes with the user's own Add, Remove, Hide, Follow, Unfollow, blocks and \"Not relevant to me\" answers at\nonce, and with the creators' activity within a quarter of an hour.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachers"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer"}},{"in":"query","name":"excludeFollowed","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/user/me/bleachers":{"get":{"operationId":"GetMyBleachers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_BleachersConfigViewModel_"}}}}},"description":"The user's Bleachers in the user's order, the tabs', each in full (`base` null once it has left the catalog). Send a\npage's `lastVisibleDocumentId` back as `lastDocId` for the next one; after a move, read again from the first page.\n`limit` goes up to the most Bleachers a user may have, so one call reads them all.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer","minimum":1,"maximum":200}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"post":{"operationId":"AddMyBleachers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersConfigViewModel"}}}}},"description":"Adds one Bleachers at the end. `409` (`bleachers_base_taken`) when another of the user's Bleachers has its base. A\nsport or a player as the base needs `bleachers` on for the user.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersConfigRequest"}}}}}},"/user/me/bleachers/takeover":{"get":{"operationId":"GetMyTakeover","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersTakeoverViewModel"}}}}},"description":"The What's new takeover's start, on an existing fan's first Core open: the Bleachers to pre-select.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding","bleachers"]}],"parameters":[]},"patch":{"operationId":"ChangeMyTakeover","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersConfigViewModel"},"type":"array"}}}}},"description":"The takeover's confirm, in one transaction: deletes `remove`, then adds `add` at the end. Only what the lists name\nchanges, and it is safe to retry as sent. `400` for a base twice in `add`, or teams or bases the rules refuse; `409`\n`bleachers_base_taken` for an `add` on a base a kept Bleachers has with other teams, and `bleachers_last_one` when\nnothing would be left. Answers with every Bleachers of the user's, in the user's order.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding","bleachers"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersTakeoverRequest"}}}}}},"/user/me/bleachers/{bleachersId}":{"get":{"operationId":"GetMyBleachersById","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersConfigViewModel"}}}}},"description":"`404` when the user has no such Bleachers; `base` is null once the base has left the catalog.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateMyBleachers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersConfigViewModel"}}}}},"description":"Edit Bleachers' save, all at once: the name, the teams and the creator-list changes (`creators`, with `bleachers` on\nfor the user) in one write, so a refused part changes nothing. `409` (`bleachers_base_taken`) for a new base another\nof the user's Bleachers has; `404` for an added creator whose account is gone; `409` (`bleachers_creator_excluded`)\nfor an added promotional account, `details.creatorIds` naming each one.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBleachersConfigRequest"}}}}},"delete":{"operationId":"DeleteMyBleachers","responses":{"204":{"description":"No content"}},"description":"`409` (`bleachers_last_one`) for the user's last Bleachers: it is changed with PATCH instead.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/bleachers/onboarding":{"post":{"operationId":"AddMyOnboardingBleachers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersListItemViewModel"},"type":"array"}}}}},"description":"The onboarding's Continue: the user's first Bleachers, at least one. `409` once the user has any.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OnboardingBleachersRequest"}}}}}},"/user/me/bleachers/teams":{"post":{"operationId":"ChangeMyTeams","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersConfigViewModel"},"type":"array"}}}}},"description":"Phase 0 only, for Settings › Interests, where each team is one Bleachers; remove it with that screen (REQ-CORE-34).\nDeletes `remove`, adds a Bleachers per team of `add` at the end (a team already a base is skipped), in one\ntransaction. `404` for an unknown `remove` id; `409` (`bleachers_last_one`) when nothing would be left. Answers\nwith the whole list in the user's order.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangeTeamsRequest"}}}}}},"/user/me/bleachers/shared/{token}":{"post":{"operationId":"AddMySharedBleachers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersConfigViewModel"}}}}},"description":"Saves what a share link shared as a Bleachers of the user's own, at the end: the entities the picker offers now,\nwith the creators the sharer added and removed there. `404` with the `code` `GET /public/share-links/{token}` answers;\n`409` (`bleachers_base_taken`) when the user already has a Bleachers on its base.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding","bleachers","bleachersShares"]}],"parameters":[{"in":"path","name":"token","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/user/me/bleachers/{bleachersId}/position":{"put":{"operationId":"MoveMyBleachers","responses":{"204":{"description":"No content"}},"description":"Moves one Bleachers to `position` in the user's order, 0 first: the others shift, and a position past the end puts it\nlast. `404` when the user has no such Bleachers.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"path","name":"bleachersId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MoveBleachersRequest"}}}}}},"/bleachers/suggested":{"get":{"operationId":"GetBleachersSuggested","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogEntityViewModel"},"type":"array"}}}}},"description":"Teams near the user and nothing else, so a user with none in reach gets an empty list. With `sports` (sport catalog\nids, the fan's picks on `/sports-interests`: the team picker and the site's Suggested chip), the `limit` most popular\nteams of those sports within 1,000 km, popularity decayed by distance, whatever their leagues (`nearYou`). Without\n`sports`, one team per league: within 250 km its most popular team (`nearYou`), else its nearest within 500 or\n1,000 km (`regional`). Without `lat` and `lng` the city comes from the caller's IP address, except for a call that\nsends no `sports` and no `nearOnly` either, which gets an empty list; without a city, no team is near. `nearOnly`\nchanges nothing else. The backend stores neither; the platform's request log keeps the URL and the IP, as for every\nrequest.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"query","name":"lat","required":false,"schema":{"format":"double","type":"number","minimum":-90,"maximum":90}},{"in":"query","name":"lng","required":false,"schema":{"format":"double","type":"number","minimum":-180,"maximum":180}},{"in":"query","name":"sports","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PathSegment"},"maxItems":20}},{"in":"query","name":"limit","required":false,"schema":{"default":3,"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"nearOnly","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/bleachers/related":{"get":{"operationId":"GetBleachersRelated","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogChipViewModel"},"type":"array"}}}}},"description":"Chips of the teams that go with a base entity: a team's rivals, then the teams of its division, its conference and\nits league, each group's by popularity.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"query","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"query","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":100}}]}},"/bleachers/entities":{"get":{"operationId":"GetBleachersEntities","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_BleachersPickerEntityViewModel_"}}}}},"description":"Active entities, most popular first; `leagueId` is a chip from `GET /bleachers/leagues`, `sports` keeps only\nthose sports' leagues. Send the page's `lastVisibleDocumentId` back as `lastDocId` for the next page.\nFor New Bleacher, send `type=team` with no sport or league filter. `isAdded` marks the caller's existing bases;\n`inBleachers` names their Bleachers holding an entity as an addition, which alone does not prevent picking it.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"query","name":"leagueId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"type","required":false,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"query","name":"sports","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PathSegment"},"maxItems":20}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":100}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/bleachers/search":{"get":{"operationId":"SearchBleachersCatalog","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersPickerEntityViewModel"},"type":"array"}}}}},"description":"Offered catalog entities of `type` (teams by default) matching the query, once each, best match first;\n`sports` keeps only those sports' entities. `isAdded` and `inBleachers` describe the caller's Bleachers as on `entities`.\nUse `entities?type=team` for the New Bleacher list before typing or after clearing the query.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":100}},{"in":"query","name":"sports","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PathSegment"},"maxItems":20}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"int32","type":"integer","minimum":1,"maximum":50}},{"in":"query","name":"type","required":false,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}}]}},"/bleachers/leagues":{"get":{"operationId":"GetBleachersLeagues","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CatalogChipViewModel"},"type":"array"}}}}},"description":"League chips: the leagues with offered teams, in the admins' order; `id` is the `leagueId` of `GET /bleachers/entities`.\n`sports` keeps only those sports' leagues.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[{"in":"query","name":"sports","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PathSegment"},"maxItems":20}}]}},"/bleachers/limits":{"get":{"operationId":"GetBleachersLimits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersLimitsViewModel"}}}}},"description":"What the New and Edit Bleachers sheets allow: `maxAdditions`, the most teams one Bleachers holds besides its base.","tags":["Bleachers"],"security":[{"jwt":["consumer"],"feature":["bleachersOnboarding"]}],"parameters":[]}},"/admin/videos/{videoId}/socialAmplifier":{"patch":{"operationId":"AdminUpdateVideoSocialAmplifier","responses":{"204":{"description":"No content"}},"description":"Update a video's social feed amplifier (0–10) used as a video-level override in the Discover feed ranking.","tags":["Admin/Videos"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialAmplifierUpdateRequest"}}}}}},"/admin/videos/{videoId}":{"delete":{"operationId":"AdminDeleteVideo","responses":{"204":{"description":"No content"}},"description":"Soft-deletes one video regardless of who owns it — the staff takedown.\n\nThe consumer and studio delete routes are creator-self-service, so without this the only way\nto remove someone else's video is to ask them to do it. Global-admin only.\n\nSoft delete, like every other path: the video drops out of every list and browse surface\nimmediately, and its media is destroyed later at the retention window of ITS OWN creator —\nnever the acting admin's, who has none.","tags":["Admin/Videos"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/videos/{videoId}/downloadUrl":{"get":{"operationId":"AdminGetVideoDownloadUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoBackupDownloadResponse"}}}}},"description":"Returns a 6-hour signed URL to download the backed-up MP4 from storage.\nIf the video has no backup but a Mux asset exists, a static rendition is\nrequested as a fallback (response: `processing` — retry in ~1h).","tags":["Admin/Videos"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"videoId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/videoPages":{"get":{"operationId":"AdminGetVideoPages","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_VideoPageViewModel_"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"pageFilter","required":false,"schema":{"$ref":"#/components/schemas/VideoPageFilter"}}]},"post":{"operationId":"AdminAddVideoPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageCreateRequest"}}}}}},"/admin/videoPages/slots":{"get":{"operationId":"AdminGetFeaturedPromoSlots","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedPromoSlotsViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateFeaturedPromoSlots","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedPromoSlotsViewModel"}}}}},"description":"Registers and/or removes slot values; removal is refused (409) while the slot is assigned.","tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeaturedPromoSlotsRequest"}}}}}},"/admin/videoPages/{pageId}":{"get":{"operationId":"AdminGetVideoPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateVideoPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageUpdateRequest"}}}}},"delete":{"operationId":"AdminDeleteVideoPage","responses":{"204":{"description":"No content"}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/videoPages/{pageId}/components/{componentId}":{"get":{"operationId":"AdminGetVideoPageComponent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageComponentViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"post":{"operationId":"AdminAddComponentToPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/videoPages/{pageId}/components/{componentId}/items":{"get":{"operationId":"AdminGetComponentItems","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedCursorResponse_ComponentItemViewModel_"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"nextAfter","required":false,"schema":{"default":"","type":"string"}}]}},"/admin/videoPages/components":{"post":{"operationId":"AdminAddComponent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageComponentViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageComponentUpsertRequest"}}}}}},"/admin/videoPages/components/{componentId}/items/{itemId}":{"post":{"operationId":"AdminAddComponentItem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComponentItemViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"itemId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComponentItemUpsertRequest"}}}}},"patch":{"operationId":"AdminUpdateComponentItem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComponentItemViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"itemId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ComponentItemUpsertRequest"}}}}},"delete":{"operationId":"AdminDeleteComponentItem","responses":{"204":{"description":"No content"}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"itemId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/videoPages/components/{componentId}":{"patch":{"operationId":"AdminUpdateComponent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageComponentViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PageComponentUpdateRequest"}}}}},"delete":{"operationId":"AdminDeleteComponent","responses":{"204":{"description":"No content"}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"componentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/videoPages/{pageId}/components/reorder":{"patch":{"operationId":"AdminReorderPageComponents","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VideoPageViewModel"}}}}},"tags":["Admin/VideoPages"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"pageId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReorderPageComponentRequest"}}}}}},"/admin/config/verification":{"get":{"operationId":"AdminGetVerificationConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationConfigViewModel"}}}}},"description":"The EFFECTIVE sign-up verification config per platform (defaults applied).","tags":["Admin/SignUpVerification"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateVerificationConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/VerificationConfigViewModel"}}}}},"description":"Switches a platform between the Firebase link and the in-app code. Only the keys present in the\nbody change; the flip propagates immediately (this is the `code -> link` kill switch).","tags":["Admin/SignUpVerification"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateVerificationConfigRequest"}}}}}},"/admin/users":{"get":{"operationId":"AdminGetUsers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_UserProfileViewModel_"}}}}},"tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer","customer_support"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/users/deletions":{"get":{"operationId":"AdminGetUserDeletions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserDeletionsListViewModel"}}}}},"description":"Live state of the account-deletion chains (`userDeletions/{uid}`): current step,\nper-step status and errors, sweep kicks. Declared BEFORE the `{userId}` routes so\n`deletions` never matches as a user id. History/reporting lives in BigQuery\n(`analytics.user_deletion_events`); this reads the operational docs as-is.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer","customer_support"]}],"parameters":[{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/UserDeletionStatus"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}":{"get":{"operationId":"AdminGetUser","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/UserProfileViewModel"}],"nullable":true}}}}},"tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateUser","responses":{"204":{"description":"No content"}},"description":"Admin edit of any user profile field.\n\nThe restricted-words list (`GET /admin/config/handle-restrictions`) is NOT enforced here — an\nadmin can always force-assign a `bzzrHandle` or `displayName` the list would reject from a\nconsumer. That is deliberate rather than a toggle: an admin acting on a user IS the remediation\npath for a false positive, and gating it behind the same list their own console owns would be\ncircular. Forced values are still checked and logged (`restricted_word_bypassed`) so the audit\ntrail survives.\n\nUniqueness is unaffected: two users can never share a handle, forced or not.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserUpdateRequest"}}}}},"delete":{"operationId":"AdminDeleteUser","responses":{"204":{"description":"No content"}},"description":"Starts the account-deletion chain: subscriptions torn down, the account locked out, and\nthe content erased asynchronously (progress under GET /admin/users/deletions)","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"description":"user id to delete","in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/login-devices":{"get":{"operationId":"AdminGetUserLoginDevices","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminUserLoginDeviceViewModel"},"type":"array"}}}}},"description":"Per-device login history (`users/{userId}/loginDevices`) — one row per device\nclass (`web_macos`, `mobile_ios`, `tv_firetv`, ...), most recently seen first.\nRows materialize as the user signs in; a user who hasn't signed in since the\nfeature shipped has none. Admin-only surface by design — includes the raw\nUser-Agent, which the consumer API deliberately never exposes.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/geo-token-override":{"post":{"operationId":"AdminSetGeoTokenOverride","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoTokenOverrideViewModel"}}}}},"description":"Provision a test-mode geo-token override for a specific user. The\nbackend signs a regular geo-token JWT with the caller-supplied\nlocation claims (lat/lng/country/region/city, all optional) and\npersists it on `userProfile.geoTokenOverride`. The client picks the\nfield up via `GET /user/me` and sends it verbatim as the\n`X-Geo-Token` header on every gated request — `verifyGeoTokenForUser`\naccepts it because the signing key is the same.\n\nDefault TTL is 30 days. The endpoint is admin-only (and admin-only\nsecurity stays even on staging — a user with the override string can\nimpersonate the geo-fenced location associated with it).\n\n**QA/test accounts only** — the token is visible to the user via\n`/user/me`. Real-user grants go through the LIST (`geo-token-overrides`).","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoTokenOverrideRequest"}}}}},"delete":{"operationId":"AdminClearGeoTokenOverride","responses":{"204":{"description":"No content"}},"description":"Clears the test-mode geo-token override for a user.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/geo-token-overrides":{"post":{"operationId":"AdminAddGeoTokenOverrideEntry","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoTokenOverrideEntryViewModel"}}}}},"description":"Grant the user a location — for REAL accounts (staff, press, rights\nexceptions) as well as QA. Consulted SERVER-SIDE by the playback grant on\nevery surface incl. TV; passes when ANY granted location satisfies the\npolicy. Bypasses territory rights — issue only where permitted. Max 5.\n\nUPSERT by location: re-granting a location the user already holds replaces\nthat grant (and reports it in `replacedJtis`) rather than adding a second\none — which is also how a grant is renewed. The QA-only client-sent token\nis the singular `geo-token-override`.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GeoTokenOverrideRequest"}}}}},"get":{"operationId":"AdminListGeoTokenOverrideEntries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GeoTokenOverrideEntryViewModel"},"type":"array"}}}}},"description":"The user's geo-token override list with decoded location claims.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"AdminClearGeoTokenOverrideEntries","responses":{"204":{"description":"No content"}},"description":"Clears the whole override list — including entries that no longer decode.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/geo-token-overrides/{jti}":{"delete":{"operationId":"AdminRemoveGeoTokenOverrideEntry","responses":{"204":{"description":"No content"}},"description":"Removes ONE override entry by its `jti` (shown by the list endpoint).","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"jti","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/geo-token-overrides/audit":{"get":{"operationId":"AdminListGeoTokenOverrideAudit","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/GeoGrantAuditEntry"},"type":"array"}}}}},"description":"Who changed this user's geo overrides, newest first — append-only, so\nrevoked grants stay accounted for. `actorUid: \"development\"` marks the\nGLOBAL_ADMIN_API_SECRET path, which carries no personal identity.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/users/{userId}/tve/audit":{"get":{"operationId":"AdminListTveAudit","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/MvpdAuthAuditEntry"},"type":"array"}}}}},"description":"What this user did with their TV-provider links, newest first — links (and failed\nattempts with the `reason` the browser was sent), provider switches, logouts. Append-only.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/users/{userId}/tve/links/{idp}":{"delete":{"operationId":"AdminUnlinkTveProvider","responses":{"204":{"description":"No content"}},"description":"Support's lever behind the link limits (`linked_to_another_account` / `household_limit`): drops this user's\nlink for `idp` and every TV-provider grant resting on it, audited as `admin_unlink` with the actor.\n`development` = the GLOBAL_ADMIN_API_SECRET path. 404 when the user has no link for that provider.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"idp","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/feature-overrides":{"get":{"operationId":"AdminGetUserFeatureOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFeatureStateViewModel"}}}}},"description":"Per-user feature overrides — the user's sparse override map plus the\nresulting EFFECTIVE flags (global ⊕ override). Overrides let you flip a\nfeature for ONE user regardless of the global flag: force-enable for a\nbeta/allowlist user (globally off) or force-disable for a specific user\n(globally on). Only affects authenticated (consumer) routes.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateUserFeatureOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFeatureStateViewModel"}}}}},"description":"Sets/updates a user's feature overrides. Only the keys present in `features`\nchange; omitted features keep their current override (and thus fall through\nto the global flag when unset). `true` force-enables, `false` force-disables.\nUnknown feature keys are rejected (400). The change busts the cache and\npropagates immediately. To revert a user fully to the global flags, use the\nDELETE below.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeatureOverridesRequest"}}}}},"delete":{"operationId":"AdminClearUserFeatureOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserFeatureStateViewModel"}}}}},"description":"Drops a user's feature overrides entirely — reverts them to the global flags. Idempotent.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/approve":{"post":{"operationId":"AdminVerifyUser","responses":{"204":{"description":"No content"}},"description":"Verifies a user and approves their entity claim.\nIf new entity was requested, creates it, verifies and assigns to the user.\nOtherwise, it links the user to the existing claimed entity.\nUpdates user roles in auth if necessary.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/deny":{"post":{"operationId":"AdminDenyUserClaim","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileViewModel"}}}}},"description":"Denies a user's entity claim request.\nMarks the claim as Denied (captures deniedAt, deniedBy, optional reason) and flips the\nuser's signupStatus to Denied. Does not touch the claimed entity. Idempotent when the\nclaim is already Denied; rejects if the claim is already Approved.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DenyEntityClaimRequest"}}}}}},"/admin/users/{userId}/promote":{"post":{"operationId":"AdminPromoteUser","responses":{"204":{"description":"No content"}},"description":"Promotes a user to Creator without requiring a pre-existing claim request.\nAuto-creates a Person profile from user data and writes an EntityClaim record for audit.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/demote":{"post":{"operationId":"AdminDemoteUser","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserProfileViewModel"}}}}},"description":"Reverses creator status (demote). Works for both promote-created and normally\napproved claims: strips the Creator role and verification, detaches & un-verifies\nthe claimed entity (Profile/Podcast), and marks the claim Revoked for audit.\nContent the user created is left intact. Idempotent for already-demoted users.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/DemoteUserRequest"}}}}}},"/admin/users/{userId}/roles":{"patch":{"operationId":"AdminUpdateUserRoles","responses":{"204":{"description":"No content"}},"description":"Sets the system roles for a user. Business roles (consumer, creator) are preserved; the\ntarget does NOT need to be a creator — staff accounts (support with `users_viewer`, say) are\nordinary users, and promoting one would publish a verified Person profile nobody asked for.\nValidates roles against SystemJwtRoles. Updates both Firestore and Firebase Auth custom claims.","tags":["Admin/Users"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UserRoleUpdateRequest"}}}}}},"/admin/users/{userId}/tokens":{"delete":{"operationId":"AdminRevokeAllTokens","responses":{"204":{"description":"No content"}},"tags":["Admin/Users"],"security":[{"jwt":["global_admin","users_editor","customer_support"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/users/{userId}/socialAmplifier":{"patch":{"operationId":"AdminUpdateUserSocialAmplifier","responses":{"204":{"description":"No content"}},"description":"Update a user's social feed amplifier (0–10) used to weight their content in the Discover feed.\n\nReturns as soon as the new value is persisted. Propagating the amplifier to the user's recent\nvideo activities in the feed happens asynchronously via a serialized background queue and\nmay take some time to fully reflect in clients.","tags":["Admin/Users"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SocialAmplifierUpdateRequest"}}}}}},"/admin/users/{userId}/promotionalAccount":{"patch":{"operationId":"AdminSetPromotionalAccount","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionalAccountViewModel"}}}}},"description":"Turns an account's promotional setting on, so that no Bleacher shows its posts, videos and Hypes while its profile\nand Discover keep them, or off (docs/bleacher-feeds.md, \"Promotional accounts\"). A run that starts a minute or two\nlater moves the account's content. Turning it on also takes the account off every creator list, its ties and fans'\nadds, starting with that run and unless the setting is off by then; turning it off puts nothing back\n(docs/bleacher-creators.md, \"8. A promotional account\"). `404` for an unknown account, `409` for one being deleted.","tags":["Admin/Users"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromotionalAccountUpdateRequest"}}}}}},"/admin/config/tv-rate-limits":{"get":{"operationId":"AdminGetTvRateLimits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TvRateLimitsViewModel"}}}}},"description":"The EFFECTIVE `/tv/*` rate limits (requests per minute): what is enforced, the code defaults,\nand per field whether the value comes from the stored config or the default.","tags":["Admin/TvRateLimits"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateTvRateLimits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TvRateLimitsViewModel"}}}}},"description":"Changes the `/tv/*` rate limits without a deploy. Only the keys present in the body are\nchanged; omitted keys keep their current value. Out-of-range values are rejected. The change\nreaches every `api` instance within `propagationSeconds` (each re-reads the limits on that\ncadence), so it is not in force everywhere the moment this returns.","tags":["Admin/TvRateLimits"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTvRateLimitsRequest"}}}}}},"/admin/topics":{"get":{"operationId":"AdminGetTopics","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_TopicAdminViewModel_"}}}}},"description":"Topics with the latest post first. `kind` narrows the list to stories, games or themes, `status` to `pending`,\n`confirmed` or `rejected` ones; the two can be sent together. Only stories reach the apps.","tags":["Admin/Topics"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"query","name":"kind","required":false,"schema":{"$ref":"#/components/schemas/TopicKind"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/TopicStatus"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/topics/{topicId}":{"get":{"operationId":"AdminGetTopic","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicAdminViewModel"}}}}},"description":"One topic. 404 when there is none.","tags":["Admin/Topics"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateTopic","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicAdminViewModel"}}}}},"description":"Changes a topic's title, summary or status (`rejected` hides it, `confirmed` lets it show). The edit is final:\nthe confirmation call no longer changes the topic. `coverImage` gives the topic a cover (a base64 file) or, with\nnull, removes it; a cover alone does not make the edit final. 400 for an empty edit or `pending`, 404 when\nthere is none.","tags":["Admin/Topics"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicAdminUpdateRequest"}}}}}},"/admin/topics/{topicId}/bigNews":{"patch":{"operationId":"AdminSetTopicBigNews","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicAdminViewModel"}}}}},"description":"Marks a topic as big news or clears the mark (docs/trending-topics.md, \"Big news\"). The mark counts while the\nTopics row holds the topic, and the confirmation call still changes the topic. 404 when there is none.","tags":["Admin/Topics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TopicBigNewsUpdateRequest"}}}}}},"/admin/topics/{topicId}/placements":{"get":{"operationId":"AdminGetTopicPlacements","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_TopicPlacementAdminViewModel_"}}}}},"description":"The posts placed in a topic, the earliest first, each as the placement call saw it. `lastDocId` is the\n`postId` of the last one on the page before.","tags":["Admin/Topics"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"path","name":"topicId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/teams-assets":{"get":{"operationId":"AdminListTeamsAssets","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_TeamsAssetViewModel_"}}}}},"tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"format":"double","type":"number"}},{"in":"query","name":"leagueId","required":false,"schema":{"format":"double","type":"number"}},{"description":"Case-insensitive over displayName, providerName, teamKey and aliases.","in":"query","name":"search","required":false,"schema":{"type":"string"}},{"description":"Only rows with no uploaded artwork — the \"still borrowing\" worklist.","in":"query","name":"withoutOwnLogo","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"isActive","required":false,"schema":{"type":"boolean"}},{"description":"Crest rows, the ones with a commerce league, by default; `false` adds the sports registry's rows that have none.","in":"query","name":"withLeague","required":false,"schema":{"default":true,"type":"boolean"}}]},"post":{"operationId":"AdminCreateTeamsAsset","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamsAssetViewModel"}}}}},"tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTeamsAssetRequest"}}}}}},"/admin/teams-assets/unmapped":{"get":{"operationId":"AdminListUnmappedTeamKeys","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/UnmappedTeamKeyViewModel"},"type":"array"}}}}},"description":"Team identifiers on recent broadcasts that no registry row or alias answers, ranked by\nhow many broadcasts carry them. This is what makes shipping an incomplete registry safe:\nan unmapped key degrades to a placeholder crest and shows up here as a one-line task.","tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"leagueId","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/teams-assets/{id}":{"get":{"operationId":"AdminGetTeamsAsset","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamsAssetViewModel"}}}}},"tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateTeamsAsset","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamsAssetViewModel"}}}}},"description":"`leagueId` and `teamKey` are absent on purpose: together they are the identity every\nbroadcast resolves against, so changing one is a new row, not an edit.","tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamsAssetRequest"}}}}}},"/admin/teams-assets/{id}/logo":{"post":{"operationId":"AdminUploadTeamsAssetLogo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamsAssetViewModel"}}}}},"description":"Uploads approved artwork. The stored fallback is retained so a takedown can revert.","tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadTeamsAssetLogoRequest"}}}}},"delete":{"operationId":"AdminDeleteTeamsAssetLogo","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamsAssetViewModel"}}}}},"description":"Reverts to the stored third-party fallback.","tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/teams-assets/{id}/merge-into/{targetId}":{"post":{"operationId":"AdminMergeTeamsAsset","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamsAssetViewModel"}}}}},"description":"Folds a crest row (the league seed's or an admin's, no registry entity) into the registry row of the same team: its\nlogo, aliases (its key among them) and the admin values the registry row lacks move over, the registry row takes\nthe commerce league, the crest row is deleted. The way out of a `crestKeyConflicts` entry of the sync's report.","tags":["Admin/TeamsAssets"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"targetId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/teams":{"post":{"operationId":"AdminCreateTeam","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamViewModel"}}}}},"tags":["Admin/Teams"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTeamRequest"}}}}},"get":{"operationId":"AdminGetTeams","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_TeamViewModel_"}}}}},"tags":["Admin/Teams"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","live_source_editor"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"leagueId","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/teams/{teamId}":{"patch":{"operationId":"AdminUpdateTeam","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamViewModel"}}}}},"tags":["Admin/Teams"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"teamId","required":true,"schema":{"format":"double","type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateTeamRequest"}}}}},"get":{"operationId":"AdminGetTeam","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/TeamViewModel"}}}}},"tags":["Admin/Teams"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"teamId","required":true,"schema":{"format":"double","type":"number"}}]}},"/admin/subscribers":{"get":{"operationId":"ListSubscribers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscribersPageViewModel"}}}}},"description":"Subscribers inside a partner / creator / product scope — one row per PERSON × PRODUCT, with\nrepeat purchases of the same product folded into a count.\n\nAt least one of `partnerSlug`, `creatorId`, `productIds` is required (an unscoped roster is a\ndump of every paying user). The filters narrow each other: a product outside the selected\npartner or creator is a 400, while `interval`, `productSource` and `state` just narrow. Without `state` every\nstate is counted, expired and refunded included.\n\n`subscribedFrom`/`subscribedTo` bound WHEN the subscription was taken out — ISO instants,\nhalf-open, so the client owns the timezone and no last day is lost. Renewals don't create rows,\nso this counts purchases.\n\nRead the totals by name: `pagination.total` is table rows, `subscribersTotal` people,\n`subscriptionsTotal` purchases. The echoed `scope` separates \"this partner owns no products\"\nfrom \"these products have no subscribers\".","tags":["Admin/Subscribers"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer"]}],"parameters":[{"description":"Resolves through the partner's `commerceCreator` bindings to its creators, then their products.","in":"query","name":"partnerSlug","required":false,"schema":{"type":"string"}},{"in":"query","name":"creatorId","required":false,"schema":{"type":"string"}},{"description":"Must be a subset of what the partner/creator scope owns; anything else is refused.","in":"query","name":"productIds","required":false,"schema":{"type":"array","items":{"type":"number","format":"double"}}},{"description":"Narrows silently — SKUs of the other interval drop out of the counted scope.","in":"query","name":"interval","required":false,"schema":{"$ref":"#/components/schemas/ProductInterval"}},{"description":"Which rail the product sells on — `stripe` for paid, `free` for zero-cost. Narrows silently like\n`interval`; free subscribers are counted by default. Worth having because a free product and its\npaid counterpart SHARE a SKU, so `productCode` alone can't tell them apart.","in":"query","name":"productSource","required":false,"schema":{"$ref":"#/components/schemas/ProductSource"}},{"description":"Repeatable. Absent = every state counted, including the two that can't be asked for.","in":"query","name":"state","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriberStateFilter"}}},{"description":"Paid checkout vs comp-code redemption; absent counts both. Filters PURCHASES, so a pair holding\nboth kinds survives either value — unlike the row's `hasComp`, which asks whether the pair\ncontains any comp at all.","in":"query","name":"purchaseType","required":false,"schema":{"$ref":"#/components/schemas/SubscriberPurchaseTypeFilter"}},{"description":"Keep only people holding at least this many of the selected products — `2` is \"show me whoever\nended up with more than one subscription here\". Counts DISTINCT products within the current\nselection, so the other filters apply first; needs at least that many products in scope, or the\nrequest is refused rather than answering an empty page for a structural reason.\n\nCounts PRODUCTS, not teams. A free product and its paid counterpart are two products sharing one\nSKU, so a fan who both bought the pass and claimed the free tier for the SAME team satisfies\n`2` — which is what you want when hunting duplicate purchases, and not what you want when reading\nthe number as \"follows two teams\". Narrow with `productSource` to ask the second question.","in":"query","name":"minProducts","required":false,"schema":{"format":"int32","type":"integer","minimum":2}},{"description":"Case-insensitive substring of the subscriber's email — the search box of the roster. Matches\nthe mirrored address in Cloud SQL, so phone-only accounts (no address) never match. For\ndiagnosing one person's access, `GET /admin/subscriber-access/check?email=` answers a fuller\nquestion; this one just finds them inside the current scope.","in":"query","name":"email","required":false,"schema":{"type":"string"}},{"description":"Include subscribers whose account was hard-deleted. Default **false**: their subscriptions\nsurvive (payments reference them), but \"who is subscribed here\" normally means live accounts,\nand the totals follow the same rule. Rows carry `isDeleted`, so the deleted ones are\nidentifiable once shown.","in":"query","name":"showDeleted","required":false,"schema":{"type":"boolean"}},{"description":"Purchase window over the subscription's creation instant, half-open (`from <= createdAt < to`),\nso the client owns the timezone and no last day is lost.","in":"query","name":"subscribedFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"subscribedTo","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"format":"int32","type":"integer","minimum":0}},{"description":"Page size, default 20. Capped because every row carries an email — the roster is a read surface.\nUse the CSV export when the whole selection is wanted rather than a page.","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}}]}},"/admin/subscribers/export":{"get":{"operationId":"ExportSubscribers","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"CSV of the same roster — the same columns and the same filters, but the whole selection in one\ndocument instead of a page. Use it when the answer is a file rather than a screen; the page cap\non the list deliberately doesn't apply here.\n\nThe export is logged with the actor and the row count, because a file of subscriber emails\nleaving the building is worth a trail.","tags":["Admin/Subscribers"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"description":"Resolves through the partner's `commerceCreator` bindings to its creators, then their products.","in":"query","name":"partnerSlug","required":false,"schema":{"type":"string"}},{"in":"query","name":"creatorId","required":false,"schema":{"type":"string"}},{"description":"Must be a subset of what the partner/creator scope owns; anything else is refused.","in":"query","name":"productIds","required":false,"schema":{"type":"array","items":{"type":"number","format":"double"}}},{"description":"Narrows silently — SKUs of the other interval drop out of the counted scope.","in":"query","name":"interval","required":false,"schema":{"$ref":"#/components/schemas/ProductInterval"}},{"description":"Which rail the product sells on — `stripe` for paid, `free` for zero-cost. Narrows silently like\n`interval`; free subscribers are counted by default. Worth having because a free product and its\npaid counterpart SHARE a SKU, so `productCode` alone can't tell them apart.","in":"query","name":"productSource","required":false,"schema":{"$ref":"#/components/schemas/ProductSource"}},{"description":"Repeatable. Absent = every state counted, including the two that can't be asked for.","in":"query","name":"state","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/SubscriberStateFilter"}}},{"description":"Paid checkout vs comp-code redemption; absent counts both. Filters PURCHASES, so a pair holding\nboth kinds survives either value — unlike the row's `hasComp`, which asks whether the pair\ncontains any comp at all.","in":"query","name":"purchaseType","required":false,"schema":{"$ref":"#/components/schemas/SubscriberPurchaseTypeFilter"}},{"description":"Keep only people holding at least this many of the selected products — `2` is \"show me whoever\nended up with more than one subscription here\". Counts DISTINCT products within the current\nselection, so the other filters apply first; needs at least that many products in scope, or the\nrequest is refused rather than answering an empty page for a structural reason.\n\nCounts PRODUCTS, not teams. A free product and its paid counterpart are two products sharing one\nSKU, so a fan who both bought the pass and claimed the free tier for the SAME team satisfies\n`2` — which is what you want when hunting duplicate purchases, and not what you want when reading\nthe number as \"follows two teams\". Narrow with `productSource` to ask the second question.","in":"query","name":"minProducts","required":false,"schema":{"format":"int32","type":"integer","minimum":2}},{"description":"Case-insensitive substring of the subscriber's email — the search box of the roster. Matches\nthe mirrored address in Cloud SQL, so phone-only accounts (no address) never match. For\ndiagnosing one person's access, `GET /admin/subscriber-access/check?email=` answers a fuller\nquestion; this one just finds them inside the current scope.","in":"query","name":"email","required":false,"schema":{"type":"string"}},{"description":"Include subscribers whose account was hard-deleted. Default **false**: their subscriptions\nsurvive (payments reference them), but \"who is subscribed here\" normally means live accounts,\nand the totals follow the same rule. Rows carry `isDeleted`, so the deleted ones are\nidentifiable once shown.","in":"query","name":"showDeleted","required":false,"schema":{"type":"boolean"}},{"description":"Purchase window over the subscription's creation instant, half-open (`from <= createdAt < to`),\nso the client owns the timezone and no last day is lost.","in":"query","name":"subscribedFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"subscribedTo","required":false,"schema":{"format":"date-time","type":"string"}}]}},"/admin/subscriber-claims/ingest":{"post":{"operationId":"IngestSubscriberClaims","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestSubscriberClaimsResponse"}}}}},"description":"Pre-creates claims from a Rangers `(email, code)` CSV (links each code, `codeSource = pre-issued`).","tags":["Admin/Subscriber Claims"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestSubscriberClaimsRequest"}}}}}},"/admin/subscriber-claims":{"get":{"operationId":"List","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_AdminSubscriberClaimViewModel_"}}}}},"description":"Admin queue — returns all statuses by default; pass `status` to narrow to a single cohort.","tags":["Admin/Subscriber Claims"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/SubscriberClaimStatus"}},{"in":"query","name":"emailSearch","required":false,"schema":{"type":"string"}}]}},"/admin/subscriber-claims/{claimId}":{"get":{"operationId":"Get","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminSubscriberClaimViewModel"}}}}},"tags":["Admin/Subscriber Claims"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/subscriber-claims/{claimId}/approve":{"post":{"operationId":"Approve","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimViewModel"}}}}},"description":"Approve → mint a code (provenance `admin`); the code string is returned for the admin to send.\n`body.subscriptionType` is a manual fallback applied ONLY when the claim has no resolved interval\n(receipt OCR failed); when the receipt already set an interval, it's ignored. Send `{}` otherwise.","tags":["Admin/Subscriber Claims"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ApproveSubscriberClaimRequest"}}}}}},"/admin/subscriber-claims/{claimId}/deny":{"post":{"operationId":"Deny","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimViewModel"}}}}},"description":"Deny → terminal `admin_denied` (+ optional note).","tags":["Admin/Subscriber Claims"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimActionRequest"}}}}}},"/admin/subscriber-claims/{claimId}/email":{"post":{"operationId":"Email","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimViewModel"}}}}},"description":"Email → `admin_email` (the admin reaches out from their own client; + optional note).","tags":["Admin/Subscriber Claims"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SubscriberClaimActionRequest"}}}}}},"/admin/subscriber-access/check":{"get":{"operationId":"CheckAccess","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AccessCheckViewModel"}}}}},"description":"Cross-checks Firebase Auth, subscriptions + entitlements, the subscriber claim and the comp code,\nand returns one verdict (`diagnosis`) plus the evidence behind it. Read-only.\n\nPass `email` (resolved to whoever owns it today) or `uid` for an exact account.","tags":["Admin/Subscriber Access"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"query","name":"email","required":false,"schema":{"type":"string"}},{"in":"query","name":"uid","required":false,"schema":{"type":"string"}}]}},"/admin/subscriber-access/reissue":{"post":{"operationId":"ReissueAccess","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReissueAccessViewModel"}}}}},"description":"Grants a replacement subscription for a fan whose entitlement was lost. Only accepts the\nrecoverable verdicts (`isReissuable` on the check response); anything else is rejected with the\ncheaper remedy in the message. Refuses when the account already has access, so a double-click\ncan't stack two subscriptions.","tags":["Admin/Subscriber Access"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReissueAccessRequest"}}}}}},"/admin/stadium-audio/sessions":{"post":{"operationId":"CreateSession","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionViewModel"}}}}},"description":"Creates a session. When `startsAt` is within 30 minutes (or already past), the stage is\nprovisioned in this request and the response carries `status: ready|live` and the pipeline;\notherwise the scheduler provisions it 30 minutes before `startsAt`.","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStadiumAudioSessionRequest"}}}}},"get":{"operationId":"ListSessions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionsListViewModel"}}}}},"description":"Sessions the caller can manage, newest window first. Finished ones only with `includeEnded`.","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeEnded","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/stadium-audio/sessions/{sessionId}":{"get":{"operationId":"GetSession","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionViewModel"}}}}},"tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateSession","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionViewModel"}}}}},"description":"Rename, move a not-yet-live window, or extend/shorten `endsAt` of a running session.","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStadiumAudioSessionRequest"}}}}}},"/admin/stadium-audio/sessions/{sessionId}/end":{"post":{"operationId":"EndSession","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionViewModel"}}}}},"description":"Ends the session now and tears the stage down (cancels it if it was never provisioned). Idempotent.","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/stadium-audio/sessions/{sessionId}/broadcaster":{"get":{"operationId":"GetBroadcasterConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioBroadcasterConfigViewModel"}}}}},"description":"WHIP push credentials (plus a paired listener token for a self-test) for handing to a venue\npublisher by hand. The publisher agent does not need this — it polls\n`GET /liveSources/{liveSourceId}/stadium-audio/active`, which serves the session automatically.","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/stadium-audio/sessions/{sessionId}/stats":{"get":{"operationId":"GetSessionStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionStats"}}}}},"description":"The session's audio passport: listeners, listener-minutes, publisher uptime, transport quality\nand the client-beacon QoE. Read `audio.isMetricsReporting` first — it separates \"nobody\nlistened\" from \"nobody measured\". 404 until the first measurement lands (the stadium-audio sweep, every two minutes).","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/stadium-audio/sessions/{sessionId}/stats/recompute":{"post":{"operationId":"RecomputeSessionStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioSessionStats"}}}}},"description":"Rebuilds the passport — the one way past the freeze, and the backfill path for a session that\nended while the sweep was down (CloudWatch coarsens the period for an old window, so a late\nrecompute still resolves; its retention is the real limit).","tags":["Admin/StadiumAudioSessions"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"sessionId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/sports-registry/leagues":{"get":{"operationId":"AdminListSportsRegistryLeagues","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_SportsRegistryLeagueViewModel_"}}}}},"description":"A page of the leagues the registry knows, `discovered` ones included, each with its sport's name and nothing below\nit (a league's tree is `GET leagues/{id}/members`). `status`, if given, keeps one status; `sportId` one sport (a\nregistry id); `search` a name fragment of the league or its sport. Sorted by sport, the admins' order, name.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"int32","type":"integer","minimum":0}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","type":"integer","minimum":1,"maximum":200}},{"in":"query","name":"status","required":false,"schema":{"type":"string","pattern":"^(discovered|active|hidden|retired)$"}},{"in":"query","name":"sportId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"search","required":false,"schema":{"type":"string","maxLength":100}}]}},"/admin/sports-registry/leagues/{id}/members":{"get":{"operationId":"AdminListSportsRegistryLeagueMembers","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportsRegistryEntityViewModel"},"type":"array"}}}}},"description":"A league's whole tree on demand: its conferences, divisions and teams, whatever their status, each with its\n`parentId` for the console to nest; groups before teams, then the admins' order, then name.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/sports-registry/inactive-at-provider":{"get":{"operationId":"AdminListSportsRegistryInactiveAtProvider","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportsRegistryEntityViewModel"},"type":"array"}}}}},"description":"Entities active down the chain that the provider no longer lists: to hide, retire or wait on.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/sports-registry/entities/{id}":{"get":{"operationId":"AdminGetSportsRegistryEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsRegistryEntityViewModel"}}}}},"description":"One registry entity by its registry id, whatever its status.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateSportsRegistryEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsRegistryEntityUpdateViewModel"}}}}},"description":"Sets an entity's status, a league's settings and order, or a sport's featured flag. Activating a league starts its\nsync at once (`syncTaskName`), activates its `discovered` sport, and shows its teams on the picker once that task\ncompletes.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSportsRegistryEntityRequest"}}}}}},"/admin/sports-registry/entities":{"post":{"operationId":"AdminCreateSportsRegistryEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsRegistryEntityUpdateViewModel"}}}}},"description":"An entity no provider lists, made by hand (a league the provider does not carry, its teams): under the given\nparent, with the admin's name, `active` by default (a conference or division `hidden`). Its profile is made at\nonce when it starts active; the sync leaves it alone.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSportsRegistryEntityRequest"}}}}}},"/admin/sports-registry/leagues/{id}/sync":{"post":{"operationId":"AdminSyncSportsRegistryLeague","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportsRegistryEntityUpdateViewModel"}}}}},"description":"Enqueues one league's deep sync, whatever its status; `syncTaskName` is null when one is already queued this hour.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/sports-registry/providers":{"get":{"operationId":"AdminListSportsDataProviders","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportDataProviderViewModel"},"type":"array"}}}}},"description":"The providers the sync can read, the active one flagged; the kickoff of every run takes the active one.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/sports-registry/providers/{provider}/activate":{"put":{"operationId":"AdminActivateSportsDataProvider","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportDataProviderViewModel"}}}}},"description":"Makes `provider` the one the sync reads from the next run on, once its adapter confirms it can run (a missing\ncredential answers 503 here). `400` for a provider without an adapter.","tags":["Admin/SportsRegistry"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"provider","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/sports/tree":{"get":{"operationId":"AdminGetSportsTree","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportEntityWithSubcollection"},"type":"array"}}}}},"description":"\"This method is just for convenience and debugging, will not work on production since it's not optimized for performance\"","tags":["Admin/Sports"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"path","required":false,"schema":{"type":"string"}}]}},"/admin/sports":{"get":{"operationId":"AdminGetAllSports","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportEntityAdminViewModel"},"type":"array"},"examples":{"Example 1":{"value":[{"id":"4rNCVpqxG2YCkjJQXWvS","name":"NBA","subcollectionName":null,"parentPath":"basketball","createdAt":"2025-01-30T10:20:37.391Z","path":"basketball/nba","collectionName":"leagues","parentCollectionName":"sports","breadcrumbs":["Basketball","NBA"],"tags":["Basketball","NBA"],"assignedEntityType":"team","isFeatured":false,"espnUid":"s:40~l:46","catalogId":"0b9f6c0e-5a44-4d0e-9a57-3f1c2f6d8e21"}]}}}}}},"description":"Returns a list of all sports, each with the `catalogId` the Bleachers admin endpoints take.","tags":["Admin/Sports"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","live_source_editor"]}],"parameters":[]},"post":{"operationId":"AdminAddSport","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportEntity"}}}}},"tags":["Admin/Sports"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportEntityCreateRequest"}}}}}},"/admin/sports/{path}":{"get":{"operationId":"AdminGetSportEntities","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/SportEntityAdminViewModel"},"type":"array"},"examples":{"Example 1":{"value":[{"id":"4rNCVpqxG2YCkjJQXWvS","name":"NBA","subcollectionName":null,"parentPath":"basketball","createdAt":"2025-01-30T10:20:37.391Z","path":"basketball/nba","collectionName":"leagues","parentCollectionName":"sports","breadcrumbs":["Basketball","NBA"],"tags":["Basketball","NBA"],"assignedEntityType":"team","isFeatured":false,"espnUid":"s:40~l:46","catalogId":"0b9f6c0e-5a44-4d0e-9a57-3f1c2f6d8e21"}]}}}}}},"description":"Returns a list of entities under specific path, each with the `catalogId` the Bleachers admin endpoints take.","tags":["Admin/Sports"],"security":[{"jwt":["global_admin"]}],"parameters":[{"description":"Path without subcollection name: 'football', or 'basketball/nba'","in":"path","name":"path","required":true,"schema":{"type":"string"}}]}},"/admin/sports/sync":{"post":{"operationId":"AdminTriggerSportsSync","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnqueueSportsSyncResult"}}}}},"description":"Re-triggers the ESPN catalog sync. The task name is bucketed per clock\nhour, so `enqueued: false` means a run for this hour is already scheduled\nor has already happened — check `GET admin/sports/sync/status`.","tags":["Admin/Sports"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/sports/sync/status":{"get":{"operationId":"AdminGetSportsSyncStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/SportsSyncRunStatus"}],"nullable":true}}}}},"description":"Last-known sync run: enqueued → running → completed (with stats) | failed\n(with error). `null` before the first enqueue. A `running` state with an\nold `startedAt` means the worker died mid-run — Cloud Tasks will retry it.","tags":["Admin/Sports"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/sports/featured":{"patch":{"operationId":"AdminSetSportFeatured","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportEntity"}}}}},"description":"Toggles the sports-interests picker \"popular\" flag of a sport: on the node's registry row, which the picker reads,\nand on the node until the taxonomy goes (`SportsRegistryAdminService.featureSportsNode`).\n\nNB: declared BEFORE the `{oldPath}` catch-all below — like `tree` above\n`{path}` — so the literal `featured` segment wins route registration.","tags":["Admin/Sports"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateSportFeaturedRequest"}}}}}},"/admin/sports/{oldPath}":{"patch":{"operationId":"AdminUpdateSportEntityPath","responses":{"204":{"description":"No content"}},"description":"Moves sport entity in sports hierarchy","tags":["Admin/Sports"],"security":[{"jwt":["global_admin"]}],"parameters":[{"description":"Entity path to move","in":"path","name":"oldPath","required":true,"schema":{"type":"string"},"example":"basketball/nfl"}],"requestBody":{"description":"New entity path","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SportEntityUpdatePathRequest","description":"New entity path"}}}}}},"/admin/sidecast/shows/{showId}/episodes/{episodeId}/downloadUrls":{"get":{"operationId":"AdminGetSidecastEpisodeDownloadUrls","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SidecastEpisodeDownloadResponse"}}}}},"description":"Returns download URLs for every recorded video in a sidecast episode, in recording order.\nAn episode can contain multiple videos (e.g. encoder reconnects); each entry carries its own\nstatus — `ready` (6-hour signed MP4 URL), `processing` (Mux static rendition requested, retry\nin ~1h), or `noBackup`.","tags":["Admin/Sidecast"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"showId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/search":{"get":{"operationId":"AdminExtendedEntitiesSearch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GroupedSearchResultViewModel"}}}}},"tags":["Admin/Search"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}}]}},"/admin/search/tags/xlsx":{"post":{"operationId":"UploadTagsFromXlsx","responses":{"204":{"description":"No content"}},"description":"Note that this endpoint was not created for large tables. Only for dev purposes.","tags":["Admin/Search"],"deprecated":true,"security":[{"jwt":["global_admin"]}],"parameters":[{"description":"Sheet index number to get tags from.","in":"query","name":"sheetIndex","required":false,"schema":{"format":"double","type":"number"}}],"requestBody":{"description":"Base64 encoded file with file name.","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadRequest","description":"Base64 encoded file with file name."}}}}}},"/admin/scheduledBroadcasts/{broadcastId}/game-feed":{"get":{"operationId":"GetGameFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameFeedViewModel"}}}}},"description":"The live game-state feed of one broadcast: whether it runs (platform switch, source config,\noverride), the provider event it matched, its last reading, what it changed (`autoEndAt`,\nthe replay start) and the timeline of the game's key moments. GlobalAdmin only.","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"UpdateGameFeedOverride","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/GameFeedViewModel"}}}}},"description":"Replaces this broadcast's feed override: pin the provider's event (the automatic match found\nnone, or the wrong game) or take the broadcast off the feed (`disabled`) so the schedule alone\nends it — an end the feed moved to a final goes back to the schedule while that is still ahead.\n`{}` clears the override. A changed event restarts the feed for the broadcast; any PUT re-arms a\nfeed that handed the end to a human (someone changed `autoEndAt` during the broadcast).","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateGameFeedOverrideRequest"}}}}}},"/admin/scheduledBroadcasts/{broadcastId}/auto-end":{"put":{"operationId":"SetBroadcastAutoEnd","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BroadcastAutoEndViewModel"}}}}},"description":"Sets when an ON-AIR broadcast ends — to keep a post-game presser on air, or to end sooner. The\nschedule PATCH refuses time edits once a broadcast has left `scheduled`; this is the lever while\nit airs. A game feed on the broadcast hands the end to the caller and never moves it again until\nre-armed (`PUT .../game-feed`). Up to a minute in the past is accepted — \"end now\": the scheduler\nends it on its next tick. 409 when the broadcast is neither on air nor provisioning.","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetBroadcastAutoEndRequest"}}}}}},"/admin/scheduledBroadcasts/{broadcastId}/adPreview":{"get":{"operationId":"PreviewBroadcastAdSelection","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdSelectionPreviewViewModel"}}}}},"description":"Dry-runs the local-creative ad decision for a broadcast BEFORE its live\nexists — the day-before check. Runs against exactly the config provisioning\nwill snapshot (source defaults layered with any per-broadcast override), so\na missing `targetingMode` shows up here rather than as a game quietly\nserving the upstream ad server's inventory.\n\nRead `warnings` first; `candidates[].rejection` says why each creative that\ndid not make the pod was dropped. Touches no AWS API.","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Simulated viewer region (lowercase ISO subdivision, `\"tx\"`). Empty = unplaceable viewer.","in":"query","name":"region","required":false,"schema":{"type":"string"}},{"description":"Simulated viewer IP — takes precedence over `region`.","in":"query","name":"ip","required":false,"schema":{"type":"string"}},{"description":"Break length to fill. Defaults to 60.","in":"query","name":"availDurationSeconds","required":false,"schema":{"format":"double","type":"number"}},{"description":"Instant to evaluate creative flight windows at (ISO-8601). Defaults to now.","in":"query","name":"at","required":false,"schema":{"type":"string"}},{"description":"Also return the exact VAST that would be served.","in":"query","name":"includeVast","required":false,"schema":{"type":"boolean"}}]}},"/admin/scheduledBroadcasts/liveSource/{liveSourceId}":{"post":{"operationId":"CreateScheduledBroadcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"}}}}},"tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateScheduledBroadcastRequest"}}}}}},"/admin/scheduledBroadcasts/liveSource/{liveSourceId}/bulk":{"post":{"operationId":"BulkCreateScheduledBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"},"type":"array"}}}}},"tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateScheduledBroadcastsRequest"}}}}}},"/admin/scheduledBroadcasts":{"get":{"operationId":"GetScheduledBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ScheduledBroadcastViewModel_"}}}}},"tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/admin/scheduledBroadcasts/{broadcastId}":{"get":{"operationId":"GetScheduledBroadcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"}}}}},"tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateScheduledBroadcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"}}}}},"tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateScheduledBroadcastRequest"}}}}}},"/admin/scheduledBroadcasts/{broadcastId}/cancel":{"post":{"operationId":"CancelScheduledBroadcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"}}}}},"tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/scheduledBroadcasts/{broadcastId}/trigger":{"post":{"operationId":"TriggerBroadcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"}}}}},"description":"Manually trigger provisioning for a broadcast (bypasses schedule).","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/scheduledBroadcasts/{broadcastId}/retry":{"post":{"operationId":"RetryBroadcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"}}}}},"description":"Retry a failed broadcast provisioning.","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"broadcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/scheduledBroadcasts/liveSource/{liveSourceId}/export":{"get":{"operationId":"ExportBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/CreateScheduledBroadcastRequest"},"type":"array"}}}}},"description":"Export all broadcasts for a LiveSource as JSON (same format as import).","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/ScheduledBroadcastStatus"}}]}},"/admin/scheduledBroadcasts/liveSource/{liveSourceId}/import":{"post":{"operationId":"ImportBroadcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ScheduledBroadcastViewModel"},"type":"array"}}}}},"description":"Import broadcasts from JSON (same format as export — supports roundtrip).","tags":["Admin/ScheduledBroadcasts"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkCreateScheduledBroadcastsRequest"}}}}}},"/admin/replay-stats":{"get":{"operationId":"AdminListReplayStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ReplayStatsListItemViewModel_"}}}}},"description":"Replays table: newest-ended-first page of ended lives with their VOD passport\nattached (`stats: null` for one not computed yet). A GlobalAdmin may omit\n`liveSourceId`; a `live_source_editor` must scope by an accessible one.","tags":["Admin/ReplayStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/admin/replay-stats/{liveId}":{"get":{"operationId":"AdminGetReplayStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayStatsViewModel"}}}}},"description":"The stored VOD passport for one replay. 404 if it hasn't been computed yet.","tags":["Admin/ReplayStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/replay-stats/{liveId}/timeseries":{"get":{"operationId":"AdminGetReplayStatsTimeseries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayStatsTimeseriesViewModel"}}}}},"description":"The replay's daily decay curve (views + playing time per day). 404 if not built yet.","tags":["Admin/ReplayStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/replay-stats/{liveId}/recompute":{"post":{"operationId":"AdminRecomputeReplayStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReplayStatsViewModel"}}}}},"description":"Re-read the passport from Mux now, bypassing the refresh cadence. The one\nexception is a FROZEN passport: its window starts outside Mux's 100-day\nretention (Mux 400s such a timeframe), so the stored record returns unchanged.","tags":["Admin/ReplayStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/regions/sync":{"post":{"operationId":"SyncRegions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"synced":{"type":"number","format":"double"}},"required":["synced"],"type":"object"}}}}},"tags":["Admin/Regions"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/regions":{"get":{"operationId":"ListRegions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/RegionViewModel"},"type":"array"}}}}},"tags":["Admin/Regions"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"country","required":false,"schema":{"$ref":"#/components/schemas/Country"}}]}},"/admin/config/recaptcha":{"get":{"operationId":"AdminGetRecaptchaConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecaptchaConfigViewModel"}}}}},"description":"The EFFECTIVE config the pre-auth captcha gate is running with (defaults applied).","tags":["Admin/Recaptcha"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateRecaptchaConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecaptchaConfigViewModel"}}}}},"description":"Toggles the captcha rollout. Only the keys present in the body are changed; omitted keys keep\ntheir current value. An unknown `mode` or an out-of-range `scoreThreshold` is rejected — the\nchange busts the shared cache and propagates immediately (this is the `enforce -> off`\nkill-switch, so it must not wait for a TTL).","tags":["Admin/Recaptcha"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateRecaptchaConfigRequest"}}}}}},"/admin/config/recaptcha/actions/{action}":{"delete":{"operationId":"AdminRemoveRecaptchaActionOverride","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RecaptchaConfigViewModel"}}}}},"description":"Drops one action's override so it runs with the global `mode` and `scoreThreshold` again.","tags":["Admin/Recaptcha"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"action","required":true,"schema":{"$ref":"#/components/schemas/RecaptchaAction"}}]}},"/admin/liveSources/{liveSourceId}/publisher-device":{"get":{"operationId":"GetPublisherDevice","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/PublisherDeviceViewModel"}],"nullable":true}}}}},"description":"The publisher device currently bound to a venue (or null if none).","tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources/{liveSourceId}/publisher-health":{"get":{"operationId":"GetPublisherHealth","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherHealthAdminViewModel"}}}}},"tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}]}},"/admin/liveSources/{liveSourceId}/publisher-health/{installId}/diagnostics":{"post":{"operationId":"RequestPublisherDiagnostics","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherDiagnosticRequestViewModel"}}}}},"tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"installId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources/{liveSourceId}/publisher-health/{installId}/diagnostics/{requestId}/status":{"get":{"operationId":"GetPublisherDiagnosticRequest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherDiagnosticRequestViewModel"}}}}},"tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"installId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"requestId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources/{liveSourceId}/publisher-health/{installId}/diagnostics/{requestId}/download":{"get":{"operationId":"DownloadPublisherDiagnostics","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherDiagnosticsDownloadViewModel"}}}}},"tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"installId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"requestId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources/{liveSourceId}/publisher":{"post":{"operationId":"ProvisionPublisher","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionPublisherViewModel"}}}}},"description":"Provision a publisher machine account bound to a venue and ensure its\nStadiumAudioKey. Returns one-time login credentials for the engineer.","tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProvisionPublisherRequest"}}}}}},"/admin/publisher-devices/{accountUid}/rotate-key":{"post":{"operationId":"RotatePublisherKey","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherKeyRotationViewModel"}}}}},"description":"Rotate the venue's stadium-audio key (kills a lost machine's cached key).","tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"accountUid","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/publisher-devices/{accountUid}/reset-password":{"post":{"operationId":"ResetPublisherPassword","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PublisherPasswordResetViewModel"}}}}},"description":"Reset the publisher account password (e.g. after an engineer departs).","tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"accountUid","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/publisher-devices/{accountUid}":{"delete":{"operationId":"OffboardPublisher","responses":{"204":{"description":"No content"}},"description":"Deactivate publishing: disable the account + rotate (revoke) the key.","tags":["Admin/Publisher"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"accountUid","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/prompts":{"get":{"operationId":"AdminListPrompts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PromptSummaryViewModel"},"type":"array"}}}}},"description":"Every prompt, and which version of it runs.","tags":["Admin/Prompts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/prompts/{name}":{"get":{"operationId":"AdminGetPrompt","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptDetailViewModel"}}}}},"description":"One prompt: the file, what runs now and the saved versions.","tags":["Admin/Prompts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"name","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/prompts/{name}/versions/{version}":{"get":{"operationId":"AdminGetPromptVersion","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptVersionViewModel"}}}}},"description":"One saved version's source.","tags":["Admin/Prompts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"name","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"version","required":true,"schema":{"format":"double","type":"number"}}]}},"/admin/prompts/{name}/versions":{"post":{"operationId":"AdminCreatePromptVersion","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptVersionViewModel"}}}}},"description":"Saves an edit as the next version and runs it. 400 when it does not parse or changes the schemas or the provider.","tags":["Admin/Prompts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"name","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePromptVersionRequest"}}}}}},"/admin/prompts/{name}/activate":{"post":{"operationId":"AdminActivatePromptVersion","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PromptDetailViewModel"}}}}},"description":"Runs a saved version, or the file again with `version: null`.","tags":["Admin/Prompts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"name","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ActivatePromptVersionRequest"}}}}}},"/admin/profiles/persons":{"post":{"operationId":"AdminAddPerson","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"},"examples":{"Example 1":{"value":{"firstName":"John","lastName":"Doe","displayName":"Johnny","bzzrHandle":"@johnnydoe","hometown":"Springfield","nicknames":["JD","Johnny"],"sports":["Football","Soccer"],"categories":["Athlete","Coach"],"bio":"John Doe is a versatile athlete known for his skills in multiple sports.","familyMembers":{"father":"James Doe","mother":"Jane Doe"},"relationships":{"associations":["Alice","Bob"],"sponsors":["Charlie","Dave"]},"socialLinks":{"twitter":["https://twitter.com/johnnydoe"],"instagram":["https://instagram.com/johnnydoe"]},"profileImage":{"file":"base64string","fileName":"string"}}}}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonCreateRequest"}}}}},"get":{"operationId":"AdminSearchPersons","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PersonViewModel_"}}}}},"description":"Get a paginated list of a records by specified query and/or filters.","tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Use library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filters using `Filter` isntance.\nSerialized `filters` are the string if format `firstName|eq|'Michael'|T|basic%20test%20filter|`,\nwhere `|` symbol is a filter delimeter and on positions between delimeters are:\n1st: case sensitive field name;\n2nd: operator;\n3rd: value to search by;\n4th: filter visiability (T or F);\n5th: filter tag.\nAll filter string parts are optional.\nIf filter `value` is a string, it should be in quotes.\n`operator` is one of the `FilterOperator` provided by library.\n\nTo add additional filter use `FilterConnector` from library.\nAdded filter in filters stirng uses logic with `+` symbol representation after previous filter delimiter:\nfilters string would look like:\n`firstName|eq|'Michael'|T|basic%20test%20filter|or%2Bage|ge|18|F||and%2Bage|le|25|F||`.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Count of the records to return.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of the records to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/profiles/persons/{id}":{"get":{"operationId":"AdminGetPerson","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonViewModel"}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"AdminUpdatePerson","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Person"},"examples":{"Example 1":{"value":{"id":"xyz123","firstName":"John","lastName":"Doe","displayName":"Johnny","hometown":"Springfield","nicknames":["JD","Johnny"],"sports":["Football","Soccer"],"categories":["Athlete","Coach"],"bio":"John Doe is a versatile athlete known for his skills in multiple sports.","familyMembers":{"father":"James Doe","mother":"Jane Doe"},"relationships":{"associations":["Alice","Bob"],"sponsors":["Charlie","Dave"]},"socialLinks":{"twitter":["https://twitter.com/johnnydoe"],"instagram":["https://instagram.com/johnnydoe"]},"profileImage":{"file":"base64string","fileName":"string"}}}}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PersonUpdateRequest"}}}}}},"/admin/profiles/organizations":{"post":{"operationId":"AdminAddOrganization","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"},"examples":{"Example 1":{"value":{"displayName":"New York Giants","bzzrHandle":"@NYGiants","fullName":"New York Giants Football Club","teamMascot":"Giants","hometown":"New York, NY","stadiumName":"MetLife Stadium","stadiumLocation":"East Rutherford, NJ","nicknames":["Giants","Big Blue"],"sports":["Football"],"categories":["Professional Sports Team"],"bio":"The New York Giants are a professional football team based in New York City.","relationships":{"associations":["NFL","AFC East"],"sponsors":["Pepsi","Nike"],"farmTeamAffiliates":["Level A","Level AAA"]},"socialLinks":{"twitter":["https://twitter.com/NYGiants"],"instagram":["https://instagram.com/nygiants"]},"profileImage":{"file":"base64string","fileName":"giants_logo.png"}}}}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationCreateRequest"}}}}},"get":{"operationId":"AdminSearchOrganizations","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_OrganizationViewModel_"}}}}},"description":"Get a paginated list of a records by specified query and/or filters.","tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Use library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filters using `Filter` isntance.\nSerialized `filters` are the string if format `firstName|eq|'Michael'|T|basic%20test%20filter|`,\nwhere `|` symbol is a filter delimeter and on positions between delimeters are:\n1st: case sensitive field name;\n2nd: operator;\n3rd: value to search by;\n4th: filter visiability (T or F);\n5th: filter tag.\nAll filter string parts are optional.\nIf filter `value` is a string, it should be in quotes.\n`operator` is one of the `FilterOperator` provided by library.\n\nTo add additional filter use `FilterConnector` from library.\nAdded filter in filters stirng uses logic with `+` symbol representation after previous filter delimiter:\nfilters string would look like:\n`firstName|eq|'Michael'|T|basic%20test%20filter|or%2Bage|ge|18|F||and%2Bage|le|25|F||`.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Count of the records to return.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of the records to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/profiles/organizations/{id}":{"get":{"operationId":"AdminGetOrganization","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationViewModel"}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"AdminUpdateOrganization","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Organization"},"examples":{"Example 1":{"value":{"id":"xyz123","displayName":"New York Giants","bzzrHandle":"@NYGiants","fullName":"New York Giants Football Club","mascot":"Giants","hometown":"New York, NY","stadiumName":"MetLife Stadium","stadiumLocation":"East Rutherford, NJ","nicknames":["Giants","Big Blue"],"sports":["Football"],"categories":["Team","Organization"],"bio":"The New York Giants are a professional football team based in New York City.","relationships":{"associations":["NFL","AFC East"],"sponsors":["Pepsi","Nike"],"farmTeamAffiliates":["Level A","Level AAA"]},"socialLinks":{"twitter":["https://twitter.com/NYGiants"],"instagram":["https://instagram.com/nygiants"]},"profileImage":{"file":"base64string","fileName":"giants_logo.png"}}}}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/OrganizationUpdateRequest"}}}}}},"/admin/profiles/organizations/{id}/roaster":{"get":{"operationId":"AdminGetRoaster","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PersonShortViewModel_"}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/profiles/schools":{"post":{"operationId":"AdminAddSchool","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"},"examples":{"Example 1":{"value":{"displayName":"New York Giants","bzzrHandle":"@NYGiants","fullName":"New York Giants Football Club","hometown":"New York, NY","stadiumName":"MetLife Stadium","stadiumLocation":"East Rutherford, NJ","mascot":"Unknown","nicknames":["Giants","Big Blue"],"sports":["Football"],"categories":["Team","Organization"],"bio":"The New York Giants are a professional football team based in New York City.","relationships":{"associations":["NFL","AFC East"],"sponsors":["Pepsi","Nike"],"farmTeamAffiliates":["Level A","Level AAA"]},"socialLinks":{"twitter":["https://twitter.com/NYGiants"],"instagram":["https://instagram.com/nygiants"]},"profileImage":{"file":"base64string","fileName":"giants_logo.png"}}}}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchoolCreateRequest"}}}}},"get":{"operationId":"AdminSearchSchools","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_SchoolViewModel_"}}}}},"description":"Get a paginated list of a records by specified query and/or filters.","tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Use library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string`\nto serialize filters using `Filter` isntance using one of the provided `FilterOperators`.\nTo add additional filter use `FilterConnector` from library.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Count of the records to return.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of the records to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/profiles/schools/{id}":{"get":{"operationId":"AdminGetSchool","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchoolViewModel"}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"AdminUpdateSchool","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/School"},"examples":{"Example 1":{"value":{"id":"xyz123","displayName":"New York Giants","bzzrHandle":"@NYGiants","fullName":"New York Giants Football Club","hometown":"New York, NY","stadiumName":"MetLife Stadium","stadiumLocation":"East Rutherford, NJ","mascot":"Unknown","nicknames":["Giants","Big Blue"],"sports":["Football"],"categories":["Team","Organization"],"bio":"The New York Giants are a professional football team based in New York City.","relationships":{"associations":["NFL","AFC East"],"sponsors":["Pepsi","Nike"],"farmTeamAffiliates":["Level A","Level AAA"]},"socialLinks":{"twitter":["https://twitter.com/NYGiants"],"instagram":["https://instagram.com/nygiants"]},"profileImage":{"file":"base64string","fileName":"giants_logo.png"}}}}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SchoolUpdateRequest"}}}}}},"/admin/profiles/{entityId}/stats":{"get":{"operationId":"AdminGetStatsForProfile","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ProfileStats"}}}}},"tags":["Admin/Profiles"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"entityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/products/stripe":{"post":{"operationId":"CreateStripeProduct","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProductViewModel"}}}}},"tags":["Admin/Products"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateStripeProductRequest"}}}}},"get":{"operationId":"ListStripeProducts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_AdminProductViewModel_"}}}}},"tags":["Admin/Products"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"interval","required":false,"schema":{"$ref":"#/components/schemas/ProductInterval"}},{"in":"query","name":"isActive","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"creatorId","required":false,"schema":{"type":"string"}}]}},"/admin/products/free":{"post":{"operationId":"CreateFreeProduct","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProductViewModel"}}}}},"description":"Creates a zero-cost synthetic product (`interval: season`, `source: free`). Nothing is\ncreated on Stripe. Separate from `POST stripe` on purpose — no price, no sale windows.","tags":["Admin/Products"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateFreeProductRequest"}}}}}},"/admin/products/tv":{"post":{"operationId":"CreateTvProduct","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProductViewModel"}}}}},"description":"Creates the product TV-provider (TV Everywhere) grants are recorded under (`source: tv`). $0 and\nrail-less like a free product, but its tail follows the paid rules; a fan never claims it — an\noperator PERMIT at playback grants it.","tags":["Admin/Products"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateTvProductRequest"}}}}}},"/admin/products/stripe/{productId}":{"get":{"operationId":"GetStripeProduct","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProductViewModel"}}}}},"tags":["Admin/Products"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"path","name":"productId","required":true,"schema":{"format":"double","type":"number"}}]},"patch":{"operationId":"UpdateStripeProduct","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProductViewModel"}}}}},"tags":["Admin/Products"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"productId","required":true,"schema":{"format":"double","type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStripeProductRequest"}}}}},"delete":{"operationId":"DeactivateStripeProduct","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"tags":["Admin/Products"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"productId","required":true,"schema":{"format":"double","type":"number"}}]}},"/admin/products/stripe/{productId}/price":{"patch":{"operationId":"UpdateStripeProductPrice","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminProductViewModel"}}}}},"tags":["Admin/Products"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"productId","required":true,"schema":{"format":"double","type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateStripePriceRequest"}}}}}},"/admin/config/pricing":{"get":{"operationId":"AdminGetPricingConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingConfigViewModel"}}}}},"tags":["Admin/Pricing"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"put":{"operationId":"AdminUpdatePricingConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingConfigViewModel"}}}}},"description":"Replaces the WHOLE schedule with the given periods — always send every period\n(fetch first, modify, PUT back). A single-period body would wipe the rest.\nExisting `LiveStats` docs are not re-costed automatically — use\n`POST /admin/lives/{liveId}/stats/recompute` to re-derive a past game's cost\nat the new rate (raw usage is stored, so any game is re-costable).","tags":["Admin/Pricing"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePricingConfigRequest"}}}}}},"/admin/config/pricing/card":{"get":{"operationId":"AdminGetPricingCard","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PricingCardViewModel"}}}}},"description":"The resolved full rate card for `date` (ISO, default now) — the ONE rate\nsource shared by the game passports and the Cost Planner.","tags":["Admin/Pricing"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"date","required":false,"schema":{"type":"string"}}]}},"/admin/prewarm":{"post":{"operationId":"ApplyPrewarm","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrewarmStateViewModel"}}}}},"tags":["Admin/Prewarm"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrewarmApplyRequest"}}}}},"get":{"operationId":"GetPrewarmState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrewarmStateViewModel"}}}}},"tags":["Admin/Prewarm"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"delete":{"operationId":"RevertPrewarm","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PrewarmRevertResultViewModel"}}}}},"description":"Manual revert. `force=true` skips the live-guard (reverting mid-broadcast is then on the caller).","tags":["Admin/Prewarm"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"force","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/admin/posts/deleted":{"get":{"operationId":"AdminGetDeletedPosts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_AdminUserPostViewModel_"}}}}},"description":"The trash: posts staff took down, newest-deleted first. A post its owner deleted is not listed.","tags":["Admin/Posts"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/posts/{postId}":{"delete":{"operationId":"AdminDeletePost","responses":{"204":{"description":"No content"}},"description":"Soft-deletes one post regardless of who owns it: the staff takedown, the post counterpart of\n`DELETE /admin/videos/{videoId}`. The consumer apps call it too, so content managers can remove a\npost from the feed without opening the panel.","tags":["Admin/Posts"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/posts/{postId}/restore":{"post":{"operationId":"AdminRestorePost","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserPostViewModel"}}}}},"description":"Undoes a staff takedown: the Stream activity and the document come back. An owner's own delete is refused.","tags":["Admin/Posts"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"postId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podscan/podcasts/search":{"get":{"operationId":"GetPodcastsList","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodscanPodcastsPagedResponse"}}}}},"tags":["Admin/Podscan"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"$ref":"#/components/schemas/PodscanSearchOrderByEnum"}},{"in":"query","name":"orderDirection","required":false,"schema":{"$ref":"#/components/schemas/PodscanSearchOrderDirecionEnum"}},{"in":"query","name":"page","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"perPage","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"categoryIds","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"searchFields","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/PodscanSearchSearchFieldsEnum"}}},{"in":"query","name":"language","required":false,"schema":{"$ref":"#/components/schemas/PodscanLanguageEnum"}},{"in":"query","name":"region","required":false,"schema":{"$ref":"#/components/schemas/PodscanRegionEnum"}},{"in":"query","name":"minAudienceSize","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"maxAudienceSize","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"minEpisodeCount","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"minLastEpisodePostedAt","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"maxLastEpisodePostedAt","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"hasGuests","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"hasSponsors","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/podscan/podcast/rss":{"get":{"operationId":"GetPodcastsByRssFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodscanPodcastsResponse"}}}}},"tags":["Admin/Podscan"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"rssFeed","required":true,"schema":{"type":"string"}}]}},"/admin/podscan/podcast/{podcastId}":{"get":{"operationId":"GetPodscanPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodscanPodcast"}}}}},"tags":["Admin/Podscan"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podscan/list/item":{"post":{"operationId":"AddPodscanListItem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodscanListItemActionResponse"}}}}},"description":"Refused (400, with the reason) when we already hold the show or Podscan marks the record a duplicate.","tags":["Admin/Podscan"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"type":{"$ref":"#/components/schemas/PodscanTypesEnum"},"id":{"type":"string"}},"required":["type","id"],"type":"object"}}}}},"delete":{"operationId":"RemovePodscanListItem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodscanListItemActionResponse"}}}}},"tags":["Admin/Podscan"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"type":{"$ref":"#/components/schemas/PodscanTypesEnum"},"id":{"type":"string"}},"required":["type","id"],"type":"object"}}}}}},"/admin/podscan/list/items":{"get":{"operationId":"GetListItems","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodscanListViewModel"}}}}},"tags":["Admin/Podscan"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"page","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"perPage","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}}]}},"/admin/podcasts/{podcastId}/host-credits":{"get":{"operationId":"AdminGetPodcastHostCredits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/{podcastId}/episodes/{episodeId}/guest-credits":{"get":{"operationId":"AdminGetPodcastGuestCredits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastGuestCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/{podcastId}/episodes/{episodeId}/guest-credits/corrections":{"post":{"operationId":"AdminCorrectPodcastGuest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastGuestCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectPodcastGuestRequest"}}}}}},"/admin/podcasts/{podcastId}/episodes/{episodeId}/guest-credits/corrections/{creditId}/undo":{"post":{"operationId":"AdminUndoPodcastGuestCorrection","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastGuestCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creditId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutatePodcastCreditRequest"}}}}}},"/admin/podcasts/{podcastId}/episodes/{episodeId}/guest-credits/additions":{"post":{"operationId":"AdminAddPodcastGuest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastGuestCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutatePodcastCreditRequest"}}}}}},"/admin/podcasts/{podcastId}/episodes/{episodeId}/guest-credits/additions/{creditId}/remove":{"post":{"operationId":"AdminRemoveAddedPodcastGuest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastGuestCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creditId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutatePodcastCreditRequest"}}}}}},"/admin/podcasts/{podcastId}/host-credits/corrections":{"post":{"operationId":"AdminCorrectPodcastHost","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CorrectPodcastHostRequest"}}}}}},"/admin/podcasts/{podcastId}/host-credits/detected-hosts":{"get":{"operationId":"AdminGetDetectedPodcastHosts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DetectedPodcastHostsPageViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"cursor","required":true,"schema":{"type":"string"}}]}},"/admin/podcasts/{podcastId}/host-credits/corrections/{creditId}/undo":{"post":{"operationId":"AdminUndoPodcastHostCorrection","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creditId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutatePodcastCreditRequest"}}}}}},"/admin/podcasts/{podcastId}/host-credits/additions":{"post":{"operationId":"AdminAddPodcastHost","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutatePodcastCreditRequest"}}}}}},"/admin/podcasts/{podcastId}/host-credits/additions/{creditId}/remove":{"post":{"operationId":"AdminRemoveAddedPodcastHost","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostCreditsViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creditId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MutatePodcastCreditRequest"}}}}}},"/admin/podcasts/{podcastId}/ownerships":{"get":{"operationId":"AdminGetPodcastOwnerships","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipListViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"default":"active","type":"string","enum":["active","revoked","all"]}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"format":"double","type":"number"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}]},"post":{"operationId":"AdminGrantPodcastOwnership","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantPodcastOwnershipRequest"}}}}}},"/admin/podcasts/{podcastId}/ownership-link-preview":{"get":{"operationId":"AdminPreviewPodcastOwnershipLink","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipLinkPreviewViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/{podcastId}/ownership-transfer":{"post":{"operationId":"AdminTransferPodcastOwnership","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TransferPodcastOwnershipRequest"}}}}}},"/admin/podcasts/{podcastId}/ownerships/{assignmentId}":{"patch":{"operationId":"AdminChangePodcastOwnership","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"assignmentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChangePodcastOwnershipRequest"}}}}}},"/admin/podcasts/{podcastId}/ownerships/{assignmentId}/revoke":{"post":{"operationId":"AdminRevokePodcastOwnership","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"assignmentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RevokePodcastOwnershipRequest"}}}}}},"/admin/podcasts/{podcastId}/ownership-history":{"get":{"operationId":"AdminGetPodcastOwnershipHistory","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastOwnershipHistoryViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"format":"double","type":"number"}},{"in":"query","name":"cursor","required":false,"schema":{"type":"string"}}]}},"/admin/podcasts/stats":{"get":{"operationId":"AdminGetStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastsStatsTotal"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/podcasts/popular":{"get":{"operationId":"AdminGetPopularPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PopularPodcastEntryViewModel"},"type":"array"}}}}},"description":"The curated Popular rail (`GET /podcasts/popular`) in display order. Inactive podcasts and\nentries whose `podcast` is null show nowhere on the consumer rail — remove them here.\nDeclared above `{podcastId}` so the literal `popular` segment is not swallowed by it.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"post":{"operationId":"AdminAddPopularPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PopularPodcastEntryViewModel"},"type":"array"}}}}},"description":"Adds an active podcast to Popular at `position`, or last. Re-adding a listed podcast moves it\nto `position` (without one it stays put). Returns the updated list.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddPopularPodcastRequest"}}}}}},"/admin/podcasts/popular/{podcastId}":{"patch":{"operationId":"AdminMovePopularPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PopularPodcastEntryViewModel"},"type":"array"}}}}},"description":"Moves a listed podcast to `position`. Returns the updated list.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MovePopularPodcastRequest"}}}}},"delete":{"operationId":"AdminRemovePopularPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PopularPodcastEntryViewModel"},"type":"array"}}}}},"description":"Removes a podcast from Popular; removing one that isn't listed succeeds. Returns the updated list.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/featuredTags":{"get":{"operationId":"AdminGetFeaturedTags","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FeaturedTag"},"type":"array"}}}}},"description":"Featured tags (the podcast tab bar) ordered by their manual position (ascending). label,\nadditionalNames and showRail are always present. Declared above `{podcastId}` so the literal\n`featuredTags` segment is not swallowed by it.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"post":{"operationId":"AdminCreateFeaturedTag","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedTag"}}}}},"description":"Adds a featured tag — served by GET /podcasts/featuredTags, ordered by its manual position,\nand by GET /podcasts/tagRails when showRail is on. The name is lowercased and becomes the slug\nid; it is fixed, the label is the editable display text. The position must not already be\ntaken by another featured tag, and at most 50 featured tags can exist. Optional\nadditionalNames union extra tag values into the tag's results on top of its name; tags sharing\na value are allowed (the podcast just shows under both tabs). Pick values from\nGET admin/podcasts/tagValues.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedTagCreateRequest"}}}}}},"/admin/podcasts/featuredTags/{featuredTagId}":{"patch":{"operationId":"AdminUpdateFeaturedTag","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedTag"}}}}},"description":"Updates a featured tag's label, position, showRail and/or additional names. Position is not\nchecked for uniqueness here, so admins can swap two tags' positions. Sending additionalNames\nreplaces the tag's extra value set (empty array clears it) and recomputes podcastPopularity\nover the new union.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"featuredTagId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeaturedTagUpdateRequest"}}}}},"delete":{"operationId":"AdminDeleteFeaturedTag","responses":{"204":{"description":"No content"}},"description":"Removes a featured tag. It stops appearing in GET /podcasts/featuredTags.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"featuredTagId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/tagValues":{"get":{"operationId":"AdminSearchTagValues","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/TagValueViewModel"},"type":"array"}}}}},"description":"Distinct podcast tag values (publisher names and Podscan categories) containing the query,\ncase-insensitive, most used first — the values a featured tag's name and additionalNames can\nmatch. An empty query lists the most used values. podcastCount is what the tag's tab shows.\nDeclared above `{podcastId}` so the literal `tagValues` segment is not swallowed by it.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":100}}]}},"/admin/podcasts":{"get":{"operationId":"AdminGetPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"description":"Get a paginated list of a records by specified query and/or filters.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Use library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filters using `Filter` isntance.\nSerialized `filters` are the string if format `firstName|eq|'Michael'|T|basic%20test%20filter|`,\nwhere `|` symbol is a filter delimeter and on positions between delimeters are:\n1st: case sensitive field name;\n2nd: operator;\n3rd: value to search by;\n4th: filter visiability (T or F);\n5th: filter tag.\nAll filter string parts are optional.\nIf filter `value` is a string, it should be in quotes.\n`operator` is one of the `FilterOperator` provided by library.\n\nTo add additional filter use `FilterConnector` from library.\nAdded filter in filters stirng uses logic with `+` symbol representation after previous filter delimiter:\nfilters string would look like:\n`firstName|eq|'Michael'|T|basic%20test%20filter|or%2Bage|ge|18|F||and%2Bage|le|25|F||`.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Count of the records to return.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of the records to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/podcasts/all/episodes":{"get":{"operationId":"AminGetAllEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastEpisodeViewModel_"}}}}},"description":"Get a paginated list of a records by specified query and/or filters.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Use library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filters using `Filter` isntance.\nSerialized `filters` are the string if format `firstName|eq|'Michael'|T|basic%20test%20filter|`,\nwhere `|` symbol is a filter delimeter and on positions between delimeters are:\n1st: case sensitive field name;\n2nd: operator;\n3rd: value to search by;\n4th: filter visiability (T or F);\n5th: filter tag.\nAll filter string parts are optional.\nIf filter `value` is a string, it should be in quotes.\n`operator` is one of the `FilterOperator` provided by library.\n\nTo add additional filter use `FilterConnector` from library.\nAdded filter in filters stirng uses logic with `+` symbol representation after previous filter delimiter:\nfilters string would look like:\n`firstName|eq|'Michael'|T|basic%20test%20filter|or%2Bage|ge|18|F||and%2Bage|le|25|F||`.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Count of the records to return.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of the records to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/podcasts/{podcastId}":{"get":{"operationId":"AdminGetPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"AdminRemovePodcast","responses":{"204":{"description":"No content"}},"description":"Removes the podcast with its episodes, images, follows and feeds, and blocks its Podscan records on the firehose.\nAnswers 202 once blocked and off the whitelist; the rest runs in the background. 400 for a claimed podcast, 409\nwhile its episodes are still in the Podscan queue (the block stays; retry in 5 minutes), and, before blocking\nanything, while the podcast syncs or is already being removed. 503 when a record cannot be taken off the\nwhitelist (the block stays; retry).","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/{podcastId}/episodes":{"get":{"operationId":"AdminGetPodcastEpisodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastEpisodeViewModel_"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}}]}},"/admin/podcasts/{podcastId}/episodes/sync":{"post":{"operationId":"AdminSyncPodcastEpisodes","responses":{"204":{"description":"No content"}},"description":"Fetches from Podscan and stores the podcast's episodes posted in the window, from each Podscan record it holds; an\nempty body syncs every episode. Answers 202: the episodes arrive in the background, 20 a page, a request each.\n409 while the podcast already syncs or is being removed.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SyncPodcastEpisodesRequest"}}}}}},"/admin/podcasts/{podcastId}/stats":{"get":{"operationId":"AdminGetStatsForPodcast","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastStats"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/{podcastId}/host-aliases":{"get":{"operationId":"AdminGetPodcastHostAliases","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostAliasesViewModel"}}}}},"description":"The podcast's host aliases and its current podcast-level hosts (`podcast.hosts`).","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"AdminUpdatePodcastHostAliases","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastHostAliasesUpdateViewModel"}}}}},"description":"Replaces the podcast's host aliases, applies them to the stored episodes before returning and sets\nthe podcast-level hosts from the latest episodes. After a timeout, send the same body again: it\nresumes.","tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePodcastHostAliasesRequest"}}}}}},"/admin/podcasts/{podcastId}/episodes/{episodeId}":{"get":{"operationId":"AdminGetPodcastEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeViewModel"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/{podcastId}/episodes/{episodeId}/stats":{"get":{"operationId":"AdminGetStatsForPodcastEpisode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PodcastEpisodeStats"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"podcastId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"episodeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/by-entity/{entityType}/{entityId}":{"get":{"operationId":"AdminGetPodcastsForEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PodcastsMentionsForEntity"},"type":"array"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"entityType","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"entityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/podcasts/trending/mock":{"get":{"operationId":"AdminGetTrendingMockPodcasts","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_PodcastViewModel_"}}}}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[]},"put":{"operationId":"AdminUpdateTrendingMockPodcasts","responses":{"204":{"description":"No content"}},"tags":["Admin/Podcasts"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeaturedPodcastsRequest"}}}}}},"/admin/partners":{"get":{"operationId":"AdminListPartners","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_PartnerViewModel_"}}}}},"tags":["Admin/Partners"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/PartnerStatus"}},{"description":"Case-insensitive substring over slug + display name.","in":"query","name":"search","required":false,"schema":{"type":"string"}}]},"post":{"operationId":"AdminCreatePartner","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerViewModel"}}}}},"tags":["Admin/Partners"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatePartnerRequest"}}}}}},"/admin/partners/{slug}":{"get":{"operationId":"AdminGetPartner","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerDetailViewModel"}}}}},"tags":["Admin/Partners"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdatePartner","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerViewModel"}}}}},"tags":["Admin/Partners"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdatePartnerRequest"}}}}}},"/admin/partners/{slug}/creators":{"get":{"operationId":"AdminListPartnerCreators","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/PartnerCreatorViewModel"},"type":"array"}}}}},"description":"The partner's commerce creators as `{ userId, displayName }` — the labelled pairs a creator\npicker needs. `GET {slug}` returns bindings as bare uids because a binding is a handle, not a\nperson; this resolves the one kind that is one. A creator whose profile is gone still appears,\nwith a null name, so it never silently drops out of a filter.","tags":["Admin/Partners"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/partners/{slug}/content-purge":{"post":{"operationId":"AdminPurgePartnerContent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"terminate":{"type":"boolean"},"dryRun":{"type":"boolean"},"creatorIds":{"items":{"type":"string"},"type":"array"},"unreachableIsTruncated":{"type":"boolean","description":"True when the count above hit its scan cap — the real number is higher."},"unreachableLiveRecordings":{"type":"number","format":"double","description":"Recordings of this partner's lives that this teardown does NOT touch — they carry no\ncreator, so a `userProfile.id` query cannot reach them. A non-zero value means the library\nis not fully cleared by looping this endpoint: those recordings go on the recording purge's\nown clock, which never fires for a partner on unlimited replay retention."},"remaining":{"type":"number","format":"double"},"deleted":{"type":"number","format":"double"},"scanned":{"type":"number","format":"double"}},"required":["terminate","dryRun","creatorIds","unreachableIsTruncated","unreachableLiveRecordings","remaining","deleted","scanned"],"type":"object"}}}}},"description":"Soft-deletes one page of a partner's whole video library.\n\nGlobal-admin only, and deliberately not on the partner tier — a tenant clearing its own\nlibrary is a different act with different consequences.\n\nPaged and resumable: a library runs to thousands of videos and this route lives on the\n60-second `api` function. Call it repeatedly until `deleted` comes back 0 — `remaining` is\nmeasured BEFORE each page's deletions, so it is the dry-run total, not the loop condition.\n\n⚠️ It counts by default and destroys nothing. Deleting requires `confirmSlug` to equal the\n`{slug}` in the path — a value no accident can produce, which a boolean cannot claim here:\ntsoa runs with `bodyCoercion`, and its `validateBool` maps a JSON `null` to `false`, so a\n`{\"dryRun\": null}` — the shape a generated client emits for an unset optional — would have\narrived as an explicit \"yes, delete\". Echoing the slug also settles the other hazard a\nboolean never could: a valid-but-wrong tenant, which nothing else in this route catches.\n\nThe videos are SOFT-deleted — they leave every public surface immediately and their media is\ndestroyed later: at the partner's own retention window, or under `terminate` at the shorter\nteardown deadline. Every page writes an audit row.\n\n⚠️ Read `unreachableLiveRecordings` on the response: recordings of the partner's LIVES are not\nreachable from here and are left for their own clock. A non-zero value with an unlimited\nreplay window means nothing will ever remove them.","tags":["Admin/Partners"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"properties":{"terminate":{"type":"boolean","description":"Contract teardown: the media goes at min(partner window − 1 day, 7 days) instead of the\npartner's full window, and a failed retention lookup deletes rather than keeps. Only\nmeaningful with `confirmSlug`."},"limit":{"type":"number","format":"double"},"confirmSlug":{"type":"string","description":"Echo the tenant's slug to actually delete. Omit it to count only; any other value is\na 400, so a typo can never be mistaken for a finished teardown."}},"type":"object"}}}}}},"/admin/partners/{slug}/bindings":{"post":{"operationId":"AdminAddPartnerBinding","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PartnerBindingViewModel"}}}}},"tags":["Admin/Partners"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddPartnerBindingRequest"}}}}}},"/admin/partners/{slug}/members/{membershipId}/transfer-owner":{"post":{"operationId":"AdminTransferPartnerOwnership","responses":{"204":{"description":"No content"}},"description":"Target ids come from the members list on `GET /admin/partners/{slug}`.","tags":["Admin/Partners"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"membershipId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/partners/{slug}/bindings/{bindingId}":{"delete":{"operationId":"AdminRemovePartnerBinding","responses":{"204":{"description":"No content"}},"tags":["Admin/Partners"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"bindingId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/partner-lists":{"post":{"operationId":"IngestPartnerList","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestPartnerListResponse"}}}}},"description":"Loads a team's prior-season subscriber emails (e.g. Victory+ 2025) — the reference list checked at\nreceipt-time to decide auto-mint vs admin review. De-duped + idempotent. Mock data now; real Rangers\nfiles post-contract (same schema).","tags":["Admin/Partner Lists"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/IngestPartnerListRequest"}}}}}},"/admin/news/rssWebhook":{"post":{"operationId":"AdminRssWebhook","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"type":"string"}}}}},"tags":["Admin/News"],"security":[],"parameters":[]}},"/admin/news":{"get":{"operationId":"AdminGetAllNewsArticles","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_NewsArticleViewModel_"}}}}},"description":"Get a paginated list of a records by specified query and/or filters.","tags":["Admin/News"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"description":"Terms to search record by.","in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"description":"Use library `https://www.npmjs.com/search?q=%40cloudfabric%2Ffilters-query-string` to serialize filters using `Filter` isntance.\nSerialized `filters` are the string if format `firstName|eq|'Michael'|T|basic%20test%20filter|`,\nwhere `|` symbol is a filter delimeter and on positions between delimeters are:\n1st: case sensitive field name;\n2nd: operator;\n3rd: value to search by;\n4th: filter visiability (T or F);\n5th: filter tag.\nAll filter string parts are optional.\nIf filter `value` is a string, it should be in quotes.\n`operator` is one of the `FilterOperator` provided by library.\n\nTo add additional filter use `FilterConnector` from library.\nAdded filter in filters stirng uses logic with `+` symbol representation after previous filter delimiter:\nfilters string would look like:\n`firstName|eq|'Michael'|T|basic%20test%20filter|or%2Bage|ge|18|F||and%2Bage|le|25|F||`.","in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"description":"Field names with ordering.\nShould be a comma separated string with fieldName:order,\nwhere order is \"asc\" or \"desc\" value only.","in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"description":"Count of the records to return.","in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"description":"Number of the records to skip.","in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/news/{id}":{"get":{"operationId":"AdminGetNewsArticle","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsArticleViewModel"}}}}},"tags":["Admin/News"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/news/by-entity/{entityId}":{"get":{"operationId":"AdminGetNewsArticlesForEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_NewsArticleMentionsForEntity_"}}}}},"tags":["Admin/News"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"entityId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"filters","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/news/{id}/stats":{"get":{"operationId":"AdminGetStatsForNewsArticle","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NewsArticleStats"}}}}},"tags":["Admin/News"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/networks":{"get":{"operationId":"AdminListNetworks","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/NetworkViewModel"},"type":"array"}}}}},"description":"Every network in use with how many users belong to it, most members first.","tags":["Admin/Networks"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/networks/{network}/users":{"put":{"operationId":"AdminAddUsersToNetwork","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkUsersResultViewModel"}}}}},"description":"Puts each user named into the network; a network is lower-case letters, digits and single dashes. Idempotent.","tags":["Admin/Networks"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"network","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkMembersRequest"}}}}},"delete":{"operationId":"AdminRemoveUsersFromNetwork","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkUsersResultViewModel"}}}}},"description":"Takes each user named out of the network. Idempotent.","tags":["Admin/Networks"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"network","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/NetworkMembersRequest"}}}}}},"/admin/mrss-feeds":{"get":{"operationId":"AdminListMrssFeeds","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_MrssFeedViewModel_"}}}}},"description":"`orderBy=createdAt` is newest first, `orderBy=lastSynced` is the longest unsynced first. `search` (three characters\nor more) keeps the feeds of creators whose display name starts with it, `networks` (repeat the key for several)\nthose of creators in any of them; refused past 300 users search matches.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"feedType","required":false,"schema":{"$ref":"#/components/schemas/MrssFeedType"}},{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/MrssSyncState"}},{"in":"query","name":"userId","required":false,"schema":{"type":"string"}},{"in":"query","name":"orderBy","required":false,"schema":{"$ref":"#/components/schemas/MrssFeedsOrderBy"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"networks","required":false,"schema":{"type":"array","items":{"type":"string"}}}]},"post":{"operationId":"AdminCreateMrssFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaylistViewModel"}}}}},"description":"Connects a feed for a creator, as the creator's studio does (`POST studio/playlists`, `/hype`, `/post`): the\nplaylist is published and its items pulled at once. Logged with the actor.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MrssFeedCreateRequest"}}}}}},"/admin/mrss-feeds/export":{"get":{"operationId":"AdminExportMrssFeeds","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"The list's rows under the same filters, `search` and `networks` included, every page, as a CSV download. Logged with the actor.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"feedType","required":false,"schema":{"$ref":"#/components/schemas/MrssFeedType"}},{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/MrssSyncState"}},{"in":"query","name":"userId","required":false,"schema":{"type":"string"}},{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"networks","required":false,"schema":{"type":"array","items":{"type":"string"}}}]}},"/admin/mrss-feeds/stats/export":{"post":{"operationId":"AdminExportMrssFeedStats","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"Item counts and Mux playback over the window for the feeds the body selects: by id, creator, name, network or the list's filters.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MrssFeedStatsExportRequest"}}}}}},"/admin/mrss-feeds/{playlistId}/stats":{"get":{"operationId":"AdminGetMrssFeedStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MrssFeedStatsViewModel"}}}}},"description":"Item counts for the period (ISO `from`/`to` on the item's `createdAt`) and the items' all-time engagement totals.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}}]}},"/admin/mrss-feeds/{playlistId}/disconnect":{"post":{"operationId":"AdminDisconnectMrssFeed","responses":{"204":{"description":"No content"}},"description":"Stops the feed for good; the playlist and its imported items stay.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/mrss-feeds/{playlistId}/connect":{"post":{"operationId":"AdminConnectMrssFeed","responses":{"204":{"description":"No content"}},"description":"Undoes a disconnect: the feed is live again and pulled at once. A no-op on a feed that is not disconnected.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/mrss-feeds/{playlistId}/sync":{"post":{"operationId":"AdminSyncMrssFeed","responses":{"204":{"description":"No content"}},"description":"Re-pulls the feed now, as the creator's \"sync now\" does.","tags":["Admin/MrssFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"playlistId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/metrics":{"get":{"operationId":"GetAppMetrics","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MetricsReportViewModel"}}}}},"description":"Returns aligned time-series for one resource over the given window. `resource` selects the\ninfra (api / auth-blocking / cloud-sql / redis / firestore / bigquery); `window` the\nlook-back (1h / 6h / 24h). Cached ~30s; pass `refresh=true` to bypass the cache (e.g. to\nsee instance counts right after a prewarm).","tags":["Admin/Health"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"resource","required":false,"schema":{"$ref":"#/components/schemas/MetricsResource"}},{"in":"query","name":"window","required":false,"schema":{"$ref":"#/components/schemas/MetricsWindow"}},{"in":"query","name":"refresh","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/admin/mediaLive/pipeline":{"post":{"operationId":"CreatePipeline","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MediaLivePipelineResponse"}}}}},"description":"Creates the full MediaLive pipeline:\nMux Live Stream + MediaLive Input + MediaPackage Channel/Endpoint + MediaLive Channel\nwith deinterlace + SCTE-35 passthrough to MediaPackage.","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMediaLivePipelineRequest"}}}}}},"/admin/mediaLive/pipeline/simple":{"post":{"operationId":"CreateSimplePipeline","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SimpleMediaLivePipelineResponse"}}}}},"description":"Creates a simplified pipeline without MediaLive #2 or Mux:\nMediaLive Input (RTMP) → MediaPackage → MediaTailor (SSAI with Google Ads VAST).\n\nThe returned mediaTailorPlaybackUrl should be used directly in the Mux Player on the frontend.\nLatency: ~20-30s (vs ~2min for the full pipeline).","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateSimplePipelineRequest"}}}}}},"/admin/mediaLive/channel/{channelId}/start":{"post":{"operationId":"StartChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelActionResponse"}}}}},"description":"Starts a MediaLive channel. Channel transitions from IDLE → STARTING → RUNNING (~1-2 min).","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/mediaLive/channel/{channelId}/stop":{"post":{"operationId":"StopChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelActionResponse"}}}}},"description":"Stops a MediaLive channel. Channel transitions from RUNNING → STOPPING → IDLE.","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/mediaLive/channel/{channelId}/status":{"get":{"operationId":"GetChannelStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ChannelStatusResponse"}}}}},"description":"Returns the current status of a MediaLive channel.","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/mediaLive/channel/{channelId}/inputStreams":{"get":{"operationId":"GetInputStreams","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/InputStreamsResponse"}}}}},"description":"Lists the elementary streams MediaLive detected in the channel's\ncontribution feed (PIDs, codecs, audio languages/channel counts), parsed\non the fly from the channel's CloudWatch encoder logs. `streams` is empty\nuntil the broadcaster actually connects to the input. Use it to see what\nthe feed carries and verify `encoderProfile.audioPid` against it (RSN:\nPID 2002 = stereo without the linear Nielsen watermark).","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"how far back to scan the logs (default 12, max 168).","in":"query","name":"lookbackHours","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/mediaLive/channel/{channelId}/adBreak":{"post":{"operationId":"InsertAdBreak","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdBreakResponse"}}}}},"description":"Inserts a SCTE-35 ad break into a running channel.\nMediaPackage translates this into HLS ad markers (#EXT-X-CUE-OUT / #EXT-X-CUE-IN).","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdBreakRequest"}}}}}},"/admin/mediaLive/cleanup":{"post":{"operationId":"Cleanup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanupResponse"}}}}},"description":"Full cleanup: stops both channels, deletes all pipeline resources\n(channels, inputs, MediaPackage, MediaTailor, Mux live stream, SRT secret).","tags":["Admin/MediaLive"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CleanupPipelineRequest"}}}}}},"/admin/marketing/pages":{"get":{"operationId":"AdminListMarketingPages","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_MarketingPageListItemViewModel_"}}}}},"tags":["Admin/Marketing"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/MarketingPageStatus"}},{"description":"Case-insensitive substring over partner slug + display name.","in":"query","name":"search","required":false,"schema":{"type":"string"}}]},"post":{"operationId":"AdminCreateMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"description":"Creates the page for an existing partner. The partner supplies the slug — a page never\nmints one. 409 when the partner already has a page.","tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMarketingPageRequest"}}}}}},"/admin/marketing/pages/{slug}":{"get":{"operationId":"AdminGetMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"tags":["Admin/Marketing"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"put":{"operationId":"AdminUpdateMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"description":"Replaces the draft wholesale. Validation is returned, never enforced — a draft may sit\nhalf-written for a week; `publish` is the gate.","tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageContent"}}}}},"delete":{"operationId":"AdminArchiveMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/marketing/pages/{slug}/publish":{"post":{"operationId":"AdminPublishMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"description":"draft → published in one transaction (stamped, audited, caches busted, web\nrevalidated). 422 with the full validation report when the draft does not pass.","tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/marketing/pages/{slug}/unpublish":{"post":{"operationId":"AdminUnpublishMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"description":"Clears `published`. The public endpoint 404s immediately; the draft is untouched.","tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/marketing/pages/{slug}/restore":{"post":{"operationId":"AdminRestoreMarketingPage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingPageAdminViewModel"}}}}},"tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slug","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/marketing/images":{"post":{"operationId":"AdminUploadMarketingImage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ImagesViewModel"}}}}},"description":"Uploads one page asset (hero/pricing/CTA/OG) into the marketing folder — sharp\nvariants, push-id filename, immutable cache — and returns the resolved view model;\nthe panel stores exactly what it gets back.","tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UploadMarketingImageRequest"}}}}}},"/admin/marketing/audio":{"post":{"operationId":"AdminUploadMarketingAudio","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/MarketingAudio"}}}}},"description":"Uploads one `audioDemo` clip. Its own endpoint rather than a branch of the image one:\nthere is no variant ladder, and the gates are a MIME type and a size rather than a shape.\n400 on an unsupported type or an oversized file.","tags":["Admin/Marketing"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/FileUploadRequest"}}}}}},"/admin/marketing/faq":{"get":{"operationId":"AdminListFaqItems","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_FaqLibraryItemViewModel_"}}}}},"tags":["Admin/MarketingFaq"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"format":"double","type":"number"}},{"in":"query","name":"category","required":false,"schema":{"type":"string"}},{"in":"query","name":"includeInactive","required":false,"schema":{"default":false,"type":"boolean"}}]},"post":{"operationId":"AdminCreateFaqItem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaqLibraryItemViewModel"}}}}},"tags":["Admin/MarketingFaq"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateMarketingFaqItemRequest"}}}}}},"/admin/marketing/faq/{itemId}":{"patch":{"operationId":"AdminUpdateFaqItem","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FaqLibraryItemViewModel"}}}}},"description":"Edits every page that uses the item — check `usage` first.","tags":["Admin/MarketingFaq"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"itemId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateMarketingFaqItemRequest"}}}}},"delete":{"operationId":"AdminDeactivateFaqItem","responses":{"204":{"description":"No content"}},"description":"Deactivates, never hard-deletes — referencing pages report `faq_item_missing` instead\nof silently losing a question.","tags":["Admin/MarketingFaq"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"itemId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/marketing/faq/{itemId}/usage":{"get":{"operationId":"AdminGetFaqItemUsage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FaqItemUsageViewModel"},"type":"array"}}}}},"description":"Answers \"what breaks if I change this?\" before an editor changes it.","tags":["Admin/MarketingFaq"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"itemId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/login-devices/recent":{"get":{"operationId":"AdminGetRecentLoginDevices","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminUserLoginDeviceViewModel"},"type":"array"}}}}},"description":"Most recently seen devices of one class across all users — built for\n\"which TVs are in use\" (`deviceClass=tv`, the default). Rows carry the\nowner `userId` for drill-down into `GET /admin/users/{userId}/login-devices`.","tags":["Admin/LoginDevices"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer","customer_support"]}],"parameters":[{"in":"query","name":"deviceClass","required":false,"schema":{"$ref":"#/components/schemas/DeviceClass"}},{"in":"query","name":"limit","required":false,"schema":{"default":50,"format":"int32","type":"integer"}}]}},"/admin/lives":{"get":{"operationId":"AdminGetLives","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveViewModel_"}}}}},"description":"Admin list of lives. A GlobalAdmin may omit `liveSourceId`; a\n`live_source_editor` must scope by an accessible `liveSourceId`.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/LiveStatus"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}},{"in":"query","name":"deletedOnly","required":false,"schema":{"type":"boolean"}}]}},"/admin/lives/{liveId}":{"get":{"operationId":"AdminGetLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveViewModel"}}}}},"tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"AdminDeleteLive","responses":{"204":{"description":"No content"}},"description":"Soft-deletes a live — it drops out of the admin lists while the doc and\nrecording (VOD) are retained. The live must NOT be running: an in-flight\nlive (`live` / `provisioning` / `creating`) returns 409 — end it first.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/end":{"post":{"operationId":"AdminEndLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"description":"Ends a live: transitions it to `Ended` and tears down its pipeline(s).\nThe universal stop — works whether or not the live has a MediaLive channel\n(the MediaLive Stop op only stops a channel that exists).","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/pipeline/rebuild":{"post":{"operationId":"RebuildPipeline","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveViewModel"}}}}},"description":"Starts a PARALLEL pipeline rebuild for a running hybrid live: generation\nN+1 (new MediaLive input+channel, MediaPackage channel, MediaTailor config)\nis provisioned alongside the serving generation, health-probed, then\natomically flipped in — viewers reconnect via the `playbackEpoch` signal in\nseconds instead of a 4–6 min end+re-provision outage. The old generation is\ntorn down after a grace period.\n\nsrt_caller lives dial the FREE srtSource by default (the \"backup\" URL is\notherwise unused on SINGLE_PIPELINE channels); push/listener lives park in\n`awaiting_confirm` with fresh ingest URLs until `/rebuild/confirm`.\n`encoderProfilePatch` makes this the generic \"apply encoder config\nmid-broadcast\" lever (audioPid, ladder, …).","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RebuildPipelineRequest"}}}}}},"/admin/lives/{liveId}/pipeline/rebuild/confirm":{"post":{"operationId":"ConfirmRebuildPipeline","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveViewModel"}}}}},"description":"Second step for push/listener-input rebuilds: after the broadcaster\nre-points the encoder to the NEW ingest URLs (visible on\n`pipelineRebuild.newPipeline`), this triggers the health probe + flip.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/pipeline/rebuild/cancel":{"post":{"operationId":"CancelRebuildPipeline","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveViewModel"}}}}},"description":"Aborts a failed / awaiting-confirm / stuck rebuild. Any already-provisioned\nnew generation is torn down; the serving pipeline is untouched.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/restore":{"post":{"operationId":"AdminRestoreLive","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"description":"Restores a soft-deleted live (clears `isDeleted`) so it reappears in the\nlists. Mirrors   's RBAC.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/chat/block":{"post":{"operationId":"AdminBlockLiveChat","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"chatBlocked":{"type":"boolean"}},"required":["chatBlocked"],"type":"object"}}}}},"description":"Blocks the live's chat: takes the channel down AND latches `chatBlocked`\non the live, so nobody — owner or chat admin — can turn the chat back on\nvia `DELETE /chat/lives/{id}/disable` until the block is lifted.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"delete":{"operationId":"AdminUnblockLiveChat","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"chatBlocked":{"type":"boolean"}},"required":["chatBlocked"],"type":"object"}}}}},"description":"Lifts the chat block. The chat stays disabled — re-enabling it is a\nseparate, explicit action (`DELETE /chat/lives/{id}/disable`).","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/adBreak":{"post":{"operationId":"InsertLiveAdBreak","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdBreakEventViewModel"}}}}},"description":"Inserts a SCTE-35 ad break into a hybrid live channel and persists an\nAdBreakEvent in Firestore so the frontend can replay the cue on the recorded\nVOD via client-side ad insertion (CSAI).\n\nOnly valid for lives provisioned with the hybrid pipeline (`enableSsai: true`).\n\nThree timing modes, mutually exclusive: `immediate` (fire now — the\nproducer-countdown case, no floor), `leadTimeSeconds` (schedule N seconds\nout) and `scheduledAt` (absolute time). The latter two are FIXED-start\nschedule actions and carry MediaLive's documented 15-second floor.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdBreakRequest"}}}}}},"/admin/lives/{liveId}/adPreview":{"get":{"operationId":"PreviewLiveAdSelection","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdSelectionPreviewViewModel"}}}}},"description":"Dry-runs the local-creative ad decision for this live: the resolved config,\nwhich creatives are eligible, **why each rejected one was rejected**, and\nthe pod that would go to air.\n\nThis is the pre-flight check for a feature whose failure is silent — a\ncreative that matches nothing produces an empty VAST and the break plays\ncontent, which looks exactly like no break at all. Read `warnings` first.\nCosts one Firestore read of the live plus the creative library; touches no\nAWS API, so it is safe to run mid-game.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"Simulated viewer region (lowercase ISO subdivision, `\"tx\"`). Empty = unplaceable viewer.","in":"query","name":"region","required":false,"schema":{"type":"string"}},{"description":"Simulated viewer IP — takes precedence over `region`. Paste one from a viewer complaint.","in":"query","name":"ip","required":false,"schema":{"type":"string"}},{"description":"Break length to fill. Defaults to 60.","in":"query","name":"availDurationSeconds","required":false,"schema":{"format":"double","type":"number"}},{"description":"Instant to evaluate creative flight windows at (ISO-8601). Defaults to now.","in":"query","name":"at","required":false,"schema":{"type":"string"}},{"description":"Also return the exact VAST that would be served.","in":"query","name":"includeVast","required":false,"schema":{"type":"boolean"}}]}},"/admin/lives/{liveId}/recording":{"get":{"operationId":"GetLiveRecording","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveRecordingOverviewViewModel"}}}}},"description":"Everything the trimming UI needs in one call: the ORIGINAL recording it\nscrubs, the ad breaks positioned on that same timeline, which slice is\ncurrently served, and the slices that already exist.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/transcript":{"get":{"operationId":"GetLiveTranscript","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveTranscriptViewModel"}}}}},"description":"The game's transcript — the live captions its S3 replay copy carries, one line each, timed on\nthe replay's timeline. Saved automatically when the copy is ready (lives with `vodHarvest` and\nauto-captions) and kept after the replay is purged. 404 when there is none.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/transcript/rebuild":{"post":{"operationId":"RebuildLiveTranscript","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveTranscriptViewModel"}}}}},"description":"Rebuilds the transcript from the S3 copy now, replacing the stored one. 409 when the live has\nno ready copy (not copied, or already purged), 404 when the copy carries no captions.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/recording/slices/{sliceType}":{"post":{"operationId":"CreateLiveRecordingSlice","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveRecordingSliceViewModel"}}}}},"description":"Cuts (or re-cuts) one slice. The clip is a NEW Mux asset and encoding is\nasync, so this returns `processing` — poll the slice until `ready`, then\n`POST .../activate`. The type is the resource identity, so a second call for\nthe same type replaces the previous cut.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"sliceType","required":true,"schema":{"$ref":"#/components/schemas/LiveRecordingSliceType"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiveRecordingSliceRequest"}}}}},"get":{"operationId":"GetLiveRecordingSlice","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveRecordingSliceViewModel"}}}}},"description":"Reads one slice. A slice still in `processing` is reconciled against Mux on\nthe way out, so a dropped `video.asset.ready` webhook can't strand it.\nThere is deliberately no separate list endpoint — `GET {liveId}/recording`\nalready returns every slice.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"sliceType","required":true,"schema":{"$ref":"#/components/schemas/LiveRecordingSliceType"}}]},"delete":{"operationId":"DeleteLiveRecordingSlice","responses":{"204":{"description":"No content"}},"description":"Deletes the slice and its Mux asset(s). 409 while it is being served — restore the original first.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"sliceType","required":true,"schema":{"$ref":"#/components/schemas/LiveRecordingSliceType"}}]}},"/admin/lives/{liveId}/recording/slices/{sliceType}/activate":{"post":{"operationId":"ActivateLiveRecordingSlice","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveRecordingSliceViewModel"}}}}},"description":"Puts this slice in front of viewers: the playback grant, token minting and\nthe VOD ad timeline all follow the pointer, and ad breaks shift with it.\nReversible via `restoreOriginal`; the original asset is never touched.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"sliceType","required":true,"schema":{"$ref":"#/components/schemas/LiveRecordingSliceType"}}]}},"/admin/lives/{liveId}/recording/restoreOriginal":{"post":{"operationId":"RestoreLiveOriginalRecording","responses":{"204":{"description":"No content"}},"description":"Reverts playback to the untouched recording. Slices are kept and can be re-activated.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/bustVmapCache":{"post":{"operationId":"BustVmapCache","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"ok":{"type":"boolean","enum":[true],"nullable":false}},"required":["ok"],"type":"object"}}}}},"description":"Drops the cached VMAP for a live so the next `/lives/{id}/timeline`\nrequest rebuilds from the current ad-break-events + live state. Use\nafter editing `liveStartedAt` / `scheduledStart` directly in Firestore\n(e.g. demo time-shift) — the cached timeline's `timeOffset` values are\ncomputed once at first fetch and won't pick up the new state until the\n1-hour TTL expires otherwise.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/preview":{"post":{"operationId":"RegenerateLivePreview","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LivePreviewDetailsViewModel"}}}}},"description":"(Re)cuts the 60s game preview from the recording — works mid-game and\nafter. Without `atSeconds` it re-cuts at the game-start anchor\n(`replayStartAt` — e.g. after correcting it via `PUT {liveId}/replayStart`)\nand stays auto-managed; with `atSeconds` the anchor is pinned and\nautomatic generation won't touch it. Asynchronous (Mux clip render):\nreturns the `processing` record, then poll `GET /admin/lives/{liveId}` —\nits `previewDetails` carries the live status and `lastError`. The current\npreview keeps serving until the new one lands.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegenerateLivePreviewRequest"}}}}},"delete":{"operationId":"DeleteLivePreview","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"ok":{"type":"boolean","enum":[true],"nullable":false}},"required":["ok"],"type":"object"}}}}},"description":"Takes the preview down immediately (record + stored file + the broadcast\ncopy + any in-flight Mux clip). The kill-switch for a clip that caught\nslate, a commercial or a crowd incident: the file is public, tokenless and\nautoplays on the rails, and a re-cut would keep it serving while it\nrenders — and forever if the re-cut then fails.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/ssaiConfig":{"put":{"operationId":"UpdateLiveSsaiConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"description":"Updates the VAST/ad decision server URL and the targeting mode on a\nlive's MediaTailor configuration without restarting the channel. The two\nfields are accepted together because `targetingMode` decides how the\nplayback proxy modifies `vastUrl` before fetching — splitting the update\nwould let the document drift into an inconsistent pair (e.g. SpringServe\nURL with `gam_cust_params` mode, which would append GAM-only\n`cust_params=` to a SpringServe tag).\n\nServer validates the (`vastUrl`, `targetingMode`) pair against the URL\nshape; ambiguous or contradictory pairs return 400. New viewer sessions\npick up the change within a few seconds; in-flight sessions complete on\nthe previous configuration.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLiveSsaiConfigRequest"}}}}}},"/admin/lives/{liveId}/targetingOverride":{"put":{"operationId":"SetTargetingOverride","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"description":"Pins any GAM `cust_params` field for this live's next /now or /cue\ncalls, bypassing `adProxyService.derived*` and the static\n`LiveSsaiConfig` values. Use to demo / QA targeting variation without\nmutating `liveStartedAt` (which would break VOD VMAP `timeOffset`)\nor re-provisioning a fake live.\n\nAccepts every cust_param we emit — see\n`UpdateLiveTargetingOverrideRequest` for the full list. Highlights:\n- Time axes: `daypart`, `dayOfWeek`, `daypartTimezone`, `gameWindow`.\n- Static targeting: `league`, `homeTeam`, `awayTeam`, `gameId`,\n  `gameType`, `seriesType`.\n- Per-request: `contentType` (force /now to behave as `replay` etc.),\n  `breakPosition` (1-6, multi-ad pod QA).\n\nEmpty string `\"\"` clears that subfield only; omitting a key leaves the\nexisting override unchanged. To wipe the whole override, use DELETE.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLiveTargetingOverrideRequest"}}}}},"delete":{"operationId":"ClearTargetingOverride","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveViewModel"}}}}},"tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/replayStart":{"put":{"operationId":"UpdateLiveReplayStart","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveViewModel"}}}}},"description":"Sets where the replay starts, as seconds into the recording — the head\nbefore that point is cropped via a Mux Instant Clipping token claim.\nStamped at provisioning from the broadcast's `gameStart`; use this to\ncorrect drift (\"the game actually started 12 minutes late\"). Takes\neffect on new grants within seconds; already-minted tokens keep their\nold crop until refreshed.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLiveReplayStartRequest"}}}}},"delete":{"operationId":"ClearLiveReplayStart","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminLiveViewModel"}}}}},"description":"Clears the replay start point — the replay serves the full recording again.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/stadium-audio/broadcaster-config":{"get":{"operationId":"GetStadiumAudioBroadcasterConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioBroadcasterConfigViewModel"}}}}},"description":"Returns the WHIP push endpoint + broadcaster (PUBLISH) participant token\nto hand off to the venue's encoder operator. Token is sensitive — keep\ninside the admin tier and rotate by re-provisioning the live.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/stadium-audio":{"get":{"operationId":"GetStadiumAudioStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioAdminStatusViewModel"}}}}},"tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/lives/{liveId}/stadium-audio/cleanup":{"post":{"operationId":"ForceStadiumAudioCleanup","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioAdminStatusViewModel"}}}}},"description":"Force-teardown the stadium-audio pipeline for this live. Useful when\n`endLive` cleanup left the IVS stage orphaned (e.g. cleanup task\ntimed out partway), without waiting for the 15-min watchdog.","tags":["Admin/Lives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/live-stats":{"get":{"operationId":"AdminListLiveStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveStatsListItemViewModel_"}}}}},"description":"Games-stats table: newest-first page of lives with their passport attached\n(`stats: null` for a game whose passport hasn't been computed yet). A\nGlobalAdmin may omit `liveSourceId`; a `live_source_editor` must scope by an\naccessible one.","tags":["Admin/LiveStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"query","name":"liveSourceId","required":false,"schema":{"type":"string"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/LiveStatus"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/admin/live-stats/{liveId}":{"get":{"operationId":"AdminGetLiveStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveStatsViewModel"}}}}},"description":"The stored passport for one game. 404 if it hasn't been computed yet.","tags":["Admin/LiveStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/live-stats/{liveId}/timeseries":{"get":{"operationId":"AdminGetLiveStatsTimeseries","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveStatsTimeseriesViewModel"}}}}},"description":"The persisted 5-minute charting series for one game (concurrent all-platform +\nMux, cumulative unique users, egress, error/cache rates, encoder uptime, ad\nfill). 404 if it hasn't been built yet (game never went live / pre-feature).","tags":["Admin/LiveStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/live-stats/{liveId}/recompute":{"post":{"operationId":"AdminRecomputeLiveStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveStatsViewModel"}}}}},"description":"Force-recompute the passport now, bypassing the poller's ~1-min freshness\ngate. For an ended game this also re-runs the expensive CloudFront-log\nfinalize pass and re-costs at the current pricing config (raw usage is\nstored, so any past game is re-costable at a newly-edited rate).","tags":["Admin/LiveStats"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources":{"post":{"operationId":"CreateLiveSource","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSourceViewModel"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLiveSourceRequest"}}}}},"get":{"operationId":"GetLiveSources","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveSourceViewModel_"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"isActiveOnly","required":false,"schema":{"type":"boolean"}},{"in":"query","name":"orderDirection","required":false,"schema":{"type":"string","enum":["asc","desc"]}}]}},"/admin/liveSources/{liveSourceId}":{"get":{"operationId":"GetLiveSource","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSourceViewModel"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateLiveSource","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSourceViewModel"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLiveSourceRequest"}}}}},"delete":{"operationId":"DeactivateLiveSource","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSourceViewModel"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources/{liveSourceId}/stadium-audio/config":{"post":{"operationId":"SetStadiumAudioConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSourceViewModel"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetStadiumAudioConfigRequest"}}}}},"delete":{"operationId":"ClearStadiumAudioConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveSourceViewModel"}}}}},"tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSources/{liveSourceId}/stadium-audio/api-key":{"post":{"operationId":"IssueStadiumAudioAgentKey","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/StadiumAudioAgentApiKeyViewModel"}}}}},"description":"Issue a fresh per-venue agent API key. The plaintext key is returned\nexactly once; subsequent reads see only the trailing-4 hint. Re-issuing\ninvalidates the previous key.","tags":["Admin/LiveSources"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/liveSchedule/teams":{"get":{"operationId":"AdminGetScheduleTeams","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_LiveScheduleTeamViewModel_"}}}}},"description":"The shelf in display order, cursor-paginated. An entry whose `owner` is null is a deleted\nprofile still occupying a slot — it renders nothing on the consumer tab and should be\nremoved here.","tags":["Admin/LiveSchedule"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":100}},{"description":"Cursor: the previous page's `lastVisibleDocumentId`.","in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"post":{"operationId":"AdminAddScheduleTeam","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveScheduleTeamViewModel"}}}}},"description":"Puts a team on the shelf. The owner must own at least one LiveSource — not \"have\nbroadcasts\", which would drop a team from the shelf between seasons.\n\nSend one side of the placement and the other is resolved for you; send neither to append\nlast. Idempotent on `ownerId` — re-adding a team already on the shelf moves it.","tags":["Admin/LiveSchedule"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddLiveScheduleTeamRequest"}}}}}},"/admin/liveSchedule/teams/{ownerId}":{"patch":{"operationId":"AdminMoveScheduleTeam","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveScheduleTeamViewModel"}}}}},"description":"Moves a team, same placement rules as the add, but at least one side is required. Two\nadmins moving different teams both succeed: each writes only its own row.","tags":["Admin/LiveSchedule"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"ownerId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveScheduleTeamPlacementRequest"}}}}},"delete":{"operationId":"AdminRemoveScheduleTeam","responses":{"204":{"description":"No content"}},"description":"Takes a team off the shelf. Its broadcasts are untouched — they just stop having a section\non the Schedule tab. Removing a team that isn't on the shelf succeeds: the intent is\nalready satisfied.","tags":["Admin/LiveSchedule"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"ownerId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/leagues":{"post":{"operationId":"AdminCreateLeague","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeagueViewModel"}}}}},"tags":["Admin/Leagues"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateLeagueRequest"}}}}},"get":{"operationId":"AdminGetLeagues","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_LeagueViewModel_"}}}}},"tags":["Admin/Leagues"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","live_source_editor"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}}]}},"/admin/leagues/{leagueId}":{"patch":{"operationId":"AdminUpdateLeague","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLeagueViewModel"}}}}},"tags":["Admin/Leagues"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"leagueId","required":true,"schema":{"format":"double","type":"number"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateLeagueRequest"}}}}},"get":{"operationId":"AdminGetLeague","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeagueViewModel"}}}}},"tags":["Admin/Leagues"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"leagueId","required":true,"schema":{"format":"double","type":"number"}}]}},"/admin/leagues/{leagueId}/seed":{"post":{"operationId":"AdminTriggerLeagueSeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LeagueSeedStatus"}}}}},"description":"Re-runs the ESPN team seed for this league. A mapping write already enqueues its own run,\nso this is the retry: a pass that failed, or a catalogue refresh. Progress and outcome are\non the league's own `lastSeed` — there is no separate run document.","tags":["Admin/Leagues"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"leagueId","required":true,"schema":{"format":"double","type":"number"}}]}},"/admin/health":{"get":{"operationId":"GetAppHealth","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HealthReportViewModel"}}}}},"description":"Returns the aggregate system status plus per-resource checks. Cached server-side for\n~20s; pass `refresh=true` to force a fresh probe of all dependencies.","tags":["Admin/Health"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"refresh","required":false,"schema":{"default":false,"type":"boolean"}}]}},"/admin/config/handle-restrictions":{"get":{"operationId":"AdminGetHandleRestrictions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandleRestrictionsViewModel"}}}}},"description":"The full current list, alphabetically sorted. Empty when nothing has ever been configured.","tags":["Admin/HandleRestrictions"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateHandleRestrictions","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HandleRestrictionsViewModel"}}}}},"description":"Adds and/or removes words. Both fields are optional and `add` is applied before `remove`;\nsending neither is a no-op that still returns the current list.\n\nEntries are compared on their normalized form (lowercased, separators stripped, leetspeak\nfolded), so `\"F.U.C.K\"` and `\"fuck\"` are one entry — adding the second when the first is\npresent replaces its spelling rather than creating a duplicate, and either spelling removes it.\n\nA word is rejected when it carries fewer than two matchable characters: because matching is\nsubstring-based, a one-character entry would reject essentially every handle on the platform.\n\nReturns the full updated list.","tags":["Admin/HandleRestrictions"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateHandleRestrictionsRequest"}}}}}},"/admin/config/feature-state":{"get":{"operationId":"AdminGetFeatureState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureStateViewModel"}}}}},"tags":["Admin/FeatureState"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateFeatureState","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/FeatureStateViewModel"}}}}},"description":"Toggles one or more feature flags. Only the keys present in `features` are\nchanged; omitted features keep their current value. Unknown keys are\nrejected (400). The change busts the cache and propagates immediately.","tags":["Admin/FeatureState"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateFeatureStateRequest"}}}}}},"/admin/entitlements":{"post":{"operationId":"CreateEntitlement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementViewModel"}}}}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateEntitlementRequest"}}}}},"get":{"operationId":"ListEntitlements","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_EntitlementViewModel_"}}}}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","live_source_editor"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"creatorId","required":false,"schema":{"type":"string"}}]}},"/admin/entitlements/{entitlementId}":{"get":{"operationId":"GetEntitlement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementViewModel"}}}}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"entitlementId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/entitlements/{entitlementId}/archive":{"post":{"operationId":"ArchiveEntitlement","responses":{"204":{"description":"No content"}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"entitlementId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/entitlements/{entitlementId}/unarchive":{"post":{"operationId":"UnarchiveEntitlement","responses":{"204":{"description":"No content"}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"entitlementId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/entitlements/{entitlementId}/attach":{"post":{"operationId":"AttachProductsToEntitlement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean","enum":[true],"nullable":false}},"required":["success"],"type":"object"}}}}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"entitlementId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditEntitlementProductsRequest"}}}}}},"/admin/entitlements/{entitlementId}/detach":{"post":{"operationId":"DetachProductsFromEntitlement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean","enum":[true],"nullable":false}},"required":["success"],"type":"object"}}}}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"entitlementId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EditEntitlementProductsRequest"}}}}}},"/admin/entitlements/{entitlementId}/benefits":{"patch":{"operationId":"UpdateEntitlementBenefits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntitlementViewModel"}}}}},"tags":["Admin/Entitlements"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"entitlementId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEntitlementBenefitsRequest"}}}}}},"/admin/config/email":{"get":{"operationId":"AdminGetEmailConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailConfigViewModel"}}}}},"description":"The stored kind → template id map. A kind missing here cannot be sent.","tags":["Admin/EmailTemplates"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateEmailConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailConfigViewModel"}}}}},"description":"Binds kinds to Resend templates. Each id is checked with Resend first (exists, published,\ndeclares the kind's variables); a failed check rejects the whole patch. The change propagates\nimmediately, so this is also the `swap a broken template` lever.","tags":["Admin/EmailTemplates"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateEmailConfigRequest"}}}}}},"/admin/config/email/templates/{kind}":{"delete":{"operationId":"AdminUnmapEmailTemplate","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EmailConfigViewModel"}}}}},"description":"Unbinds a kind; its emails answer 503 `email_unavailable` until a template is bound again.","tags":["Admin/EmailTemplates"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"kind","required":true,"schema":{"$ref":"#/components/schemas/EmailKind"}}]}},"/admin/creators/stats":{"get":{"operationId":"AdminListCreatorStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorStatsListViewModel"}}}}},"description":"Totals per creator from the daily snapshot (`computedAt`): those whose display name starts with `search` (three\ncharacters or more), those in any of the `networks` (repeat the key for several), or every live creator holding\ncontent or put in a network. The window is the last `days` days before the latest run, 30 when omitted, or `from`\nto `to` (days, `YYYY-MM-DD`, inclusive, given together), which win. A window the run stored whole (the last 7, 30\nor 90 days, the week or month to date) answers with its distinct counts; any other is its days added up, where\nevery distinct count (viewers, likers, ...) is null.","tags":["Admin/CreatorStats"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"search","required":false,"schema":{"type":"string"}},{"in":"query","name":"networks","required":false,"schema":{"type":"array","items":{"type":"string"}}},{"in":"query","name":"days","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":90}},{"in":"query","name":"from","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"in":"query","name":"to","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"in":"query","name":"orderBy","required":false,"schema":{"$ref":"#/components/schemas/CreatorStatsOrderBy"}},{"in":"query","name":"limit","required":false,"schema":{"default":25,"format":"int32","type":"integer","minimum":1,"maximum":300}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"int32","type":"integer","minimum":0}}]}},"/admin/creators/stats/export":{"post":{"operationId":"AdminExportCreatorStats","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"The list's rows, every one, as a CSV download, for the creators the body selects by id, name or network. Logged with the actor.","tags":["Admin/CreatorStats"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorStatsExportRequest"}}}}}},"/admin/creators/{userId}/stats":{"get":{"operationId":"AdminGetCreatorStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorStatsViewModel"}}}}},"description":"One creator with what the list leaves out: the splits by day and by kind, and the top content. The window is the\nlast `days` days, 30 when omitted; nothing older than 90 days is served.","tags":["Admin/CreatorStats"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"days","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":90}}]}},"/admin/creators/{userId}/stats/daily":{"get":{"operationId":"AdminGetCreatorStatsDaily","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreatorStatsDailyViewModel"}}}}},"description":"One creator day by day, for charts: the list row over each day the snapshot holds inside `from` to `to` (days,\n`YYYY-MM-DD`, inclusive; the last 30 days when omitted), oldest first. A day's distinct counts are its own.","tags":["Admin/CreatorStats"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"from","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}},{"in":"query","name":"to","required":false,"schema":{"type":"string","pattern":"^\\d{4}-\\d{2}-\\d{2}$"}}]}},"/admin/coupons":{"post":{"operationId":"CreateCoupon","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponViewModel"}}}}},"description":"Creates a comp-code template for one product (+ a Stripe coupon for the monthly path).","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateCouponRequest"}}}}},"get":{"operationId":"ListCoupons","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_CouponViewModel_"}}}}},"tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"creatorId","required":false,"schema":{"type":"string"}},{"in":"query","name":"isActive","required":false,"schema":{"type":"boolean"}}]}},"/admin/coupons/{couponId}":{"get":{"operationId":"GetCoupon","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponViewModel"}}}}},"tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateCoupon","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CouponViewModel"}}}}},"description":"Updates the coupon name and/or suspends/resumes it (discount params are immutable).","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCouponRequest"}}}}},"delete":{"operationId":"DeleteCoupon","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"description":"Retires the coupon (deletes the Stripe coupon, deactivates locally — its codes stop working).","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/coupons/{couponId}/codes/batch":{"post":{"operationId":"GenerateCodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeBatchViewModel"}}}}},"description":"Starts an async batch generation run and returns the `pending` batch immediately. Codes are\nredeemable as soon as they're generated. Poll `GET {couponId}/batches/{batchId}` until `status`\nis `completed`, then export the CSV to hand out.","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateCompCodesRequest"}}}}}},"/admin/coupons/{couponId}/batches/{batchId}":{"get":{"operationId":"GetBatch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeBatchViewModel"}}}}},"description":"Batch generation status — poll until `status` is `completed` (then export) or `failed`.","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/coupons/{couponId}/batches/{batchId}/resume":{"post":{"operationId":"ResumeBatch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeBatchViewModel"}}}}},"description":"Re-kicks a batch stuck in `processing` (worker died) or `failed` — tops up the remainder. No-op if `completed`.","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/coupons/{couponId}/codes":{"post":{"operationId":"GenerateSingleCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeViewModel"}}}}},"description":"CS-rep backstop: generate a single code outside any batch.","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GenerateSingleCompCodeRequest"}}}}},"get":{"operationId":"ListCodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeListResponse"}}}}},"tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/CompCodeStatus"}},{"in":"query","name":"batchId","required":false,"schema":{"type":"string"}},{"description":"`batch` = code belongs to a generated batch; `single` = CS-rep single code (no batch).","in":"query","name":"source","required":false,"schema":{"type":"string","enum":["batch","single"]}},{"in":"query","name":"createdAtFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"createdAtTo","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"expiresAtFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"expiresAtTo","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"offset","required":false,"schema":{"format":"int32","type":"integer","minimum":0}},{"description":"Page size, default 50. Capped at the same ceiling as the other identity-hydrating list endpoints\n(`GET /user/blacklist`): every row on the page is joined to a claim and an account, and a 70k-code\ncoupon makes an uncapped page an easy way to hang the admin UI. Use the CSV export when you need\nthe whole set rather than a page.","in":"query","name":"limit","required":false,"schema":{"format":"int32","type":"integer","minimum":1,"maximum":50}}]}},"/admin/coupons/{couponId}/codes/lookup":{"post":{"operationId":"LookupCodes","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminCompCodeViewModel"},"type":"array"}}}}},"description":"Finds codes of this coupon by the string a fan quotes and/or the address they redeemed with — at\nleast one of the two, both narrow each other. Rows come back in the same shape as the codes table.\nA search: no match is an empty list, and that includes a code issued under a different coupon,\nsince codes are only visible inside the one that issued them.\n\nThe one code surface `customer_support` can reach — `GET {couponId}/codes` and both CSV exports\nare not — so it is rate-limited per admin and audited hit-or-miss in `lookupCodesForAdmin`.","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","global_reader","subscriptions_editor","subscriptions_viewer","customer_support"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCompCodeLookupRequest"}}}}}},"/admin/coupons/{couponId}/codes/export":{"get":{"operationId":"ExportCodes","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"CSV of the codes list — the same columns and the same filters (status, batch, source, date\nranges), but the whole selection in one document instead of a 50-row page. Includes the resolved\n`claimedByEmail` / `redeemedByEmail`, so it's the file to hand someone who asks \"who has what\".","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/CompCodeStatus"}},{"in":"query","name":"batchId","required":false,"schema":{"type":"string"}},{"description":"`batch` = code belongs to a generated batch; `single` = CS-rep single code (no batch).","in":"query","name":"source","required":false,"schema":{"type":"string","enum":["batch","single"]}},{"in":"query","name":"createdAtFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"createdAtTo","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"expiresAtFrom","required":false,"schema":{"format":"date-time","type":"string"}},{"in":"query","name":"expiresAtTo","required":false,"schema":{"format":"date-time","type":"string"}}]}},"/admin/coupons/{couponId}/batches/{batchId}/export":{"get":{"operationId":"ExportBatch","responses":{"200":{"description":"Ok","content":{"text/csv":{"schema":{"type":"string"}}}}},"description":"CSV export of a batch (one code per line). Codes are already redeemable from generation.","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/coupons/{couponId}/codes/{codeId}":{"delete":{"operationId":"CancelCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"success":{"type":"boolean"}},"required":["success"],"type":"object"}}}}},"description":"Cancels an unredeemed rep code (hard-delete).","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"codeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/coupons/{couponId}/codes/{codeId}/invalidate":{"post":{"operationId":"InvalidateCode","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CompCodeViewModel"}}}}},"tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"codeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/coupons/{couponId}/batches/{batchId}/invalidate":{"post":{"operationId":"InvalidateBatch","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"invalidatedCount":{"type":"number","format":"double"}},"required":["invalidatedCount"],"type":"object"}}}}},"description":"Kills every unredeemed code in a batch (e.g. a leaked CSV).","tags":["Admin/Coupons"],"security":[{"jwt":["global_admin","subscriptions_editor"]}],"parameters":[{"in":"path","name":"couponId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"batchId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/cost-planner/scenarios":{"get":{"operationId":"AdminListCostPlannerScenarios","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostPlannerScenariosViewModel"}}}}},"tags":["Admin/CostPlanner"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"post":{"operationId":"AdminCreateCostPlannerScenario","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostPlannerScenarioViewModel"}}}}},"tags":["Admin/CostPlanner"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCostPlannerScenarioRequest"}}}}}},"/admin/cost-planner/scenarios/{scenarioId}":{"put":{"operationId":"AdminUpdateCostPlannerScenario","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostPlannerScenarioViewModel"}}}}},"tags":["Admin/CostPlanner"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"scenarioId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SaveCostPlannerScenarioRequest"}}}}},"delete":{"operationId":"AdminDeleteCostPlannerScenario","responses":{"204":{"description":"No content"}},"tags":["Admin/CostPlanner"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"scenarioId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/cost-planner/billing":{"get":{"operationId":"AdminGetCostPlannerBilling","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CostPlannerBillingViewModel"}}}}},"description":"Stored monthly Cost Explorer snapshots (newest first) with derived effective rates.\nSnapshots are refreshed daily by the `syncAwsBillingDaily` scheduled function.","tags":["Admin/CostPlanner"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"monthsBack","required":false,"schema":{"format":"double","type":"number"}}]}},"/admin/cost-planner/billing/sync":{"post":{"operationId":"AdminSyncCostPlannerBilling","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AwsBillingMonthViewModel"}}}}},"description":"On-demand re-sync of one month (\"yyyy-MM\", defaults to the current month) from Cost Explorer.","tags":["Admin/CostPlanner"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"month","required":false,"schema":{"type":"string"}}]}},"/admin/moderation/summary/queue":{"get":{"operationId":"AdminGetModerationQueueSummary","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentModerationQueueSummaryViewModel"}}}}},"description":"How many items wait for a reviewer per target, and the score thresholds in force.","tags":["Admin/Moderation"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[]}},"/admin/moderation/{target}":{"get":{"operationId":"AdminGetModerationQueue","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ContentModerationItemViewModel_"}}}}},"description":"Posts (MRSS and users'), MRSS videos, published videos' transcripts (`video_transcript`) or news articles\n(`news_article`) in one moderation state. `held` is the queue (for a public item, a flag for a reviewer);\n`rejected` and `recorded` (the shadow run's verdicts) are there to audit the classifier.","tags":["Admin/Moderation"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"path","name":"target","required":true,"schema":{"$ref":"#/components/schemas/ContentModerationTarget"}},{"in":"query","name":"state","required":false,"schema":{"$ref":"#/components/schemas/ContentModerationState"}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/moderation/{target}/{id}/approve":{"post":{"operationId":"AdminApproveModeratedItem","responses":{"204":{"description":"No content"}},"description":"Clears a held item: an MRSS post or video goes on as if it had passed, and a flag-only item (a transcript,\na user's post, a news article) stays as it is. 409 when it is not held (any more).","tags":["Admin/Moderation"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"target","required":true,"schema":{"$ref":"#/components/schemas/ContentModerationTarget"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/moderation/{target}/{id}/reject":{"post":{"operationId":"AdminRejectModeratedItem","responses":{"204":{"description":"No content"}},"description":"Refuses a held item: an MRSS post or video is never published, a transcript's video still published is\nunpublished, a user's post is taken down and a news article archived. 409 when it is not held (any more).","tags":["Admin/Moderation"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"target","required":true,"schema":{"$ref":"#/components/schemas/ContentModerationTarget"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/moderation/{target}/{id}/restore":{"post":{"operationId":"AdminRestoreModeratedItem","responses":{"204":{"description":"No content"}},"description":"Overturns a rejection, the classifier's or a reviewer's: the item is left as an approval would have left it\n(a taken-down post restored, an archived article published, a transcript's video published again while it is\nstill a draft, a feed item released). 409 when it is not rejected, or for a feed post rejected during its\nfeed's first import, whose history went with it.","tags":["Admin/Moderation"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"target","required":true,"schema":{"$ref":"#/components/schemas/ContentModerationTarget"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/content-entities/backfill":{"post":{"operationId":"AdminStartContentEntityBackfill","responses":{"204":{"description":"No content"}},"description":"Tags one kind of content published since `since` from its stored key terms, no model call; a dry run only counts.\nEach page reports in the `backfillContentEntityTags` log; start one run per kind at a time.","tags":["Admin/ContentEntities"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartContentEntityBackfillRequest"}}}}}},"/admin/content-entities/backfill/tags":{"post":{"operationId":"AdminRetagContentEntities","responses":{"204":{"description":"No content"}},"description":"Retags one kind of content whose `entityTags` hold one of `tags`, from its stored key terms, no model call: the\nrepair after a rule changed what those tags' terms resolve to. Pages run five seconds apart, like every run's; a dry\nrun only counts. Each page reports in the `backfillContentEntityTags` log.","tags":["Admin/ContentEntities"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RetagContentEntitiesRequest"}}}}}},"/admin/content-entities/backfill/feeds":{"post":{"operationId":"AdminStartBleacherFeedsBackfill","responses":{"204":{"description":"No content"}},"description":"Gives the activities of one kind published since `since` their topic feeds, league-wide mark and Bleacher custom\nfields from their stored tags (docs/bleacher-feeds.md, \"The feeds backfill\"); a dry run only counts. Each page\nreports in the `backfillContentEntityTags` log. 409 `slug_list_missing` until the dictionary's rebuild has\nwritten the slug list; 400 `invalid_cursor` for a `cursor` that names no document of `kind`.","tags":["Admin/ContentEntities"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/StartBleacherFeedsBackfillRequest"}}}}}},"/admin/content-entities/dictionary/rebuild":{"post":{"operationId":"AdminRebuildEntityDictionary","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityDictionaryRebuildViewModel"}}}}},"description":"Rewrites the dictionary from the current catalog: run after a catalog sync, or when a team is missing from it.","tags":["Admin/ContentEntities"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/comp-codes/grantable-coupons":{"post":{"operationId":"ListGrantableCoupons","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_GrantableCouponViewModel_"}}}}},"description":"Coupons grantable to one account, resolved by `email` or `userId` (one is required). READ-ONLY —\na POST only so the email travels in a body instead of a logged query string. What the account\ncannot take (holds paid access, already claimed the free product, product deactivated, monthly\ncoupon with no Stripe coupon) is excluded in SQL, so the page is exactly what can be assigned.","tags":["Admin/Comp Code Grants"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/GrantableCouponsRequest"}}}}}},"/admin/comp-codes/grant":{"post":{"operationId":"Grant","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCompCodeGrantViewModel"}}}}},"description":"Grants the chosen coupon: a code is minted and redeemed in one call, so the fan gets the\nsubscription and the admin never handles a code (the response carries the consumed code for the\naudit trail). 404 `account_not_found` when nothing matches the identifier and `account_unavailable`\nwhen the account has no usable profile (deleted, or a signup that never completed); 409 when it\nalready has this access — which is what `grantable-coupons` filters out beforehand.","tags":["Admin/Comp Code Grants"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminCompCodeGrantRequest"}}}}}},"/admin/comments/deleted":{"get":{"operationId":"AdminGetDeletedComments","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_AdminUserCommentViewModel_"}}}}},"description":"The trash: comments staff took down, newest-deleted first. A comment its author deleted is not listed.","tags":["Admin/Comments"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/comments/{commentId}":{"delete":{"operationId":"AdminDeleteComment","responses":{"204":{"description":"No content"}},"description":"Soft-deletes one comment regardless of who wrote it and removes it from Stream: the staff\ntakedown, same shape as `DELETE /admin/posts/{postId}`. The consumer apps call it too.","tags":["Admin/Comments"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"commentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/comments/{commentId}/restore":{"post":{"operationId":"AdminRestoreComment","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminUserCommentViewModel"}}}}},"description":"Undoes a staff takedown: the Stream comment and the document come back. An author's own delete is refused.","tags":["Admin/Comments"],"security":[{"jwt":["global_admin","content_moderator"]}],"parameters":[{"in":"path","name":"commentId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/claims/user/{userId}":{"post":{"operationId":"AdminCreateClaimRequest","responses":{"200":{"description":"Created claim","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityClaimViewModel"}}}}},"description":"Create claim for the specified user","tags":["Admin/Claims"],"security":[{"jwt":["global_admin"]}],"parameters":[{"description":"User id to request claim for","in":"path","name":"userId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"description":"Claim request","required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityClaimCreateRequest","description":"Claim request"}}}}}},"/admin/claims":{"get":{"operationId":"AdminGetClaimsRequests","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"properties":{"totalCount":{"type":"number","format":"double"},"lastVisibleDocumentId":{"type":"string"},"documents":{"items":{"$ref":"#/components/schemas/EntityClaimViewModel"},"type":"array"}},"required":["totalCount","lastVisibleDocumentId","documents"],"type":"object"}}}}},"tags":["Admin/Claims"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"orderBy","required":false,"schema":{"default":"updatedAt","type":"string"}},{"in":"query","name":"orderDirection","required":false,"schema":{"default":"desc","type":"string","enum":["asc","desc"]}},{"in":"query","name":"lastId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"status","required":false,"schema":{"$ref":"#/components/schemas/ClaimRequestStatus"}}]}},"/admin/claims/{claimId}":{"get":{"operationId":"AdminGetClaimRequest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityClaimViewModel"}}}}},"tags":["Admin/Claims"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateClaimRequest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityClaimViewModel"}}}}},"description":"Update claim status.\nEnsure that `entityId` is specified when updating claim with `requestType` equal to `createEntity`:\nthis endpoint links an existing PROFILE (a podcast is refused) and does not create one —\n`POST /admin/users/{userId}/approve` does.\n\nIf claim status is changing to approved, the user requesting the approval and entity will be marked as verified,\nand new user roles will be assigned in auth.","tags":["Admin/Claims"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"claimId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/EntityClaimUpdateRequest"}}}}}},"/admin/cdn-slots":{"get":{"operationId":"ListSlots","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdnSlotsListViewModel"}}}}},"description":"Pool dashboard: every slot + how many are currently available for lease.\nLiveSourceEditor (the on-call role) can read the pool during an incident.","tags":["Admin/CdnSlots"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[]},"post":{"operationId":"RegisterSlot","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdnSlotViewModel"}}}}},"description":"Registers a slot whose AWS resources were created by the bootstrap script\n(the script prints this exact JSON body). Re-registering an existing\nnon-leased slot overwrites its coordinates.","tags":["Admin/CdnSlots"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/RegisterCdnSlotRequest"}}}}}},"/admin/cdn-slots/{slotId}":{"put":{"operationId":"UpdateSlot","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdnSlotViewModel"}}}}},"description":"Toggle `available` ↔ `maintenance` (drain) and/or update ops notes.","tags":["Admin/CdnSlots"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slotId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateCdnSlotRequest"}}}}}},"/admin/cdn-slots/{slotId}/release":{"post":{"operationId":"ReleaseSlot","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/CdnSlotViewModel"}}}}},"description":"Force-release a stuck lease. Refuses while the leasing live is still\nactive unless `force: true`.","tags":["Admin/CdnSlots"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"slotId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ReleaseCdnSlotRequest"}}}}}},"/admin/config/app-config":{"get":{"operationId":"AdminGetAppConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppConfigViewModel"}}}}},"tags":["Admin/AppConfig"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateAppConfig","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AppConfigViewModel"}}}}},"description":"Patches one or more config sections (`appVersion`, `pushMinAppVersions`, `intros`). Only the sections/keys\npresent are changed; everything else keeps its current value.","tags":["Admin/AppConfig"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAppConfigRequest"}}}}}},"/admin/analytics/catalog":{"get":{"operationId":"GetCatalog","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AnalyticsCatalogViewModel"}}}}},"description":"The labels, descriptions and standing caveats of every group and figure the endpoints below answer with, for the\nadmin UI to show beside them. What a figure covers over a given window is the `coverage` block of that response.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/analytics/platform-totals":{"get":{"operationId":"GetPlatformTotals","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlatformTotalsResponse"}}}}},"description":"Get all-time platform totals. Optionally filter by date range (ISO 8601). Podcast episodes count by `postedAt`.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/engagement":{"get":{"operationId":"GetEngagement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EngagementResponse"}}}}},"description":"Engagement over the dates (ISO 8601): likes, comments and follows from the feed provider, the internal view\ncounters by kind, and the live and stadium-audio grants. Groups `engagement.counters`, `engagement.liveAccess` and\n`engagement.social` in the catalog.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/content":{"get":{"operationId":"GetContentEngagement","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContentEngagementResponse"}}}}},"description":"What the clients reported about content over the window (ISO 8601 dates, inclusive): cards seen in lists, screens\nopened, playback sessions and time watched. `coverage.platforms` says which clients send these; group\n`engagement.content` in the catalog.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/audience":{"get":{"operationId":"GetAudience","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AudienceResponse"}}}}},"description":"Who is on the platform. `loggedIn` is counted back from now on every client, whatever the dates; `visitors` is\nGA4 over the dates (ISO 8601, inclusive, GA4's days), the last 30 exported days by default, and null without an\nexport. Groups `audience.loggedIn` and `audience.visitors` in the catalog.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/playback":{"get":{"operationId":"GetPlayback","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PlaybackResponse"}}}}},"description":"Playback as the Mux players report it (the web player and every TV app, never the mobile apps) over the dates\n(ISO 8601, inclusive, the day a view ended), the last 30 loaded days by default: views, viewers, time watched,\nthe peak of views open at once, the playback's quality, and the splits by client, content kind, country, US\nstate and day. Group `playback` in the catalog.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/live-access":{"get":{"operationId":"GetLiveAccess","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LiveAccessResponse"}}}}},"description":"Lives over the dates (ISO 8601, inclusive, the last 30 days by default): the playback grants every client\ntakes, with their distinct users, stadium audio alike, and the broadcasts that ended in the window added up from\ntheir stats passports (the per-game figures stay under `admin/live-stats`). Groups `engagement.liveAccess` and\n`liveAccess.broadcasts` in the catalog.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/search":{"get":{"operationId":"GetSearchStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/SearchStatsResponse"}}}}},"description":"What people searched for over the dates (ISO 8601, inclusive): searches through `/search` (the web and mobile\napps; the TV app's search records nothing), the users behind them, and the 25 texts searched by the most users.\nGroup `search` in the catalog.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}}]}},"/admin/analytics/top-content":{"get":{"operationId":"GetTopContent","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/PaginatedList_TopContentItemResponse_"}}}}},"description":"Content ranked by one figure over the dates: `likes` and `comments` from the feed provider (a live's sit on its\nscheduled broadcast), `views` from the internal counter (a live's are its playback grants), `impressions`,\n`opens`, `plays` and `reach` from the content events (the web client's so far), `watchTime` from Mux (the web\nplayer and the TV apps). Every row carries the other figures all time. `type` narrows to one `ActivityType`.","tags":["Admin/Analytics"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"type","required":false,"schema":{"$ref":"#/components/schemas/ActivityType"}},{"in":"query","name":"startDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"endDate","required":false,"schema":{"type":"string"}},{"in":"query","name":"page","required":false,"schema":{"default":1,"format":"double","type":"number"}},{"in":"query","name":"perPage","required":false,"schema":{"default":10,"format":"double","type":"number"}},{"in":"query","name":"sortBy","required":false,"schema":{"$ref":"#/components/schemas/TopContentSortBy"}}]}},"/admin/alerting/test":{"post":{"operationId":"SendTest","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertTestViewModel"}}}}},"description":"Fires a labeled `info` test event to PagerDuty, FORCE-sent even while dry-run\nis on, so delivery + the routing key can be validated on demand. Returns\nPagerDuty's raw result; reports `dryRun` only when no routing key is stored.","tags":["Admin/Alerting"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/alerting/dry-run":{"get":{"operationId":"GetDryRun","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertDryRunViewModel"}}}}},"description":"Current effective dry-run state and where it resolved from.","tags":["Admin/Alerting"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"post":{"operationId":"SetDryRun","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertDryRunViewModel"}}}}},"description":"Flip the dry-run kill-switch at runtime (no redeploy).","tags":["Admin/Alerting"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AlertDryRunRequest"}}}}}},"/admin/ai-usage/llm":{"get":{"operationId":"AdminGetLlmUsage","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/LlmUsageViewModel"}}}}},"description":"Every prompt's calls, tokens, errors and estimated cost: the last 48 hours, 30 days or 12 months.","tags":["Admin/AI usage"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"granularity","required":false,"schema":{"$ref":"#/components/schemas/UsageGranularityParam"}}]}},"/admin/ai-usage/moderation":{"get":{"operationId":"AdminGetModerationStats","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ModerationStatsViewModel"}}}}},"description":"Moderation verdicts and reviews by content type: the last 48 hours, 30 days or 12 months.","tags":["Admin/AI usage"],"security":[{"jwt":["global_admin","global_reader","content_moderator"]}],"parameters":[{"in":"query","name":"granularity","required":false,"schema":{"$ref":"#/components/schemas/UsageGranularityParam"}}]}},"/admin/overrides/geo":{"get":{"operationId":"ListGeoOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ListResultReponse_UserProfileViewModel_"}}}}},"description":"Lists users that currently have a geo-token override set. Paginated; `query`\nnarrows by the usual user fields (email/handle/name). Each row carries the\nraw override token on the view model.","tags":["Admin/Overrides"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[{"in":"query","name":"query","required":false,"schema":{"default":"","type":"string"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/overrides/geo/expiring":{"get":{"operationId":"ListExpiringGeoOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/ExpiringGeoOverrideUserViewModel"},"type":"array"}}}}},"description":"Users whose geo overrides expire within `withinDays` — the \"renew before\nthe game\" view, since a lapsed grant just fails at playback with no notice.\n`includeExpired` (default true) keeps dead entries, which grant nothing yet\nstill occupy the per-user cap.\n\nPaginates over real matches: the population comes from the indexed\n`geoGrantsNextExpiryAt` field, so a page is never empty while later pages\nstill hold results. Rows carry only the matching entries, soonest first.","tags":["Admin/Overrides"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[{"in":"query","name":"withinDays","required":false,"schema":{"default":7,"format":"double","type":"number"}},{"in":"query","name":"includeExpired","required":false,"schema":{"default":true,"type":"boolean"}},{"in":"query","name":"limit","required":false,"schema":{"default":100,"format":"double","type":"number"}},{"in":"query","name":"offset","required":false,"schema":{"default":0,"format":"double","type":"number"}}]}},"/admin/overrides/features":{"get":{"operationId":"ListFeatureOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/FeatureOverrideUserViewModel"},"type":"array"}}}}},"description":"Lists every user with at least one per-user feature override, hydrated with\nidentity fields (email/handle/name). The set is small by design (the\noverrides live in a single doc), so it returns whole — no pagination.","tags":["Admin/Overrides"],"security":[{"jwt":["global_admin","global_reader","users_editor","users_viewer"]}],"parameters":[]}},"/admin/overrides/geo/bulk":{"post":{"operationId":"BulkGrantGeoOverride","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkOverrideResultViewModel"}}}}},"description":"Grant the same test-mode geo-token override to a batch of users identified\nby email. Each email is resolved to a uid authoritatively; the location\nclaims in the body are stamped onto every minted token. Returns a per-email\noutcome (ok / not_found / error) — one bad email never fails the batch.\n\n**MUST NOT be used on production accounts.**","tags":["Admin/Overrides"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkGeoOverrideRequest"}}}}}},"/admin/overrides/features/bulk":{"post":{"operationId":"BulkSetFeatureOverrides","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkOverrideResultViewModel"}}}}},"description":"Set the same per-user feature overrides on a batch of users identified by\nemail. Resolves emails → uids, then applies the patch to all resolved users\nin ONE transaction on the singleton feature-state doc. Unknown feature keys\nare rejected (400). Returns a per-email outcome; unresolvable emails are\nreported as not_found, not fatal.","tags":["Admin/Overrides"],"security":[{"jwt":["global_admin","users_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BulkFeatureOverrideRequest"}}}}}},"/admin/ad-reports/sources/{liveSourceId}":{"get":{"operationId":"GetSourceAdDelivery","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdDeliveryReportViewModel"}}}}},"description":"Delivery across a rights-holder feed — the grain a sponsor is invoiced at,\nsince a season's games share one feed and not one live.\n\nA scope is required, not optional: an unbounded query over the beacon table\nscans every ad ever served, on an endpoint an operator will refresh.","tags":["Admin/AdReports"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[{"description":"The feed to report on.","in":"path","name":"liveSourceId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"description":"ISO-8601. Defaults to 120 days before `to`.","in":"query","name":"from","required":false,"schema":{"type":"string"}},{"description":"ISO-8601. Defaults to now.","in":"query","name":"to","required":false,"schema":{"type":"string"}},{"description":"`live` (default) or `replay`. Never merged.","in":"query","name":"contentType","required":false,"schema":{"type":"string"}}]}},"/admin/ad-reports/lives/{liveId}":{"get":{"operationId":"GetLiveAdDelivery","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdDeliveryReportViewModel"}}}}},"description":"Delivery for ONE game, including per-break detail.\n\nThe per-break block is populated only here: across a season the avail\nnumbers of different games would be summed together, which is meaningless\nrather than merely uninteresting.","tags":["Admin/AdReports"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[{"in":"path","name":"liveId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"from","required":false,"schema":{"type":"string"}},{"in":"query","name":"to","required":false,"schema":{"type":"string"}},{"in":"query","name":"contentType","required":false,"schema":{"type":"string"}}]}},"/admin/ad-creatives":{"get":{"operationId":"ListAdCreatives","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdCreativeViewModel"},"type":"array"}}}}},"description":"Every creative, active or not. LiveSourceEditor can read it during a broadcast.","tags":["Admin/AdCreatives"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[]},"post":{"operationId":"CreateAdCreative","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCreativeViewModel"}}}}},"description":"Registers a creative. It becomes eligible for the next pod within ~5s of\nthe write reaching each instance — no redeploy, no channel restart.","tags":["Admin/AdCreatives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdCreativeRequest"}}}}}},"/admin/ad-creatives/{adCreativeId}":{"get":{"operationId":"GetAdCreative","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCreativeViewModel"}}}}},"tags":["Admin/AdCreatives"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[{"in":"path","name":"adCreativeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateAdCreative","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCreativeViewModel"}}}}},"description":"Updates a creative. Set `isActive: false` to retire one — it stops being\nselected but keeps its id, which reporting rows already reference.","tags":["Admin/AdCreatives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"adCreativeId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAdCreativeRequest"}}}}}},"/admin/ad-creatives/upload-url":{"post":{"operationId":"CreateAdCreativeUploadUrl","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCreativeUploadUrlViewModel"}}}}},"description":"Step 1 of adding a creative: get a signed PUT URL and the public URL the\nfile will have.\n\nUpload the MP4 straight to `uploadUrl` with `Content-Type: video/mp4` (the\nsignature covers the header), then call `POST /admin/ad-creatives` with the\nreturned `mediaFileUrl`. The file never passes through this API — a\nbroadcast-quality :30 can exceed the 32 MB request cap, and a failed\ntransfer this way leaves no half-registered creative behind.\n\nEach call gets a fresh path; nothing is ever overwritten. MediaTailor caches\na conditioned creative by URL, so re-using one already on air would keep\nserving the old transcode.","tags":["Admin/AdCreatives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCreativeUploadUrlRequest"}}}}}},"/admin/ad-creatives/bustCache":{"post":{"operationId":"BustAdCreativesCache","responses":{"204":{"description":"No content"}},"description":"Forces every instance to re-read the creative library.\n\nThe write endpoints already invalidate it, so this is the lever for when\nthat invalidation was swallowed (a Redis blip) and an operator needs the\nchange to land NOW rather than at the end of a TTL — i.e. mid-break, with\nthe wrong spot on air.","tags":["Admin/AdCreatives"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[]}},"/admin/ad-campaigns":{"get":{"operationId":"ListAdCampaigns","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdCampaignViewModel"},"type":"array"}}}}},"description":"Every campaign, active or not, each with its cuts.","tags":["Admin/AdCampaigns"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[]},"post":{"operationId":"CreateAdCampaign","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCampaignViewModel"}}}}},"description":"Books a campaign. Create this BEFORE uploading its files — a creative names\nits campaign on create, and targeting is only settable here.","tags":["Admin/AdCampaigns"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateAdCampaignRequest"}}}}}},"/admin/ad-campaigns/{adCampaignId}":{"get":{"operationId":"GetAdCampaign","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCampaignViewModel"}}}}},"tags":["Admin/AdCampaigns"],"security":[{"jwt":["global_admin","global_reader","live_source_editor"]}],"parameters":[{"in":"path","name":"adCampaignId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateAdCampaign","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdCampaignViewModel"}}}}},"description":"Updates a campaign. `isActive: false` takes every cut of the title off the\nair at once — the single switch that exists because pulling four creatives\none at a time during a break is how one gets missed.\n\nTargeting sub-fields MERGE: omitted leaves a constraint untouched, `[]`\ndrops it, and `null` clears a flight bound.","tags":["Admin/AdCampaigns"],"security":[{"jwt":["global_admin","live_source_editor"]}],"parameters":[{"in":"path","name":"adCampaignId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateAdCampaignRequest"}}}}}},"/admin/channels":{"post":{"operationId":"AdminCreateChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelViewModel"}}}}},"tags":["Admin/Channels"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChannelRequest"}}}}},"get":{"operationId":"AdminGetChannels","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_AdminChannelViewModel_"}}}}},"description":"Channels in the consumer order (`sortPriority` DESC).","tags":["Admin/Channels"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"isActiveOnly","required":false,"schema":{"type":"boolean"}}]}},"/admin/channels/{channelId}":{"get":{"operationId":"AdminGetChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelViewModel"}}}}},"description":"One channel with its feeds.","tags":["Admin/Channels"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelViewModel"}}}}},"tags":["Admin/Channels"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChannelRequest"}}}}},"delete":{"operationId":"AdminDeactivateChannel","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelViewModel"}}}}},"description":"Soft delete: hides the channel everywhere; feeds keep their configuration.","tags":["Admin/Channels"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/channels/feeds/{feedId}/programs":{"get":{"operationId":"AdminGetFeedPrograms","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/DocumentsList_ChannelProgramViewModel_"}}}}},"description":"The guide on file for the feed in guide order, past rows included, paged (`limit` 1..100, cursor `lastDocId`).","tags":["Admin/ChannelPrograms"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"query","name":"limit","required":false,"schema":{"format":"double","type":"number"}},{"in":"query","name":"lastDocId","required":false,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/channels/{channelId}/feeds":{"post":{"operationId":"CreateFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"}}}}},"tags":["Admin/ChannelFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CreateChannelFeedRequest"}}}}},"get":{"operationId":"GetFeeds","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"},"type":"array"}}}}},"description":"Every feed of a channel (active or not), in tab order.","tags":["Admin/ChannelFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"channelId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/channels/feeds/{feedId}":{"get":{"operationId":"GetFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"}}}}},"description":"One feed with the partner URLs and the sync state.","tags":["Admin/ChannelFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"UpdateFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"}}}}},"tags":["Admin/ChannelFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateChannelFeedRequest"}}}}},"delete":{"operationId":"DeactivateFeed","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelFeedViewModel"}}}}},"description":"Soft delete. The feed's guide rows are deleted.","tags":["Admin/ChannelFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/channels/feeds/{feedId}/sync":{"post":{"operationId":"SyncFeedNow","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AdminChannelFeedSyncViewModel"}}}}},"description":"Fetches and reconciles the feed's guide right now, ignoring the cached ETag.\nAn inactive feed or one without a guide source is a 400 (the worker would skip it silently).\nFetch/parse failures do not error: `outcome: \"failed\"` with the reason in `feed.guideSync.lastError`.","tags":["Admin/ChannelFeeds"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"feedId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/config/bleachers-limits":{"get":{"operationId":"AdminGetBleachersLimits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersLimitsAdminViewModel"}}}}},"description":"The limits in force, the defaults an absent value falls back to, and who changed them last.","tags":["Admin/BleachersLimits"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]},"patch":{"operationId":"AdminUpdateBleachersLimits","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersLimitsAdminViewModel"}}}}},"description":"Changes the limits; only the keys sent change. Writes after it enforce the new values, and the apps read them from\n`GET /bleachers/limits`. Bleachers that already hold more teams than a lowered `maxAdditions` keep them and may drop\nsome, but take a new team only within it.","tags":["Admin/BleachersLimits"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBleachersLimitsRequest"}}}}}},"/admin/bleachers/creator-ties/entities/{type}/{id}":{"get":{"operationId":"AdminGetBleachersEntityCreatorTies","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersCreatorTieViewModel"},"type":"array"}}}}},"description":"The creators tied to the entity, heaviest first; `creator` is null for one whose account is gone.","tags":["Admin/BleachersCreatorTies"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/bleachers/creator-ties/creators/{creatorId}":{"get":{"operationId":"AdminGetBleachersCreatorTies","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersCreatorTieViewModel"},"type":"array"}}}}},"description":"The entities the creator is tied to, heaviest first.","tags":["Admin/BleachersCreatorTies"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/bleachers/creator-ties/entities/{type}/{id}/creators/{creatorId}":{"put":{"operationId":"AdminSetBleachersCreatorTie","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersCreatorTieUpdateViewModel"}}}}},"description":"Ties a verified creator to an entity of the catalog other than an athlete, or changes the weight, re-tying one that\nwas untied; the weight it already has writes nothing. 404 for an entity outside the catalog or a creator whose\naccount is gone; 409 (`bleachers_creator_excluded`) for a promotional account. A team's tie made, or made\nagain, queues the sync of the fans whose Bleachers hold the team, and every call on a team's tie, the weight it has\nincluded, queues the placement of the creator's 500 newest posts, videos and Hypes on the team's feed a minute later.\nWhat cannot be queued leaves the tie saved all the same, and `warning` says what repairs it: `POST …/recount` for\nthe fans, saving the tie again for the placement.","tags":["Admin/BleachersCreatorTies"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/SetBleachersCreatorTieRequest"}}}}},"delete":{"operationId":"AdminUntieBleachersCreator","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersCreatorTieUpdateViewModel"}}}}},"description":"Unties the creator: the tie is kept at weight 0 with its history. 404 when the creator is not tied to the entity. A\nteam's untie queues the sync of its fans as a tie does, and taking every item the tie placed off the team's feed a\nminute later. What cannot be queued leaves the untie saved all the same, and `warning` says what repairs it:\n`POST …/recount` for the fans, tying and untying again for the items.","tags":["Admin/BleachersCreatorTies"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"creatorId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}},"/admin/bleachers/creator-ties/recount":{"post":{"operationId":"AdminRecountBleachersCreators","responses":{"204":{"description":"No content"}},"description":"Syncs every fan's held creators, recounts every creator they hold, and at the end rewrites every count above zero\nthat is wrong, a page of Bleachers per task (`processBleachersCreatorsFanOut` logs each): the repair when a count is\noff, and the pass to run once `bleachers` is on for everyone. It also gives each Bleachers of a fan with `bleachers`\non its two feeds and deletes those of a Bleachers that is gone, and makes the feeds follow what the fan's Bleachers\ngive. It sends only the differences against each Bleachers' record and does not read follows back from GetStream.","tags":["Admin/BleachersCreatorTies"],"security":[{"jwt":["global_admin"]}],"parameters":[]}},"/admin/bleachers/catalog/sync":{"post":{"operationId":"AdminTriggerBleachersCatalogSync","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/EnqueueSportsRegistrySyncResult"}}}}},"description":"Re-triggers the registry sync: a full run (the provider's overview, which then enqueues one task per active\nleague), or one task per league of `leagueIds` (registry ids). Tasks are named per clock hour, so one of a kind is\nenqueued at most once an hour: `alreadyQueued` names the ones already queued or done this hour — check\n`GET admin/bleachers/catalog/sync/status`.","tags":["Admin/BleachersCatalogSync"],"security":[{"jwt":["global_admin"]}],"parameters":[],"requestBody":{"required":false,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/TriggerSportsSyncRequest"}}}}}},"/admin/bleachers/catalog/sync/status":{"get":{"operationId":"AdminGetBleachersCatalogSyncStatus","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"allOf":[{"$ref":"#/components/schemas/BleachersSyncStatusSummary"}],"nullable":true}}}}},"description":"The last full run and every league's last task: the run's `state` (the overview's until it finished, then\n`running` while a league of it has not, then `completed`), `totals`, and per league its state, stats and report\n(`BleachersSyncReport`): what the admin acts on — teams without a profile or coordinates, claimed profiles whose\nname drifted, leagues without settings, failed walks, crest key conflicts, and what the provider no longer lists.\nBefore the first full run, the leagues synced alone are summed up instead; `204` with no body until a league task or\na full run is first enqueued.","tags":["Admin/BleachersCatalogSync"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/bleachers/catalog/featured":{"get":{"operationId":"AdminGetBleachersFeatured","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersFeaturedEntityViewModel"},"type":"array"}}}}},"description":"Featured entities in their order, with the order number, hidden and inactive ones included.","tags":["Admin/BleachersCatalog"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[]}},"/admin/bleachers/catalog/search":{"get":{"operationId":"AdminSearchBleachersCatalog","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"items":{"$ref":"#/components/schemas/BleachersCatalogSearchEntityViewModel"},"type":"array"}}}}},"description":"Active and hidden catalog entities whose name, short name or abbreviation holds the query: a name that is the\nquery first, then active ones; `types` keeps only those types.","tags":["Admin/BleachersCatalog"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"query","name":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":100}},{"in":"query","name":"types","required":false,"schema":{"type":"array","items":{"$ref":"#/components/schemas/CatalogEntityType"},"maxItems":6}},{"in":"query","name":"limit","required":false,"schema":{"default":20,"format":"int32","type":"integer","minimum":1,"maximum":50}}]}},"/admin/bleachers/catalog/entities/{type}/{id}":{"get":{"operationId":"AdminGetBleachersEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersAdminEntityViewModel"}}}}},"description":"A catalog entity, active or not: what the picker shows, what admins decided and what the sync found.","tags":["Admin/BleachersCatalog"],"security":[{"jwt":["global_admin","global_reader"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]},"patch":{"operationId":"AdminUpdateBleachersEntity","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersAdminEntityViewModel"}}}}},"description":"Features or boosts an entity; for a team, also moves its stadium or picks its Wikipedia article. Hiding is the registry's.","tags":["Admin/BleachersCatalog"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/UpdateBleachersEntityAdminRequest"}}}}}},"/admin/bleachers/catalog/entities/{type}/{id}/rivals":{"post":{"operationId":"AdminAddBleachersRival","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersAdminEntityViewModel"}}}}},"description":"Makes a listed team of the same sport, of any league, this team's rival, both ways, whatever Wikidata says.","tags":["Admin/BleachersCatalog"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/AddBleachersRivalRequest"}}}}}},"/admin/bleachers/catalog/entities/{type}/{id}/rivals/{rivalId}":{"delete":{"operationId":"AdminRemoveBleachersRival","responses":{"200":{"description":"Ok","content":{"application/json":{"schema":{"$ref":"#/components/schemas/BleachersAdminEntityViewModel"}}}}},"description":"Ends a rivalry, both ways, whatever Wikidata says; 404 when the team has no such rival.","tags":["Admin/BleachersCatalog"],"security":[{"jwt":["global_admin"]}],"parameters":[{"in":"path","name":"type","required":true,"schema":{"$ref":"#/components/schemas/CatalogEntityType"}},{"in":"path","name":"id","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}},{"in":"path","name":"rivalId","required":true,"schema":{"$ref":"#/components/schemas/PathSegment"}}]}}},"servers":[{"url":"/"}]}