const ( AccountAddMemberSetupRoleOwner string = "Owner" AccountAddMemberSetupRoleDeveloper string = "Developer" AccountAddMemberSetupRoleBillingAdmin string = "Billing Admin" AccountAddMemberSetupRoleReviewer string = "Reviewer" )View Source
const ( AccountUpdateMemberSetupRoleOwner string = "Owner" AccountUpdateMemberSetupRoleDeveloper string = "Developer" AccountUpdateMemberSetupRoleBillingAdmin string = "Billing Admin" AccountUpdateMemberSetupRoleReviewer string = "Reviewer" )View Source
const ( AccountUpdateMemberSetupSiteAccessAll string = "all" AccountUpdateMemberSetupSiteAccessNone string = "none" AccountUpdateMemberSetupSiteAccessSelected string = "selected" )View Source
const ( BuildLogMsgSectionInitializing string = "initializing" BuildLogMsgSectionBuilding string = "building" BuildLogMsgSectionDeploying string = "deploying" BuildLogMsgSectionCleanup string = "cleanup" BuildLogMsgSectionPostprocessing string = "postprocessing" )View Source
const ( DevServerHookTypeNewDevServer string = "new_dev_server" DevServerHookTypeContentRefresh string = "content_refresh" )View Source
const ( DevServerHookSetupTypeNewDevServer string = "new_dev_server" DevServerHookSetupTypeContentRefresh string = "content_refresh" )View Source
const ( EnvVarValueContextAll string = "all" EnvVarValueContextDev string = "dev" EnvVarValueContextBranchDeploy string = "branch-deploy" EnvVarValueContextDeployPreview string = "deploy-preview" EnvVarValueContextProduction string = "production" EnvVarValueContextBranch string = "branch" )View Source
const ( SetEnvVarValueParamsBodyContextAll string = "all" SetEnvVarValueParamsBodyContextDev string = "dev" SetEnvVarValueParamsBodyContextBranchDeploy string = "branch-deploy" SetEnvVarValueParamsBodyContextDeployPreview string = "deploy-preview" SetEnvVarValueParamsBodyContextProduction string = "production" SetEnvVarValueParamsBodyContextBranch string = "branch" )View Source
const ( TrafficRulesAggregateConfigKeysItemsTypeIP string = "ip" TrafficRulesAggregateConfigKeysItemsTypeDomain string = "domain" )View Source
const ( TrafficRulesRateLimitConfigAlgorithmSlidingWindow string = "sliding_window" )
This section is empty.
This section is empty.
type AccessToken struct { AccessToken string `json:"access_token,omitempty"` CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` UserEmail string `json:"user_email,omitempty"` UserID string `json:"user_id,omitempty"` }
AccessToken access token
swagger:model accessToken
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this access token
type AccountAddMemberSetup struct { Email string `json:"email,omitempty"` Role string `json:"role,omitempty"` }
AccountAddMemberSetup account add member setup
swagger:model accountAddMemberSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account add member setup
type AccountMembership struct { BillingDetails string `json:"billing_details,omitempty"` BillingEmail string `json:"billing_email,omitempty"` BillingName string `json:"billing_name,omitempty"` BillingPeriod string `json:"billing_period,omitempty"` Capabilities *AccountMembershipCapabilities `json:"capabilities,omitempty"` CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` OwnerIds []string `json:"owner_ids"` PaymentMethodID string `json:"payment_method_id,omitempty"` RolesAllowed []string `json:"roles_allowed"` Slug string `json:"slug,omitempty"` Type string `json:"type,omitempty"` TypeID string `json:"type_id,omitempty"` TypeName string `json:"type_name,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` }
AccountMembership account membership
swagger:model accountMembership
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account membership
AccountMembershipCapabilities account membership capabilities
swagger:model accountMembershipCapabilities
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account membership capabilities
type AccountSetup struct { ExtraSeatsBlock int64 `json:"extra_seats_block,omitempty"` Name *string `json:"name"` PaymentMethodID string `json:"payment_method_id,omitempty"` Period string `json:"period,omitempty"` TypeID *string `json:"type_id"` }
AccountSetup account setup
swagger:model accountSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account setup
type AccountType struct { Capabilities interface{} `json:"capabilities,omitempty"` Description string `json:"description,omitempty"` ID string `json:"id,omitempty"` MonthlyDollarPrice int64 `json:"monthly_dollar_price,omitempty"` MonthlySeatsAddonDollarPrice int64 `json:"monthly_seats_addon_dollar_price,omitempty"` Name string `json:"name,omitempty"` YearlyDollarPrice int64 `json:"yearly_dollar_price,omitempty"` YearlySeatsAddonDollarPrice int64 `json:"yearly_seats_addon_dollar_price,omitempty"` }
AccountType account type
swagger:model accountType
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account type
type AccountUpdateMemberSetup struct { Role string `json:"role,omitempty"` SiteAccess string `json:"site_access,omitempty"` SiteIds []string `json:"site_ids"` }
AccountUpdateMemberSetup account update member setup
swagger:model accountUpdateMemberSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account update member setup
type AccountUpdateSetup struct { BillingDetails string `json:"billing_details,omitempty"` BillingEmail string `json:"billing_email,omitempty"` BillingName string `json:"billing_name,omitempty"` ExtraSeatsBlock int64 `json:"extra_seats_block,omitempty"` Name string `json:"name,omitempty"` Slug string `json:"slug,omitempty"` TypeID string `json:"type_id,omitempty"` }
AccountUpdateSetup account update setup
swagger:model accountUpdateSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account update setup
type AccountUsageCapability struct { Included int64 `json:"included,omitempty"` Used int64 `json:"used,omitempty"` }
AccountUsageCapability account usage capability
swagger:model accountUsageCapability
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this account usage capability
type Asset struct { ContentType string `json:"content_type,omitempty"` CreatedAt string `json:"created_at,omitempty"` CreatorID string `json:"creator_id,omitempty"` ID string `json:"id,omitempty"` Key string `json:"key,omitempty"` Name string `json:"name,omitempty"` SiteID string `json:"site_id,omitempty"` Size int64 `json:"size,omitempty"` State string `json:"state,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` URL string `json:"url,omitempty"` Visibility string `json:"visibility,omitempty"` }
Asset asset
swagger:model asset
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this asset
type AssetForm struct { Fields map[string]string `json:"fields,omitempty"` URL string `json:"url,omitempty"` }
AssetForm asset form
swagger:model assetForm
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this asset form
type AssetPublicSignature struct { URL string `json:"url,omitempty"` }
AssetPublicSignature asset public signature
swagger:model assetPublicSignature
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this asset public signature
type AssetSignature struct { Asset *Asset `json:"asset,omitempty"` Form *AssetForm `json:"form,omitempty"` }
AssetSignature asset signature
swagger:model assetSignature
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this asset signature
type AuditLog struct { AccountID string `json:"account_id,omitempty"` ID string `json:"id,omitempty"` Payload *AuditLogPayload `json:"payload,omitempty"` }
AuditLog audit log
swagger:model auditLog
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this audit log
type AuditLogPayload struct { Action string `json:"action,omitempty"` ActorEmail string `json:"actor_email,omitempty"` ActorID string `json:"actor_id,omitempty"` ActorName string `json:"actor_name,omitempty"` LogType string `json:"log_type,omitempty"` Timestamp string `json:"timestamp,omitempty"` AuditLogPayload map[string]interface{} `json:"-"` }
AuditLogPayload audit log payload
swagger:model auditLogPayload
MarshalBinary interface implementation
MarshalJSON marshals this object with additional properties into a JSON object
UnmarshalBinary interface implementation
UnmarshalJSON unmarshals this object with additional properties from JSON
Validate validates this audit log payload
type Build struct { CreatedAt string `json:"created_at,omitempty"` DeployID string `json:"deploy_id,omitempty"` Done bool `json:"done,omitempty"` Error string `json:"error,omitempty"` ID string `json:"id,omitempty"` Sha string `json:"sha,omitempty"` }
Build build
swagger:model build
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build
type BuildHook struct { Branch string `json:"branch,omitempty"` CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` SiteID string `json:"site_id,omitempty"` Title string `json:"title,omitempty"` URL string `json:"url,omitempty"` }
BuildHook build hook
swagger:model buildHook
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build hook
type BuildHookSetup struct { Branch string `json:"branch,omitempty"` Title string `json:"title,omitempty"` }
BuildHookSetup build hook setup
swagger:model buildHookSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build hook setup
type BuildLogMsg struct { Error bool `json:"error,omitempty"` Message string `json:"message,omitempty"` Section string `json:"section,omitempty"` }
BuildLogMsg build log msg
swagger:model buildLogMsg
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build log msg
type BuildSetup struct { ClearCache bool `json:"clear_cache,omitempty"` Image string `json:"image,omitempty"` }
BuildSetup build setup
swagger:model buildSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build setup
type BuildStatus struct { Active int64 `json:"active,omitempty"` BuildCount int64 `json:"build_count,omitempty"` Enqueued int64 `json:"enqueued,omitempty"` Minutes *BuildStatusMinutes `json:"minutes,omitempty"` PendingConcurrency int64 `json:"pending_concurrency,omitempty"` }
BuildStatus build status
swagger:model buildStatus
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build status
type BuildStatusMinutes struct { Current int64 `json:"current,omitempty"` CurrentAverageSec int64 `json:"current_average_sec,omitempty"` IncludedMinutes string `json:"included_minutes,omitempty"` IncludedMinutesWithPacks string `json:"included_minutes_with_packs,omitempty"` LastUpdatedAt string `json:"last_updated_at,omitempty"` PeriodEndDate string `json:"period_end_date,omitempty"` PeriodStartDate string `json:"period_start_date,omitempty"` Previous int64 `json:"previous,omitempty"` }
BuildStatusMinutes build status minutes
swagger:model buildStatusMinutes
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this build status minutes
type CreateEnvVarsParamsBodyItems ¶ added in v2.10.0type CreateEnvVarsParamsBodyItems struct { IsSecret bool `json:"is_secret,omitempty"` Key string `json:"key,omitempty"` Scopes []string `json:"scopes"` Values []*EnvVarValue `json:"values"` }
CreateEnvVarsParamsBodyItems create env vars params body items
swagger:model createEnvVarsParamsBodyItems
func (*CreateEnvVarsParamsBodyItems) MarshalBinary ¶ added in v2.10.0MarshalBinary interface implementation
func (*CreateEnvVarsParamsBodyItems) UnmarshalBinary ¶ added in v2.10.0UnmarshalBinary interface implementation
func (*CreateEnvVarsParamsBodyItems) Validate ¶ added in v2.10.0Validate validates this create env vars params body items
type DNSRecord struct { DNSZoneID string `json:"dns_zone_id,omitempty"` Flag int64 `json:"flag,omitempty"` Hostname string `json:"hostname,omitempty"` ID string `json:"id,omitempty"` Managed bool `json:"managed,omitempty"` Priority int64 `json:"priority,omitempty"` SiteID string `json:"site_id,omitempty"` Tag string `json:"tag,omitempty"` TTL int64 `json:"ttl,omitempty"` Type string `json:"type,omitempty"` Value string `json:"value,omitempty"` }
DNSRecord dns record
swagger:model dnsRecord
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dns record
type DNSRecordCreate struct { Flag int64 `json:"flag,omitempty"` Hostname string `json:"hostname,omitempty"` Port int64 `json:"port,omitempty"` Priority int64 `json:"priority,omitempty"` Tag string `json:"tag,omitempty"` TTL int64 `json:"ttl,omitempty"` Type string `json:"type,omitempty"` Value string `json:"value,omitempty"` Weight int64 `json:"weight,omitempty"` }
DNSRecordCreate dns record create
swagger:model dnsRecordCreate
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dns record create
DNSRecords dns records
swagger:model dnsRecords
Validate validates this dns records
type DNSZone struct { AccountID string `json:"account_id,omitempty"` AccountName string `json:"account_name,omitempty"` AccountSlug string `json:"account_slug,omitempty"` CreatedAt string `json:"created_at,omitempty"` Dedicated bool `json:"dedicated,omitempty"` DNSServers []string `json:"dns_servers"` Domain string `json:"domain,omitempty"` Errors []string `json:"errors"` ID string `json:"id,omitempty"` IPV6Enabled bool `json:"ipv6_enabled,omitempty"` Name string `json:"name,omitempty"` Records []*DNSRecord `json:"records"` SiteID string `json:"site_id,omitempty"` SupportedRecordTypes []string `json:"supported_record_types"` UpdatedAt string `json:"updated_at,omitempty"` UserID string `json:"user_id,omitempty"` }
DNSZone dns zone
swagger:model dnsZone
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dns zone
type DNSZoneSetup struct { AccountSlug string `json:"account_slug,omitempty"` Name string `json:"name,omitempty"` SiteID string `json:"site_id,omitempty"` }
DNSZoneSetup dns zone setup
swagger:model dnsZoneSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dns zone setup
DNSZones dns zones
swagger:model dnsZones
Validate validates this dns zones
type Deploy struct { AdminURL string `json:"admin_url,omitempty"` Branch string `json:"branch,omitempty"` BuildID string `json:"build_id,omitempty"` CommitRef string `json:"commit_ref,omitempty"` CommitURL string `json:"commit_url,omitempty"` Context string `json:"context,omitempty"` CreatedAt string `json:"created_at,omitempty"` DeploySslURL string `json:"deploy_ssl_url,omitempty"` DeployURL string `json:"deploy_url,omitempty"` Draft bool `json:"draft,omitempty"` ErrorMessage string `json:"error_message,omitempty"` Framework string `json:"framework,omitempty"` FunctionSchedules []*FunctionSchedule `json:"function_schedules"` ID string `json:"id,omitempty"` Locked bool `json:"locked,omitempty"` Name string `json:"name,omitempty"` PublishedAt string `json:"published_at,omitempty"` Required []string `json:"required"` RequiredFunctions []string `json:"required_functions"` ReviewID float64 `json:"review_id,omitempty"` ReviewURL string `json:"review_url,omitempty"` ScreenshotURL string `json:"screenshot_url,omitempty"` SiteID string `json:"site_id,omitempty"` Skipped bool `json:"skipped,omitempty"` SslURL string `json:"ssl_url,omitempty"` State string `json:"state,omitempty"` Title string `json:"title,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` URL string `json:"url,omitempty"` UserID string `json:"user_id,omitempty"` }
Deploy deploy
swagger:model deploy
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deploy
type DeployFiles struct { Async bool `json:"async,omitempty"` Branch string `json:"branch,omitempty"` Draft bool `json:"draft,omitempty"` Files interface{} `json:"files,omitempty"` Framework string `json:"framework,omitempty"` FrameworkVersion string `json:"framework_version,omitempty"` FunctionSchedules []*FunctionSchedule `json:"function_schedules"` Functions interface{} `json:"functions,omitempty"` FunctionsConfig map[string]FunctionConfig `json:"functions_config,omitempty"` }
DeployFiles deploy files
swagger:model deployFiles
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deploy files
type DeployKey struct { CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` PublicKey string `json:"public_key,omitempty"` }
DeployKey deploy key
swagger:model deployKey
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deploy key
type DeploySiteCapabilities struct { LargeMediaEnabled bool `json:"large_media_enabled,omitempty"` }
DeploySiteCapabilities deploy site capabilities
swagger:model deploySiteCapabilities
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deploy site capabilities
DeployValidationsReport deploy validations report
swagger:model DeployValidationsReport
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deploy validations report
type DeployValidationsReportSecretScanResult struct { ScannedFilesCount int64 `json:"scannedFilesCount,omitempty"` SecretsScanMatches []string `json:"secretsScanMatches"` }
DeployValidationsReportSecretScanResult deploy validations report secret scan result
swagger:model DeployValidationsReport_SecretScanResult
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deploy validations report secret scan result
type DeployedBranch struct { DeployID string `json:"deploy_id,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Slug string `json:"slug,omitempty"` SslURL string `json:"ssl_url,omitempty"` URL string `json:"url,omitempty"` }
DeployedBranch deployed branch
swagger:model deployedBranch
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this deployed branch
type DevServer struct { Branch string `json:"branch,omitempty"` CreatedAt string `json:"created_at,omitempty"` DoneAt string `json:"done_at,omitempty"` ErrorAt string `json:"error_at,omitempty"` ID string `json:"id,omitempty"` LiveAt string `json:"live_at,omitempty"` SiteID string `json:"site_id,omitempty"` StartingAt string `json:"starting_at,omitempty"` State string `json:"state,omitempty"` Title string `json:"title,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` URL string `json:"url,omitempty"` }
DevServer dev server
swagger:model devServer
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dev server
type DevServerHook struct { Branch string `json:"branch,omitempty"` CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` SiteID string `json:"site_id,omitempty"` Title string `json:"title,omitempty"` Type string `json:"type,omitempty"` URL string `json:"url,omitempty"` }
DevServerHook dev server hook
swagger:model devServerHook
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dev server hook
type DevServerHookSetup struct { Branch string `json:"branch,omitempty"` Title string `json:"title,omitempty"` Type string `json:"type,omitempty"` }
DevServerHookSetup dev server hook setup
swagger:model devServerHookSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this dev server hook setup
type EnvVar struct { IsSecret bool `json:"is_secret,omitempty"` Key string `json:"key,omitempty"` Scopes []string `json:"scopes"` UpdatedAt strfmt.DateTime `json:"updated_at,omitempty"` UpdatedBy *EnvVarUser `json:"updated_by,omitempty"` Values []*EnvVarValue `json:"values"` }
EnvVar Environment variable model definition
swagger:model envVar
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this env var
type EnvVarUser struct { AvatarURL string `json:"avatar_url,omitempty"` Email string `json:"email,omitempty"` FullName string `json:"full_name,omitempty"` ID string `json:"id,omitempty"` }
EnvVarUser env var user
swagger:model envVarUser
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this env var user
type EnvVarValue struct { Context string `json:"context,omitempty"` ContextParameter string `json:"context_parameter,omitempty"` ID string `json:"id,omitempty"` Value string `json:"value,omitempty"` }
EnvVarValue Environment variable value model definition
swagger:model envVarValue
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this env var value
type Error struct { Code int64 `json:"code,omitempty"` Message string `json:"message"` }
Error error
swagger:model error
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this error
type ExcludedFunctionRoute struct { Expression string `json:"expression,omitempty"` Literal string `json:"literal,omitempty"` Pattern string `json:"pattern,omitempty"` }
ExcludedFunctionRoute excluded function route
swagger:model excludedFunctionRoute
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this excluded function route
type File struct { ID string `json:"id,omitempty"` MimeType string `json:"mime_type,omitempty"` Path string `json:"path,omitempty"` Sha string `json:"sha,omitempty"` Size int64 `json:"size,omitempty"` }
File file
swagger:model file
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this file
type Form struct { CreatedAt string `json:"created_at,omitempty"` Fields []interface{} `json:"fields"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Paths []string `json:"paths"` SiteID string `json:"site_id,omitempty"` SubmissionCount int32 `json:"submission_count,omitempty"` }
Form form
swagger:model form
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this form
type Function struct { ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Sha string `json:"sha,omitempty"` }
Function function
swagger:model function
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this function
type FunctionConfig struct { BuildData interface{} `json:"build_data,omitempty"` DisplayName string `json:"display_name,omitempty"` ExcludedRoutes []*ExcludedFunctionRoute `json:"excluded_routes"` Generator string `json:"generator,omitempty"` Priority int64 `json:"priority,omitempty"` Routes []*FunctionRoute `json:"routes"` TrafficRules *TrafficRulesConfig `json:"traffic_rules,omitempty"` }
FunctionConfig function config
swagger:model functionConfig
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this function config
type FunctionRoute struct { Expression string `json:"expression,omitempty"` Literal string `json:"literal,omitempty"` Methods []string `json:"methods"` Pattern string `json:"pattern,omitempty"` PreferStatic bool `json:"prefer_static,omitempty"` }
FunctionRoute function route
swagger:model functionRoute
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this function route
type FunctionSchedule struct { Cron string `json:"cron,omitempty"` Name string `json:"name,omitempty"` }
FunctionSchedule function schedule
swagger:model functionSchedule
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this function schedule
type Hook struct { CreatedAt string `json:"created_at,omitempty"` Data interface{} `json:"data,omitempty"` Disabled bool `json:"disabled,omitempty"` Event string `json:"event,omitempty"` ID string `json:"id,omitempty"` SiteID string `json:"site_id,omitempty"` Type string `json:"type,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` }
Hook hook
swagger:model hook
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this hook
type HookType struct { Events []string `json:"events"` Fields []interface{} `json:"fields"` Name string `json:"name,omitempty"` }
HookType hook type
swagger:model hookType
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this hook type
type Member struct { Avatar string `json:"avatar,omitempty"` Email string `json:"email,omitempty"` FullName string `json:"full_name,omitempty"` ID string `json:"id,omitempty"` Role string `json:"role,omitempty"` }
Member member
swagger:model member
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this member
type Metadata interface{}
Metadata metadata
swagger:model metadata
type MinifyOptions struct { Bundle bool `json:"bundle,omitempty"` Minify bool `json:"minify,omitempty"` }
MinifyOptions minify options
swagger:model minifyOptions
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this minify options
type PaymentMethod struct { CreatedAt string `json:"created_at,omitempty"` Data *PaymentMethodData `json:"data,omitempty"` ID string `json:"id,omitempty"` MethodName string `json:"method_name,omitempty"` State string `json:"state,omitempty"` Type string `json:"type,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` }
PaymentMethod payment method
swagger:model paymentMethod
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this payment method
type PaymentMethodData struct { CardType string `json:"card_type,omitempty"` Email string `json:"email,omitempty"` Last4 string `json:"last4,omitempty"` }
PaymentMethodData payment method data
swagger:model paymentMethodData
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this payment method data
type Plugin struct { Package string `json:"package,omitempty"` PinnedVersion string `json:"pinned_version,omitempty"` }
Plugin plugin
swagger:model plugin
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this plugin
type PluginParams struct { PinnedVersion string `json:"pinned_version,omitempty"` }
PluginParams plugin params
swagger:model pluginParams
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this plugin params
PluginRun plugin run
swagger:model pluginRun
MarshalBinary interface implementation
MarshalJSON marshals this object to a JSON structure
UnmarshalBinary interface implementation
UnmarshalJSON unmarshals this object from a JSON structure
Validate validates this plugin run
type PluginRunAllOf1 struct { DeployID string `json:"deploy_id,omitempty"` }
PluginRunAllOf1 plugin run all of1
swagger:model pluginRunAllOf1
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this plugin run all of1
type PluginRunData struct { Package string `json:"package,omitempty"` ReportingEvent string `json:"reporting_event,omitempty"` State string `json:"state,omitempty"` Summary string `json:"summary,omitempty"` Text string `json:"text,omitempty"` Title string `json:"title,omitempty"` Version string `json:"version,omitempty"` }
PluginRunData plugin run data
swagger:model pluginRunData
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this plugin run data
type Purge struct { CacheTags []string `json:"cache_tags"` SiteID string `json:"site_id,omitempty"` SiteSlug string `json:"site_slug,omitempty"` }
Purge purge
swagger:model purge
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this purge
type RepoInfo struct { AllowedBranches []string `json:"allowed_branches"` Cmd string `json:"cmd,omitempty"` DeployKeyID string `json:"deploy_key_id,omitempty"` Dir string `json:"dir,omitempty"` Env map[string]string `json:"env,omitempty"` FunctionsDir string `json:"functions_dir,omitempty"` ID int64 `json:"id,omitempty"` InstallationID int64 `json:"installation_id,omitempty"` PrivateLogs bool `json:"private_logs,omitempty"` Provider string `json:"provider,omitempty"` PublicRepo bool `json:"public_repo,omitempty"` RepoBranch string `json:"repo_branch,omitempty"` RepoPath string `json:"repo_path,omitempty"` RepoURL string `json:"repo_url,omitempty"` StopBuilds bool `json:"stop_builds,omitempty"` }
RepoInfo repo info
swagger:model repoInfo
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this repo info
type Service struct { CreatedAt string `json:"created_at,omitempty"` Description string `json:"description,omitempty"` Environments []string `json:"environments"` Events []interface{} `json:"events"` Icon string `json:"icon,omitempty"` ID string `json:"id,omitempty"` LongDescription string `json:"long_description,omitempty"` ManifestURL string `json:"manifest_url,omitempty"` Name string `json:"name,omitempty"` ServicePath string `json:"service_path,omitempty"` Slug string `json:"slug,omitempty"` Tags []string `json:"tags"` UpdatedAt string `json:"updated_at,omitempty"` }
Service service
swagger:model service
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this service
type ServiceInstance struct { AuthURL string `json:"auth_url,omitempty"` Config interface{} `json:"config,omitempty"` CreatedAt string `json:"created_at,omitempty"` Env interface{} `json:"env,omitempty"` ExternalAttributes interface{} `json:"external_attributes,omitempty"` ID string `json:"id,omitempty"` ServiceName string `json:"service_name,omitempty"` ServicePath string `json:"service_path,omitempty"` ServiceSlug string `json:"service_slug,omitempty"` Snippets []interface{} `json:"snippets"` UpdatedAt string `json:"updated_at,omitempty"` URL string `json:"url,omitempty"` }
ServiceInstance service instance
swagger:model serviceInstance
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this service instance
type SetEnvVarValueParamsBody ¶ added in v2.12.0type SetEnvVarValueParamsBody struct { Context string `json:"context,omitempty"` ContextParameter string `json:"context_parameter,omitempty"` Value string `json:"value,omitempty"` }
SetEnvVarValueParamsBody set env var value params body
swagger:model setEnvVarValueParamsBody
func (*SetEnvVarValueParamsBody) MarshalBinary ¶ added in v2.12.0MarshalBinary interface implementation
func (*SetEnvVarValueParamsBody) UnmarshalBinary ¶ added in v2.12.0UnmarshalBinary interface implementation
func (*SetEnvVarValueParamsBody) Validate ¶ added in v2.12.0Validate validates this set env var value params body
type Site struct { AccountID string `json:"account_id,omitempty"` AccountName string `json:"account_name,omitempty"` AccountSlug string `json:"account_slug,omitempty"` AdminURL string `json:"admin_url,omitempty"` BranchDeployCustomDomain string `json:"branch_deploy_custom_domain,omitempty"` BuildImage string `json:"build_image,omitempty"` BuildSettings *RepoInfo `json:"build_settings,omitempty"` Capabilities map[string]interface{} `json:"capabilities,omitempty"` CreatedAt string `json:"created_at,omitempty"` CustomDomain string `json:"custom_domain,omitempty"` DefaultHooksData *SiteDefaultHooksData `json:"default_hooks_data,omitempty"` DeployHook string `json:"deploy_hook,omitempty"` DeployPreviewCustomDomain string `json:"deploy_preview_custom_domain,omitempty"` DeployURL string `json:"deploy_url,omitempty"` DomainAliases []string `json:"domain_aliases"` ForceSsl bool `json:"force_ssl,omitempty"` FunctionsRegion string `json:"functions_region,omitempty"` GitProvider string `json:"git_provider,omitempty"` ID string `json:"id,omitempty"` IDDomain string `json:"id_domain,omitempty"` ManagedDNS bool `json:"managed_dns,omitempty"` Name string `json:"name,omitempty"` NotificationEmail string `json:"notification_email,omitempty"` Password string `json:"password,omitempty"` Plan string `json:"plan,omitempty"` Prerender string `json:"prerender,omitempty"` ProcessingSettings *SiteProcessingSettings `json:"processing_settings,omitempty"` PublishedDeploy *Deploy `json:"published_deploy,omitempty"` ScreenshotURL string `json:"screenshot_url,omitempty"` SessionID string `json:"session_id,omitempty"` Ssl bool `json:"ssl,omitempty"` SslURL string `json:"ssl_url,omitempty"` State string `json:"state,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` URL string `json:"url,omitempty"` UserID string `json:"user_id,omitempty"` }
Site site
swagger:model site
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site
type SiteDefaultHooksData struct { AccessToken string `json:"access_token,omitempty"` }
SiteDefaultHooksData site default hooks data
swagger:model siteDefaultHooksData
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site default hooks data
type SiteFunction struct { Branch string `json:"branch,omitempty"` CreatedAt string `json:"created_at,omitempty"` Functions []interface{} `json:"functions"` ID string `json:"id,omitempty"` LogType string `json:"log_type,omitempty"` Provider string `json:"provider,omitempty"` }
SiteFunction site function
swagger:model siteFunction
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site function
SiteProcessingSettings site processing settings
swagger:model siteProcessingSettings
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site processing settings
type SiteProcessingSettingsHTML struct { PrettyUrls bool `json:"pretty_urls,omitempty"` }
SiteProcessingSettingsHTML site processing settings Html
swagger:model siteProcessingSettingsHtml
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site processing settings Html
type SiteProcessingSettingsImages struct { Optimize bool `json:"optimize,omitempty"` }
SiteProcessingSettingsImages site processing settings images
swagger:model siteProcessingSettingsImages
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site processing settings images
SiteSetup site setup
swagger:model siteSetup
MarshalBinary interface implementation
MarshalJSON marshals this object to a JSON structure
UnmarshalBinary interface implementation
UnmarshalJSON unmarshals this object from a JSON structure
Validate validates this site setup
type SiteSetupAllOf1 struct { Repo *RepoInfo `json:"repo,omitempty"` }
SiteSetupAllOf1 site setup all of1
swagger:model siteSetupAllOf1
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this site setup all of1
type SniCertificate struct { CreatedAt string `json:"created_at,omitempty"` Domains []string `json:"domains"` ExpiresAt string `json:"expires_at,omitempty"` State string `json:"state,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` }
SniCertificate sni certificate
swagger:model sniCertificate
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this sni certificate
type Snippet struct { General string `json:"general,omitempty"` GeneralPosition string `json:"general_position,omitempty"` Goal string `json:"goal,omitempty"` GoalPosition string `json:"goal_position,omitempty"` ID int32 `json:"id,omitempty"` SiteID string `json:"site_id,omitempty"` Title string `json:"title,omitempty"` }
Snippet snippet
swagger:model snippet
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this snippet
type SplitTest struct { Active bool `json:"active,omitempty"` Branches []interface{} `json:"branches"` CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` Name string `json:"name,omitempty"` Path string `json:"path,omitempty"` SiteID string `json:"site_id,omitempty"` UnpublishedAt string `json:"unpublished_at,omitempty"` UpdatedAt string `json:"updated_at,omitempty"` }
SplitTest split test
swagger:model splitTest
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this split test
type SplitTestSetup struct { BranchTests interface{} `json:"branch_tests,omitempty"` }
SplitTestSetup split test setup
swagger:model splitTestSetup
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this split test setup
SplitTests split tests
swagger:model splitTests
Validate validates this split tests
type Submission struct { Body string `json:"body,omitempty"` Company string `json:"company,omitempty"` CreatedAt string `json:"created_at,omitempty"` Data interface{} `json:"data,omitempty"` Email string `json:"email,omitempty"` FirstName string `json:"first_name,omitempty"` ID string `json:"id,omitempty"` LastName string `json:"last_name,omitempty"` Name string `json:"name,omitempty"` Number int32 `json:"number,omitempty"` SiteURL string `json:"site_url,omitempty"` Summary string `json:"summary,omitempty"` }
Submission submission
swagger:model submission
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this submission
type Ticket struct { Authorized bool `json:"authorized,omitempty"` ClientID string `json:"client_id,omitempty"` CreatedAt string `json:"created_at,omitempty"` ID string `json:"id,omitempty"` }
Ticket ticket
swagger:model ticket
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this ticket
TrafficRulesAggregateConfig traffic rules aggregate config
swagger:model trafficRulesAggregateConfig
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this traffic rules aggregate config
type TrafficRulesAggregateConfigKeysItems struct { Type string `json:"type,omitempty"` }
TrafficRulesAggregateConfigKeysItems traffic rules aggregate config keys items
swagger:model trafficRulesAggregateConfigKeysItems
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this traffic rules aggregate config keys items
TrafficRulesConfig traffic rules config
swagger:model trafficRulesConfig
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this traffic rules config
TrafficRulesConfigAction traffic rules config action
swagger:model trafficRulesConfigAction
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this traffic rules config action
TrafficRulesConfigActionConfig traffic rules config action config
swagger:model trafficRulesConfigActionConfig
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this traffic rules config action config
type TrafficRulesRateLimitConfig struct { Algorithm string `json:"algorithm,omitempty"` WindowLimit int64 `json:"window_limit,omitempty"` WindowSize int64 `json:"window_size,omitempty"` }
TrafficRulesRateLimitConfig traffic rules rate limit config
swagger:model trafficRulesRateLimitConfig
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this traffic rules rate limit config
type UpdateDeployValidationsParamsBody ¶ added in v2.37.0type UpdateDeployValidationsParamsBody struct { SecretsScan interface{} `json:"secrets_scan,omitempty"` }
UpdateDeployValidationsParamsBody update deploy validations params body
swagger:model updateDeployValidationsParamsBody
func (*UpdateDeployValidationsParamsBody) MarshalBinary ¶ added in v2.37.0MarshalBinary interface implementation
func (*UpdateDeployValidationsParamsBody) UnmarshalBinary ¶ added in v2.37.0UnmarshalBinary interface implementation
func (*UpdateDeployValidationsParamsBody) Validate ¶ added in v2.37.0Validate validates this update deploy validations params body
type UpdateEnvVarParamsBody ¶ added in v2.10.0type UpdateEnvVarParamsBody struct { IsSecret bool `json:"is_secret,omitempty"` Key string `json:"key,omitempty"` Scopes []string `json:"scopes"` Values []*EnvVarValue `json:"values"` }
UpdateEnvVarParamsBody update env var params body
swagger:model updateEnvVarParamsBody
func (*UpdateEnvVarParamsBody) MarshalBinary ¶ added in v2.10.0MarshalBinary interface implementation
func (*UpdateEnvVarParamsBody) UnmarshalBinary ¶ added in v2.10.0UnmarshalBinary interface implementation
func (*UpdateEnvVarParamsBody) Validate ¶ added in v2.10.0Validate validates this update env var params body
type User struct { AffiliateID string `json:"affiliate_id,omitempty"` AvatarURL string `json:"avatar_url,omitempty"` CreatedAt string `json:"created_at,omitempty"` Email string `json:"email,omitempty"` FullName string `json:"full_name,omitempty"` ID string `json:"id,omitempty"` LastLogin string `json:"last_login,omitempty"` LoginProviders []string `json:"login_providers"` OnboardingProgress *UserOnboardingProgress `json:"onboarding_progress,omitempty"` SiteCount int64 `json:"site_count,omitempty"` UID string `json:"uid,omitempty"` }
User user
swagger:model user
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this user
type UserOnboardingProgress struct { Slides string `json:"slides,omitempty"` }
UserOnboardingProgress user onboarding progress
swagger:model userOnboardingProgress
MarshalBinary interface implementation
UnmarshalBinary interface implementation
Validate validates this user onboarding progress
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4