Documentation
¶
Overview ¶
Package backend provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.2 DO NOT EDIT.
Package backend provides primitives to interact with the openapi HTTP API.
Code generated by github.com/oapi-codegen/oapi-codegen/v2 version v2.7.2 DO NOT EDIT.
Index ¶
- Constants
- func GetSpec() (swagger *openapi3.T, err error)
- func GetSpecJSON() ([]byte, error)
- func GetSwagger() (*openapi3.T, error)deprecated
- func Handler(si ServerInterface) http.Handler
- func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
- func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
- func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
- func PathToRawSpec(pathToFile string) map[string]func() ([]byte, error)
- type BaselineInfo
- type BaselineInfoStatus
- type BaselineStatusMetric
- type BaselineStatusMetricsPage
- type BasicErrorModel
- type BrowserImplementation
- type BrowserImplementationStatus
- type BrowserPathParam
- type BrowserReleaseFeatureMetric
- type BrowserReleaseFeatureMetricsPage
- type BrowserUsage
- type CanIUseInfo
- type CanIUseItem
- type ChannelPathParam
- type ChromeDailyStatsPage
- type ChromeUsageInfo
- type ChromeUsageStat
- type CreateNotificationChannel201JSONResponse
- type CreateNotificationChannel400JSONResponse
- type CreateNotificationChannel401JSONResponse
- type CreateNotificationChannel403JSONResponse
- type CreateNotificationChannel429JSONResponse
- type CreateNotificationChannel500JSONResponse
- type CreateNotificationChannelJSONRequestBody
- type CreateNotificationChannelRequest
- type CreateNotificationChannelRequestObject
- type CreateNotificationChannelRequest_Config
- func (t CreateNotificationChannelRequest_Config) AsRSSConfig() (RSSConfig, error)
- func (t CreateNotificationChannelRequest_Config) AsWebhookConfig() (WebhookConfig, error)
- func (t CreateNotificationChannelRequest_Config) Discriminator() (string, error)
- func (t *CreateNotificationChannelRequest_Config) FromRSSConfig(v RSSConfig) error
- func (t *CreateNotificationChannelRequest_Config) FromWebhookConfig(v WebhookConfig) error
- func (t CreateNotificationChannelRequest_Config) MarshalJSON() ([]byte, error)
- func (t *CreateNotificationChannelRequest_Config) MergeRSSConfig(v RSSConfig) error
- func (t *CreateNotificationChannelRequest_Config) MergeWebhookConfig(v WebhookConfig) error
- func (t *CreateNotificationChannelRequest_Config) UnmarshalJSON(b []byte) error
- func (t CreateNotificationChannelRequest_Config) ValueByDiscriminator() (interface{}, error)
- type CreateNotificationChannelResponseObject
- type CreateSavedSearch201JSONResponse
- type CreateSavedSearch400JSONResponse
- type CreateSavedSearch401JSONResponse
- type CreateSavedSearch403JSONResponse
- type CreateSavedSearch500JSONResponse
- type CreateSavedSearchJSONRequestBody
- type CreateSavedSearchRequestObject
- type CreateSavedSearchResponseObject
- type CreateSubscription201JSONResponse
- type CreateSubscription400JSONResponse
- type CreateSubscription401JSONResponse
- type CreateSubscription403JSONResponse
- type CreateSubscription500JSONResponse
- type CreateSubscriptionJSONRequestBody
- type CreateSubscriptionRequestObject
- type CreateSubscriptionResponseObject
- type DeleteNotificationChannel204Response
- type DeleteNotificationChannel400JSONResponse
- type DeleteNotificationChannel401JSONResponse
- type DeleteNotificationChannel403JSONResponse
- type DeleteNotificationChannel404JSONResponse
- type DeleteNotificationChannel500JSONResponse
- type DeleteNotificationChannelRequestObject
- type DeleteNotificationChannelResponseObject
- type DeleteSubscription204Response
- type DeleteSubscription401JSONResponse
- type DeleteSubscription403JSONResponse
- type DeleteSubscription404JSONResponse
- type DeleteSubscription500JSONResponse
- type DeleteSubscriptionRequestObject
- type DeleteSubscriptionResponseObject
- type EmailConfig
- type EmailConfigType
- type EndAtParam
- type EnumUnknown
- type ExtendedErrorModel
- type Feature
- type FeatureDeveloperSignals
- type FeatureDiscouragedAccordingTo
- type FeatureDiscouragedAlternative
- type FeatureDiscouragedInfo
- type FeatureEvolutionSplit
- type FeatureGoneError
- type FeatureGoneSplit
- type FeatureGoneSplitType
- type FeatureMetadata
- type FeaturePage
- type FeatureSpecInfo
- type FeatureSplitInfo
- type FeatureWPTSnapshots
- type GenericUpdatableUniqueModel
- type GetFeature200JSONResponse
- type GetFeature301Response
- type GetFeature301ResponseHeaders
- type GetFeature400JSONResponse
- type GetFeature404JSONResponse
- type GetFeature410JSONResponse
- type GetFeature429JSONResponse
- type GetFeature500JSONResponse
- type GetFeatureMetadata200JSONResponse
- type GetFeatureMetadata400JSONResponse
- type GetFeatureMetadata404JSONResponse
- type GetFeatureMetadata429JSONResponse
- type GetFeatureMetadata500JSONResponse
- type GetFeatureMetadataRequestObject
- type GetFeatureMetadataResponseObject
- type GetFeatureParams
- type GetFeatureRequestObject
- type GetFeatureResponseObject
- type GetHealthcheckLiveness200JSONResponse
- type GetHealthcheckLivenessRequestObject
- type GetHealthcheckLivenessResponseObject
- type GetNotificationChannel200JSONResponse
- type GetNotificationChannel400JSONResponse
- type GetNotificationChannel401JSONResponse
- type GetNotificationChannel403JSONResponse
- type GetNotificationChannel404JSONResponse
- type GetNotificationChannel500JSONResponse
- type GetNotificationChannelRequestObject
- type GetNotificationChannelResponseObject
- type GetSavedSearch200JSONResponse
- type GetSavedSearch404JSONResponse
- type GetSavedSearch500JSONResponse
- type GetSavedSearchRequestObject
- type GetSavedSearchResponseObject
- type GetSubscription200JSONResponse
- type GetSubscription401JSONResponse
- type GetSubscription403JSONResponse
- type GetSubscription404JSONResponse
- type GetSubscription500JSONResponse
- type GetSubscriptionRSS200ApplicationrssXmlResponse
- type GetSubscriptionRSS404JSONResponse
- type GetSubscriptionRSS429JSONResponse
- type GetSubscriptionRSS500JSONResponse
- type GetSubscriptionRSSParams
- type GetSubscriptionRSSRequestObject
- type GetSubscriptionRSSResponseObject
- type GetSubscriptionRequestObject
- type GetSubscriptionResponseObject
- type GlobalSavedSearch
- type GlobalSavedSearchPage
- type HealthcheckResponse
- type IncludeBaselineMobileBrowsersParam
- type InvalidParamFormatError
- type ListAggregatedBaselineStatusCounts200JSONResponse
- type ListAggregatedBaselineStatusCounts400JSONResponse
- type ListAggregatedBaselineStatusCounts404JSONResponse
- type ListAggregatedBaselineStatusCounts429JSONResponse
- type ListAggregatedBaselineStatusCounts500JSONResponse
- type ListAggregatedBaselineStatusCountsParams
- type ListAggregatedBaselineStatusCountsRequestObject
- type ListAggregatedBaselineStatusCountsResponseObject
- type ListAggregatedFeatureSupport200JSONResponse
- type ListAggregatedFeatureSupport400JSONResponse
- type ListAggregatedFeatureSupport404JSONResponse
- type ListAggregatedFeatureSupport429JSONResponse
- type ListAggregatedFeatureSupport500JSONResponse
- type ListAggregatedFeatureSupportParams
- type ListAggregatedFeatureSupportRequestObject
- type ListAggregatedFeatureSupportResponseObject
- type ListAggregatedWPTMetrics200JSONResponse
- type ListAggregatedWPTMetrics400JSONResponse
- type ListAggregatedWPTMetrics404JSONResponse
- type ListAggregatedWPTMetrics429JSONResponse
- type ListAggregatedWPTMetrics500JSONResponse
- type ListAggregatedWPTMetricsParams
- type ListAggregatedWPTMetricsRequestObject
- type ListAggregatedWPTMetricsResponseObject
- type ListChromeDailyUsageStats200JSONResponse
- type ListChromeDailyUsageStats400JSONResponse
- type ListChromeDailyUsageStats404JSONResponse
- type ListChromeDailyUsageStats429JSONResponse
- type ListChromeDailyUsageStats500JSONResponse
- type ListChromeDailyUsageStatsParams
- type ListChromeDailyUsageStatsRequestObject
- type ListChromeDailyUsageStatsResponseObject
- type ListFeatureWPTMetrics200JSONResponse
- type ListFeatureWPTMetrics400JSONResponse
- type ListFeatureWPTMetrics404JSONResponse
- type ListFeatureWPTMetrics429JSONResponse
- type ListFeatureWPTMetrics500JSONResponse
- type ListFeatureWPTMetricsParams
- type ListFeatureWPTMetricsRequestObject
- type ListFeatureWPTMetricsResponseObject
- type ListFeatures200JSONResponse
- type ListFeatures400JSONResponse
- type ListFeatures404JSONResponse
- type ListFeatures429JSONResponse
- type ListFeatures500JSONResponse
- type ListFeaturesParams
- type ListFeaturesParamsSort
- type ListFeaturesRequestObject
- type ListFeaturesResponseObject
- type ListGlobalSavedSearches200JSONResponse
- type ListGlobalSavedSearches400JSONResponse
- type ListGlobalSavedSearches500JSONResponse
- type ListGlobalSavedSearchesParams
- type ListGlobalSavedSearchesRequestObject
- type ListGlobalSavedSearchesResponseObject
- type ListMissingOneImplementationCounts200JSONResponse
- type ListMissingOneImplementationCounts400JSONResponse
- type ListMissingOneImplementationCounts404JSONResponse
- type ListMissingOneImplementationCounts429JSONResponse
- type ListMissingOneImplementationCounts500JSONResponse
- type ListMissingOneImplementationCountsParams
- type ListMissingOneImplementationCountsRequestObject
- type ListMissingOneImplementationCountsResponseObject
- type ListMissingOneImplementationFeatures200JSONResponse
- type ListMissingOneImplementationFeatures400JSONResponse
- type ListMissingOneImplementationFeatures404JSONResponse
- type ListMissingOneImplementationFeatures429JSONResponse
- type ListMissingOneImplementationFeatures500JSONResponse
- type ListMissingOneImplementationFeaturesParams
- type ListMissingOneImplementationFeaturesRequestObject
- type ListMissingOneImplementationFeaturesResponseObject
- type ListNotificationChannels200JSONResponse
- type ListNotificationChannels400JSONResponse
- type ListNotificationChannels401JSONResponse
- type ListNotificationChannels403JSONResponse
- type ListNotificationChannels500JSONResponse
- type ListNotificationChannelsParams
- type ListNotificationChannelsRequestObject
- type ListNotificationChannelsResponseObject
- type ListSubscriptions200JSONResponse
- type ListSubscriptions400JSONResponse
- type ListSubscriptions401JSONResponse
- type ListSubscriptions403JSONResponse
- type ListSubscriptions500JSONResponse
- type ListSubscriptionsParams
- type ListSubscriptionsRequestObject
- type ListSubscriptionsResponseObject
- type ListUserSavedSearches200JSONResponse
- type ListUserSavedSearches400JSONResponse
- type ListUserSavedSearches401JSONResponse
- type ListUserSavedSearches403JSONResponse
- type ListUserSavedSearches500JSONResponse
- type ListUserSavedSearchesParams
- type ListUserSavedSearchesRequestObject
- type ListUserSavedSearchesResponseObject
- type MetricViewPathParam
- type MiddlewareFunc
- type MissingOneImplFeature
- type MissingOneImplFeaturesPage
- type NotificationChannel
- type NotificationChannelPage
- type NotificationChannelResponse
- type NotificationChannelResponseStatus
- type NotificationChannelResponseType
- type NotificationChannelResponse_Config
- func (t NotificationChannelResponse_Config) AsEmailConfig() (EmailConfig, error)
- func (t NotificationChannelResponse_Config) AsRSSConfig() (RSSConfig, error)
- func (t NotificationChannelResponse_Config) AsWebhookConfig() (WebhookConfig, error)
- func (t NotificationChannelResponse_Config) Discriminator() (string, error)
- func (t *NotificationChannelResponse_Config) FromEmailConfig(v EmailConfig) error
- func (t *NotificationChannelResponse_Config) FromRSSConfig(v RSSConfig) error
- func (t *NotificationChannelResponse_Config) FromWebhookConfig(v WebhookConfig) error
- func (t NotificationChannelResponse_Config) MarshalJSON() ([]byte, error)
- func (t *NotificationChannelResponse_Config) MergeEmailConfig(v EmailConfig) error
- func (t *NotificationChannelResponse_Config) MergeRSSConfig(v RSSConfig) error
- func (t *NotificationChannelResponse_Config) MergeWebhookConfig(v WebhookConfig) error
- func (t *NotificationChannelResponse_Config) UnmarshalJSON(b []byte) error
- func (t NotificationChannelResponse_Config) ValueByDiscriminator() (interface{}, error)
- type NotificationChannelType
- type NotificationChannel_Config
- func (t NotificationChannel_Config) AsEmailConfig() (EmailConfig, error)
- func (t NotificationChannel_Config) AsRSSConfig() (RSSConfig, error)
- func (t NotificationChannel_Config) AsWebhookConfig() (WebhookConfig, error)
- func (t NotificationChannel_Config) Discriminator() (string, error)
- func (t *NotificationChannel_Config) FromEmailConfig(v EmailConfig) error
- func (t *NotificationChannel_Config) FromRSSConfig(v RSSConfig) error
- func (t *NotificationChannel_Config) FromWebhookConfig(v WebhookConfig) error
- func (t NotificationChannel_Config) MarshalJSON() ([]byte, error)
- func (t *NotificationChannel_Config) MergeEmailConfig(v EmailConfig) error
- func (t *NotificationChannel_Config) MergeRSSConfig(v RSSConfig) error
- func (t *NotificationChannel_Config) MergeWebhookConfig(v WebhookConfig) error
- func (t *NotificationChannel_Config) UnmarshalJSON(b []byte) error
- func (t NotificationChannel_Config) ValueByDiscriminator() (interface{}, error)
- type PageMetadata
- type PageMetadataWithTotal
- type PaginationSizeParam
- type PaginationTokenParam
- type PingUser204Response
- type PingUser401JSONResponse
- type PingUser403JSONResponse
- type PingUser500JSONResponse
- type PingUserJSONBody
- type PingUserJSONRequestBody
- type PingUserRequestObject
- type PingUserResponseObject
- type PutUserSavedSearchBookmark200Response
- type PutUserSavedSearchBookmark400JSONResponse
- type PutUserSavedSearchBookmark401JSONResponse
- type PutUserSavedSearchBookmark403JSONResponse
- type PutUserSavedSearchBookmark404JSONResponse
- type PutUserSavedSearchBookmark500JSONResponse
- type PutUserSavedSearchBookmarkRequestObject
- type PutUserSavedSearchBookmarkResponseObject
- type RSSConfig
- type RSSConfigType
- type RemoveSavedSearch204Response
- type RemoveSavedSearch400JSONResponse
- type RemoveSavedSearch401JSONResponse
- type RemoveSavedSearch403JSONResponse
- type RemoveSavedSearch404JSONResponse
- type RemoveSavedSearch500JSONResponse
- type RemoveSavedSearchRequestObject
- type RemoveSavedSearchResponseObject
- type RemoveUserSavedSearchBookmark204Response
- type RemoveUserSavedSearchBookmark400JSONResponse
- type RemoveUserSavedSearchBookmark401JSONResponse
- type RemoveUserSavedSearchBookmark403JSONResponse
- type RemoveUserSavedSearchBookmark404JSONResponse
- type RemoveUserSavedSearchBookmark500JSONResponse
- type RemoveUserSavedSearchBookmarkRequestObject
- type RemoveUserSavedSearchBookmarkResponseObject
- type RequiredHeaderError
- type RequiredParamError
- type SavedSearch
- type SavedSearchInfo
- type SavedSearchResponse
- type SavedSearchUpdateRequest
- type SavedSearchUpdateRequestUpdateMask
- type ServeMux
- type ServerInterface
- type ServerInterfaceWrapper
- func (siw *ServerInterfaceWrapper) CreateNotificationChannel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSavedSearch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) CreateSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteNotificationChannel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) DeleteSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetFeature(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetFeatureMetadata(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetHealthcheckLiveness(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetNotificationChannel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSavedSearch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSubscription(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) GetSubscriptionRSS(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAggregatedBaselineStatusCounts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAggregatedFeatureSupport(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListAggregatedWPTMetrics(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListChromeDailyUsageStats(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListFeatureWPTMetrics(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListFeatures(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListGlobalSavedSearches(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMissingOneImplementationCounts(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListMissingOneImplementationFeatures(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListNotificationChannels(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListSubscriptions(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) ListUserSavedSearches(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PingUser(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) PutUserSavedSearchBookmark(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveSavedSearch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) RemoveUserSavedSearchBookmark(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateNotificationChannel(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateSavedSearch(w http.ResponseWriter, r *http.Request)
- func (siw *ServerInterfaceWrapper) UpdateSubscription(w http.ResponseWriter, r *http.Request)
- type SpecLink
- type StartAtParam
- type StdHTTPServerOptions
- type StrictHTTPServerOptions
- type StrictHandlerFunc
- type StrictMiddlewareFunc
- type StrictServerInterface
- type Subscription
- type SubscriptionChannelType
- type SubscriptionFrequency
- type SubscriptionPage
- type SubscriptionResponse
- type SubscriptionResponseChannelType
- type SubscriptionTriggerResponseItem
- type SubscriptionTriggerResponseValue
- func (t SubscriptionTriggerResponseValue) AsEnumUnknown() (EnumUnknown, error)
- func (t SubscriptionTriggerResponseValue) AsSubscriptionTriggerWritable() (SubscriptionTriggerWritable, error)
- func (t *SubscriptionTriggerResponseValue) FromEnumUnknown(v EnumUnknown) error
- func (t *SubscriptionTriggerResponseValue) FromSubscriptionTriggerWritable(v SubscriptionTriggerWritable) error
- func (t SubscriptionTriggerResponseValue) MarshalJSON() ([]byte, error)
- func (t *SubscriptionTriggerResponseValue) MergeEnumUnknown(v EnumUnknown) error
- func (t *SubscriptionTriggerResponseValue) MergeSubscriptionTriggerWritable(v SubscriptionTriggerWritable) error
- func (t *SubscriptionTriggerResponseValue) UnmarshalJSON(b []byte) error
- type SubscriptionTriggerWritable
- type SupportedBrowsers
- type TooManyValuesForParamError
- type UnescapedCookieParamError
- type UnmarshalingParamError
- type UpdateNotificationChannel200JSONResponse
- type UpdateNotificationChannel400JSONResponse
- type UpdateNotificationChannel401JSONResponse
- type UpdateNotificationChannel403JSONResponse
- type UpdateNotificationChannel404JSONResponse
- type UpdateNotificationChannel500JSONResponse
- type UpdateNotificationChannelJSONRequestBody
- type UpdateNotificationChannelRequest
- type UpdateNotificationChannelRequestObject
- type UpdateNotificationChannelRequestUpdateMask
- type UpdateNotificationChannelRequest_Config
- func (t UpdateNotificationChannelRequest_Config) AsRSSConfig() (RSSConfig, error)
- func (t UpdateNotificationChannelRequest_Config) AsWebhookConfig() (WebhookConfig, error)
- func (t UpdateNotificationChannelRequest_Config) Discriminator() (string, error)
- func (t *UpdateNotificationChannelRequest_Config) FromRSSConfig(v RSSConfig) error
- func (t *UpdateNotificationChannelRequest_Config) FromWebhookConfig(v WebhookConfig) error
- func (t UpdateNotificationChannelRequest_Config) MarshalJSON() ([]byte, error)
- func (t *UpdateNotificationChannelRequest_Config) MergeRSSConfig(v RSSConfig) error
- func (t *UpdateNotificationChannelRequest_Config) MergeWebhookConfig(v WebhookConfig) error
- func (t *UpdateNotificationChannelRequest_Config) UnmarshalJSON(b []byte) error
- func (t UpdateNotificationChannelRequest_Config) ValueByDiscriminator() (interface{}, error)
- type UpdateNotificationChannelResponseObject
- type UpdateSavedSearch200JSONResponse
- type UpdateSavedSearch400JSONResponse
- type UpdateSavedSearch401JSONResponse
- type UpdateSavedSearch403JSONResponse
- type UpdateSavedSearch404JSONResponse
- type UpdateSavedSearch500JSONResponse
- type UpdateSavedSearchJSONRequestBody
- type UpdateSavedSearchRequestObject
- type UpdateSavedSearchResponseObject
- type UpdateSubscription200JSONResponse
- type UpdateSubscription400JSONResponse
- type UpdateSubscription401JSONResponse
- type UpdateSubscription403JSONResponse
- type UpdateSubscription404JSONResponse
- type UpdateSubscription500JSONResponse
- type UpdateSubscriptionJSONRequestBody
- type UpdateSubscriptionRequest
- type UpdateSubscriptionRequestObject
- type UpdateSubscriptionRequestUpdateMask
- type UpdateSubscriptionResponseObject
- type UserSavedSearchBookmark
- type UserSavedSearchBookmarkStatus
- type UserSavedSearchPage
- type UserSavedSearchPermissions
- type UserSavedSearchRole
- type VendorPosition
- type WPTFeatureData
- type WPTMetricView
- type WPTRunMetric
- type WPTRunMetricsPage
- type WebhookConfig
- type WebhookConfigType
Constants ¶
const ( BearerAuthScopes bearerAuthContextKey = "bearerAuth.Scopes" NoAuthScopes noAuthContextKey = "noAuth.Scopes" )
Variables ¶
This section is empty.
Functions ¶
func GetSpec ¶
GetSpec returns the OpenAPI specification corresponding to the generated code in this file. External references in the spec are resolved through PathToRawSpec; externally-referenced files must be embedded in their corresponding Go packages (via the import-mapping feature). URL-based external refs are not supported.
func GetSpecJSON ¶
GetSpecJSON returns the raw JSON bytes of the embedded OpenAPI specification: decompressed but not unmarshaled. External references are not resolved here; the bytes are the spec exactly as embedded by codegen. The result is cached at package init time, so repeated calls are cheap.
func GetSwagger
deprecated
func Handler ¶
func Handler(si ServerInterface) http.Handler
Handler creates http.Handler with routing matching OpenAPI spec.
func HandlerFromMux ¶
func HandlerFromMux(si ServerInterface, m ServeMux) http.Handler
HandlerFromMux creates http.Handler with routing matching OpenAPI spec based on the provided mux.
func HandlerFromMuxWithBaseURL ¶
func HandlerFromMuxWithBaseURL(si ServerInterface, m ServeMux, baseURL string) http.Handler
func HandlerWithOptions ¶
func HandlerWithOptions(si ServerInterface, options StdHTTPServerOptions) http.Handler
HandlerWithOptions creates http.Handler with additional options
Types ¶
type BaselineInfo ¶
type BaselineInfo struct {
HighDate *openapi_types.Date `json:"high_date,omitempty"`
LowDate *openapi_types.Date `json:"low_date,omitempty"`
Status *BaselineInfoStatus `json:"status,omitempty"`
}
BaselineInfo Contains baseline information for a feature.
type BaselineInfoStatus ¶
type BaselineInfoStatus string
BaselineInfoStatus defines model for BaselineInfo.Status.
const ( Limited BaselineInfoStatus = "limited" Newly BaselineInfoStatus = "newly" Widely BaselineInfoStatus = "widely" )
Defines values for BaselineInfoStatus.
func (BaselineInfoStatus) Valid ¶
func (e BaselineInfoStatus) Valid() bool
Valid indicates whether the value is a known member of the BaselineInfoStatus enum.
type BaselineStatusMetric ¶
type BaselineStatusMetric struct {
// Count Total count of features.
Count *int64 `json:"count,omitempty"`
Timestamp time.Time `json:"timestamp"`
}
BaselineStatusMetric defines model for BaselineStatusMetric.
type BaselineStatusMetricsPage ¶
type BaselineStatusMetricsPage struct {
Data []BaselineStatusMetric `json:"data"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
BaselineStatusMetricsPage defines model for BaselineStatusMetricsPage.
type BasicErrorModel ¶
BasicErrorModel defines model for BasicErrorModel.
type BrowserImplementation ¶
type BrowserImplementation struct {
// Date The date on which the feature was implemented in a browser. (RFC 3339, section 5.6, for example, 2017-07-21)
Date *openapi_types.Date `json:"date,omitempty"`
Status *BrowserImplementationStatus `json:"status,omitempty"`
// Version The browser version in which the feature became available.
Version *string `json:"version,omitempty"`
}
BrowserImplementation defines model for BrowserImplementation.
type BrowserImplementationStatus ¶
type BrowserImplementationStatus string
BrowserImplementationStatus defines model for BrowserImplementation.Status.
const ( Available BrowserImplementationStatus = "available" )
Defines values for BrowserImplementationStatus.
func (BrowserImplementationStatus) Valid ¶
func (e BrowserImplementationStatus) Valid() bool
Valid indicates whether the value is a known member of the BrowserImplementationStatus enum.
type BrowserPathParam ¶
type BrowserPathParam = SupportedBrowsers
BrowserPathParam List of supported browsers that webstatus.dev currently ingests
type BrowserReleaseFeatureMetric ¶
type BrowserReleaseFeatureMetric struct {
// Count Total count of features.
Count *int64 `json:"count,omitempty"`
// Timestamp The timestamp that correlates to an event that may influence the count of features for a browser. This may be the release of the browser itself (when a browser may support a new set of features), or the release of another browser (when another browser supports a feature but our specified browser is now lagging behind with a new feature). Refer to the individual endpoint for more context on the use of this component.
Timestamp time.Time `json:"timestamp"`
}
BrowserReleaseFeatureMetric defines model for BrowserReleaseFeatureMetric.
type BrowserReleaseFeatureMetricsPage ¶
type BrowserReleaseFeatureMetricsPage struct {
Data []BrowserReleaseFeatureMetric `json:"data"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
BrowserReleaseFeatureMetricsPage defines model for BrowserReleaseFeatureMetricsPage.
type BrowserUsage ¶
type BrowserUsage struct {
Chrome *ChromeUsageInfo `json:"chrome,omitempty"`
}
BrowserUsage defines model for BrowserUsage.
type CanIUseInfo ¶
type CanIUseInfo struct {
Items *[]CanIUseItem `json:"items,omitempty"`
}
CanIUseInfo defines model for CanIUseInfo.
type CanIUseItem ¶
type CanIUseItem struct {
Id *string `json:"id,omitempty"`
}
CanIUseItem defines model for CanIUseItem.
type ChannelPathParam ¶
type ChannelPathParam string
ChannelPathParam defines model for channelPathParam.
const ( Experimental ChannelPathParam = "experimental" Stable ChannelPathParam = "stable" )
Defines values for ChannelPathParam.
func (ChannelPathParam) Valid ¶
func (e ChannelPathParam) Valid() bool
Valid indicates whether the value is a known member of the ChannelPathParam enum.
type ChromeDailyStatsPage ¶
type ChromeDailyStatsPage struct {
Data []ChromeUsageStat `json:"data"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
ChromeDailyStatsPage defines model for ChromeDailyStatsPage.
type ChromeUsageInfo ¶
type ChromeUsageInfo struct {
// Daily Latest snapshot of the usage metric for the given feature.
Daily *float64 `json:"daily,omitempty"`
}
ChromeUsageInfo defines model for ChromeUsageInfo.
type ChromeUsageStat ¶
type ChromeUsageStat struct {
// Timestamp The usage timestamp
Timestamp time.Time `json:"timestamp"`
// Usage Snapshot of the usage metric for the given feature
Usage *float64 `json:"usage,omitempty"`
}
ChromeUsageStat defines model for ChromeUsageStat.
type CreateNotificationChannel201JSONResponse ¶
type CreateNotificationChannel201JSONResponse NotificationChannelResponse
func (CreateNotificationChannel201JSONResponse) VisitCreateNotificationChannelResponse ¶
func (response CreateNotificationChannel201JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
type CreateNotificationChannel400JSONResponse ¶
type CreateNotificationChannel400JSONResponse ExtendedErrorModel
func (CreateNotificationChannel400JSONResponse) VisitCreateNotificationChannelResponse ¶
func (response CreateNotificationChannel400JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
type CreateNotificationChannel401JSONResponse ¶
type CreateNotificationChannel401JSONResponse BasicErrorModel
func (CreateNotificationChannel401JSONResponse) VisitCreateNotificationChannelResponse ¶
func (response CreateNotificationChannel401JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
type CreateNotificationChannel403JSONResponse ¶
type CreateNotificationChannel403JSONResponse BasicErrorModel
func (CreateNotificationChannel403JSONResponse) VisitCreateNotificationChannelResponse ¶
func (response CreateNotificationChannel403JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
type CreateNotificationChannel429JSONResponse ¶
type CreateNotificationChannel429JSONResponse BasicErrorModel
func (CreateNotificationChannel429JSONResponse) VisitCreateNotificationChannelResponse ¶
func (response CreateNotificationChannel429JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
type CreateNotificationChannel500JSONResponse ¶
type CreateNotificationChannel500JSONResponse BasicErrorModel
func (CreateNotificationChannel500JSONResponse) VisitCreateNotificationChannelResponse ¶
func (response CreateNotificationChannel500JSONResponse) VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
type CreateNotificationChannelJSONRequestBody ¶
type CreateNotificationChannelJSONRequestBody = CreateNotificationChannelRequest
CreateNotificationChannelJSONRequestBody defines body for CreateNotificationChannel for application/json ContentType.
type CreateNotificationChannelRequest ¶
type CreateNotificationChannelRequest struct {
// Config Configuration specific to the channel type.
Config CreateNotificationChannelRequest_Config `json:"config"`
// Name A user-defined name for the channel.
Name string `json:"name"`
}
CreateNotificationChannelRequest defines model for CreateNotificationChannelRequest.
type CreateNotificationChannelRequestObject ¶
type CreateNotificationChannelRequestObject struct {
Body *CreateNotificationChannelJSONRequestBody
}
type CreateNotificationChannelRequest_Config ¶
type CreateNotificationChannelRequest_Config struct {
// contains filtered or unexported fields
}
CreateNotificationChannelRequest_Config Configuration specific to the channel type.
func (CreateNotificationChannelRequest_Config) AsRSSConfig ¶
func (t CreateNotificationChannelRequest_Config) AsRSSConfig() (RSSConfig, error)
AsRSSConfig returns the union data inside the CreateNotificationChannelRequest_Config as a RSSConfig
func (CreateNotificationChannelRequest_Config) AsWebhookConfig ¶
func (t CreateNotificationChannelRequest_Config) AsWebhookConfig() (WebhookConfig, error)
AsWebhookConfig returns the union data inside the CreateNotificationChannelRequest_Config as a WebhookConfig
func (CreateNotificationChannelRequest_Config) Discriminator ¶
func (t CreateNotificationChannelRequest_Config) Discriminator() (string, error)
func (*CreateNotificationChannelRequest_Config) FromRSSConfig ¶
func (t *CreateNotificationChannelRequest_Config) FromRSSConfig(v RSSConfig) error
FromRSSConfig overwrites any union data inside the CreateNotificationChannelRequest_Config as the provided RSSConfig
func (*CreateNotificationChannelRequest_Config) FromWebhookConfig ¶
func (t *CreateNotificationChannelRequest_Config) FromWebhookConfig(v WebhookConfig) error
FromWebhookConfig overwrites any union data inside the CreateNotificationChannelRequest_Config as the provided WebhookConfig
func (CreateNotificationChannelRequest_Config) MarshalJSON ¶
func (t CreateNotificationChannelRequest_Config) MarshalJSON() ([]byte, error)
func (*CreateNotificationChannelRequest_Config) MergeRSSConfig ¶
func (t *CreateNotificationChannelRequest_Config) MergeRSSConfig(v RSSConfig) error
MergeRSSConfig performs a merge with any union data inside the CreateNotificationChannelRequest_Config, using the provided RSSConfig
func (*CreateNotificationChannelRequest_Config) MergeWebhookConfig ¶
func (t *CreateNotificationChannelRequest_Config) MergeWebhookConfig(v WebhookConfig) error
MergeWebhookConfig performs a merge with any union data inside the CreateNotificationChannelRequest_Config, using the provided WebhookConfig
func (*CreateNotificationChannelRequest_Config) UnmarshalJSON ¶
func (t *CreateNotificationChannelRequest_Config) UnmarshalJSON(b []byte) error
func (CreateNotificationChannelRequest_Config) ValueByDiscriminator ¶
func (t CreateNotificationChannelRequest_Config) ValueByDiscriminator() (interface{}, error)
type CreateNotificationChannelResponseObject ¶
type CreateNotificationChannelResponseObject interface {
VisitCreateNotificationChannelResponse(w http.ResponseWriter) error
}
type CreateSavedSearch201JSONResponse ¶
type CreateSavedSearch201JSONResponse SavedSearchResponse
func (CreateSavedSearch201JSONResponse) VisitCreateSavedSearchResponse ¶
func (response CreateSavedSearch201JSONResponse) VisitCreateSavedSearchResponse(w http.ResponseWriter) error
type CreateSavedSearch400JSONResponse ¶
type CreateSavedSearch400JSONResponse ExtendedErrorModel
func (CreateSavedSearch400JSONResponse) VisitCreateSavedSearchResponse ¶
func (response CreateSavedSearch400JSONResponse) VisitCreateSavedSearchResponse(w http.ResponseWriter) error
type CreateSavedSearch401JSONResponse ¶
type CreateSavedSearch401JSONResponse BasicErrorModel
func (CreateSavedSearch401JSONResponse) VisitCreateSavedSearchResponse ¶
func (response CreateSavedSearch401JSONResponse) VisitCreateSavedSearchResponse(w http.ResponseWriter) error
type CreateSavedSearch403JSONResponse ¶
type CreateSavedSearch403JSONResponse BasicErrorModel
func (CreateSavedSearch403JSONResponse) VisitCreateSavedSearchResponse ¶
func (response CreateSavedSearch403JSONResponse) VisitCreateSavedSearchResponse(w http.ResponseWriter) error
type CreateSavedSearch500JSONResponse ¶
type CreateSavedSearch500JSONResponse BasicErrorModel
func (CreateSavedSearch500JSONResponse) VisitCreateSavedSearchResponse ¶
func (response CreateSavedSearch500JSONResponse) VisitCreateSavedSearchResponse(w http.ResponseWriter) error
type CreateSavedSearchJSONRequestBody ¶
type CreateSavedSearchJSONRequestBody = SavedSearch
CreateSavedSearchJSONRequestBody defines body for CreateSavedSearch for application/json ContentType.
type CreateSavedSearchRequestObject ¶
type CreateSavedSearchRequestObject struct {
Body *CreateSavedSearchJSONRequestBody
}
type CreateSavedSearchResponseObject ¶
type CreateSavedSearchResponseObject interface {
VisitCreateSavedSearchResponse(w http.ResponseWriter) error
}
type CreateSubscription201JSONResponse ¶
type CreateSubscription201JSONResponse SubscriptionResponse
func (CreateSubscription201JSONResponse) VisitCreateSubscriptionResponse ¶
func (response CreateSubscription201JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error
type CreateSubscription400JSONResponse ¶
type CreateSubscription400JSONResponse ExtendedErrorModel
func (CreateSubscription400JSONResponse) VisitCreateSubscriptionResponse ¶
func (response CreateSubscription400JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error
type CreateSubscription401JSONResponse ¶
type CreateSubscription401JSONResponse BasicErrorModel
func (CreateSubscription401JSONResponse) VisitCreateSubscriptionResponse ¶
func (response CreateSubscription401JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error
type CreateSubscription403JSONResponse ¶
type CreateSubscription403JSONResponse BasicErrorModel
func (CreateSubscription403JSONResponse) VisitCreateSubscriptionResponse ¶
func (response CreateSubscription403JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error
type CreateSubscription500JSONResponse ¶
type CreateSubscription500JSONResponse BasicErrorModel
func (CreateSubscription500JSONResponse) VisitCreateSubscriptionResponse ¶
func (response CreateSubscription500JSONResponse) VisitCreateSubscriptionResponse(w http.ResponseWriter) error
type CreateSubscriptionJSONRequestBody ¶
type CreateSubscriptionJSONRequestBody = Subscription
CreateSubscriptionJSONRequestBody defines body for CreateSubscription for application/json ContentType.
type CreateSubscriptionRequestObject ¶
type CreateSubscriptionRequestObject struct {
Body *CreateSubscriptionJSONRequestBody
}
type CreateSubscriptionResponseObject ¶
type CreateSubscriptionResponseObject interface {
VisitCreateSubscriptionResponse(w http.ResponseWriter) error
}
type DeleteNotificationChannel204Response ¶
type DeleteNotificationChannel204Response struct {
}
func (DeleteNotificationChannel204Response) VisitDeleteNotificationChannelResponse ¶
func (response DeleteNotificationChannel204Response) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
type DeleteNotificationChannel400JSONResponse ¶
type DeleteNotificationChannel400JSONResponse BasicErrorModel
func (DeleteNotificationChannel400JSONResponse) VisitDeleteNotificationChannelResponse ¶
func (response DeleteNotificationChannel400JSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
type DeleteNotificationChannel401JSONResponse ¶
type DeleteNotificationChannel401JSONResponse BasicErrorModel
func (DeleteNotificationChannel401JSONResponse) VisitDeleteNotificationChannelResponse ¶
func (response DeleteNotificationChannel401JSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
type DeleteNotificationChannel403JSONResponse ¶
type DeleteNotificationChannel403JSONResponse BasicErrorModel
func (DeleteNotificationChannel403JSONResponse) VisitDeleteNotificationChannelResponse ¶
func (response DeleteNotificationChannel403JSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
type DeleteNotificationChannel404JSONResponse ¶
type DeleteNotificationChannel404JSONResponse BasicErrorModel
func (DeleteNotificationChannel404JSONResponse) VisitDeleteNotificationChannelResponse ¶
func (response DeleteNotificationChannel404JSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
type DeleteNotificationChannel500JSONResponse ¶
type DeleteNotificationChannel500JSONResponse BasicErrorModel
func (DeleteNotificationChannel500JSONResponse) VisitDeleteNotificationChannelResponse ¶
func (response DeleteNotificationChannel500JSONResponse) VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
type DeleteNotificationChannelRequestObject ¶
type DeleteNotificationChannelRequestObject struct {
ChannelId string `json:"channel_id"`
}
type DeleteNotificationChannelResponseObject ¶
type DeleteNotificationChannelResponseObject interface {
VisitDeleteNotificationChannelResponse(w http.ResponseWriter) error
}
type DeleteSubscription204Response ¶
type DeleteSubscription204Response struct {
}
func (DeleteSubscription204Response) VisitDeleteSubscriptionResponse ¶
func (response DeleteSubscription204Response) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
type DeleteSubscription401JSONResponse ¶
type DeleteSubscription401JSONResponse BasicErrorModel
func (DeleteSubscription401JSONResponse) VisitDeleteSubscriptionResponse ¶
func (response DeleteSubscription401JSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
type DeleteSubscription403JSONResponse ¶
type DeleteSubscription403JSONResponse BasicErrorModel
func (DeleteSubscription403JSONResponse) VisitDeleteSubscriptionResponse ¶
func (response DeleteSubscription403JSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
type DeleteSubscription404JSONResponse ¶
type DeleteSubscription404JSONResponse BasicErrorModel
func (DeleteSubscription404JSONResponse) VisitDeleteSubscriptionResponse ¶
func (response DeleteSubscription404JSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
type DeleteSubscription500JSONResponse ¶
type DeleteSubscription500JSONResponse BasicErrorModel
func (DeleteSubscription500JSONResponse) VisitDeleteSubscriptionResponse ¶
func (response DeleteSubscription500JSONResponse) VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
type DeleteSubscriptionRequestObject ¶
type DeleteSubscriptionRequestObject struct {
SubscriptionId string `json:"subscription_id"`
}
type DeleteSubscriptionResponseObject ¶
type DeleteSubscriptionResponseObject interface {
VisitDeleteSubscriptionResponse(w http.ResponseWriter) error
}
type EmailConfig ¶
type EmailConfig struct {
// Address The email address.
Address openapi_types.Email `json:"address"`
Type EmailConfigType `json:"type"`
}
EmailConfig defines model for EmailConfig.
type EmailConfigType ¶
type EmailConfigType string
EmailConfigType defines model for EmailConfig.Type.
const (
EmailConfigTypeEmail EmailConfigType = "email"
)
Defines values for EmailConfigType.
func (EmailConfigType) Valid ¶
func (e EmailConfigType) Valid() bool
Valid indicates whether the value is a known member of the EmailConfigType enum.
type EnumUnknown ¶
type EnumUnknown string
EnumUnknown Represents an unknown, unsupported, or deprecated enum value.
const (
EnumUnknownValue EnumUnknown = "unknown"
)
Defines values for EnumUnknown.
func (EnumUnknown) Valid ¶
func (e EnumUnknown) Valid() bool
Valid indicates whether the value is a known member of the EnumUnknown enum.
type ExtendedErrorModel ¶
type ExtendedErrorModel struct {
Code int `json:"code"`
Errors map[string]string `json:"errors"`
Message string `json:"message"`
}
ExtendedErrorModel defines model for ExtendedErrorModel.
type Feature ¶
type Feature struct {
// Baseline Contains baseline information for a feature.
Baseline *BaselineInfo `json:"baseline,omitempty"`
// BrowserImplementations Describes the implementation status of the feature. The keys for the object come from https://github.com/web-platform-dx/web-features/blob/f630e000a15eaff23f41d6b8c4a44cca64a4a7e4/schemas/data.schema.json#L261-L289
BrowserImplementations *map[string]BrowserImplementation `json:"browser_implementations,omitempty"`
DeveloperSignals *FeatureDeveloperSignals `json:"developer_signals,omitempty"`
Discouraged *FeatureDiscouragedInfo `json:"discouraged,omitempty"`
FeatureId string `json:"feature_id"`
// Name Short name that is intended to be human friendly. Comes from FeatureData's 'name' field in https://github.com/web-platform-dx/web-features/blob/main/schemas/data.schema.json
Name string `json:"name"`
Spec *FeatureSpecInfo `json:"spec,omitempty"`
// SystemManagedSavedSearchId The ID of the system-managed saved search for this feature.
SystemManagedSavedSearchId *string `json:"system_managed_saved_search_id,omitempty"`
Usage *BrowserUsage `json:"usage,omitempty"`
// VendorPositions Contains standards positions from various vendors.
VendorPositions *[]VendorPosition `json:"vendor_positions,omitempty"`
Wpt *FeatureWPTSnapshots `json:"wpt,omitempty"`
}
Feature defines model for Feature.
type FeatureDeveloperSignals ¶
type FeatureDeveloperSignals struct {
// Link Link to the issue tracking developer signal for a feature.
Link *string `json:"link,omitempty"`
// Upvotes Count of positive feedback for a feature
Upvotes *int64 `json:"upvotes,omitempty"`
}
FeatureDeveloperSignals defines model for FeatureDeveloperSignals.
type FeatureDiscouragedAccordingTo ¶
type FeatureDiscouragedAccordingTo struct {
Link string `json:"link"`
}
FeatureDiscouragedAccordingTo defines model for FeatureDiscouragedAccordingTo.
type FeatureDiscouragedAlternative ¶
type FeatureDiscouragedAlternative struct {
Id string `json:"id"`
}
FeatureDiscouragedAlternative defines model for FeatureDiscouragedAlternative.
type FeatureDiscouragedInfo ¶
type FeatureDiscouragedInfo struct {
AccordingTo *[]FeatureDiscouragedAccordingTo `json:"according_to,omitempty"`
Alternatives *[]FeatureDiscouragedAlternative `json:"alternatives,omitempty"`
}
FeatureDiscouragedInfo defines model for FeatureDiscouragedInfo.
type FeatureEvolutionSplit ¶
type FeatureEvolutionSplit struct {
Features []FeatureSplitInfo `json:"features"`
}
FeatureEvolutionSplit Details if this feature's scope has been narrowed and parts of it have been spun off into new, distinct features.
type FeatureGoneError ¶
type FeatureGoneError = FeatureGoneSplit
FeatureGoneError defines model for FeatureGoneError.
type FeatureGoneSplit ¶
type FeatureGoneSplit struct {
Code int `json:"code"`
Message string `json:"message"`
// NewFeatures A list of feature IDs that have completely replaced the original, now-gone feature, as a result of a full split.
NewFeatures []FeatureSplitInfo `json:"new_features"`
// Type Indicates the feature was removed due to a split.
Type FeatureGoneSplitType `json:"type"`
}
FeatureGoneSplit defines model for FeatureGoneSplit.
type FeatureGoneSplitType ¶
type FeatureGoneSplitType string
FeatureGoneSplitType Indicates the feature was removed due to a split.
const (
Split FeatureGoneSplitType = "split"
)
Defines values for FeatureGoneSplitType.
func (FeatureGoneSplitType) Valid ¶
func (e FeatureGoneSplitType) Valid() bool
Valid indicates whether the value is a known member of the FeatureGoneSplitType enum.
type FeatureMetadata ¶
type FeatureMetadata struct {
CanIUse *CanIUseInfo `json:"can_i_use,omitempty"`
Description *string `json:"description,omitempty"`
}
FeatureMetadata defines model for FeatureMetadata.
type FeaturePage ¶
type FeaturePage struct {
Data []Feature `json:"data"`
Metadata PageMetadataWithTotal `json:"metadata"`
}
FeaturePage defines model for FeaturePage.
type FeatureSpecInfo ¶
type FeatureSpecInfo struct {
Links *[]SpecLink `json:"links,omitempty"`
}
FeatureSpecInfo defines model for FeatureSpecInfo.
type FeatureSplitInfo ¶
type FeatureSplitInfo struct {
// Id The ID of a feature that resulted from a split.
Id string `json:"id"`
}
FeatureSplitInfo defines model for FeatureSplitInfo.
type FeatureWPTSnapshots ¶
type FeatureWPTSnapshots struct {
// Experimental Contains snapshot of the experimental WPT data. The keys for the object comes from the different cases in https://github.com/web-platform-tests/wpt.fyi/blob/fb5bae7c6d04563864ef1c28a263a0a8d6637c4e/shared/product_spec.go#L71-L104
Experimental *map[string]WPTFeatureData `json:"experimental,omitempty"`
// Stable Contains snapshot of the stable WPT data. The keys for the object comes from the different cases in https://github.com/web-platform-tests/wpt.fyi/blob/fb5bae7c6d04563864ef1c28a263a0a8d6637c4e/shared/product_spec.go#L71-L104
Stable *map[string]WPTFeatureData `json:"stable,omitempty"`
}
FeatureWPTSnapshots defines model for FeatureWPTSnapshots.
type GenericUpdatableUniqueModel ¶
type GenericUpdatableUniqueModel struct {
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
UpdatedAt time.Time `json:"updated_at"`
}
GenericUpdatableUniqueModel defines model for GenericUpdatableUniqueModel.
type GetFeature200JSONResponse ¶
type GetFeature200JSONResponse Feature
func (GetFeature200JSONResponse) VisitGetFeatureResponse ¶
func (response GetFeature200JSONResponse) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeature301Response ¶
type GetFeature301Response struct {
Headers GetFeature301ResponseHeaders
}
func (GetFeature301Response) VisitGetFeatureResponse ¶
func (response GetFeature301Response) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeature301ResponseHeaders ¶
type GetFeature301ResponseHeaders struct {
Location *string
}
type GetFeature400JSONResponse ¶
type GetFeature400JSONResponse BasicErrorModel
func (GetFeature400JSONResponse) VisitGetFeatureResponse ¶
func (response GetFeature400JSONResponse) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeature404JSONResponse ¶
type GetFeature404JSONResponse BasicErrorModel
func (GetFeature404JSONResponse) VisitGetFeatureResponse ¶
func (response GetFeature404JSONResponse) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeature410JSONResponse ¶
type GetFeature410JSONResponse FeatureGoneError
func (GetFeature410JSONResponse) VisitGetFeatureResponse ¶
func (response GetFeature410JSONResponse) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeature429JSONResponse ¶
type GetFeature429JSONResponse BasicErrorModel
func (GetFeature429JSONResponse) VisitGetFeatureResponse ¶
func (response GetFeature429JSONResponse) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeature500JSONResponse ¶
type GetFeature500JSONResponse BasicErrorModel
func (GetFeature500JSONResponse) VisitGetFeatureResponse ¶
func (response GetFeature500JSONResponse) VisitGetFeatureResponse(w http.ResponseWriter) error
type GetFeatureMetadata200JSONResponse ¶
type GetFeatureMetadata200JSONResponse FeatureMetadata
func (GetFeatureMetadata200JSONResponse) VisitGetFeatureMetadataResponse ¶
func (response GetFeatureMetadata200JSONResponse) VisitGetFeatureMetadataResponse(w http.ResponseWriter) error
type GetFeatureMetadata400JSONResponse ¶
type GetFeatureMetadata400JSONResponse BasicErrorModel
func (GetFeatureMetadata400JSONResponse) VisitGetFeatureMetadataResponse ¶
func (response GetFeatureMetadata400JSONResponse) VisitGetFeatureMetadataResponse(w http.ResponseWriter) error
type GetFeatureMetadata404JSONResponse ¶
type GetFeatureMetadata404JSONResponse BasicErrorModel
func (GetFeatureMetadata404JSONResponse) VisitGetFeatureMetadataResponse ¶
func (response GetFeatureMetadata404JSONResponse) VisitGetFeatureMetadataResponse(w http.ResponseWriter) error
type GetFeatureMetadata429JSONResponse ¶
type GetFeatureMetadata429JSONResponse BasicErrorModel
func (GetFeatureMetadata429JSONResponse) VisitGetFeatureMetadataResponse ¶
func (response GetFeatureMetadata429JSONResponse) VisitGetFeatureMetadataResponse(w http.ResponseWriter) error
type GetFeatureMetadata500JSONResponse ¶
type GetFeatureMetadata500JSONResponse BasicErrorModel
func (GetFeatureMetadata500JSONResponse) VisitGetFeatureMetadataResponse ¶
func (response GetFeatureMetadata500JSONResponse) VisitGetFeatureMetadataResponse(w http.ResponseWriter) error
type GetFeatureMetadataRequestObject ¶
type GetFeatureMetadataRequestObject struct {
FeatureId string `json:"feature_id"`
}
type GetFeatureMetadataResponseObject ¶
type GetFeatureMetadataResponseObject interface {
VisitGetFeatureMetadataResponse(w http.ResponseWriter) error
}
type GetFeatureParams ¶
type GetFeatureParams struct {
WptMetricView *WPTMetricView `form:"wpt_metric_view,omitempty" json:"wpt_metric_view,omitempty"`
}
GetFeatureParams defines parameters for GetFeature.
type GetFeatureRequestObject ¶
type GetFeatureRequestObject struct {
FeatureId string `json:"feature_id"`
Params GetFeatureParams
}
type GetFeatureResponseObject ¶
type GetFeatureResponseObject interface {
VisitGetFeatureResponse(w http.ResponseWriter) error
}
type GetHealthcheckLiveness200JSONResponse ¶
type GetHealthcheckLiveness200JSONResponse HealthcheckResponse
func (GetHealthcheckLiveness200JSONResponse) VisitGetHealthcheckLivenessResponse ¶
func (response GetHealthcheckLiveness200JSONResponse) VisitGetHealthcheckLivenessResponse(w http.ResponseWriter) error
type GetHealthcheckLivenessRequestObject ¶
type GetHealthcheckLivenessRequestObject struct {
}
type GetHealthcheckLivenessResponseObject ¶
type GetHealthcheckLivenessResponseObject interface {
VisitGetHealthcheckLivenessResponse(w http.ResponseWriter) error
}
type GetNotificationChannel200JSONResponse ¶
type GetNotificationChannel200JSONResponse NotificationChannelResponse
func (GetNotificationChannel200JSONResponse) VisitGetNotificationChannelResponse ¶
func (response GetNotificationChannel200JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error
type GetNotificationChannel400JSONResponse ¶
type GetNotificationChannel400JSONResponse BasicErrorModel
func (GetNotificationChannel400JSONResponse) VisitGetNotificationChannelResponse ¶
func (response GetNotificationChannel400JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error
type GetNotificationChannel401JSONResponse ¶
type GetNotificationChannel401JSONResponse BasicErrorModel
func (GetNotificationChannel401JSONResponse) VisitGetNotificationChannelResponse ¶
func (response GetNotificationChannel401JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error
type GetNotificationChannel403JSONResponse ¶
type GetNotificationChannel403JSONResponse BasicErrorModel
func (GetNotificationChannel403JSONResponse) VisitGetNotificationChannelResponse ¶
func (response GetNotificationChannel403JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error
type GetNotificationChannel404JSONResponse ¶
type GetNotificationChannel404JSONResponse BasicErrorModel
func (GetNotificationChannel404JSONResponse) VisitGetNotificationChannelResponse ¶
func (response GetNotificationChannel404JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error
type GetNotificationChannel500JSONResponse ¶
type GetNotificationChannel500JSONResponse BasicErrorModel
func (GetNotificationChannel500JSONResponse) VisitGetNotificationChannelResponse ¶
func (response GetNotificationChannel500JSONResponse) VisitGetNotificationChannelResponse(w http.ResponseWriter) error
type GetNotificationChannelRequestObject ¶
type GetNotificationChannelRequestObject struct {
ChannelId string `json:"channel_id"`
}
type GetNotificationChannelResponseObject ¶
type GetNotificationChannelResponseObject interface {
VisitGetNotificationChannelResponse(w http.ResponseWriter) error
}
type GetSavedSearch200JSONResponse ¶
type GetSavedSearch200JSONResponse SavedSearchResponse
func (GetSavedSearch200JSONResponse) VisitGetSavedSearchResponse ¶
func (response GetSavedSearch200JSONResponse) VisitGetSavedSearchResponse(w http.ResponseWriter) error
type GetSavedSearch404JSONResponse ¶
type GetSavedSearch404JSONResponse BasicErrorModel
func (GetSavedSearch404JSONResponse) VisitGetSavedSearchResponse ¶
func (response GetSavedSearch404JSONResponse) VisitGetSavedSearchResponse(w http.ResponseWriter) error
type GetSavedSearch500JSONResponse ¶
type GetSavedSearch500JSONResponse BasicErrorModel
func (GetSavedSearch500JSONResponse) VisitGetSavedSearchResponse ¶
func (response GetSavedSearch500JSONResponse) VisitGetSavedSearchResponse(w http.ResponseWriter) error
type GetSavedSearchRequestObject ¶
type GetSavedSearchRequestObject struct {
SearchId string `json:"search_id"`
}
type GetSavedSearchResponseObject ¶
type GetSavedSearchResponseObject interface {
VisitGetSavedSearchResponse(w http.ResponseWriter) error
}
type GetSubscription200JSONResponse ¶
type GetSubscription200JSONResponse SubscriptionResponse
func (GetSubscription200JSONResponse) VisitGetSubscriptionResponse ¶
func (response GetSubscription200JSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error
type GetSubscription401JSONResponse ¶
type GetSubscription401JSONResponse BasicErrorModel
func (GetSubscription401JSONResponse) VisitGetSubscriptionResponse ¶
func (response GetSubscription401JSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error
type GetSubscription403JSONResponse ¶
type GetSubscription403JSONResponse BasicErrorModel
func (GetSubscription403JSONResponse) VisitGetSubscriptionResponse ¶
func (response GetSubscription403JSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error
type GetSubscription404JSONResponse ¶
type GetSubscription404JSONResponse BasicErrorModel
func (GetSubscription404JSONResponse) VisitGetSubscriptionResponse ¶
func (response GetSubscription404JSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error
type GetSubscription500JSONResponse ¶
type GetSubscription500JSONResponse BasicErrorModel
func (GetSubscription500JSONResponse) VisitGetSubscriptionResponse ¶
func (response GetSubscription500JSONResponse) VisitGetSubscriptionResponse(w http.ResponseWriter) error
type GetSubscriptionRSS200ApplicationrssXmlResponse ¶
func (GetSubscriptionRSS200ApplicationrssXmlResponse) VisitGetSubscriptionRSSResponse ¶
func (response GetSubscriptionRSS200ApplicationrssXmlResponse) VisitGetSubscriptionRSSResponse(w http.ResponseWriter) error
type GetSubscriptionRSS404JSONResponse ¶
type GetSubscriptionRSS404JSONResponse BasicErrorModel
func (GetSubscriptionRSS404JSONResponse) VisitGetSubscriptionRSSResponse ¶
func (response GetSubscriptionRSS404JSONResponse) VisitGetSubscriptionRSSResponse(w http.ResponseWriter) error
type GetSubscriptionRSS429JSONResponse ¶
type GetSubscriptionRSS429JSONResponse BasicErrorModel
func (GetSubscriptionRSS429JSONResponse) VisitGetSubscriptionRSSResponse ¶
func (response GetSubscriptionRSS429JSONResponse) VisitGetSubscriptionRSSResponse(w http.ResponseWriter) error
type GetSubscriptionRSS500JSONResponse ¶
type GetSubscriptionRSS500JSONResponse BasicErrorModel
func (GetSubscriptionRSS500JSONResponse) VisitGetSubscriptionRSSResponse ¶
func (response GetSubscriptionRSS500JSONResponse) VisitGetSubscriptionRSSResponse(w http.ResponseWriter) error
type GetSubscriptionRSSParams ¶
type GetSubscriptionRSSParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
GetSubscriptionRSSParams defines parameters for GetSubscriptionRSS.
type GetSubscriptionRSSRequestObject ¶
type GetSubscriptionRSSRequestObject struct {
SubscriptionId string `json:"subscription_id"`
Params GetSubscriptionRSSParams
}
type GetSubscriptionRSSResponseObject ¶
type GetSubscriptionRSSResponseObject interface {
VisitGetSubscriptionRSSResponse(w http.ResponseWriter) error
}
type GetSubscriptionRequestObject ¶
type GetSubscriptionRequestObject struct {
SubscriptionId string `json:"subscription_id"`
}
type GetSubscriptionResponseObject ¶
type GetSubscriptionResponseObject interface {
VisitGetSubscriptionResponse(w http.ResponseWriter) error
}
type GlobalSavedSearch ¶
type GlobalSavedSearch struct {
CreatedAt *time.Time `json:"created_at,omitempty"`
Description *string `json:"description,omitempty"`
// DisplayOrder The UI sorting order for displaying in the sidebar.
DisplayOrder *int64 `json:"display_order,omitempty"`
// Id Unique string identifier for the saved search.
Id *string `json:"id,omitempty"`
Name string `json:"name"`
Query string `json:"query"`
UpdatedAt *time.Time `json:"updated_at,omitempty"`
}
GlobalSavedSearch defines model for GlobalSavedSearch.
type GlobalSavedSearchPage ¶
type GlobalSavedSearchPage struct {
Data *[]GlobalSavedSearch `json:"data,omitempty"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
GlobalSavedSearchPage A page of global saved searches.
type HealthcheckResponse ¶
type HealthcheckResponse struct {
Status string `json:"status"`
}
HealthcheckResponse Response indicating the health status of the service
type IncludeBaselineMobileBrowsersParam ¶
type IncludeBaselineMobileBrowsersParam = bool
IncludeBaselineMobileBrowsersParam defines model for includeBaselineMobileBrowsersParam.
type InvalidParamFormatError ¶
func (*InvalidParamFormatError) Error ¶
func (e *InvalidParamFormatError) Error() string
func (*InvalidParamFormatError) Unwrap ¶
func (e *InvalidParamFormatError) Unwrap() error
type ListAggregatedBaselineStatusCounts200JSONResponse ¶
type ListAggregatedBaselineStatusCounts200JSONResponse BaselineStatusMetricsPage
func (ListAggregatedBaselineStatusCounts200JSONResponse) VisitListAggregatedBaselineStatusCountsResponse ¶
func (response ListAggregatedBaselineStatusCounts200JSONResponse) VisitListAggregatedBaselineStatusCountsResponse(w http.ResponseWriter) error
type ListAggregatedBaselineStatusCounts400JSONResponse ¶
type ListAggregatedBaselineStatusCounts400JSONResponse BasicErrorModel
func (ListAggregatedBaselineStatusCounts400JSONResponse) VisitListAggregatedBaselineStatusCountsResponse ¶
func (response ListAggregatedBaselineStatusCounts400JSONResponse) VisitListAggregatedBaselineStatusCountsResponse(w http.ResponseWriter) error
type ListAggregatedBaselineStatusCounts404JSONResponse ¶
type ListAggregatedBaselineStatusCounts404JSONResponse BasicErrorModel
func (ListAggregatedBaselineStatusCounts404JSONResponse) VisitListAggregatedBaselineStatusCountsResponse ¶
func (response ListAggregatedBaselineStatusCounts404JSONResponse) VisitListAggregatedBaselineStatusCountsResponse(w http.ResponseWriter) error
type ListAggregatedBaselineStatusCounts429JSONResponse ¶
type ListAggregatedBaselineStatusCounts429JSONResponse BasicErrorModel
func (ListAggregatedBaselineStatusCounts429JSONResponse) VisitListAggregatedBaselineStatusCountsResponse ¶
func (response ListAggregatedBaselineStatusCounts429JSONResponse) VisitListAggregatedBaselineStatusCountsResponse(w http.ResponseWriter) error
type ListAggregatedBaselineStatusCounts500JSONResponse ¶
type ListAggregatedBaselineStatusCounts500JSONResponse BasicErrorModel
func (ListAggregatedBaselineStatusCounts500JSONResponse) VisitListAggregatedBaselineStatusCountsResponse ¶
func (response ListAggregatedBaselineStatusCounts500JSONResponse) VisitListAggregatedBaselineStatusCountsResponse(w http.ResponseWriter) error
type ListAggregatedBaselineStatusCountsParams ¶
type ListAggregatedBaselineStatusCountsParams struct {
// StartAt Start date (RFC 3339, section 5.6, for example, 2017-07-21). The date is inclusive.
StartAt StartAtParam `form:"startAt" json:"startAt"`
// EndAt End date (RFC 3339, section 5.6, for example, 2017-07-21). The date is exclusive.
EndAt EndAtParam `form:"endAt" json:"endAt"`
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListAggregatedBaselineStatusCountsParams defines parameters for ListAggregatedBaselineStatusCounts.
type ListAggregatedBaselineStatusCountsRequestObject ¶
type ListAggregatedBaselineStatusCountsRequestObject struct {
Params ListAggregatedBaselineStatusCountsParams
}
type ListAggregatedBaselineStatusCountsResponseObject ¶
type ListAggregatedBaselineStatusCountsResponseObject interface {
VisitListAggregatedBaselineStatusCountsResponse(w http.ResponseWriter) error
}
type ListAggregatedFeatureSupport200JSONResponse ¶
type ListAggregatedFeatureSupport200JSONResponse BrowserReleaseFeatureMetricsPage
func (ListAggregatedFeatureSupport200JSONResponse) VisitListAggregatedFeatureSupportResponse ¶
func (response ListAggregatedFeatureSupport200JSONResponse) VisitListAggregatedFeatureSupportResponse(w http.ResponseWriter) error
type ListAggregatedFeatureSupport400JSONResponse ¶
type ListAggregatedFeatureSupport400JSONResponse BasicErrorModel
func (ListAggregatedFeatureSupport400JSONResponse) VisitListAggregatedFeatureSupportResponse ¶
func (response ListAggregatedFeatureSupport400JSONResponse) VisitListAggregatedFeatureSupportResponse(w http.ResponseWriter) error
type ListAggregatedFeatureSupport404JSONResponse ¶
type ListAggregatedFeatureSupport404JSONResponse BasicErrorModel
func (ListAggregatedFeatureSupport404JSONResponse) VisitListAggregatedFeatureSupportResponse ¶
func (response ListAggregatedFeatureSupport404JSONResponse) VisitListAggregatedFeatureSupportResponse(w http.ResponseWriter) error
type ListAggregatedFeatureSupport429JSONResponse ¶
type ListAggregatedFeatureSupport429JSONResponse BasicErrorModel
func (ListAggregatedFeatureSupport429JSONResponse) VisitListAggregatedFeatureSupportResponse ¶
func (response ListAggregatedFeatureSupport429JSONResponse) VisitListAggregatedFeatureSupportResponse(w http.ResponseWriter) error
type ListAggregatedFeatureSupport500JSONResponse ¶
type ListAggregatedFeatureSupport500JSONResponse BasicErrorModel
func (ListAggregatedFeatureSupport500JSONResponse) VisitListAggregatedFeatureSupportResponse ¶
func (response ListAggregatedFeatureSupport500JSONResponse) VisitListAggregatedFeatureSupportResponse(w http.ResponseWriter) error
type ListAggregatedFeatureSupportParams ¶
type ListAggregatedFeatureSupportParams struct {
// StartAt Start date (RFC 3339, section 5.6, for example, 2017-07-21). The date is inclusive.
StartAt StartAtParam `form:"startAt" json:"startAt"`
// EndAt End date (RFC 3339, section 5.6, for example, 2017-07-21). The date is exclusive.
EndAt EndAtParam `form:"endAt" json:"endAt"`
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
// IncludeBaselineMobileBrowsers Include baseline mobile browsers in the response. This is only applicable for desktop browsers with a corresponding mobile browser.
IncludeBaselineMobileBrowsers *IncludeBaselineMobileBrowsersParam `form:"include_baseline_mobile_browsers,omitempty" json:"include_baseline_mobile_browsers,omitempty"`
}
ListAggregatedFeatureSupportParams defines parameters for ListAggregatedFeatureSupport.
type ListAggregatedFeatureSupportRequestObject ¶
type ListAggregatedFeatureSupportRequestObject struct {
Browser BrowserPathParam `json:"browser"`
Params ListAggregatedFeatureSupportParams
}
type ListAggregatedFeatureSupportResponseObject ¶
type ListAggregatedFeatureSupportResponseObject interface {
VisitListAggregatedFeatureSupportResponse(w http.ResponseWriter) error
}
type ListAggregatedWPTMetrics200JSONResponse ¶
type ListAggregatedWPTMetrics200JSONResponse WPTRunMetricsPage
func (ListAggregatedWPTMetrics200JSONResponse) VisitListAggregatedWPTMetricsResponse ¶
func (response ListAggregatedWPTMetrics200JSONResponse) VisitListAggregatedWPTMetricsResponse(w http.ResponseWriter) error
type ListAggregatedWPTMetrics400JSONResponse ¶
type ListAggregatedWPTMetrics400JSONResponse BasicErrorModel
func (ListAggregatedWPTMetrics400JSONResponse) VisitListAggregatedWPTMetricsResponse ¶
func (response ListAggregatedWPTMetrics400JSONResponse) VisitListAggregatedWPTMetricsResponse(w http.ResponseWriter) error
type ListAggregatedWPTMetrics404JSONResponse ¶
type ListAggregatedWPTMetrics404JSONResponse BasicErrorModel
func (ListAggregatedWPTMetrics404JSONResponse) VisitListAggregatedWPTMetricsResponse ¶
func (response ListAggregatedWPTMetrics404JSONResponse) VisitListAggregatedWPTMetricsResponse(w http.ResponseWriter) error
type ListAggregatedWPTMetrics429JSONResponse ¶
type ListAggregatedWPTMetrics429JSONResponse BasicErrorModel
func (ListAggregatedWPTMetrics429JSONResponse) VisitListAggregatedWPTMetricsResponse ¶
func (response ListAggregatedWPTMetrics429JSONResponse) VisitListAggregatedWPTMetricsResponse(w http.ResponseWriter) error
type ListAggregatedWPTMetrics500JSONResponse ¶
type ListAggregatedWPTMetrics500JSONResponse BasicErrorModel
func (ListAggregatedWPTMetrics500JSONResponse) VisitListAggregatedWPTMetricsResponse ¶
func (response ListAggregatedWPTMetrics500JSONResponse) VisitListAggregatedWPTMetricsResponse(w http.ResponseWriter) error
type ListAggregatedWPTMetricsParams ¶
type ListAggregatedWPTMetricsParams struct {
// StartAt Start date (RFC 3339, section 5.6, for example, 2017-07-21). The date is inclusive.
StartAt StartAtParam `form:"startAt" json:"startAt"`
// EndAt End date (RFC 3339, section 5.6, for example, 2017-07-21). The date is exclusive.
EndAt EndAtParam `form:"endAt" json:"endAt"`
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
// FeatureId A list of feature IDs to filter results. TThe list is provided by specifying repeating query parameters. Example: ?featureId=id1&featureId=id2
FeatureId *[]string `form:"featureId,omitempty" json:"featureId,omitempty"`
}
ListAggregatedWPTMetricsParams defines parameters for ListAggregatedWPTMetrics.
type ListAggregatedWPTMetricsRequestObject ¶
type ListAggregatedWPTMetricsRequestObject struct {
Browser BrowserPathParam `json:"browser"`
Channel ChannelPathParam `json:"channel"`
MetricView MetricViewPathParam `json:"metric_view"`
Params ListAggregatedWPTMetricsParams
}
type ListAggregatedWPTMetricsResponseObject ¶
type ListAggregatedWPTMetricsResponseObject interface {
VisitListAggregatedWPTMetricsResponse(w http.ResponseWriter) error
}
type ListChromeDailyUsageStats200JSONResponse ¶
type ListChromeDailyUsageStats200JSONResponse ChromeDailyStatsPage
func (ListChromeDailyUsageStats200JSONResponse) VisitListChromeDailyUsageStatsResponse ¶
func (response ListChromeDailyUsageStats200JSONResponse) VisitListChromeDailyUsageStatsResponse(w http.ResponseWriter) error
type ListChromeDailyUsageStats400JSONResponse ¶
type ListChromeDailyUsageStats400JSONResponse BasicErrorModel
func (ListChromeDailyUsageStats400JSONResponse) VisitListChromeDailyUsageStatsResponse ¶
func (response ListChromeDailyUsageStats400JSONResponse) VisitListChromeDailyUsageStatsResponse(w http.ResponseWriter) error
type ListChromeDailyUsageStats404JSONResponse ¶
type ListChromeDailyUsageStats404JSONResponse BasicErrorModel
func (ListChromeDailyUsageStats404JSONResponse) VisitListChromeDailyUsageStatsResponse ¶
func (response ListChromeDailyUsageStats404JSONResponse) VisitListChromeDailyUsageStatsResponse(w http.ResponseWriter) error
type ListChromeDailyUsageStats429JSONResponse ¶
type ListChromeDailyUsageStats429JSONResponse BasicErrorModel
func (ListChromeDailyUsageStats429JSONResponse) VisitListChromeDailyUsageStatsResponse ¶
func (response ListChromeDailyUsageStats429JSONResponse) VisitListChromeDailyUsageStatsResponse(w http.ResponseWriter) error
type ListChromeDailyUsageStats500JSONResponse ¶
type ListChromeDailyUsageStats500JSONResponse BasicErrorModel
func (ListChromeDailyUsageStats500JSONResponse) VisitListChromeDailyUsageStatsResponse ¶
func (response ListChromeDailyUsageStats500JSONResponse) VisitListChromeDailyUsageStatsResponse(w http.ResponseWriter) error
type ListChromeDailyUsageStatsParams ¶
type ListChromeDailyUsageStatsParams struct {
// StartAt Start date (RFC 3339, section 5.6, for example, 2017-07-21). The date is inclusive.
StartAt StartAtParam `form:"startAt" json:"startAt"`
// EndAt End date (RFC 3339, section 5.6, for example, 2017-07-21). The date is exclusive.
EndAt EndAtParam `form:"endAt" json:"endAt"`
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListChromeDailyUsageStatsParams defines parameters for ListChromeDailyUsageStats.
type ListChromeDailyUsageStatsRequestObject ¶
type ListChromeDailyUsageStatsRequestObject struct {
FeatureId string `json:"feature_id"`
Params ListChromeDailyUsageStatsParams
}
type ListChromeDailyUsageStatsResponseObject ¶
type ListChromeDailyUsageStatsResponseObject interface {
VisitListChromeDailyUsageStatsResponse(w http.ResponseWriter) error
}
type ListFeatureWPTMetrics200JSONResponse ¶
type ListFeatureWPTMetrics200JSONResponse WPTRunMetricsPage
func (ListFeatureWPTMetrics200JSONResponse) VisitListFeatureWPTMetricsResponse ¶
func (response ListFeatureWPTMetrics200JSONResponse) VisitListFeatureWPTMetricsResponse(w http.ResponseWriter) error
type ListFeatureWPTMetrics400JSONResponse ¶
type ListFeatureWPTMetrics400JSONResponse BasicErrorModel
func (ListFeatureWPTMetrics400JSONResponse) VisitListFeatureWPTMetricsResponse ¶
func (response ListFeatureWPTMetrics400JSONResponse) VisitListFeatureWPTMetricsResponse(w http.ResponseWriter) error
type ListFeatureWPTMetrics404JSONResponse ¶
type ListFeatureWPTMetrics404JSONResponse BasicErrorModel
func (ListFeatureWPTMetrics404JSONResponse) VisitListFeatureWPTMetricsResponse ¶
func (response ListFeatureWPTMetrics404JSONResponse) VisitListFeatureWPTMetricsResponse(w http.ResponseWriter) error
type ListFeatureWPTMetrics429JSONResponse ¶
type ListFeatureWPTMetrics429JSONResponse BasicErrorModel
func (ListFeatureWPTMetrics429JSONResponse) VisitListFeatureWPTMetricsResponse ¶
func (response ListFeatureWPTMetrics429JSONResponse) VisitListFeatureWPTMetricsResponse(w http.ResponseWriter) error
type ListFeatureWPTMetrics500JSONResponse ¶
type ListFeatureWPTMetrics500JSONResponse BasicErrorModel
func (ListFeatureWPTMetrics500JSONResponse) VisitListFeatureWPTMetricsResponse ¶
func (response ListFeatureWPTMetrics500JSONResponse) VisitListFeatureWPTMetricsResponse(w http.ResponseWriter) error
type ListFeatureWPTMetricsParams ¶
type ListFeatureWPTMetricsParams struct {
// StartAt Start date (RFC 3339, section 5.6, for example, 2017-07-21). The date is inclusive.
StartAt StartAtParam `form:"startAt" json:"startAt"`
// EndAt End date (RFC 3339, section 5.6, for example, 2017-07-21). The date is exclusive.
EndAt EndAtParam `form:"endAt" json:"endAt"`
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListFeatureWPTMetricsParams defines parameters for ListFeatureWPTMetrics.
type ListFeatureWPTMetricsRequestObject ¶
type ListFeatureWPTMetricsRequestObject struct {
FeatureId string `json:"feature_id"`
Browser BrowserPathParam `json:"browser"`
Channel ChannelPathParam `json:"channel"`
MetricView MetricViewPathParam `json:"metric_view"`
Params ListFeatureWPTMetricsParams
}
type ListFeatureWPTMetricsResponseObject ¶
type ListFeatureWPTMetricsResponseObject interface {
VisitListFeatureWPTMetricsResponse(w http.ResponseWriter) error
}
type ListFeatures200JSONResponse ¶
type ListFeatures200JSONResponse FeaturePage
func (ListFeatures200JSONResponse) VisitListFeaturesResponse ¶
func (response ListFeatures200JSONResponse) VisitListFeaturesResponse(w http.ResponseWriter) error
type ListFeatures400JSONResponse ¶
type ListFeatures400JSONResponse BasicErrorModel
func (ListFeatures400JSONResponse) VisitListFeaturesResponse ¶
func (response ListFeatures400JSONResponse) VisitListFeaturesResponse(w http.ResponseWriter) error
type ListFeatures404JSONResponse ¶
type ListFeatures404JSONResponse BasicErrorModel
func (ListFeatures404JSONResponse) VisitListFeaturesResponse ¶
func (response ListFeatures404JSONResponse) VisitListFeaturesResponse(w http.ResponseWriter) error
type ListFeatures429JSONResponse ¶
type ListFeatures429JSONResponse BasicErrorModel
func (ListFeatures429JSONResponse) VisitListFeaturesResponse ¶
func (response ListFeatures429JSONResponse) VisitListFeaturesResponse(w http.ResponseWriter) error
type ListFeatures500JSONResponse ¶
type ListFeatures500JSONResponse BasicErrorModel
func (ListFeatures500JSONResponse) VisitListFeaturesResponse ¶
func (response ListFeatures500JSONResponse) VisitListFeaturesResponse(w http.ResponseWriter) error
type ListFeaturesParams ¶
type ListFeaturesParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
WptMetricView *WPTMetricView `form:"wpt_metric_view,omitempty" json:"wpt_metric_view,omitempty"`
// Q A query string to represent the filters to apply the datastore while searching. The query must follow the ANTLR grammar. Please read the query readme at antlr/FeatureSearch.md. The query must be url safe.
Q *string `form:"q,omitempty" json:"q,omitempty"`
// Sort Field to sort by, with 'asc' for ascending and 'desc' for descending order. Defaults to sorting by 'name' in ascending order (e.g., 'name_asc').
Sort *ListFeaturesParamsSort `form:"sort,omitempty" json:"sort,omitempty"`
}
ListFeaturesParams defines parameters for ListFeatures.
type ListFeaturesParamsSort ¶
type ListFeaturesParamsSort string
ListFeaturesParamsSort defines parameters for ListFeatures.
const ( AvailabilityChromeAndroidAsc ListFeaturesParamsSort = "availability_chrome_android_asc" AvailabilityChromeAndroidDesc ListFeaturesParamsSort = "availability_chrome_android_desc" AvailabilityChromeAsc ListFeaturesParamsSort = "availability_chrome_asc" AvailabilityChromeDesc ListFeaturesParamsSort = "availability_chrome_desc" AvailabilityEdgeAsc ListFeaturesParamsSort = "availability_edge_asc" AvailabilityEdgeDesc ListFeaturesParamsSort = "availability_edge_desc" AvailabilityFirefoxAndroidAsc ListFeaturesParamsSort = "availability_firefox_android_asc" AvailabilityFirefoxAndroidDesc ListFeaturesParamsSort = "availability_firefox_android_desc" AvailabilityFirefoxAsc ListFeaturesParamsSort = "availability_firefox_asc" AvailabilityFirefoxDesc ListFeaturesParamsSort = "availability_firefox_desc" AvailabilitySafariAsc ListFeaturesParamsSort = "availability_safari_asc" AvailabilitySafariDesc ListFeaturesParamsSort = "availability_safari_desc" AvailabilitySafariIosAsc ListFeaturesParamsSort = "availability_safari_ios_asc" AvailabilitySafariIosDesc ListFeaturesParamsSort = "availability_safari_ios_desc" BaselineStatusAsc ListFeaturesParamsSort = "baseline_status_asc" BaselineStatusDesc ListFeaturesParamsSort = "baseline_status_desc" ChromeUsageAsc ListFeaturesParamsSort = "chrome_usage_asc" ChromeUsageDesc ListFeaturesParamsSort = "chrome_usage_desc" DeveloperSignalUpvotesAsc ListFeaturesParamsSort = "developer_signal_upvotes_asc" DeveloperSignalUpvotesDesc ListFeaturesParamsSort = "developer_signal_upvotes_desc" ExperimentalChromeAndroidAsc ListFeaturesParamsSort = "experimental_chrome_android_asc" ExperimentalChromeAndroidDesc ListFeaturesParamsSort = "experimental_chrome_android_desc" ExperimentalChromeAsc ListFeaturesParamsSort = "experimental_chrome_asc" ExperimentalChromeDesc ListFeaturesParamsSort = "experimental_chrome_desc" ExperimentalEdgeAsc ListFeaturesParamsSort = "experimental_edge_asc" ExperimentalEdgeDesc ListFeaturesParamsSort = "experimental_edge_desc" ExperimentalFirefoxAndroidAsc ListFeaturesParamsSort = "experimental_firefox_android_asc" ExperimentalFirefoxAndroidDesc ListFeaturesParamsSort = "experimental_firefox_android_desc" ExperimentalFirefoxAsc ListFeaturesParamsSort = "experimental_firefox_asc" ExperimentalFirefoxDesc ListFeaturesParamsSort = "experimental_firefox_desc" ExperimentalSafariAsc ListFeaturesParamsSort = "experimental_safari_asc" ExperimentalSafariDesc ListFeaturesParamsSort = "experimental_safari_desc" ExperimentalSafariIosAsc ListFeaturesParamsSort = "experimental_safari_ios_asc" ExperimentalSafariIosDesc ListFeaturesParamsSort = "experimental_safari_ios_desc" NameAsc ListFeaturesParamsSort = "name_asc" NameDesc ListFeaturesParamsSort = "name_desc" StableChromeAndroidAsc ListFeaturesParamsSort = "stable_chrome_android_asc" StableChromeAndroidDesc ListFeaturesParamsSort = "stable_chrome_android_desc" StableChromeAsc ListFeaturesParamsSort = "stable_chrome_asc" StableChromeDesc ListFeaturesParamsSort = "stable_chrome_desc" StableEdgeAsc ListFeaturesParamsSort = "stable_edge_asc" StableEdgeDesc ListFeaturesParamsSort = "stable_edge_desc" StableFirefoxAndroidAsc ListFeaturesParamsSort = "stable_firefox_android_asc" StableFirefoxAndroidDesc ListFeaturesParamsSort = "stable_firefox_android_desc" StableFirefoxAsc ListFeaturesParamsSort = "stable_firefox_asc" StableFirefoxDesc ListFeaturesParamsSort = "stable_firefox_desc" StableSafariAsc ListFeaturesParamsSort = "stable_safari_asc" StableSafariDesc ListFeaturesParamsSort = "stable_safari_desc" StableSafariIosAsc ListFeaturesParamsSort = "stable_safari_ios_asc" StableSafariIosDesc ListFeaturesParamsSort = "stable_safari_ios_desc" )
Defines values for ListFeaturesParamsSort.
func (ListFeaturesParamsSort) Valid ¶
func (e ListFeaturesParamsSort) Valid() bool
Valid indicates whether the value is a known member of the ListFeaturesParamsSort enum.
type ListFeaturesRequestObject ¶
type ListFeaturesRequestObject struct {
Params ListFeaturesParams
}
type ListFeaturesResponseObject ¶
type ListFeaturesResponseObject interface {
VisitListFeaturesResponse(w http.ResponseWriter) error
}
type ListGlobalSavedSearches200JSONResponse ¶
type ListGlobalSavedSearches200JSONResponse GlobalSavedSearchPage
func (ListGlobalSavedSearches200JSONResponse) VisitListGlobalSavedSearchesResponse ¶
func (response ListGlobalSavedSearches200JSONResponse) VisitListGlobalSavedSearchesResponse(w http.ResponseWriter) error
type ListGlobalSavedSearches400JSONResponse ¶
type ListGlobalSavedSearches400JSONResponse BasicErrorModel
func (ListGlobalSavedSearches400JSONResponse) VisitListGlobalSavedSearchesResponse ¶
func (response ListGlobalSavedSearches400JSONResponse) VisitListGlobalSavedSearchesResponse(w http.ResponseWriter) error
type ListGlobalSavedSearches500JSONResponse ¶
type ListGlobalSavedSearches500JSONResponse BasicErrorModel
func (ListGlobalSavedSearches500JSONResponse) VisitListGlobalSavedSearchesResponse ¶
func (response ListGlobalSavedSearches500JSONResponse) VisitListGlobalSavedSearchesResponse(w http.ResponseWriter) error
type ListGlobalSavedSearchesParams ¶
type ListGlobalSavedSearchesParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListGlobalSavedSearchesParams defines parameters for ListGlobalSavedSearches.
type ListGlobalSavedSearchesRequestObject ¶
type ListGlobalSavedSearchesRequestObject struct {
Params ListGlobalSavedSearchesParams
}
type ListGlobalSavedSearchesResponseObject ¶
type ListGlobalSavedSearchesResponseObject interface {
VisitListGlobalSavedSearchesResponse(w http.ResponseWriter) error
}
type ListMissingOneImplementationCounts200JSONResponse ¶
type ListMissingOneImplementationCounts200JSONResponse BrowserReleaseFeatureMetricsPage
func (ListMissingOneImplementationCounts200JSONResponse) VisitListMissingOneImplementationCountsResponse ¶
func (response ListMissingOneImplementationCounts200JSONResponse) VisitListMissingOneImplementationCountsResponse(w http.ResponseWriter) error
type ListMissingOneImplementationCounts400JSONResponse ¶
type ListMissingOneImplementationCounts400JSONResponse BasicErrorModel
func (ListMissingOneImplementationCounts400JSONResponse) VisitListMissingOneImplementationCountsResponse ¶
func (response ListMissingOneImplementationCounts400JSONResponse) VisitListMissingOneImplementationCountsResponse(w http.ResponseWriter) error
type ListMissingOneImplementationCounts404JSONResponse ¶
type ListMissingOneImplementationCounts404JSONResponse BasicErrorModel
func (ListMissingOneImplementationCounts404JSONResponse) VisitListMissingOneImplementationCountsResponse ¶
func (response ListMissingOneImplementationCounts404JSONResponse) VisitListMissingOneImplementationCountsResponse(w http.ResponseWriter) error
type ListMissingOneImplementationCounts429JSONResponse ¶
type ListMissingOneImplementationCounts429JSONResponse BasicErrorModel
func (ListMissingOneImplementationCounts429JSONResponse) VisitListMissingOneImplementationCountsResponse ¶
func (response ListMissingOneImplementationCounts429JSONResponse) VisitListMissingOneImplementationCountsResponse(w http.ResponseWriter) error
type ListMissingOneImplementationCounts500JSONResponse ¶
type ListMissingOneImplementationCounts500JSONResponse BasicErrorModel
func (ListMissingOneImplementationCounts500JSONResponse) VisitListMissingOneImplementationCountsResponse ¶
func (response ListMissingOneImplementationCounts500JSONResponse) VisitListMissingOneImplementationCountsResponse(w http.ResponseWriter) error
type ListMissingOneImplementationCountsParams ¶
type ListMissingOneImplementationCountsParams struct {
// StartAt Start date (RFC 3339, section 5.6, for example, 2017-07-21). The date is inclusive.
StartAt StartAtParam `form:"startAt" json:"startAt"`
// EndAt End date (RFC 3339, section 5.6, for example, 2017-07-21). The date is exclusive.
EndAt EndAtParam `form:"endAt" json:"endAt"`
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
// IncludeBaselineMobileBrowsers Include baseline mobile browsers in the response. This is only applicable for desktop browsers with a corresponding mobile browser.
IncludeBaselineMobileBrowsers *IncludeBaselineMobileBrowsersParam `form:"include_baseline_mobile_browsers,omitempty" json:"include_baseline_mobile_browsers,omitempty"`
// Browser A list of browsers to check if {browser} is lagging behind on features. The list is provided by specifying repeating query parameters. Example: ?browser=fooBrowser&browser=bazBrowser
Browser []SupportedBrowsers `form:"browser" json:"browser"`
}
ListMissingOneImplementationCountsParams defines parameters for ListMissingOneImplementationCounts.
type ListMissingOneImplementationCountsRequestObject ¶
type ListMissingOneImplementationCountsRequestObject struct {
Browser BrowserPathParam `json:"browser"`
Params ListMissingOneImplementationCountsParams
}
type ListMissingOneImplementationCountsResponseObject ¶
type ListMissingOneImplementationCountsResponseObject interface {
VisitListMissingOneImplementationCountsResponse(w http.ResponseWriter) error
}
type ListMissingOneImplementationFeatures200JSONResponse ¶
type ListMissingOneImplementationFeatures200JSONResponse MissingOneImplFeaturesPage
func (ListMissingOneImplementationFeatures200JSONResponse) VisitListMissingOneImplementationFeaturesResponse ¶
func (response ListMissingOneImplementationFeatures200JSONResponse) VisitListMissingOneImplementationFeaturesResponse(w http.ResponseWriter) error
type ListMissingOneImplementationFeatures400JSONResponse ¶
type ListMissingOneImplementationFeatures400JSONResponse BasicErrorModel
func (ListMissingOneImplementationFeatures400JSONResponse) VisitListMissingOneImplementationFeaturesResponse ¶
func (response ListMissingOneImplementationFeatures400JSONResponse) VisitListMissingOneImplementationFeaturesResponse(w http.ResponseWriter) error
type ListMissingOneImplementationFeatures404JSONResponse ¶
type ListMissingOneImplementationFeatures404JSONResponse BasicErrorModel
func (ListMissingOneImplementationFeatures404JSONResponse) VisitListMissingOneImplementationFeaturesResponse ¶
func (response ListMissingOneImplementationFeatures404JSONResponse) VisitListMissingOneImplementationFeaturesResponse(w http.ResponseWriter) error
type ListMissingOneImplementationFeatures429JSONResponse ¶
type ListMissingOneImplementationFeatures429JSONResponse BasicErrorModel
func (ListMissingOneImplementationFeatures429JSONResponse) VisitListMissingOneImplementationFeaturesResponse ¶
func (response ListMissingOneImplementationFeatures429JSONResponse) VisitListMissingOneImplementationFeaturesResponse(w http.ResponseWriter) error
type ListMissingOneImplementationFeatures500JSONResponse ¶
type ListMissingOneImplementationFeatures500JSONResponse BasicErrorModel
func (ListMissingOneImplementationFeatures500JSONResponse) VisitListMissingOneImplementationFeaturesResponse ¶
func (response ListMissingOneImplementationFeatures500JSONResponse) VisitListMissingOneImplementationFeaturesResponse(w http.ResponseWriter) error
type ListMissingOneImplementationFeaturesParams ¶
type ListMissingOneImplementationFeaturesParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
// IncludeBaselineMobileBrowsers Include baseline mobile browsers in the response. This is only applicable for desktop browsers with a corresponding mobile browser.
IncludeBaselineMobileBrowsers *IncludeBaselineMobileBrowsersParam `form:"include_baseline_mobile_browsers,omitempty" json:"include_baseline_mobile_browsers,omitempty"`
// Browser A list of browsers to check if {browser} is lagging behind on features. The list is provided by specifying repeating query parameters. Example:?browser=fooBrowser&browser=bazBrowser
Browser []SupportedBrowsers `form:"browser" json:"browser"`
}
ListMissingOneImplementationFeaturesParams defines parameters for ListMissingOneImplementationFeatures.
type ListMissingOneImplementationFeaturesRequestObject ¶
type ListMissingOneImplementationFeaturesRequestObject struct {
Browser BrowserPathParam `json:"browser"`
Date openapi_types.Date `json:"date"`
Params ListMissingOneImplementationFeaturesParams
}
type ListMissingOneImplementationFeaturesResponseObject ¶
type ListMissingOneImplementationFeaturesResponseObject interface {
VisitListMissingOneImplementationFeaturesResponse(w http.ResponseWriter) error
}
type ListNotificationChannels200JSONResponse ¶
type ListNotificationChannels200JSONResponse NotificationChannelPage
func (ListNotificationChannels200JSONResponse) VisitListNotificationChannelsResponse ¶
func (response ListNotificationChannels200JSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error
type ListNotificationChannels400JSONResponse ¶
type ListNotificationChannels400JSONResponse BasicErrorModel
func (ListNotificationChannels400JSONResponse) VisitListNotificationChannelsResponse ¶
func (response ListNotificationChannels400JSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error
type ListNotificationChannels401JSONResponse ¶
type ListNotificationChannels401JSONResponse BasicErrorModel
func (ListNotificationChannels401JSONResponse) VisitListNotificationChannelsResponse ¶
func (response ListNotificationChannels401JSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error
type ListNotificationChannels403JSONResponse ¶
type ListNotificationChannels403JSONResponse BasicErrorModel
func (ListNotificationChannels403JSONResponse) VisitListNotificationChannelsResponse ¶
func (response ListNotificationChannels403JSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error
type ListNotificationChannels500JSONResponse ¶
type ListNotificationChannels500JSONResponse BasicErrorModel
func (ListNotificationChannels500JSONResponse) VisitListNotificationChannelsResponse ¶
func (response ListNotificationChannels500JSONResponse) VisitListNotificationChannelsResponse(w http.ResponseWriter) error
type ListNotificationChannelsParams ¶
type ListNotificationChannelsParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListNotificationChannelsParams defines parameters for ListNotificationChannels.
type ListNotificationChannelsRequestObject ¶
type ListNotificationChannelsRequestObject struct {
Params ListNotificationChannelsParams
}
type ListNotificationChannelsResponseObject ¶
type ListNotificationChannelsResponseObject interface {
VisitListNotificationChannelsResponse(w http.ResponseWriter) error
}
type ListSubscriptions200JSONResponse ¶
type ListSubscriptions200JSONResponse SubscriptionPage
func (ListSubscriptions200JSONResponse) VisitListSubscriptionsResponse ¶
func (response ListSubscriptions200JSONResponse) VisitListSubscriptionsResponse(w http.ResponseWriter) error
type ListSubscriptions400JSONResponse ¶
type ListSubscriptions400JSONResponse BasicErrorModel
func (ListSubscriptions400JSONResponse) VisitListSubscriptionsResponse ¶
func (response ListSubscriptions400JSONResponse) VisitListSubscriptionsResponse(w http.ResponseWriter) error
type ListSubscriptions401JSONResponse ¶
type ListSubscriptions401JSONResponse BasicErrorModel
func (ListSubscriptions401JSONResponse) VisitListSubscriptionsResponse ¶
func (response ListSubscriptions401JSONResponse) VisitListSubscriptionsResponse(w http.ResponseWriter) error
type ListSubscriptions403JSONResponse ¶
type ListSubscriptions403JSONResponse BasicErrorModel
func (ListSubscriptions403JSONResponse) VisitListSubscriptionsResponse ¶
func (response ListSubscriptions403JSONResponse) VisitListSubscriptionsResponse(w http.ResponseWriter) error
type ListSubscriptions500JSONResponse ¶
type ListSubscriptions500JSONResponse BasicErrorModel
func (ListSubscriptions500JSONResponse) VisitListSubscriptionsResponse ¶
func (response ListSubscriptions500JSONResponse) VisitListSubscriptionsResponse(w http.ResponseWriter) error
type ListSubscriptionsParams ¶
type ListSubscriptionsParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListSubscriptionsParams defines parameters for ListSubscriptions.
type ListSubscriptionsRequestObject ¶
type ListSubscriptionsRequestObject struct {
Params ListSubscriptionsParams
}
type ListSubscriptionsResponseObject ¶
type ListSubscriptionsResponseObject interface {
VisitListSubscriptionsResponse(w http.ResponseWriter) error
}
type ListUserSavedSearches200JSONResponse ¶
type ListUserSavedSearches200JSONResponse UserSavedSearchPage
func (ListUserSavedSearches200JSONResponse) VisitListUserSavedSearchesResponse ¶
func (response ListUserSavedSearches200JSONResponse) VisitListUserSavedSearchesResponse(w http.ResponseWriter) error
type ListUserSavedSearches400JSONResponse ¶
type ListUserSavedSearches400JSONResponse BasicErrorModel
func (ListUserSavedSearches400JSONResponse) VisitListUserSavedSearchesResponse ¶
func (response ListUserSavedSearches400JSONResponse) VisitListUserSavedSearchesResponse(w http.ResponseWriter) error
type ListUserSavedSearches401JSONResponse ¶
type ListUserSavedSearches401JSONResponse BasicErrorModel
func (ListUserSavedSearches401JSONResponse) VisitListUserSavedSearchesResponse ¶
func (response ListUserSavedSearches401JSONResponse) VisitListUserSavedSearchesResponse(w http.ResponseWriter) error
type ListUserSavedSearches403JSONResponse ¶
type ListUserSavedSearches403JSONResponse BasicErrorModel
func (ListUserSavedSearches403JSONResponse) VisitListUserSavedSearchesResponse ¶
func (response ListUserSavedSearches403JSONResponse) VisitListUserSavedSearchesResponse(w http.ResponseWriter) error
type ListUserSavedSearches500JSONResponse ¶
type ListUserSavedSearches500JSONResponse BasicErrorModel
func (ListUserSavedSearches500JSONResponse) VisitListUserSavedSearchesResponse ¶
func (response ListUserSavedSearches500JSONResponse) VisitListUserSavedSearchesResponse(w http.ResponseWriter) error
type ListUserSavedSearchesParams ¶
type ListUserSavedSearchesParams struct {
// PageToken Pagination token
PageToken *PaginationTokenParam `form:"page_token,omitempty" json:"page_token,omitempty"`
// PageSize Number of results to return
PageSize *PaginationSizeParam `form:"page_size,omitempty" json:"page_size,omitempty"`
}
ListUserSavedSearchesParams defines parameters for ListUserSavedSearches.
type ListUserSavedSearchesRequestObject ¶
type ListUserSavedSearchesRequestObject struct {
Params ListUserSavedSearchesParams
}
type ListUserSavedSearchesResponseObject ¶
type ListUserSavedSearchesResponseObject interface {
VisitListUserSavedSearchesResponse(w http.ResponseWriter) error
}
type MetricViewPathParam ¶
type MetricViewPathParam = WPTMetricView
MetricViewPathParam The desired view of the WPT Data
type MissingOneImplFeature ¶
type MissingOneImplFeature struct {
// FeatureId The ID of a feature.
FeatureId *string `json:"feature_id,omitempty"`
}
MissingOneImplFeature defines model for MissingOneImplFeature.
type MissingOneImplFeaturesPage ¶
type MissingOneImplFeaturesPage struct {
Data []MissingOneImplFeature `json:"data"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
MissingOneImplFeaturesPage defines model for MissingOneImplFeaturesPage.
type NotificationChannel ¶
type NotificationChannel struct {
// Config Configuration specific to the channel type.
Config NotificationChannel_Config `json:"config"`
// Name The name of the channel.
Name string `json:"name"`
Type NotificationChannelType `json:"type"`
}
NotificationChannel defines model for NotificationChannel.
type NotificationChannelPage ¶
type NotificationChannelPage struct {
Data *[]NotificationChannelResponse `json:"data,omitempty"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
NotificationChannelPage defines model for NotificationChannelPage.
type NotificationChannelResponse ¶
type NotificationChannelResponse struct {
// Config Configuration specific to the channel type.
Config NotificationChannelResponse_Config `json:"config"`
CreatedAt time.Time `json:"created_at"`
Id string `json:"id"`
// Name The name of the channel.
Name string `json:"name"`
Status NotificationChannelResponseStatus `json:"status"`
Type NotificationChannelResponseType `json:"type"`
UpdatedAt time.Time `json:"updated_at"`
}
NotificationChannelResponse defines model for NotificationChannelResponse.
type NotificationChannelResponseStatus ¶
type NotificationChannelResponseStatus string
NotificationChannelResponseStatus defines model for NotificationChannelResponse.Status.
const ( NotificationChannelStatusDisabled NotificationChannelResponseStatus = "disabled" NotificationChannelStatusEnabled NotificationChannelResponseStatus = "enabled" )
Defines values for NotificationChannelResponseStatus.
func (NotificationChannelResponseStatus) Valid ¶
func (e NotificationChannelResponseStatus) Valid() bool
Valid indicates whether the value is a known member of the NotificationChannelResponseStatus enum.
type NotificationChannelResponseType ¶
type NotificationChannelResponseType string
NotificationChannelResponseType defines model for NotificationChannelResponse.Type.
const ( NotificationChannelResponseTypeEmail NotificationChannelResponseType = "email" NotificationChannelResponseTypeRss NotificationChannelResponseType = "rss" NotificationChannelResponseTypeWebhook NotificationChannelResponseType = "webhook" )
Defines values for NotificationChannelResponseType.
func (NotificationChannelResponseType) Valid ¶
func (e NotificationChannelResponseType) Valid() bool
Valid indicates whether the value is a known member of the NotificationChannelResponseType enum.
type NotificationChannelResponse_Config ¶
type NotificationChannelResponse_Config struct {
// contains filtered or unexported fields
}
NotificationChannelResponse_Config Configuration specific to the channel type.
func (NotificationChannelResponse_Config) AsEmailConfig ¶
func (t NotificationChannelResponse_Config) AsEmailConfig() (EmailConfig, error)
AsEmailConfig returns the union data inside the NotificationChannelResponse_Config as a EmailConfig
func (NotificationChannelResponse_Config) AsRSSConfig ¶
func (t NotificationChannelResponse_Config) AsRSSConfig() (RSSConfig, error)
AsRSSConfig returns the union data inside the NotificationChannelResponse_Config as a RSSConfig
func (NotificationChannelResponse_Config) AsWebhookConfig ¶
func (t NotificationChannelResponse_Config) AsWebhookConfig() (WebhookConfig, error)
AsWebhookConfig returns the union data inside the NotificationChannelResponse_Config as a WebhookConfig
func (NotificationChannelResponse_Config) Discriminator ¶
func (t NotificationChannelResponse_Config) Discriminator() (string, error)
func (*NotificationChannelResponse_Config) FromEmailConfig ¶
func (t *NotificationChannelResponse_Config) FromEmailConfig(v EmailConfig) error
FromEmailConfig overwrites any union data inside the NotificationChannelResponse_Config as the provided EmailConfig
func (*NotificationChannelResponse_Config) FromRSSConfig ¶
func (t *NotificationChannelResponse_Config) FromRSSConfig(v RSSConfig) error
FromRSSConfig overwrites any union data inside the NotificationChannelResponse_Config as the provided RSSConfig
func (*NotificationChannelResponse_Config) FromWebhookConfig ¶
func (t *NotificationChannelResponse_Config) FromWebhookConfig(v WebhookConfig) error
FromWebhookConfig overwrites any union data inside the NotificationChannelResponse_Config as the provided WebhookConfig
func (NotificationChannelResponse_Config) MarshalJSON ¶
func (t NotificationChannelResponse_Config) MarshalJSON() ([]byte, error)
func (*NotificationChannelResponse_Config) MergeEmailConfig ¶
func (t *NotificationChannelResponse_Config) MergeEmailConfig(v EmailConfig) error
MergeEmailConfig performs a merge with any union data inside the NotificationChannelResponse_Config, using the provided EmailConfig
func (*NotificationChannelResponse_Config) MergeRSSConfig ¶
func (t *NotificationChannelResponse_Config) MergeRSSConfig(v RSSConfig) error
MergeRSSConfig performs a merge with any union data inside the NotificationChannelResponse_Config, using the provided RSSConfig
func (*NotificationChannelResponse_Config) MergeWebhookConfig ¶
func (t *NotificationChannelResponse_Config) MergeWebhookConfig(v WebhookConfig) error
MergeWebhookConfig performs a merge with any union data inside the NotificationChannelResponse_Config, using the provided WebhookConfig
func (*NotificationChannelResponse_Config) UnmarshalJSON ¶
func (t *NotificationChannelResponse_Config) UnmarshalJSON(b []byte) error
func (NotificationChannelResponse_Config) ValueByDiscriminator ¶
func (t NotificationChannelResponse_Config) ValueByDiscriminator() (interface{}, error)
type NotificationChannelType ¶
type NotificationChannelType string
NotificationChannelType defines model for NotificationChannel.Type.
const ( NotificationChannelTypeEmail NotificationChannelType = "email" NotificationChannelTypeRss NotificationChannelType = "rss" NotificationChannelTypeWebhook NotificationChannelType = "webhook" )
Defines values for NotificationChannelType.
func (NotificationChannelType) Valid ¶
func (e NotificationChannelType) Valid() bool
Valid indicates whether the value is a known member of the NotificationChannelType enum.
type NotificationChannel_Config ¶
type NotificationChannel_Config struct {
// contains filtered or unexported fields
}
NotificationChannel_Config Configuration specific to the channel type.
func (NotificationChannel_Config) AsEmailConfig ¶
func (t NotificationChannel_Config) AsEmailConfig() (EmailConfig, error)
AsEmailConfig returns the union data inside the NotificationChannel_Config as a EmailConfig
func (NotificationChannel_Config) AsRSSConfig ¶
func (t NotificationChannel_Config) AsRSSConfig() (RSSConfig, error)
AsRSSConfig returns the union data inside the NotificationChannel_Config as a RSSConfig
func (NotificationChannel_Config) AsWebhookConfig ¶
func (t NotificationChannel_Config) AsWebhookConfig() (WebhookConfig, error)
AsWebhookConfig returns the union data inside the NotificationChannel_Config as a WebhookConfig
func (NotificationChannel_Config) Discriminator ¶
func (t NotificationChannel_Config) Discriminator() (string, error)
func (*NotificationChannel_Config) FromEmailConfig ¶
func (t *NotificationChannel_Config) FromEmailConfig(v EmailConfig) error
FromEmailConfig overwrites any union data inside the NotificationChannel_Config as the provided EmailConfig
func (*NotificationChannel_Config) FromRSSConfig ¶
func (t *NotificationChannel_Config) FromRSSConfig(v RSSConfig) error
FromRSSConfig overwrites any union data inside the NotificationChannel_Config as the provided RSSConfig
func (*NotificationChannel_Config) FromWebhookConfig ¶
func (t *NotificationChannel_Config) FromWebhookConfig(v WebhookConfig) error
FromWebhookConfig overwrites any union data inside the NotificationChannel_Config as the provided WebhookConfig
func (NotificationChannel_Config) MarshalJSON ¶
func (t NotificationChannel_Config) MarshalJSON() ([]byte, error)
func (*NotificationChannel_Config) MergeEmailConfig ¶
func (t *NotificationChannel_Config) MergeEmailConfig(v EmailConfig) error
MergeEmailConfig performs a merge with any union data inside the NotificationChannel_Config, using the provided EmailConfig
func (*NotificationChannel_Config) MergeRSSConfig ¶
func (t *NotificationChannel_Config) MergeRSSConfig(v RSSConfig) error
MergeRSSConfig performs a merge with any union data inside the NotificationChannel_Config, using the provided RSSConfig
func (*NotificationChannel_Config) MergeWebhookConfig ¶
func (t *NotificationChannel_Config) MergeWebhookConfig(v WebhookConfig) error
MergeWebhookConfig performs a merge with any union data inside the NotificationChannel_Config, using the provided WebhookConfig
func (*NotificationChannel_Config) UnmarshalJSON ¶
func (t *NotificationChannel_Config) UnmarshalJSON(b []byte) error
func (NotificationChannel_Config) ValueByDiscriminator ¶
func (t NotificationChannel_Config) ValueByDiscriminator() (interface{}, error)
type PageMetadata ¶
type PageMetadata struct {
NextPageToken *string `json:"next_page_token,omitempty"`
}
PageMetadata defines model for PageMetadata.
type PageMetadataWithTotal ¶
type PageMetadataWithTotal struct {
NextPageToken *string `json:"next_page_token,omitempty"`
Total int64 `json:"total"`
}
PageMetadataWithTotal defines model for PageMetadataWithTotal.
type PaginationSizeParam ¶
type PaginationSizeParam = int
PaginationSizeParam defines model for paginationSizeParam.
type PaginationTokenParam ¶
type PaginationTokenParam = string
PaginationTokenParam defines model for paginationTokenParam.
type PingUser204Response ¶
type PingUser204Response struct {
}
func (PingUser204Response) VisitPingUserResponse ¶
func (response PingUser204Response) VisitPingUserResponse(w http.ResponseWriter) error
type PingUser401JSONResponse ¶
type PingUser401JSONResponse BasicErrorModel
func (PingUser401JSONResponse) VisitPingUserResponse ¶
func (response PingUser401JSONResponse) VisitPingUserResponse(w http.ResponseWriter) error
type PingUser403JSONResponse ¶
type PingUser403JSONResponse BasicErrorModel
func (PingUser403JSONResponse) VisitPingUserResponse ¶
func (response PingUser403JSONResponse) VisitPingUserResponse(w http.ResponseWriter) error
type PingUser500JSONResponse ¶
type PingUser500JSONResponse BasicErrorModel
func (PingUser500JSONResponse) VisitPingUserResponse ¶
func (response PingUser500JSONResponse) VisitPingUserResponse(w http.ResponseWriter) error
type PingUserJSONBody ¶
type PingUserJSONBody struct {
// GithubToken The GitHub OAuth access token obtained by the frontend during interactive sign-in. Used by the backend to perform a one-time sync of user profile data (like email) directly from GitHub. This token is not stored by the backend.
GithubToken *string `json:"github_token,omitempty"`
}
PingUserJSONBody defines parameters for PingUser.
type PingUserJSONRequestBody ¶
type PingUserJSONRequestBody PingUserJSONBody
PingUserJSONRequestBody defines body for PingUser for application/json ContentType.
type PingUserRequestObject ¶
type PingUserRequestObject struct {
Body *PingUserJSONRequestBody
}
type PingUserResponseObject ¶
type PingUserResponseObject interface {
VisitPingUserResponse(w http.ResponseWriter) error
}
type PutUserSavedSearchBookmark200Response ¶
type PutUserSavedSearchBookmark200Response struct {
}
func (PutUserSavedSearchBookmark200Response) VisitPutUserSavedSearchBookmarkResponse ¶
func (response PutUserSavedSearchBookmark200Response) VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type PutUserSavedSearchBookmark400JSONResponse ¶
type PutUserSavedSearchBookmark400JSONResponse BasicErrorModel
func (PutUserSavedSearchBookmark400JSONResponse) VisitPutUserSavedSearchBookmarkResponse ¶
func (response PutUserSavedSearchBookmark400JSONResponse) VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type PutUserSavedSearchBookmark401JSONResponse ¶
type PutUserSavedSearchBookmark401JSONResponse BasicErrorModel
func (PutUserSavedSearchBookmark401JSONResponse) VisitPutUserSavedSearchBookmarkResponse ¶
func (response PutUserSavedSearchBookmark401JSONResponse) VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type PutUserSavedSearchBookmark403JSONResponse ¶
type PutUserSavedSearchBookmark403JSONResponse BasicErrorModel
func (PutUserSavedSearchBookmark403JSONResponse) VisitPutUserSavedSearchBookmarkResponse ¶
func (response PutUserSavedSearchBookmark403JSONResponse) VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type PutUserSavedSearchBookmark404JSONResponse ¶
type PutUserSavedSearchBookmark404JSONResponse BasicErrorModel
func (PutUserSavedSearchBookmark404JSONResponse) VisitPutUserSavedSearchBookmarkResponse ¶
func (response PutUserSavedSearchBookmark404JSONResponse) VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type PutUserSavedSearchBookmark500JSONResponse ¶
type PutUserSavedSearchBookmark500JSONResponse BasicErrorModel
func (PutUserSavedSearchBookmark500JSONResponse) VisitPutUserSavedSearchBookmarkResponse ¶
func (response PutUserSavedSearchBookmark500JSONResponse) VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type PutUserSavedSearchBookmarkRequestObject ¶
type PutUserSavedSearchBookmarkRequestObject struct {
SearchId string `json:"search_id"`
}
type PutUserSavedSearchBookmarkResponseObject ¶
type PutUserSavedSearchBookmarkResponseObject interface {
VisitPutUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
}
type RSSConfig ¶
type RSSConfig struct {
Type RSSConfigType `json:"type"`
}
RSSConfig defines model for RSSConfig.
type RSSConfigType ¶
type RSSConfigType string
RSSConfigType defines model for RSSConfig.Type.
const (
RSSConfigTypeRss RSSConfigType = "rss"
)
Defines values for RSSConfigType.
func (RSSConfigType) Valid ¶
func (e RSSConfigType) Valid() bool
Valid indicates whether the value is a known member of the RSSConfigType enum.
type RemoveSavedSearch204Response ¶
type RemoveSavedSearch204Response struct {
}
func (RemoveSavedSearch204Response) VisitRemoveSavedSearchResponse ¶
func (response RemoveSavedSearch204Response) VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
type RemoveSavedSearch400JSONResponse ¶
type RemoveSavedSearch400JSONResponse BasicErrorModel
func (RemoveSavedSearch400JSONResponse) VisitRemoveSavedSearchResponse ¶
func (response RemoveSavedSearch400JSONResponse) VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
type RemoveSavedSearch401JSONResponse ¶
type RemoveSavedSearch401JSONResponse BasicErrorModel
func (RemoveSavedSearch401JSONResponse) VisitRemoveSavedSearchResponse ¶
func (response RemoveSavedSearch401JSONResponse) VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
type RemoveSavedSearch403JSONResponse ¶
type RemoveSavedSearch403JSONResponse BasicErrorModel
func (RemoveSavedSearch403JSONResponse) VisitRemoveSavedSearchResponse ¶
func (response RemoveSavedSearch403JSONResponse) VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
type RemoveSavedSearch404JSONResponse ¶
type RemoveSavedSearch404JSONResponse BasicErrorModel
func (RemoveSavedSearch404JSONResponse) VisitRemoveSavedSearchResponse ¶
func (response RemoveSavedSearch404JSONResponse) VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
type RemoveSavedSearch500JSONResponse ¶
type RemoveSavedSearch500JSONResponse BasicErrorModel
func (RemoveSavedSearch500JSONResponse) VisitRemoveSavedSearchResponse ¶
func (response RemoveSavedSearch500JSONResponse) VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
type RemoveSavedSearchRequestObject ¶
type RemoveSavedSearchRequestObject struct {
SearchId string `json:"search_id"`
}
type RemoveSavedSearchResponseObject ¶
type RemoveSavedSearchResponseObject interface {
VisitRemoveSavedSearchResponse(w http.ResponseWriter) error
}
type RemoveUserSavedSearchBookmark204Response ¶
type RemoveUserSavedSearchBookmark204Response struct {
}
func (RemoveUserSavedSearchBookmark204Response) VisitRemoveUserSavedSearchBookmarkResponse ¶
func (response RemoveUserSavedSearchBookmark204Response) VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type RemoveUserSavedSearchBookmark400JSONResponse ¶
type RemoveUserSavedSearchBookmark400JSONResponse BasicErrorModel
func (RemoveUserSavedSearchBookmark400JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse ¶
func (response RemoveUserSavedSearchBookmark400JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type RemoveUserSavedSearchBookmark401JSONResponse ¶
type RemoveUserSavedSearchBookmark401JSONResponse BasicErrorModel
func (RemoveUserSavedSearchBookmark401JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse ¶
func (response RemoveUserSavedSearchBookmark401JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type RemoveUserSavedSearchBookmark403JSONResponse ¶
type RemoveUserSavedSearchBookmark403JSONResponse BasicErrorModel
func (RemoveUserSavedSearchBookmark403JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse ¶
func (response RemoveUserSavedSearchBookmark403JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type RemoveUserSavedSearchBookmark404JSONResponse ¶
type RemoveUserSavedSearchBookmark404JSONResponse BasicErrorModel
func (RemoveUserSavedSearchBookmark404JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse ¶
func (response RemoveUserSavedSearchBookmark404JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type RemoveUserSavedSearchBookmark500JSONResponse ¶
type RemoveUserSavedSearchBookmark500JSONResponse BasicErrorModel
func (RemoveUserSavedSearchBookmark500JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse ¶
func (response RemoveUserSavedSearchBookmark500JSONResponse) VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
type RemoveUserSavedSearchBookmarkRequestObject ¶
type RemoveUserSavedSearchBookmarkRequestObject struct {
SearchId string `json:"search_id"`
}
type RemoveUserSavedSearchBookmarkResponseObject ¶
type RemoveUserSavedSearchBookmarkResponseObject interface {
VisitRemoveUserSavedSearchBookmarkResponse(w http.ResponseWriter) error
}
type RequiredHeaderError ¶
func (*RequiredHeaderError) Error ¶
func (e *RequiredHeaderError) Error() string
func (*RequiredHeaderError) Unwrap ¶
func (e *RequiredHeaderError) Unwrap() error
type RequiredParamError ¶
type RequiredParamError struct {
ParamName string
}
func (*RequiredParamError) Error ¶
func (e *RequiredParamError) Error() string
type SavedSearch ¶
type SavedSearch struct {
Description *string `json:"description,omitempty"`
Name string `json:"name"`
Query string `json:"query"`
}
SavedSearch Represents a saved search with a name and a query. Both `name` and `query` are required when creating a new saved search.
type SavedSearchInfo ¶
SavedSearchInfo defines model for SavedSearchInfo.
type SavedSearchResponse ¶
type SavedSearchResponse struct {
BookmarkStatus *UserSavedSearchBookmark `json:"bookmark_status,omitempty"`
CreatedAt time.Time `json:"created_at"`
Description *string `json:"description,omitempty"`
Id string `json:"id"`
Name string `json:"name"`
Permissions *UserSavedSearchPermissions `json:"permissions,omitempty"`
Query string `json:"query"`
UpdatedAt time.Time `json:"updated_at"`
}
SavedSearchResponse defines model for SavedSearchResponse.
type SavedSearchUpdateRequest ¶
type SavedSearchUpdateRequest struct {
Description *string `json:"description,omitempty"`
Name *string `json:"name,omitempty"`
Query *string `json:"query,omitempty"`
// UpdateMask A list of fields to update. Required. Allowed values are: `name`, `description`, `query`.
UpdateMask []SavedSearchUpdateRequestUpdateMask `json:"update_mask"`
}
SavedSearchUpdateRequest Represents the data required to update a saved search. Only the fields that need to be modified need to be included in the request. To clear a field, include the field in `update_mask` and set the corresponding value to null. Only fields with nullable set to true can be cleared.
type SavedSearchUpdateRequestUpdateMask ¶
type SavedSearchUpdateRequestUpdateMask string
SavedSearchUpdateRequestUpdateMask defines model for SavedSearchUpdateRequest.UpdateMask.
const ( SavedSearchUpdateRequestMaskDescription SavedSearchUpdateRequestUpdateMask = "description" SavedSearchUpdateRequestMaskName SavedSearchUpdateRequestUpdateMask = "name" SavedSearchUpdateRequestMaskQuery SavedSearchUpdateRequestUpdateMask = "query" )
Defines values for SavedSearchUpdateRequestUpdateMask.
func (SavedSearchUpdateRequestUpdateMask) Valid ¶
func (e SavedSearchUpdateRequestUpdateMask) Valid() bool
Valid indicates whether the value is a known member of the SavedSearchUpdateRequestUpdateMask enum.
type ServeMux ¶
type ServeMux interface {
HandleFunc(pattern string, handler func(http.ResponseWriter, *http.Request))
http.Handler
}
ServeMux is an abstraction of http.ServeMux.
type ServerInterface ¶
type ServerInterface interface {
// List features
// (GET /v1/features)
ListFeatures(w http.ResponseWriter, r *http.Request, params ListFeaturesParams)
// Get Feature
// (GET /v1/features/{feature_id})
GetFeature(w http.ResponseWriter, r *http.Request, featureId string, params GetFeatureParams)
// Get metadata for a given feature from github.com/web-platform-dx/web-features
// (GET /v1/features/{feature_id}/feature-metadata)
GetFeatureMetadata(w http.ResponseWriter, r *http.Request, featureId string)
// Get Chrome daily usage metrics for a given feature
// (GET /v1/features/{feature_id}/stats/usage/chrome/daily_stats)
ListChromeDailyUsageStats(w http.ResponseWriter, r *http.Request, featureId string, params ListChromeDailyUsageStatsParams)
// Retrieve the wpt stats for a particular feature.
// (GET /v1/features/{feature_id}/stats/wpt/browsers/{browser}/channels/{channel}/{metric_view})
ListFeatureWPTMetrics(w http.ResponseWriter, r *http.Request, featureId string, browser BrowserPathParam, channel ChannelPathParam, metricView MetricViewPathParam, params ListFeatureWPTMetricsParams)
// List global saved searches
// (GET /v1/global-saved-searches)
ListGlobalSavedSearches(w http.ResponseWriter, r *http.Request, params ListGlobalSavedSearchesParams)
// Service liveness health check
// (GET /v1/healthchecks/liveness)
GetHealthcheckLiveness(w http.ResponseWriter, r *http.Request)
// Create a saved search
// (POST /v1/saved-searches)
CreateSavedSearch(w http.ResponseWriter, r *http.Request)
// (DELETE /v1/saved-searches/{search_id})
RemoveSavedSearch(w http.ResponseWriter, r *http.Request, searchId string)
// Get saved search
// (GET /v1/saved-searches/{search_id})
GetSavedSearch(w http.ResponseWriter, r *http.Request, searchId string)
// (PATCH /v1/saved-searches/{search_id})
UpdateSavedSearch(w http.ResponseWriter, r *http.Request, searchId string)
// Returns the count of features supported that have reached baseline according to the specified date type (currently only low_date).
// (GET /v1/stats/baseline_status/low_date_feature_counts)
ListAggregatedBaselineStatusCounts(w http.ResponseWriter, r *http.Request, params ListAggregatedBaselineStatusCountsParams)
// Returns the count of features supported for a specified browser over time. The timestamps for the individual metrics represent the releases of the specified browser.
// (GET /v1/stats/features/browsers/{browser}/feature_counts)
ListAggregatedFeatureSupport(w http.ResponseWriter, r *http.Request, browser BrowserPathParam, params ListAggregatedFeatureSupportParams)
// Returns the count of features that are supported by all of the specified comparison browsers but not supported by the specified target browser, as of each browser's (target browser or comparison browser) release date.
// (GET /v1/stats/features/browsers/{browser}/missing_one_implementation_counts)
ListMissingOneImplementationCounts(w http.ResponseWriter, r *http.Request, browser BrowserPathParam, params ListMissingOneImplementationCountsParams)
// Returns the list of feature IDs that were counted as missing one implementation on a specific date for the given browser.
// (GET /v1/stats/features/browsers/{browser}/missing_one_implementation_counts/{date}/features)
ListMissingOneImplementationFeatures(w http.ResponseWriter, r *http.Request, browser BrowserPathParam, date openapi_types.Date, params ListMissingOneImplementationFeaturesParams)
// Gets aggregated WPT test counts for a specified browser and channel. Optionally filter by feature IDs.
// (GET /v1/stats/wpt/browsers/{browser}/channels/{channel}/{metric_view})
ListAggregatedWPTMetrics(w http.ResponseWriter, r *http.Request, browser BrowserPathParam, channel ChannelPathParam, metricView MetricViewPathParam, params ListAggregatedWPTMetricsParams)
// Get RSS feed for a subscription
// (GET /v1/subscriptions/{subscription_id}/rss)
GetSubscriptionRSS(w http.ResponseWriter, r *http.Request, subscriptionId string, params GetSubscriptionRSSParams)
// List user notification channels
// (GET /v1/users/me/notification-channels)
ListNotificationChannels(w http.ResponseWriter, r *http.Request, params ListNotificationChannelsParams)
// Create a new notification channel
// (POST /v1/users/me/notification-channels)
CreateNotificationChannel(w http.ResponseWriter, r *http.Request)
// Delete notification channel
// (DELETE /v1/users/me/notification-channels/{channel_id})
DeleteNotificationChannel(w http.ResponseWriter, r *http.Request, channelId string)
// Get notification channel by ID
// (GET /v1/users/me/notification-channels/{channel_id})
GetNotificationChannel(w http.ResponseWriter, r *http.Request, channelId string)
// Update notification channel
// (PATCH /v1/users/me/notification-channels/{channel_id})
UpdateNotificationChannel(w http.ResponseWriter, r *http.Request, channelId string)
// Signal user login and refresh profile
// (POST /v1/users/me/ping)
PingUser(w http.ResponseWriter, r *http.Request)
// List user saved searches
// (GET /v1/users/me/saved-searches)
ListUserSavedSearches(w http.ResponseWriter, r *http.Request, params ListUserSavedSearchesParams)
// Remove bookmark status for a particular saved search.
// (DELETE /v1/users/me/saved-searches/{search_id}/bookmark_status)
RemoveUserSavedSearchBookmark(w http.ResponseWriter, r *http.Request, searchId string)
// Add bookmark status for a particular saved search.
// (PUT /v1/users/me/saved-searches/{search_id}/bookmark_status)
PutUserSavedSearchBookmark(w http.ResponseWriter, r *http.Request, searchId string)
// List subscriptions for a saved search
// (GET /v1/users/me/subscriptions)
ListSubscriptions(w http.ResponseWriter, r *http.Request, params ListSubscriptionsParams)
// Create a subscription for a saved search
// (POST /v1/users/me/subscriptions)
CreateSubscription(w http.ResponseWriter, r *http.Request)
// Delete a subscription for a saved search
// (DELETE /v1/users/me/subscriptions/{subscription_id})
DeleteSubscription(w http.ResponseWriter, r *http.Request, subscriptionId string)
// Get a subscription for a saved search
// (GET /v1/users/me/subscriptions/{subscription_id})
GetSubscription(w http.ResponseWriter, r *http.Request, subscriptionId string)
// Update a subscription for a saved search
// (PATCH /v1/users/me/subscriptions/{subscription_id})
UpdateSubscription(w http.ResponseWriter, r *http.Request, subscriptionId string)
}
ServerInterface represents all server handlers.
func NewStrictHandler ¶
func NewStrictHandler(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc) ServerInterface
func NewStrictHandlerWithOptions ¶
func NewStrictHandlerWithOptions(ssi StrictServerInterface, middlewares []StrictMiddlewareFunc, options StrictHTTPServerOptions) ServerInterface
type ServerInterfaceWrapper ¶
type ServerInterfaceWrapper struct {
Handler ServerInterface
HandlerMiddlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
ServerInterfaceWrapper converts contexts to parameters.
func (*ServerInterfaceWrapper) CreateNotificationChannel ¶
func (siw *ServerInterfaceWrapper) CreateNotificationChannel(w http.ResponseWriter, r *http.Request)
CreateNotificationChannel operation middleware
func (*ServerInterfaceWrapper) CreateSavedSearch ¶
func (siw *ServerInterfaceWrapper) CreateSavedSearch(w http.ResponseWriter, r *http.Request)
CreateSavedSearch operation middleware
func (*ServerInterfaceWrapper) CreateSubscription ¶
func (siw *ServerInterfaceWrapper) CreateSubscription(w http.ResponseWriter, r *http.Request)
CreateSubscription operation middleware
func (*ServerInterfaceWrapper) DeleteNotificationChannel ¶
func (siw *ServerInterfaceWrapper) DeleteNotificationChannel(w http.ResponseWriter, r *http.Request)
DeleteNotificationChannel operation middleware
func (*ServerInterfaceWrapper) DeleteSubscription ¶
func (siw *ServerInterfaceWrapper) DeleteSubscription(w http.ResponseWriter, r *http.Request)
DeleteSubscription operation middleware
func (*ServerInterfaceWrapper) GetFeature ¶
func (siw *ServerInterfaceWrapper) GetFeature(w http.ResponseWriter, r *http.Request)
GetFeature operation middleware
func (*ServerInterfaceWrapper) GetFeatureMetadata ¶
func (siw *ServerInterfaceWrapper) GetFeatureMetadata(w http.ResponseWriter, r *http.Request)
GetFeatureMetadata operation middleware
func (*ServerInterfaceWrapper) GetHealthcheckLiveness ¶
func (siw *ServerInterfaceWrapper) GetHealthcheckLiveness(w http.ResponseWriter, r *http.Request)
GetHealthcheckLiveness operation middleware
func (*ServerInterfaceWrapper) GetNotificationChannel ¶
func (siw *ServerInterfaceWrapper) GetNotificationChannel(w http.ResponseWriter, r *http.Request)
GetNotificationChannel operation middleware
func (*ServerInterfaceWrapper) GetSavedSearch ¶
func (siw *ServerInterfaceWrapper) GetSavedSearch(w http.ResponseWriter, r *http.Request)
GetSavedSearch operation middleware
func (*ServerInterfaceWrapper) GetSubscription ¶
func (siw *ServerInterfaceWrapper) GetSubscription(w http.ResponseWriter, r *http.Request)
GetSubscription operation middleware
func (*ServerInterfaceWrapper) GetSubscriptionRSS ¶
func (siw *ServerInterfaceWrapper) GetSubscriptionRSS(w http.ResponseWriter, r *http.Request)
GetSubscriptionRSS operation middleware
func (*ServerInterfaceWrapper) ListAggregatedBaselineStatusCounts ¶
func (siw *ServerInterfaceWrapper) ListAggregatedBaselineStatusCounts(w http.ResponseWriter, r *http.Request)
ListAggregatedBaselineStatusCounts operation middleware
func (*ServerInterfaceWrapper) ListAggregatedFeatureSupport ¶
func (siw *ServerInterfaceWrapper) ListAggregatedFeatureSupport(w http.ResponseWriter, r *http.Request)
ListAggregatedFeatureSupport operation middleware
func (*ServerInterfaceWrapper) ListAggregatedWPTMetrics ¶
func (siw *ServerInterfaceWrapper) ListAggregatedWPTMetrics(w http.ResponseWriter, r *http.Request)
ListAggregatedWPTMetrics operation middleware
func (*ServerInterfaceWrapper) ListChromeDailyUsageStats ¶
func (siw *ServerInterfaceWrapper) ListChromeDailyUsageStats(w http.ResponseWriter, r *http.Request)
ListChromeDailyUsageStats operation middleware
func (*ServerInterfaceWrapper) ListFeatureWPTMetrics ¶
func (siw *ServerInterfaceWrapper) ListFeatureWPTMetrics(w http.ResponseWriter, r *http.Request)
ListFeatureWPTMetrics operation middleware
func (*ServerInterfaceWrapper) ListFeatures ¶
func (siw *ServerInterfaceWrapper) ListFeatures(w http.ResponseWriter, r *http.Request)
ListFeatures operation middleware
func (*ServerInterfaceWrapper) ListGlobalSavedSearches ¶
func (siw *ServerInterfaceWrapper) ListGlobalSavedSearches(w http.ResponseWriter, r *http.Request)
ListGlobalSavedSearches operation middleware
func (*ServerInterfaceWrapper) ListMissingOneImplementationCounts ¶
func (siw *ServerInterfaceWrapper) ListMissingOneImplementationCounts(w http.ResponseWriter, r *http.Request)
ListMissingOneImplementationCounts operation middleware
func (*ServerInterfaceWrapper) ListMissingOneImplementationFeatures ¶
func (siw *ServerInterfaceWrapper) ListMissingOneImplementationFeatures(w http.ResponseWriter, r *http.Request)
ListMissingOneImplementationFeatures operation middleware
func (*ServerInterfaceWrapper) ListNotificationChannels ¶
func (siw *ServerInterfaceWrapper) ListNotificationChannels(w http.ResponseWriter, r *http.Request)
ListNotificationChannels operation middleware
func (*ServerInterfaceWrapper) ListSubscriptions ¶
func (siw *ServerInterfaceWrapper) ListSubscriptions(w http.ResponseWriter, r *http.Request)
ListSubscriptions operation middleware
func (*ServerInterfaceWrapper) ListUserSavedSearches ¶
func (siw *ServerInterfaceWrapper) ListUserSavedSearches(w http.ResponseWriter, r *http.Request)
ListUserSavedSearches operation middleware
func (*ServerInterfaceWrapper) PingUser ¶
func (siw *ServerInterfaceWrapper) PingUser(w http.ResponseWriter, r *http.Request)
PingUser operation middleware
func (*ServerInterfaceWrapper) PutUserSavedSearchBookmark ¶
func (siw *ServerInterfaceWrapper) PutUserSavedSearchBookmark(w http.ResponseWriter, r *http.Request)
PutUserSavedSearchBookmark operation middleware
func (*ServerInterfaceWrapper) RemoveSavedSearch ¶
func (siw *ServerInterfaceWrapper) RemoveSavedSearch(w http.ResponseWriter, r *http.Request)
RemoveSavedSearch operation middleware
func (*ServerInterfaceWrapper) RemoveUserSavedSearchBookmark ¶
func (siw *ServerInterfaceWrapper) RemoveUserSavedSearchBookmark(w http.ResponseWriter, r *http.Request)
RemoveUserSavedSearchBookmark operation middleware
func (*ServerInterfaceWrapper) UpdateNotificationChannel ¶
func (siw *ServerInterfaceWrapper) UpdateNotificationChannel(w http.ResponseWriter, r *http.Request)
UpdateNotificationChannel operation middleware
func (*ServerInterfaceWrapper) UpdateSavedSearch ¶
func (siw *ServerInterfaceWrapper) UpdateSavedSearch(w http.ResponseWriter, r *http.Request)
UpdateSavedSearch operation middleware
func (*ServerInterfaceWrapper) UpdateSubscription ¶
func (siw *ServerInterfaceWrapper) UpdateSubscription(w http.ResponseWriter, r *http.Request)
UpdateSubscription operation middleware
type SpecLink ¶
type SpecLink struct {
Link *string `json:"link,omitempty"`
}
SpecLink defines model for SpecLink.
type StartAtParam ¶
type StartAtParam = openapi_types.Date
StartAtParam defines model for startAtParam.
type StdHTTPServerOptions ¶
type StdHTTPServerOptions struct {
BaseURL string
BaseRouter ServeMux
Middlewares []MiddlewareFunc
ErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHTTPServerOptions ¶
type StrictHTTPServerOptions struct {
RequestErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
ResponseErrorHandlerFunc func(w http.ResponseWriter, r *http.Request, err error)
}
type StrictHandlerFunc ¶
type StrictMiddlewareFunc ¶
type StrictMiddlewareFunc func(f StrictHandlerFunc, operationID string) StrictHandlerFunc
type StrictServerInterface ¶
type StrictServerInterface interface {
// List features
// (GET /v1/features)
ListFeatures(ctx context.Context, request ListFeaturesRequestObject) (ListFeaturesResponseObject, error)
// Get Feature
// (GET /v1/features/{feature_id})
GetFeature(ctx context.Context, request GetFeatureRequestObject) (GetFeatureResponseObject, error)
// Get metadata for a given feature from github.com/web-platform-dx/web-features
// (GET /v1/features/{feature_id}/feature-metadata)
GetFeatureMetadata(ctx context.Context, request GetFeatureMetadataRequestObject) (GetFeatureMetadataResponseObject, error)
// Get Chrome daily usage metrics for a given feature
// (GET /v1/features/{feature_id}/stats/usage/chrome/daily_stats)
ListChromeDailyUsageStats(ctx context.Context, request ListChromeDailyUsageStatsRequestObject) (ListChromeDailyUsageStatsResponseObject, error)
// Retrieve the wpt stats for a particular feature.
// (GET /v1/features/{feature_id}/stats/wpt/browsers/{browser}/channels/{channel}/{metric_view})
ListFeatureWPTMetrics(ctx context.Context, request ListFeatureWPTMetricsRequestObject) (ListFeatureWPTMetricsResponseObject, error)
// List global saved searches
// (GET /v1/global-saved-searches)
ListGlobalSavedSearches(ctx context.Context, request ListGlobalSavedSearchesRequestObject) (ListGlobalSavedSearchesResponseObject, error)
// Service liveness health check
// (GET /v1/healthchecks/liveness)
GetHealthcheckLiveness(ctx context.Context, request GetHealthcheckLivenessRequestObject) (GetHealthcheckLivenessResponseObject, error)
// Create a saved search
// (POST /v1/saved-searches)
CreateSavedSearch(ctx context.Context, request CreateSavedSearchRequestObject) (CreateSavedSearchResponseObject, error)
// (DELETE /v1/saved-searches/{search_id})
RemoveSavedSearch(ctx context.Context, request RemoveSavedSearchRequestObject) (RemoveSavedSearchResponseObject, error)
// Get saved search
// (GET /v1/saved-searches/{search_id})
GetSavedSearch(ctx context.Context, request GetSavedSearchRequestObject) (GetSavedSearchResponseObject, error)
// (PATCH /v1/saved-searches/{search_id})
UpdateSavedSearch(ctx context.Context, request UpdateSavedSearchRequestObject) (UpdateSavedSearchResponseObject, error)
// Returns the count of features supported that have reached baseline according to the specified date type (currently only low_date).
// (GET /v1/stats/baseline_status/low_date_feature_counts)
ListAggregatedBaselineStatusCounts(ctx context.Context, request ListAggregatedBaselineStatusCountsRequestObject) (ListAggregatedBaselineStatusCountsResponseObject, error)
// Returns the count of features supported for a specified browser over time. The timestamps for the individual metrics represent the releases of the specified browser.
// (GET /v1/stats/features/browsers/{browser}/feature_counts)
ListAggregatedFeatureSupport(ctx context.Context, request ListAggregatedFeatureSupportRequestObject) (ListAggregatedFeatureSupportResponseObject, error)
// Returns the count of features that are supported by all of the specified comparison browsers but not supported by the specified target browser, as of each browser's (target browser or comparison browser) release date.
// (GET /v1/stats/features/browsers/{browser}/missing_one_implementation_counts)
ListMissingOneImplementationCounts(ctx context.Context, request ListMissingOneImplementationCountsRequestObject) (ListMissingOneImplementationCountsResponseObject, error)
// Returns the list of feature IDs that were counted as missing one implementation on a specific date for the given browser.
// (GET /v1/stats/features/browsers/{browser}/missing_one_implementation_counts/{date}/features)
ListMissingOneImplementationFeatures(ctx context.Context, request ListMissingOneImplementationFeaturesRequestObject) (ListMissingOneImplementationFeaturesResponseObject, error)
// Gets aggregated WPT test counts for a specified browser and channel. Optionally filter by feature IDs.
// (GET /v1/stats/wpt/browsers/{browser}/channels/{channel}/{metric_view})
ListAggregatedWPTMetrics(ctx context.Context, request ListAggregatedWPTMetricsRequestObject) (ListAggregatedWPTMetricsResponseObject, error)
// Get RSS feed for a subscription
// (GET /v1/subscriptions/{subscription_id}/rss)
GetSubscriptionRSS(ctx context.Context, request GetSubscriptionRSSRequestObject) (GetSubscriptionRSSResponseObject, error)
// List user notification channels
// (GET /v1/users/me/notification-channels)
ListNotificationChannels(ctx context.Context, request ListNotificationChannelsRequestObject) (ListNotificationChannelsResponseObject, error)
// Create a new notification channel
// (POST /v1/users/me/notification-channels)
CreateNotificationChannel(ctx context.Context, request CreateNotificationChannelRequestObject) (CreateNotificationChannelResponseObject, error)
// Delete notification channel
// (DELETE /v1/users/me/notification-channels/{channel_id})
DeleteNotificationChannel(ctx context.Context, request DeleteNotificationChannelRequestObject) (DeleteNotificationChannelResponseObject, error)
// Get notification channel by ID
// (GET /v1/users/me/notification-channels/{channel_id})
GetNotificationChannel(ctx context.Context, request GetNotificationChannelRequestObject) (GetNotificationChannelResponseObject, error)
// Update notification channel
// (PATCH /v1/users/me/notification-channels/{channel_id})
UpdateNotificationChannel(ctx context.Context, request UpdateNotificationChannelRequestObject) (UpdateNotificationChannelResponseObject, error)
// Signal user login and refresh profile
// (POST /v1/users/me/ping)
PingUser(ctx context.Context, request PingUserRequestObject) (PingUserResponseObject, error)
// List user saved searches
// (GET /v1/users/me/saved-searches)
ListUserSavedSearches(ctx context.Context, request ListUserSavedSearchesRequestObject) (ListUserSavedSearchesResponseObject, error)
// Remove bookmark status for a particular saved search.
// (DELETE /v1/users/me/saved-searches/{search_id}/bookmark_status)
RemoveUserSavedSearchBookmark(ctx context.Context, request RemoveUserSavedSearchBookmarkRequestObject) (RemoveUserSavedSearchBookmarkResponseObject, error)
// Add bookmark status for a particular saved search.
// (PUT /v1/users/me/saved-searches/{search_id}/bookmark_status)
PutUserSavedSearchBookmark(ctx context.Context, request PutUserSavedSearchBookmarkRequestObject) (PutUserSavedSearchBookmarkResponseObject, error)
// List subscriptions for a saved search
// (GET /v1/users/me/subscriptions)
ListSubscriptions(ctx context.Context, request ListSubscriptionsRequestObject) (ListSubscriptionsResponseObject, error)
// Create a subscription for a saved search
// (POST /v1/users/me/subscriptions)
CreateSubscription(ctx context.Context, request CreateSubscriptionRequestObject) (CreateSubscriptionResponseObject, error)
// Delete a subscription for a saved search
// (DELETE /v1/users/me/subscriptions/{subscription_id})
DeleteSubscription(ctx context.Context, request DeleteSubscriptionRequestObject) (DeleteSubscriptionResponseObject, error)
// Get a subscription for a saved search
// (GET /v1/users/me/subscriptions/{subscription_id})
GetSubscription(ctx context.Context, request GetSubscriptionRequestObject) (GetSubscriptionResponseObject, error)
// Update a subscription for a saved search
// (PATCH /v1/users/me/subscriptions/{subscription_id})
UpdateSubscription(ctx context.Context, request UpdateSubscriptionRequestObject) (UpdateSubscriptionResponseObject, error)
}
StrictServerInterface represents all server handlers.
type Subscription ¶
type Subscription struct {
// ChannelId Explicit Mode: Provide a specific channel ID. Required for manual channels (Webhook/Email). Mutually exclusive with 'channel_type'.
ChannelId *string `json:"channel_id,omitempty"`
// ChannelType Implicit Mode: Provide a channel type. Used for system-managed channels (e.g., 'rss') where the system automatically resolves or creates the channel. Mutually exclusive with 'channel_id'.
ChannelType *SubscriptionChannelType `json:"channel_type,omitempty"`
// Frequency The frequency for a subscription.
Frequency SubscriptionFrequency `json:"frequency"`
SavedSearchId string `json:"saved_search_id"`
Triggers []SubscriptionTriggerWritable `json:"triggers"`
}
Subscription defines model for Subscription.
type SubscriptionChannelType ¶
type SubscriptionChannelType string
SubscriptionChannelType Implicit Mode: Provide a channel type. Used for system-managed channels (e.g., 'rss') where the system automatically resolves or creates the channel. Mutually exclusive with 'channel_id'.
const (
SubscriptionChannelTypeRss SubscriptionChannelType = "rss"
)
Defines values for SubscriptionChannelType.
func (SubscriptionChannelType) Valid ¶
func (e SubscriptionChannelType) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionChannelType enum.
type SubscriptionFrequency ¶
type SubscriptionFrequency string
SubscriptionFrequency The frequency for a subscription.
const ( SubscriptionFrequencyImmediate SubscriptionFrequency = "immediate" SubscriptionFrequencyMonthly SubscriptionFrequency = "monthly" SubscriptionFrequencyWeekly SubscriptionFrequency = "weekly" )
Defines values for SubscriptionFrequency.
func (SubscriptionFrequency) Valid ¶
func (e SubscriptionFrequency) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionFrequency enum.
type SubscriptionPage ¶
type SubscriptionPage struct {
Data *[]SubscriptionResponse `json:"data,omitempty"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
SubscriptionPage defines model for SubscriptionPage.
type SubscriptionResponse ¶
type SubscriptionResponse struct {
ChannelId string `json:"channel_id"`
// ChannelType Self-describing type to allow the UI to identify the delivery mode without fetching the underlying channel.
ChannelType SubscriptionResponseChannelType `json:"channel_type"`
CreatedAt time.Time `json:"created_at"`
// Frequency The frequency for a subscription.
Frequency SubscriptionFrequency `json:"frequency"`
Id string `json:"id"`
Subscribable SavedSearchInfo `json:"subscribable"`
Triggers []SubscriptionTriggerResponseItem `json:"triggers"`
UpdatedAt time.Time `json:"updated_at"`
}
SubscriptionResponse defines model for SubscriptionResponse.
type SubscriptionResponseChannelType ¶
type SubscriptionResponseChannelType string
SubscriptionResponseChannelType Self-describing type to allow the UI to identify the delivery mode without fetching the underlying channel.
const ( SubscriptionResponseChannelTypeEmail SubscriptionResponseChannelType = "email" SubscriptionResponseChannelTypeRss SubscriptionResponseChannelType = "rss" SubscriptionResponseChannelTypeWebhook SubscriptionResponseChannelType = "webhook" )
Defines values for SubscriptionResponseChannelType.
func (SubscriptionResponseChannelType) Valid ¶
func (e SubscriptionResponseChannelType) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionResponseChannelType enum.
type SubscriptionTriggerResponseItem ¶
type SubscriptionTriggerResponseItem struct {
// RawValue The original, raw value from the database. Only present if the 'value' is 'unknown', allowing clients to identify and manage deprecated triggers.
RawValue *string `json:"raw_value,omitempty"`
// Value Represents a subscription trigger value. Includes 'unknown' for handling deprecated triggers.
Value SubscriptionTriggerResponseValue `json:"value"`
}
SubscriptionTriggerResponseItem Represents a single trigger in a subscription response, indicating its status.
type SubscriptionTriggerResponseValue ¶
type SubscriptionTriggerResponseValue struct {
// contains filtered or unexported fields
}
SubscriptionTriggerResponseValue Represents a subscription trigger value. Includes 'unknown' for handling deprecated triggers.
func (SubscriptionTriggerResponseValue) AsEnumUnknown ¶
func (t SubscriptionTriggerResponseValue) AsEnumUnknown() (EnumUnknown, error)
AsEnumUnknown returns the union data inside the SubscriptionTriggerResponseValue as a EnumUnknown
func (SubscriptionTriggerResponseValue) AsSubscriptionTriggerWritable ¶
func (t SubscriptionTriggerResponseValue) AsSubscriptionTriggerWritable() (SubscriptionTriggerWritable, error)
AsSubscriptionTriggerWritable returns the union data inside the SubscriptionTriggerResponseValue as a SubscriptionTriggerWritable
func (*SubscriptionTriggerResponseValue) FromEnumUnknown ¶
func (t *SubscriptionTriggerResponseValue) FromEnumUnknown(v EnumUnknown) error
FromEnumUnknown overwrites any union data inside the SubscriptionTriggerResponseValue as the provided EnumUnknown
func (*SubscriptionTriggerResponseValue) FromSubscriptionTriggerWritable ¶
func (t *SubscriptionTriggerResponseValue) FromSubscriptionTriggerWritable(v SubscriptionTriggerWritable) error
FromSubscriptionTriggerWritable overwrites any union data inside the SubscriptionTriggerResponseValue as the provided SubscriptionTriggerWritable
func (SubscriptionTriggerResponseValue) MarshalJSON ¶
func (t SubscriptionTriggerResponseValue) MarshalJSON() ([]byte, error)
func (*SubscriptionTriggerResponseValue) MergeEnumUnknown ¶
func (t *SubscriptionTriggerResponseValue) MergeEnumUnknown(v EnumUnknown) error
MergeEnumUnknown performs a merge with any union data inside the SubscriptionTriggerResponseValue, using the provided EnumUnknown
func (*SubscriptionTriggerResponseValue) MergeSubscriptionTriggerWritable ¶
func (t *SubscriptionTriggerResponseValue) MergeSubscriptionTriggerWritable(v SubscriptionTriggerWritable) error
MergeSubscriptionTriggerWritable performs a merge with any union data inside the SubscriptionTriggerResponseValue, using the provided SubscriptionTriggerWritable
func (*SubscriptionTriggerResponseValue) UnmarshalJSON ¶
func (t *SubscriptionTriggerResponseValue) UnmarshalJSON(b []byte) error
type SubscriptionTriggerWritable ¶
type SubscriptionTriggerWritable string
SubscriptionTriggerWritable The set of valid, user-selectable triggers for a subscription.
const ( SubscriptionTriggerFeatureBaselineRegressionToLimited SubscriptionTriggerWritable = "feature_baseline_regression_to_limited" SubscriptionTriggerFeatureBaselineToNewly SubscriptionTriggerWritable = "feature_baseline_to_newly" SubscriptionTriggerFeatureBaselineToWidely SubscriptionTriggerWritable = "feature_baseline_to_widely" SubscriptionTriggerFeatureBrowserImplementationAnyComplete SubscriptionTriggerWritable = "feature_browser_implementation_any_complete" )
Defines values for SubscriptionTriggerWritable.
func (SubscriptionTriggerWritable) Valid ¶
func (e SubscriptionTriggerWritable) Valid() bool
Valid indicates whether the value is a known member of the SubscriptionTriggerWritable enum.
type SupportedBrowsers ¶
type SupportedBrowsers string
SupportedBrowsers List of supported browsers that webstatus.dev currently ingests
const ( Chrome SupportedBrowsers = "chrome" ChromeAndroid SupportedBrowsers = "chrome_android" Edge SupportedBrowsers = "edge" Firefox SupportedBrowsers = "firefox" FirefoxAndroid SupportedBrowsers = "firefox_android" Safari SupportedBrowsers = "safari" SafariIos SupportedBrowsers = "safari_ios" )
Defines values for SupportedBrowsers.
func (SupportedBrowsers) Valid ¶
func (e SupportedBrowsers) Valid() bool
Valid indicates whether the value is a known member of the SupportedBrowsers enum.
type TooManyValuesForParamError ¶
func (*TooManyValuesForParamError) Error ¶
func (e *TooManyValuesForParamError) Error() string
type UnescapedCookieParamError ¶
func (*UnescapedCookieParamError) Error ¶
func (e *UnescapedCookieParamError) Error() string
func (*UnescapedCookieParamError) Unwrap ¶
func (e *UnescapedCookieParamError) Unwrap() error
type UnmarshalingParamError ¶
func (*UnmarshalingParamError) Error ¶
func (e *UnmarshalingParamError) Error() string
func (*UnmarshalingParamError) Unwrap ¶
func (e *UnmarshalingParamError) Unwrap() error
type UpdateNotificationChannel200JSONResponse ¶
type UpdateNotificationChannel200JSONResponse NotificationChannelResponse
func (UpdateNotificationChannel200JSONResponse) VisitUpdateNotificationChannelResponse ¶
func (response UpdateNotificationChannel200JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
type UpdateNotificationChannel400JSONResponse ¶
type UpdateNotificationChannel400JSONResponse ExtendedErrorModel
func (UpdateNotificationChannel400JSONResponse) VisitUpdateNotificationChannelResponse ¶
func (response UpdateNotificationChannel400JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
type UpdateNotificationChannel401JSONResponse ¶
type UpdateNotificationChannel401JSONResponse BasicErrorModel
func (UpdateNotificationChannel401JSONResponse) VisitUpdateNotificationChannelResponse ¶
func (response UpdateNotificationChannel401JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
type UpdateNotificationChannel403JSONResponse ¶
type UpdateNotificationChannel403JSONResponse BasicErrorModel
func (UpdateNotificationChannel403JSONResponse) VisitUpdateNotificationChannelResponse ¶
func (response UpdateNotificationChannel403JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
type UpdateNotificationChannel404JSONResponse ¶
type UpdateNotificationChannel404JSONResponse BasicErrorModel
func (UpdateNotificationChannel404JSONResponse) VisitUpdateNotificationChannelResponse ¶
func (response UpdateNotificationChannel404JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
type UpdateNotificationChannel500JSONResponse ¶
type UpdateNotificationChannel500JSONResponse BasicErrorModel
func (UpdateNotificationChannel500JSONResponse) VisitUpdateNotificationChannelResponse ¶
func (response UpdateNotificationChannel500JSONResponse) VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
type UpdateNotificationChannelJSONRequestBody ¶
type UpdateNotificationChannelJSONRequestBody = UpdateNotificationChannelRequest
UpdateNotificationChannelJSONRequestBody defines body for UpdateNotificationChannel for application/json ContentType.
type UpdateNotificationChannelRequest ¶
type UpdateNotificationChannelRequest struct {
// Config Configuration specific to the channel type.
Config *UpdateNotificationChannelRequest_Config `json:"config,omitempty"`
Name *string `json:"name,omitempty"`
// UpdateMask A list of fields to update. Required. Allowed values are: `name`, `config`.
UpdateMask []UpdateNotificationChannelRequestUpdateMask `json:"update_mask"`
}
UpdateNotificationChannelRequest defines model for UpdateNotificationChannelRequest.
type UpdateNotificationChannelRequestObject ¶
type UpdateNotificationChannelRequestObject struct {
ChannelId string `json:"channel_id"`
Body *UpdateNotificationChannelJSONRequestBody
}
type UpdateNotificationChannelRequestUpdateMask ¶
type UpdateNotificationChannelRequestUpdateMask string
UpdateNotificationChannelRequestUpdateMask defines model for UpdateNotificationChannelRequest.UpdateMask.
const ( UpdateNotificationChannelRequestMaskConfig UpdateNotificationChannelRequestUpdateMask = "config" UpdateNotificationChannelRequestMaskName UpdateNotificationChannelRequestUpdateMask = "name" )
Defines values for UpdateNotificationChannelRequestUpdateMask.
func (UpdateNotificationChannelRequestUpdateMask) Valid ¶
func (e UpdateNotificationChannelRequestUpdateMask) Valid() bool
Valid indicates whether the value is a known member of the UpdateNotificationChannelRequestUpdateMask enum.
type UpdateNotificationChannelRequest_Config ¶
type UpdateNotificationChannelRequest_Config struct {
// contains filtered or unexported fields
}
UpdateNotificationChannelRequest_Config Configuration specific to the channel type.
func (UpdateNotificationChannelRequest_Config) AsRSSConfig ¶
func (t UpdateNotificationChannelRequest_Config) AsRSSConfig() (RSSConfig, error)
AsRSSConfig returns the union data inside the UpdateNotificationChannelRequest_Config as a RSSConfig
func (UpdateNotificationChannelRequest_Config) AsWebhookConfig ¶
func (t UpdateNotificationChannelRequest_Config) AsWebhookConfig() (WebhookConfig, error)
AsWebhookConfig returns the union data inside the UpdateNotificationChannelRequest_Config as a WebhookConfig
func (UpdateNotificationChannelRequest_Config) Discriminator ¶
func (t UpdateNotificationChannelRequest_Config) Discriminator() (string, error)
func (*UpdateNotificationChannelRequest_Config) FromRSSConfig ¶
func (t *UpdateNotificationChannelRequest_Config) FromRSSConfig(v RSSConfig) error
FromRSSConfig overwrites any union data inside the UpdateNotificationChannelRequest_Config as the provided RSSConfig
func (*UpdateNotificationChannelRequest_Config) FromWebhookConfig ¶
func (t *UpdateNotificationChannelRequest_Config) FromWebhookConfig(v WebhookConfig) error
FromWebhookConfig overwrites any union data inside the UpdateNotificationChannelRequest_Config as the provided WebhookConfig
func (UpdateNotificationChannelRequest_Config) MarshalJSON ¶
func (t UpdateNotificationChannelRequest_Config) MarshalJSON() ([]byte, error)
func (*UpdateNotificationChannelRequest_Config) MergeRSSConfig ¶
func (t *UpdateNotificationChannelRequest_Config) MergeRSSConfig(v RSSConfig) error
MergeRSSConfig performs a merge with any union data inside the UpdateNotificationChannelRequest_Config, using the provided RSSConfig
func (*UpdateNotificationChannelRequest_Config) MergeWebhookConfig ¶
func (t *UpdateNotificationChannelRequest_Config) MergeWebhookConfig(v WebhookConfig) error
MergeWebhookConfig performs a merge with any union data inside the UpdateNotificationChannelRequest_Config, using the provided WebhookConfig
func (*UpdateNotificationChannelRequest_Config) UnmarshalJSON ¶
func (t *UpdateNotificationChannelRequest_Config) UnmarshalJSON(b []byte) error
func (UpdateNotificationChannelRequest_Config) ValueByDiscriminator ¶
func (t UpdateNotificationChannelRequest_Config) ValueByDiscriminator() (interface{}, error)
type UpdateNotificationChannelResponseObject ¶
type UpdateNotificationChannelResponseObject interface {
VisitUpdateNotificationChannelResponse(w http.ResponseWriter) error
}
type UpdateSavedSearch200JSONResponse ¶
type UpdateSavedSearch200JSONResponse SavedSearchResponse
func (UpdateSavedSearch200JSONResponse) VisitUpdateSavedSearchResponse ¶
func (response UpdateSavedSearch200JSONResponse) VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
type UpdateSavedSearch400JSONResponse ¶
type UpdateSavedSearch400JSONResponse ExtendedErrorModel
func (UpdateSavedSearch400JSONResponse) VisitUpdateSavedSearchResponse ¶
func (response UpdateSavedSearch400JSONResponse) VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
type UpdateSavedSearch401JSONResponse ¶
type UpdateSavedSearch401JSONResponse BasicErrorModel
func (UpdateSavedSearch401JSONResponse) VisitUpdateSavedSearchResponse ¶
func (response UpdateSavedSearch401JSONResponse) VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
type UpdateSavedSearch403JSONResponse ¶
type UpdateSavedSearch403JSONResponse BasicErrorModel
func (UpdateSavedSearch403JSONResponse) VisitUpdateSavedSearchResponse ¶
func (response UpdateSavedSearch403JSONResponse) VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
type UpdateSavedSearch404JSONResponse ¶
type UpdateSavedSearch404JSONResponse BasicErrorModel
func (UpdateSavedSearch404JSONResponse) VisitUpdateSavedSearchResponse ¶
func (response UpdateSavedSearch404JSONResponse) VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
type UpdateSavedSearch500JSONResponse ¶
type UpdateSavedSearch500JSONResponse BasicErrorModel
func (UpdateSavedSearch500JSONResponse) VisitUpdateSavedSearchResponse ¶
func (response UpdateSavedSearch500JSONResponse) VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
type UpdateSavedSearchJSONRequestBody ¶
type UpdateSavedSearchJSONRequestBody = SavedSearchUpdateRequest
UpdateSavedSearchJSONRequestBody defines body for UpdateSavedSearch for application/json ContentType.
type UpdateSavedSearchRequestObject ¶
type UpdateSavedSearchRequestObject struct {
SearchId string `json:"search_id"`
Body *UpdateSavedSearchJSONRequestBody
}
type UpdateSavedSearchResponseObject ¶
type UpdateSavedSearchResponseObject interface {
VisitUpdateSavedSearchResponse(w http.ResponseWriter) error
}
type UpdateSubscription200JSONResponse ¶
type UpdateSubscription200JSONResponse SubscriptionResponse
func (UpdateSubscription200JSONResponse) VisitUpdateSubscriptionResponse ¶
func (response UpdateSubscription200JSONResponse) VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
type UpdateSubscription400JSONResponse ¶
type UpdateSubscription400JSONResponse ExtendedErrorModel
func (UpdateSubscription400JSONResponse) VisitUpdateSubscriptionResponse ¶
func (response UpdateSubscription400JSONResponse) VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
type UpdateSubscription401JSONResponse ¶
type UpdateSubscription401JSONResponse BasicErrorModel
func (UpdateSubscription401JSONResponse) VisitUpdateSubscriptionResponse ¶
func (response UpdateSubscription401JSONResponse) VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
type UpdateSubscription403JSONResponse ¶
type UpdateSubscription403JSONResponse BasicErrorModel
func (UpdateSubscription403JSONResponse) VisitUpdateSubscriptionResponse ¶
func (response UpdateSubscription403JSONResponse) VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
type UpdateSubscription404JSONResponse ¶
type UpdateSubscription404JSONResponse BasicErrorModel
func (UpdateSubscription404JSONResponse) VisitUpdateSubscriptionResponse ¶
func (response UpdateSubscription404JSONResponse) VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
type UpdateSubscription500JSONResponse ¶
type UpdateSubscription500JSONResponse BasicErrorModel
func (UpdateSubscription500JSONResponse) VisitUpdateSubscriptionResponse ¶
func (response UpdateSubscription500JSONResponse) VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
type UpdateSubscriptionJSONRequestBody ¶
type UpdateSubscriptionJSONRequestBody = UpdateSubscriptionRequest
UpdateSubscriptionJSONRequestBody defines body for UpdateSubscription for application/json ContentType.
type UpdateSubscriptionRequest ¶
type UpdateSubscriptionRequest struct {
// Frequency The frequency for a subscription.
Frequency *SubscriptionFrequency `json:"frequency,omitempty"`
Triggers *[]SubscriptionTriggerWritable `json:"triggers,omitempty"`
// UpdateMask A list of fields to update. Required. Allowed values are: `triggers`, `frequency`.
UpdateMask []UpdateSubscriptionRequestUpdateMask `json:"update_mask"`
}
UpdateSubscriptionRequest defines model for UpdateSubscriptionRequest.
type UpdateSubscriptionRequestObject ¶
type UpdateSubscriptionRequestObject struct {
SubscriptionId string `json:"subscription_id"`
Body *UpdateSubscriptionJSONRequestBody
}
type UpdateSubscriptionRequestUpdateMask ¶
type UpdateSubscriptionRequestUpdateMask string
UpdateSubscriptionRequestUpdateMask defines model for UpdateSubscriptionRequest.UpdateMask.
const ( UpdateSubscriptionRequestMaskFrequency UpdateSubscriptionRequestUpdateMask = "frequency" UpdateSubscriptionRequestMaskTriggers UpdateSubscriptionRequestUpdateMask = "triggers" )
Defines values for UpdateSubscriptionRequestUpdateMask.
func (UpdateSubscriptionRequestUpdateMask) Valid ¶
func (e UpdateSubscriptionRequestUpdateMask) Valid() bool
Valid indicates whether the value is a known member of the UpdateSubscriptionRequestUpdateMask enum.
type UpdateSubscriptionResponseObject ¶
type UpdateSubscriptionResponseObject interface {
VisitUpdateSubscriptionResponse(w http.ResponseWriter) error
}
type UserSavedSearchBookmark ¶
type UserSavedSearchBookmark struct {
// Status The bookmark status for a saved search for a user.
Status UserSavedSearchBookmarkStatus `json:"status"`
}
UserSavedSearchBookmark defines model for UserSavedSearchBookmark.
type UserSavedSearchBookmarkStatus ¶
type UserSavedSearchBookmarkStatus string
UserSavedSearchBookmarkStatus The bookmark status for a saved search for a user.
const ( BookmarkActive UserSavedSearchBookmarkStatus = "bookmark_active" BookmarkNone UserSavedSearchBookmarkStatus = "bookmark_none" )
Defines values for UserSavedSearchBookmarkStatus.
func (UserSavedSearchBookmarkStatus) Valid ¶
func (e UserSavedSearchBookmarkStatus) Valid() bool
Valid indicates whether the value is a known member of the UserSavedSearchBookmarkStatus enum.
type UserSavedSearchPage ¶
type UserSavedSearchPage struct {
Data *[]SavedSearchResponse `json:"data,omitempty"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
UserSavedSearchPage defines model for UserSavedSearchPage.
type UserSavedSearchPermissions ¶
type UserSavedSearchPermissions struct {
Role *UserSavedSearchRole `json:"role,omitempty"`
}
UserSavedSearchPermissions defines model for UserSavedSearchPermissions.
type UserSavedSearchRole ¶
type UserSavedSearchRole string
UserSavedSearchRole defines model for UserSavedSearchRole.
const (
SavedSearchOwner UserSavedSearchRole = "saved_search_owner"
)
Defines values for UserSavedSearchRole.
func (UserSavedSearchRole) Valid ¶
func (e UserSavedSearchRole) Valid() bool
Valid indicates whether the value is a known member of the UserSavedSearchRole enum.
type VendorPosition ¶
type VendorPosition map[string]interface{}
VendorPosition A loosely defined object representing a single vendor's standards position. The schema is intentionally open-ended (`additionalProperties: true`) to accommodate the evolving structure of the upstream web-features-mappings data source.
type WPTFeatureData ¶
type WPTFeatureData struct {
// Metadata Contains optional metadata about the metric. This key-value pair is to be considered unstable and can change at any moment. If a field here becomes mature, we can add it to the main WPTFeatureData definition.
Metadata *map[string]interface{} `json:"metadata,omitempty"`
Score *float64 `json:"score,omitempty"`
}
WPTFeatureData defines model for WPTFeatureData.
type WPTMetricView ¶
type WPTMetricView string
WPTMetricView The desired view of the WPT Data
const ( SubtestCounts WPTMetricView = "subtest_counts" TestCounts WPTMetricView = "test_counts" )
Defines values for WPTMetricView.
func (WPTMetricView) Valid ¶
func (e WPTMetricView) Valid() bool
Valid indicates whether the value is a known member of the WPTMetricView enum.
type WPTRunMetric ¶
type WPTRunMetric struct {
// RunTimestamp The start timestamp of the run.
RunTimestamp time.Time `json:"run_timestamp"`
// TestPassCount Number of passing tests
TestPassCount *int64 `json:"test_pass_count,omitempty"`
// TotalTestsCount Total number of tests
TotalTestsCount *int64 `json:"total_tests_count,omitempty"`
}
WPTRunMetric defines model for WPTRunMetric.
type WPTRunMetricsPage ¶
type WPTRunMetricsPage struct {
Data []WPTRunMetric `json:"data"`
Metadata *PageMetadata `json:"metadata,omitempty"`
}
WPTRunMetricsPage defines model for WPTRunMetricsPage.
type WebhookConfig ¶
type WebhookConfig struct {
Type WebhookConfigType `json:"type"`
// Url The webhook URL. Currently, only Slack URLs are supported.
Url string `json:"url"`
}
WebhookConfig defines model for WebhookConfig.
type WebhookConfigType ¶
type WebhookConfigType string
WebhookConfigType defines model for WebhookConfig.Type.
const (
Webhook WebhookConfigType = "webhook"
)
Defines values for WebhookConfigType.
func (WebhookConfigType) Valid ¶
func (e WebhookConfigType) Valid() bool
Valid indicates whether the value is a known member of the WebhookConfigType enum.