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.
general.stale_if_error_ttlintegerThe default time-to-live (TTL) for serving the stale object for the version.
service_idstringAlphanumeric string identifying the service.
versionintegerInteger identifying a service version.

Endpoints

Get service settings

GET/service/service_id/version/version_id/settings

Update service settings

PUT/service/service_id/version/version_id/settings