Module vcl_api

Source

Structs§

CreateCustomVclParams
struct for passing parameters to the method create_custom_vcl
DeleteCustomVclParams
struct for passing parameters to the method delete_custom_vcl
GetCustomVclBoilerplateParams
struct for passing parameters to the method get_custom_vcl_boilerplate
GetCustomVclGeneratedHighlightedParams
struct for passing parameters to the method get_custom_vcl_generated_highlighted
GetCustomVclGeneratedParams
struct for passing parameters to the method get_custom_vcl_generated
GetCustomVclHighlightedParams
struct for passing parameters to the method get_custom_vcl_highlighted
GetCustomVclParams
struct for passing parameters to the method get_custom_vcl
GetCustomVclRawParams
struct for passing parameters to the method get_custom_vcl_raw
LintVclDefaultParams
struct for passing parameters to the method lint_vcl_default
LintVclForServiceParams
struct for passing parameters to the method lint_vcl_for_service
ListCustomVclParams
struct for passing parameters to the method list_custom_vcl
SetCustomVclMainParams
struct for passing parameters to the method set_custom_vcl_main
UpdateCustomVclParams
struct for passing parameters to the method update_custom_vcl

Enums§

CreateCustomVclError
struct for typed errors of method create_custom_vcl
DeleteCustomVclError
struct for typed errors of method delete_custom_vcl
GetCustomVclBoilerplateError
struct for typed errors of method get_custom_vcl_boilerplate
GetCustomVclError
struct for typed errors of method get_custom_vcl
GetCustomVclGeneratedError
struct for typed errors of method get_custom_vcl_generated
GetCustomVclGeneratedHighlightedError
struct for typed errors of method get_custom_vcl_generated_highlighted
GetCustomVclHighlightedError
struct for typed errors of method get_custom_vcl_highlighted
GetCustomVclRawError
struct for typed errors of method get_custom_vcl_raw
LintVclDefaultError
struct for typed errors of method lint_vcl_default
LintVclForServiceError
struct for typed errors of method lint_vcl_for_service
ListCustomVclError
struct for typed errors of method list_custom_vcl
SetCustomVclMainError
struct for typed errors of method set_custom_vcl_main
UpdateCustomVclError
struct for typed errors of method update_custom_vcl

Functions§

create_custom_vcl
Upload a VCL for a particular service and version.
delete_custom_vcl
Delete the uploaded VCL for a particular service and version.
get_custom_vcl
Get the uploaded VCL for a particular service and version.
get_custom_vcl_boilerplate
Return boilerplate VCL with the service’s TTL from the settings.
get_custom_vcl_generated
Display the generated VCL for a particular service and version.
get_custom_vcl_generated_highlighted
Display the content of generated VCL with HTML syntax highlighting. Include line numbers by sending lineno=true as a request parameter.
get_custom_vcl_highlighted
Get the uploaded VCL for a particular service and version with HTML syntax highlighting. Include line numbers by sending lineno=true as a request parameter.
get_custom_vcl_raw
Download the specified VCL.
lint_vcl_default
This endpoint validates the submitted VCL against a default set of enabled flags. Consider using the /service/{service_id}/lint operation to validate VCL in the context of a specific service.
lint_vcl_for_service
Services may have flags set by a Fastly employee or by the purchase of products as addons to the service, which modify the way VCL is interpreted by that service. This endpoint validates the submitted VCL in the context of the specified service.
list_custom_vcl
List the uploaded VCLs for a particular service and version.
set_custom_vcl_main
Set the specified VCL as the main.
update_custom_vcl
Update the uploaded VCL for a particular service and version.