Response object
Allows you to create synthetic responses that exist entirely on the varnish machine. Useful for creating error or maintenance pages that exists outside the scope of your backend architecture. Best when used with Condition objects.
Data model
cache_condition | string | Name of the cache condition controlling when this configuration applies. | |
content | string | The content to deliver for the response object, can be empty. | |
content_type | string | The MIME type of the content, can be empty. | |
name | string | Name for the request settings. | |
request_condition | string | Condition which, if met, will select this configuration during a request. Optional. | |
response | string | The HTTP response. [Default Ok ] | |
status | integer | The HTTP status code. [Default 200 ] | |
created_at | string | Date and time in ISO 8601 format. Read-only. | |
deleted_at | string | Date and time in ISO 8601 format. Read-only. | |
service_id | string | Alphanumeric string identifying the service. Read-only. | |
updated_at | string | Date and time in ISO 8601 format. Read-only. | |
version | integer | Integer identifying a service version. Read-only. |
Endpoints
PUT/service/service_id
/version/version_id
/response_object/response_object_name