Gzip

Gzip configuration allows you to choose resources to automatically compress.

Data model

cache_conditionstringName of the cache condition controlling when this configuration applies.
content_typesstringSpace-separated list of content types to compress. If you omit this field a default list will be used.
extensionsstringSpace-separated list of file extensions to compress. If you omit this field a default list will be used.
namestringName of the gzip configuration.
created_atstringDate and time in ISO 8601 format. Read-only.
deleted_atstringDate and time in ISO 8601 format. Read-only.
service_idstringAlphanumeric string identifying the service. Read-only.
updated_atstringDate and time in ISO 8601 format. Read-only.
versionintegerInteger identifying a service version. Read-only.

Endpoints

List gzip configurations

GET/service/service_id/version/version_id/gzip

Create a gzip configuration

POST/service/service_id/version/version_id/gzip

Get a gzip configuration

GET/service/service_id/version/version_id/gzip/gzip_name

Update a gzip configuration

PUT/service/service_id/version/version_id/gzip/gzip_name

Delete a gzip configuration

DELETE/service/service_id/version/version_id/gzip/gzip_name