Settings

Handles default settings for a particular version of a service.

Data model

general.default_hostStringThe default host name for the version.
general.default_ttl IntegerThe 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 seconds.
service_idStringThe alphanumeric string identifying a service.
versionIntegerThe current version of a service.

Endpoints

Get service settings

GET/service/service_id/version/version/settings

Update service settings

PUT/service/service_id/version/version/settings

User contributed notes

We welcome comments that add use cases, ideas, tips, and caveats. All comments will be moderated before publication. To post support questions, visit our support center and we'll find you the help you need.