Versions in this module Expand all Collapse all v1 v1.6.9 Oct 4, 2023 Changes in this version type MediaResultGeneral + Released types.UnixTS v1.6.8 Oct 4, 2023 Changes in this version type MediaResultGeneral + ReferenceNumber string v1.6.7 Sep 25, 2023 Changes in this version type Client + func (o Client) AudioCategories() (*Response[MediaResult], error) v1.6.6 Sep 22, 2023 Changes in this version type MediaResultGeneral + Description string v1.6.5 Sep 18, 2023 Changes in this version type Client + func (o Client) YouTubeCategories() (*Response[YouTubeCategories], error) + type YouTubeCategories map[int]string v1.6.4 Sep 14, 2023 Changes in this version type MediaResultGeneral + Category string + CategoryRaw types.StringOrZero v1.6.3 Sep 13, 2023 Changes in this version type Client + func (o Client) VideoCategories() (*Response[MediaResult], error) v1.6.2 Sep 13, 2023 Changes in this version type Client + func (o Client) ConnectShow(streamType enum.StreamType, id int, showId int) (*Response[any], error) v1.6.1 Sep 13, 2023 Changes in this version type Client + func (o Client) Channels() (*Response[MediaResult], error) type Response + func DomainDataCall(o Client, method string, operation string, args []string, ...) (*Response[T], error) v1.6.0 Sep 13, 2023 Changes in this version + type Client struct + ApiSecret string + DomainId string + SessionId string + func NewClient(domainId string, apiSecret string, sessionId string) Client + func OmniaFromFile(path string) Client + func (o Client) AddChannel(parameters params.Channel) (*Response[any], error) + func (o Client) AddUploadLink(parameters params.UploadLink) (*Response[any], error) + func (o Client) All(streamType enum.StreamType, parameters params.QueryParameters) (*Response[MediaResult], error) + func (o Client) AllPaged(streamType enum.StreamType, parameters params.QueryParameters) (*Response[MediaResult], error) + func (o Client) Approve(streamType enum.StreamType, id int, parameters params.Approve) (*Response[any], error) + func (o Client) ByCodeName(streamType enum.StreamType, codename string, parameters params.QueryParameters) (*Response[any], error) + func (o Client) ByGlobalId(streamType enum.StreamType, globalId int, parameters params.QueryParameters) (*Response[MediaResultItem], error) + func (o Client) ByHash(streamType enum.StreamType, hash string, parameters params.QueryParameters) (*Response[MediaResultItem], error) + func (o Client) ById(streamType enum.StreamType, id int, parameters params.QueryParameters) (*Response[MediaResultItem], error) + func (o Client) ByQuery(streamType enum.StreamType, query string, parameters params.QueryParameters) (*Response[MediaResult], error) + func (o Client) ByRefNr(streamType enum.StreamType, reference string, ...) (*Response[any], error) + func (o Client) ByRemoteRef(streamType enum.StreamType, reference string, ...) (*Response[any], error) + func (o Client) BySlug(streamType enum.StreamType, slug string, parameters params.QueryParameters) (*Response[any], error) + func (o Client) EditableAttributes(streamType enum.StreamType) (*Response[EditableAttributesResponse], error) + func (o Client) Evergreens(streamType enum.StreamType, parameters params.QueryParameters) (*Response[any], error) + func (o Client) ForKids(streamType enum.StreamType, parameters params.QueryParameters) (*Response[any], error) + func (o Client) Latest(streamType enum.StreamType, parameters params.QueryParameters) (*Response[any], error) + func (o Client) Picked(streamType enum.StreamType, parameters params.QueryParameters) (*Response[any], error) + func (o Client) Publish(streamType enum.StreamType, id int) (*Response[any], error) + func (o Client) Reject(streamType enum.StreamType, id int, parameters params.Reject) (*Response[any], error) + func (o Client) Update(streamType enum.StreamType, id int, parameters params.Custom) (*Response[any], error) + type EditableAttributesProperties struct + AllowedInUgc int + Format string + Hint string + MaxLength int + Type string + type EditableAttributesResponse map[string]EditableAttributesProperties + type MediaResult []MediaResultItem + type MediaResultConnectedMedia struct + Shows []MediaResultGeneral + type MediaResultGeneral struct + AudioType string + Channel int + ContentModerationAspects string + Created types.UnixTS + ForKids enum.Bool + Genre string + GenreRaw string + Gid int + Hash string + Id int + IsPay enum.Bool + IsPicked enum.Bool + IsUgc enum.Bool + Runtime string + Subtitle string + Title string + Uploaded types.UnixTS + type MediaResultImageData struct + CoversShowTitle int + Description string + DescriptionAbt string + DescriptionAction string + Language string + Thumb string + ThumbAbt string + ThumbAction string + ThumbBanner string + ThumbHasX2 int + ThumbHasX3 int + ThumbHasXL int + ThumbHasXS int + ThumbQuad string + Waveform string + type MediaResultItem struct + ConnectedMedia MediaResultConnectedMedia + General MediaResultGeneral + ImageData MediaResultImageData + type Response struct + Metadata ResponseMetadata + Paging *ResponsePaging + Result T + func Call(o Client, method string, streamType enum.StreamType, operation string, ...) (*Response[T], error) + func ManagementCall(o Client, method string, streamType enum.StreamType, operation string, ...) (*Response[T], error) + func SystemCall(o Client, method string, operation string, args []string, response Response[T]) (*Response[T], error) + type ResponseMetadata struct + ApiVersion string + CalledFor *string + CalledWith *string + ErrorHint *string + ForDomain *int + FromCache *int + FromStage *int + Notice *string + ProcessingTime float64 + Status int + Verb string + type ResponsePaging struct + Limit int + ResultCount int + Start int