Documentation ¶
Index ¶
- type Client
- func (c *Client) CreateComputeScript(dataApi ComputeScript) (ComputeScript, error)
- func (c *Client) CreateComputeScriptVariable(dataApi ComputeScriptVariable) (ComputeScriptVariable, error)
- func (c *Client) CreateDnsRecord(data DnsRecord) (DnsRecord, error)
- func (c *Client) CreateDnsZone(data DnsZone) (DnsZone, error)
- func (c *Client) CreatePullzone(data Pullzone) (Pullzone, error)
- func (c *Client) CreatePullzoneEdgerule(data PullzoneEdgerule) (PullzoneEdgerule, error)
- func (c *Client) CreatePullzoneHostname(data PullzoneHostname) (PullzoneHostname, error)
- func (c *Client) CreatePullzoneOptimizerClass(data PullzoneOptimizerClass) (PullzoneOptimizerClass, error)
- func (c *Client) CreateStorageFile(data StorageFile) (StorageFile, error)
- func (c *Client) CreateStorageZone(data StorageZone) (StorageZone, error)
- func (c *Client) CreateStreamCollection(dataApi StreamCollection) (StreamCollection, error)
- func (c *Client) CreateStreamLibrary(data StreamLibrary) (StreamLibrary, error)
- func (c *Client) DeleteComputeScript(id int64) error
- func (c *Client) DeleteComputeScriptVariable(scriptId int64, id int64) error
- func (c *Client) DeleteDnsRecord(zoneId int64, id int64) error
- func (c *Client) DeleteDnsZone(id int64) error
- func (c *Client) DeletePullzone(id int64) error
- func (c *Client) DeletePullzoneEdgerule(pullzoneId int64, guid string) error
- func (c *Client) DeletePullzoneHostname(pullzoneId int64, hostname string) error
- func (c *Client) DeletePullzoneOptimizerClass(pullzoneId int64, name string) error
- func (c *Client) DeleteStorageFile(zoneId int64, path string) error
- func (c *Client) DeleteStorageZone(id int64) error
- func (c *Client) DeleteStreamCollection(libraryId int64, id string) error
- func (c *Client) DeleteStreamLibrary(id int64) error
- func (c *Client) DeleteStreamVideo(libraryId int64, id string) error
- func (c *Client) GetComputeScript(id int64) (ComputeScript, error)
- func (c *Client) GetComputeScriptVariable(scriptId int64, id int64) (ComputeScriptVariable, error)
- func (c *Client) GetComputeScriptVariableByName(scriptId int64, name string) (ComputeScriptVariable, error)
- func (c *Client) GetDnsRecord(zoneId int64, id int64) (DnsRecord, error)
- func (c *Client) GetDnsZone(id int64) (DnsZone, error)
- func (c *Client) GetDnsZoneByDomain(domain string) (DnsZone, error)
- func (c *Client) GetPullzone(id int64) (Pullzone, error)
- func (c *Client) GetPullzoneEdgerule(pullzoneId int64, guid string) (PullzoneEdgerule, error)
- func (c *Client) GetPullzoneHostname(pullzoneId int64, id int64) (PullzoneHostname, error)
- func (c *Client) GetPullzoneHostnameByName(pullzoneId int64, hostname string) (PullzoneHostname, error)
- func (c *Client) GetPullzoneOptimizerClass(pullzoneId int64, name string) (PullzoneOptimizerClass, error)
- func (c *Client) GetRegion(regionCode string) (Region, error)
- func (c *Client) GetStorageFile(zoneId int64, path string) (StorageFile, error)
- func (c *Client) GetStorageZone(id int64) (StorageZone, error)
- func (c *Client) GetStreamCollection(libraryId int64, id string) (StreamCollection, error)
- func (c *Client) GetStreamLibrary(id int64) (StreamLibrary, error)
- func (c *Client) GetStreamVideo(libraryId int64, id string) (StreamVideo, error)
- func (c *Client) GetVideoLanguage(code string) (VideoLanguage, error)
- func (c *Client) GetVideoLanguages() ([]VideoLanguage, error)
- func (c *Client) UpdateComputeScript(dataApi ComputeScript) (ComputeScript, error)
- func (c *Client) UpdateComputeScriptVariable(dataApi ComputeScriptVariable) (ComputeScriptVariable, error)
- func (c *Client) UpdateDnsRecord(dataApi DnsRecord) (DnsRecord, error)
- func (c *Client) UpdateDnsZone(dataApi DnsZone) (DnsZone, error)
- func (c *Client) UpdatePullzone(dataApi Pullzone) (Pullzone, error)
- func (c *Client) UpdatePullzoneHostname(data PullzoneHostname, previousData PullzoneHostname) (PullzoneHostname, error)
- func (c *Client) UpdatePullzoneOptimizerClass(data PullzoneOptimizerClass) (PullzoneOptimizerClass, error)
- func (c *Client) UpdateStorageFile(data StorageFile) (StorageFile, error)
- func (c *Client) UpdateStorageZone(dataApi StorageZone) (StorageZone, error)
- func (c *Client) UpdateStreamCollection(dataApi StreamCollection) (StreamCollection, error)
- func (c *Client) UpdateStreamLibrary(dataApi StreamLibrary) (StreamLibrary, error)
- func (c *Client) UpdateStreamVideo(dataApi StreamVideo) (StreamVideo, error)
- type ComputeScript
- type ComputeScriptVariable
- type DnsRecord
- type DnsZone
- type Pullzone
- type PullzoneEdgerule
- type PullzoneEdgeruleExtraAction
- type PullzoneEdgeruleTrigger
- type PullzoneHostname
- type PullzoneOptimizerClass
- type Region
- type StorageFile
- type StorageZone
- type StreamCollection
- type StreamLibrary
- type StreamVideo
- type StreamVideoChapter
- type StreamVideoMetaTag
- type StreamVideoMoment
- type VideoLanguage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
func (*Client) CreateComputeScript ¶ added in v0.4.0
func (c *Client) CreateComputeScript(dataApi ComputeScript) (ComputeScript, error)
func (*Client) CreateComputeScriptVariable ¶ added in v0.4.0
func (c *Client) CreateComputeScriptVariable(dataApi ComputeScriptVariable) (ComputeScriptVariable, error)
func (*Client) CreateDnsRecord ¶
func (*Client) CreatePullzoneEdgerule ¶
func (c *Client) CreatePullzoneEdgerule(data PullzoneEdgerule) (PullzoneEdgerule, error)
func (*Client) CreatePullzoneHostname ¶
func (c *Client) CreatePullzoneHostname(data PullzoneHostname) (PullzoneHostname, error)
func (*Client) CreatePullzoneOptimizerClass ¶
func (c *Client) CreatePullzoneOptimizerClass(data PullzoneOptimizerClass) (PullzoneOptimizerClass, error)
func (*Client) CreateStorageFile ¶
func (c *Client) CreateStorageFile(data StorageFile) (StorageFile, error)
func (*Client) CreateStorageZone ¶
func (c *Client) CreateStorageZone(data StorageZone) (StorageZone, error)
func (*Client) CreateStreamCollection ¶
func (c *Client) CreateStreamCollection(dataApi StreamCollection) (StreamCollection, error)
func (*Client) CreateStreamLibrary ¶
func (c *Client) CreateStreamLibrary(data StreamLibrary) (StreamLibrary, error)
func (*Client) DeleteComputeScript ¶ added in v0.4.0
func (*Client) DeleteComputeScriptVariable ¶ added in v0.4.0
func (*Client) DeleteDnsZone ¶
func (*Client) DeletePullzone ¶
func (*Client) DeletePullzoneEdgerule ¶
func (*Client) DeletePullzoneHostname ¶
func (*Client) DeletePullzoneOptimizerClass ¶
func (*Client) DeleteStorageFile ¶
func (*Client) DeleteStorageZone ¶
func (*Client) DeleteStreamCollection ¶
func (*Client) DeleteStreamLibrary ¶
func (*Client) DeleteStreamVideo ¶
func (*Client) GetComputeScript ¶ added in v0.4.0
func (c *Client) GetComputeScript(id int64) (ComputeScript, error)
func (*Client) GetComputeScriptVariable ¶ added in v0.4.0
func (c *Client) GetComputeScriptVariable(scriptId int64, id int64) (ComputeScriptVariable, error)
func (*Client) GetComputeScriptVariableByName ¶ added in v0.4.0
func (c *Client) GetComputeScriptVariableByName(scriptId int64, name string) (ComputeScriptVariable, error)
func (*Client) GetDnsRecord ¶
func (*Client) GetDnsZoneByDomain ¶ added in v0.3.12
func (*Client) GetPullzoneEdgerule ¶
func (c *Client) GetPullzoneEdgerule(pullzoneId int64, guid string) (PullzoneEdgerule, error)
func (*Client) GetPullzoneHostname ¶
func (c *Client) GetPullzoneHostname(pullzoneId int64, id int64) (PullzoneHostname, error)
func (*Client) GetPullzoneHostnameByName ¶ added in v0.3.4
func (c *Client) GetPullzoneHostnameByName(pullzoneId int64, hostname string) (PullzoneHostname, error)
func (*Client) GetPullzoneOptimizerClass ¶
func (c *Client) GetPullzoneOptimizerClass(pullzoneId int64, name string) (PullzoneOptimizerClass, error)
func (*Client) GetStorageFile ¶
func (c *Client) GetStorageFile(zoneId int64, path string) (StorageFile, error)
func (*Client) GetStorageZone ¶
func (c *Client) GetStorageZone(id int64) (StorageZone, error)
func (*Client) GetStreamCollection ¶
func (c *Client) GetStreamCollection(libraryId int64, id string) (StreamCollection, error)
func (*Client) GetStreamLibrary ¶
func (c *Client) GetStreamLibrary(id int64) (StreamLibrary, error)
func (*Client) GetStreamVideo ¶
func (c *Client) GetStreamVideo(libraryId int64, id string) (StreamVideo, error)
func (*Client) GetVideoLanguage ¶
func (c *Client) GetVideoLanguage(code string) (VideoLanguage, error)
func (*Client) GetVideoLanguages ¶
func (c *Client) GetVideoLanguages() ([]VideoLanguage, error)
func (*Client) UpdateComputeScript ¶ added in v0.4.0
func (c *Client) UpdateComputeScript(dataApi ComputeScript) (ComputeScript, error)
func (*Client) UpdateComputeScriptVariable ¶ added in v0.4.0
func (c *Client) UpdateComputeScriptVariable(dataApi ComputeScriptVariable) (ComputeScriptVariable, error)
func (*Client) UpdateDnsRecord ¶
func (*Client) UpdatePullzoneHostname ¶
func (c *Client) UpdatePullzoneHostname(data PullzoneHostname, previousData PullzoneHostname) (PullzoneHostname, error)
func (*Client) UpdatePullzoneOptimizerClass ¶
func (c *Client) UpdatePullzoneOptimizerClass(data PullzoneOptimizerClass) (PullzoneOptimizerClass, error)
func (*Client) UpdateStorageFile ¶
func (c *Client) UpdateStorageFile(data StorageFile) (StorageFile, error)
func (*Client) UpdateStorageZone ¶
func (c *Client) UpdateStorageZone(dataApi StorageZone) (StorageZone, error)
func (*Client) UpdateStreamCollection ¶
func (c *Client) UpdateStreamCollection(dataApi StreamCollection) (StreamCollection, error)
func (*Client) UpdateStreamLibrary ¶
func (c *Client) UpdateStreamLibrary(dataApi StreamLibrary) (StreamLibrary, error)
func (*Client) UpdateStreamVideo ¶
func (c *Client) UpdateStreamVideo(dataApi StreamVideo) (StreamVideo, error)
type ComputeScript ¶ added in v0.4.0
type ComputeScriptVariable ¶ added in v0.4.0
type DnsRecord ¶
type DnsRecord struct { Zone int64 `json:"-"` Id int64 `json:"Id,omitempty"` Type uint8 `json:"Type"` Ttl int64 `json:"Ttl"` Value string `json:"Value"` Name string `json:"Name"` Weight int64 `json:"Weight"` Priority int64 `json:"Priority"` Port int64 `json:"Port"` Flags int64 `json:"Flags"` Tag string `json:"Tag"` Accelerated bool `json:"Accelerated"` AcceleratedPullZoneId int64 `json:"AcceleratedPullZoneId"` LinkName string `json:"LinkName"` MonitorType uint8 `json:"MonitorType"` GeolocationLatitude float64 `json:"GeolocationLatitude"` GeolocationLongitude float64 `json:"GeolocationLongitude"` LatencyZone string `json:"LatencyZone"` SmartRoutingType uint8 `json:"SmartRoutingType"` Disabled bool `json:"Disabled"` Comment string `json:"Comment"` }
type DnsZone ¶
type DnsZone struct { Id int64 `json:"Id,omitempty"` Domain string `json:"Domain"` CustomNameserversEnabled bool `json:"CustomNameserversEnabled"` Nameserver1 string `json:"Nameserver1"` Nameserver2 string `json:"Nameserver2"` SoaEmail string `json:"SoaEmail"` LoggingEnabled bool `json:"LoggingEnabled"` LoggingIPAnonymizationEnabled bool `json:"LoggingIPAnonymizationEnabled"` LogAnonymizationType uint8 `json:"LogAnonymizationType"` Records []DnsRecord `json:"Records"` }
type Pullzone ¶
type Pullzone struct { Id int64 `json:"Id,omitempty"` Name string `json:"Name,omitempty"` CnameDomain string `json:"CnameDomain,omitempty"` DisableLetsEncrypt bool `json:"DisableLetsEncrypt"` UseBackgroundUpdate bool `json:"UseBackgroundUpdate"` // headers EnableAccessControlOriginHeader bool `json:"EnableAccessControlOriginHeader"` AccessControlOriginHeaderExtensions []string `json:"AccessControlOriginHeaderExtensions"` AddCanonicalHeader bool `json:"AddCanonicalHeader"` // caching EnableSmartCache bool `json:"EnableSmartCache"` CacheControlMaxAgeOverride int64 `json:"CacheControlMaxAgeOverride"` CacheControlPublicMaxAgeOverride int64 `json:"CacheControlPublicMaxAgeOverride"` EnableQueryStringOrdering bool `json:"EnableQueryStringOrdering"` CacheErrorResponses bool `json:"CacheErrorResponses"` IgnoreQueryStrings bool `json:"IgnoreQueryStrings"` EnableWebPVary bool `json:"EnableWebPVary"` EnableCountryCodeVary bool `json:"EnableCountryCodeVary"` EnableHostnameVary bool `json:"EnableHostnameVary"` EnableMobileVary bool `json:"EnableMobileVary"` EnableAvifVary bool `json:"EnableAvifVary"` EnableCookieVary bool `json:"EnableCookieVary"` QueryStringVaryParameters []string `json:"QueryStringVaryParameters"` CookieVaryParameters []string `json:"CookieVaryParameters"` DisableCookies bool `json:"DisableCookies"` EnableCacheSlice bool `json:"EnableCacheSlice"` UseStaleWhileUpdating bool `json:"UseStaleWhileUpdating"` UseStaleWhileOffline bool `json:"UseStaleWhileOffline"` PermaCacheStorageZoneId uint64 `json:"PermaCacheStorageZoneId"` EnableOriginShield bool `json:"EnableOriginShield"` OriginShieldEnableConcurrencyLimit bool `json:"OriginShieldEnableConcurrencyLimit"` OriginShieldMaxConcurrentRequests uint64 `json:"OriginShieldMaxConcurrentRequests"` OriginShieldMaxQueuedRequests uint64 `json:"OriginShieldMaxQueuedRequests"` OriginShieldQueueMaxWaitTime uint64 `json:"OriginShieldQueueMaxWaitTime"` OriginShieldZoneCode string `json:"OriginShieldZoneCode,omitempty"` EnableRequestCoalescing bool `json:"EnableRequestCoalescing"` RequestCoalescingTimeout uint64 `json:"RequestCoalescingTimeout"` // security BlockRootPathAccess bool `json:"BlockRootPathAccess"` BlockPostRequests bool `json:"BlockPostRequests"` AllowedReferrers []string `json:"AllowedReferrers"` BlockedReferrers []string `json:"BlockedReferrers"` BlockNoneReferrer bool `json:"BlockNoneReferrer"` BlockedIps []string `json:"BlockedIps"` EnableLogging bool `json:"EnableLogging"` LoggingIPAnonymizationEnabled bool `json:"LoggingIPAnonymizationEnabled"` LogAnonymizationType uint8 `json:"LogAnonymizationType"` LogForwardingEnabled bool `json:"LogForwardingEnabled"` LogForwardingHostname string `json:"LogForwardingHostname"` LogForwardingPort uint16 `json:"LogForwardingPort"` LogForwardingToken string `json:"LogForwardingToken"` LogForwardingProtocol uint8 `json:"LogForwardingProtocol"` LogForwardingFormat uint8 `json:"LogForwardingFormat"` LoggingSaveToStorage bool `json:"LoggingSaveToStorage"` LoggingStorageZoneId uint64 `json:"LoggingStorageZoneId"` EnableTLS1 bool `json:"EnableTLS1"` EnableTLS1_1 bool `json:"EnableTLS1_1"` ErrorPageWhitelabel bool `json:"ErrorPageWhitelabel"` ErrorPageEnableStatuspageWidget bool `json:"ErrorPageEnableStatuspageWidget"` ErrorPageStatuspageCode string `json:"ErrorPageStatuspageCode"` ErrorPageEnableCustomCode bool `json:"ErrorPageEnableCustomCode"` ErrorPageCustomCode string `json:"ErrorPageCustomCode"` AWSSigningEnabled bool `json:"AWSSigningEnabled"` AWSSigningKey string `json:"AWSSigningKey"` AWSSigningSecret string `json:"AWSSigningSecret"` AWSSigningRegionName string `json:"AWSSigningRegionName"` ZoneSecurityEnabled bool `json:"ZoneSecurityEnabled"` ZoneSecurityIncludeHashRemoteIP bool `json:"ZoneSecurityIncludeHashRemoteIp"` ZoneSecurityKey string `json:"ZoneSecurityKey"` // safe hop EnableSafeHop bool `json:"EnableSafeHop"` OriginRetries uint8 `json:"OriginRetries"` OriginRetryDelay uint64 `json:"OriginRetryDelay"` OriginRetryConnectionTimeout bool `json:"OriginRetryConnectionTimeout"` OriginRetry5XXResponses bool `json:"OriginRetry5XXResponses"` OriginRetryResponseTimeout bool `json:"OriginRetryResponseTimeout"` OriginConnectTimeout uint64 `json:"OriginConnectTimeout"` OriginResponseTimeout uint64 `json:"OriginResponseTimeout"` // sub-resources Edgerules []PullzoneEdgerule `json:"Edgerules"` Hostnames []PullzoneHostname `json:"Hostnames"` OptimizerClasses []PullzoneOptimizerClass `json:"OptimizerClasses"` // origin OriginType uint8 `json:"OriginType"` OriginUrl string `json:"OriginUrl,omitempty"` StorageZoneId int64 `json:"StorageZoneId,omitempty"` OriginHostHeader string `json:"OriginHostHeader,omitempty"` AddHostHeader bool `json:"AddHostHeader"` VerifyOriginSSL bool `json:"VerifyOriginSSL"` FollowRedirects bool `json:"FollowRedirects"` EdgeScriptId int64 `json:"EdgeScriptId,omitempty"` MiddlewareScriptId int64 `json:"MiddlewareScriptId"` // routing Type uint8 `json:"Type"` EnableGeoZoneAF bool `json:"EnableGeoZoneAF"` EnableGeoZoneASIA bool `json:"EnableGeoZoneASIA"` EnableGeoZoneEU bool `json:"EnableGeoZoneEU"` EnableGeoZoneSA bool `json:"EnableGeoZoneSA"` EnableGeoZoneUS bool `json:"EnableGeoZoneUS"` RoutingFilters []string `json:"RoutingFilters"` BudgetRedirectedCountries []string `json:"BudgetRedirectedCountries"` BlockedCountries []string `json:"BlockedCountries"` // optimizer OptimizerEnabled bool `json:"OptimizerEnabled"` OptimizerMinifyCss bool `json:"OptimizerMinifyCSS"` OptimizerMinifyJs bool `json:"OptimizerMinifyJavaScript"` OptimizerEnableWebP bool `json:"OptimizerEnableWebP"` OptimizerForceClasses bool `json:"OptimizerForceClasses"` OptimizerEnableManipulationEngine bool `json:"OptimizerEnableManipulationEngine"` OptimizerAutomaticOptimizationEnabled bool `json:"OptimizerAutomaticOptimizationEnabled"` OptimizerDesktopMaxWidth uint64 `json:"OptimizerDesktopMaxWidth"` OptimizerMobileMaxWidth uint64 `json:"OptimizerMobileMaxWidth"` OptimizerImageQuality uint8 `json:"OptimizerImageQuality"` OptimizerMobileImageQuality uint8 `json:"OptimizerMobileImageQuality"` OptimizerWatermarkEnabled bool `json:"OptimizerWatermarkEnabled"` OptimizerWatermarkUrl string `json:"OptimizerWatermarkUrl"` OptimizerWatermarkPosition uint8 `json:"OptimizerWatermarkPosition"` OptimizerWatermarkOffset float64 `json:"OptimizerWatermarkOffset"` OptimizerWatermarkMinImageSize uint64 `json:"OptimizerWatermarkMinImageSize"` // limits LimitRatePerSecond float64 `json:"LimitRatePerSecond"` RequestLimit uint64 `json:"RequestLimit"` LimitRateAfter float64 `json:"LimitRateAfter"` BurstSize uint64 `json:"BurstSize"` ConnectionLimitPerIPCount uint64 `json:"ConnectionLimitPerIPCount"` MonthlyBandwidthLimit uint64 `json:"MonthlyBandwidthLimit"` }
type PullzoneEdgerule ¶
type PullzoneEdgerule struct { Id string `json:"Guid,omitempty"` Enabled bool `json:"Enabled"` Description string `json:"Description"` Action uint8 `json:"ActionType"` ActionParameter1 string `json:"ActionParameter1"` ActionParameter2 string `json:"ActionParameter2"` ExtraActions []PullzoneEdgeruleExtraAction `json:"ExtraActions"` MatchType uint8 `json:"TriggerMatchingType"` Triggers []PullzoneEdgeruleTrigger `json:"Triggers"` PullzoneId int64 `json:"-"` }
type PullzoneEdgeruleExtraAction ¶ added in v0.3.15
type PullzoneEdgeruleTrigger ¶
type PullzoneHostname ¶
type PullzoneHostname struct { Id int64 `json:"Id,omitempty"` PullzoneId int64 `json:"-"` Name string `json:"Value"` IsSystemHostname bool `json:"IsSystemHostname"` HasCertificate bool `json:"HasCertificate"` ForceSSL bool `json:"ForceSSL"` Certificate string `json:"Certificate"` CertificateKey string `json:"CertificateKey"` }
type PullzoneOptimizerClass ¶
type Region ¶
type Region struct { Id int64 `json:"Id"` Name string `json:"Name"` PricePerGigabyte float64 `json:"PricePerGigabyte"` RegionCode string `json:"RegionCode"` ContinentCode string `json:"ContinentCode"` CountryCode string `json:"CountryCode"` Latitude float64 `json:"Latitude"` Longitude float64 `json:"Longitude"` AllowLatencyRouting bool `json:"AllowLatencyRouting"` }
type StorageFile ¶
type StorageZone ¶
type StorageZone struct { Id int64 `json:"Id,omitempty"` Name string `json:"Name,omitempty"` Password string `json:"Password,omitempty"` ReadOnlyPassword string `json:"ReadOnlyPassword,omitempty"` Region string `json:"Region,omitempty"` ReplicationRegions []string `json:"ReplicationRegions,omitempty"` StorageHostname string `json:"StorageHostname,omitempty"` ZoneTier uint8 `json:"ZoneTier,omitempty"` Custom404FilePath string `json:"Custom404FilePath,omitempty"` Rewrite404To200 bool `json:"Rewrite404To200"` DateModified string `json:"DateModified,omitempty"` }
type StreamCollection ¶
type StreamLibrary ¶
type StreamLibrary struct { Id int64 `json:"Id,omitempty"` Name string `json:"Name"` UILanguage string `json:"UILanguage"` FontFamily string `json:"FontFamily"` PlayerKeyColor string `json:"PlayerKeyColor"` CaptionsFontColor string `json:"CaptionsFontColor"` CaptionsFontSize uint16 `json:"CaptionsFontSize"` CaptionsBackground string `json:"CaptionsBackground"` ShowHeatmap bool `json:"ShowHeatmap"` Controls string `json:"Controls"` CustomHTML *string `json:"CustomHTML"` VastTagUrl string `json:"VastTagUrl"` KeepOriginalFiles bool `json:"KeepOriginalFiles"` AllowEarlyPlay bool `json:"AllowEarlyPlay"` EnableContentTagging bool `json:"EnableContentTagging"` EnableMP4Fallback bool `json:"EnableMP4Fallback"` EnableMultiAudioTrackSupport bool `json:"EnableMultiAudioTrackSupport"` EnabledResolutions string `json:"EnabledResolutions"` Bitrate240P uint32 `json:"Bitrate240p"` Bitrate360P uint32 `json:"Bitrate360p"` Bitrate480P uint32 `json:"Bitrate480p"` Bitrate720P uint32 `json:"Bitrate720p"` Bitrate1080P uint32 `json:"Bitrate1080p"` Bitrate1440P uint32 `json:"Bitrate1440p"` Bitrate2160P uint32 `json:"Bitrate2160p"` WatermarkPositionLeft uint8 `json:"WatermarkPositionLeft"` WatermarkPositionTop uint8 `json:"WatermarkPositionTop"` WatermarkWidth uint16 `json:"WatermarkWidth"` WatermarkHeight uint16 `json:"WatermarkHeight"` EnableTranscribing bool `json:"EnableTranscribing"` EnableTranscribingTitleGeneration bool `json:"EnableTranscribingTitleGeneration"` EnableTranscribingDescriptionGeneration bool `json:"EnableTranscribingDescriptionGeneration"` TranscribingCaptionLanguages []string `json:"TranscribingCaptionLanguages"` AllowDirectPlay bool `json:"AllowDirectPlay"` AllowedReferrers []string `json:"AllowedReferrers"` BlockedReferrers []string `json:"BlockedReferrers"` BlockNoneReferrer bool `json:"BlockNoneReferrer"` PlayerTokenAuthenticationEnabled bool `json:"PlayerTokenAuthenticationEnabled"` EnableTokenAuthentication bool `json:"EnableTokenAuthentication"` EnableDRM bool `json:"EnableDRM"` WebhookUrl *string `json:"WebhookUrl"` PullZoneId int64 `json:"PullZoneId"` StorageZoneId int64 `json:"StorageZoneId"` ApiKey string `json:"ApiKey"` }
type StreamVideo ¶
type StreamVideo struct { Id string `json:"guid,omitempty"` LibraryId int64 `json:"videoLibraryId"` CollectionId string `json:"collectionId"` Title string `json:"title"` MetaTags []StreamVideoMetaTag `json:"metaTags"` Chapters []StreamVideoChapter `json:"chapters"` Moments []StreamVideoMoment `json:"moments"` }
type StreamVideoChapter ¶
type StreamVideoMetaTag ¶
type StreamVideoMoment ¶
Source Files ¶
Click to show internal directories.
Click to hide internal directories.