Settings

Handles default settings for a particular version of a service.

Data model

general.default_hoststringThe default host name for the version.
general.default_ttlintegerThe default time-to-live (TTL) for the version.
general.stale_if_errorbooleanEnables serving a stale object if there is an error. [Default false]
general.stale_if_error_ttlintegerThe default time-to-live (TTL) for serving the stale object for the version. [Default 43200]
service_idstringAlphanumeric string identifying the service. Read-only.
versionintegerInteger identifying a service version. Read-only.

Endpoints

Get service settings

GET/service/service_id/version/version_id/settings

Update service settings

PUT/service/service_id/version/version_id/settings