Proxy Templates
Get all Proxy Templates in a configuration
Proxy Templates retrieved successfully
1Input Error
Internal Server Error
GET /api/v4.3/conf/{config}/proxy-templates HTTP/1.1
Accept: */*
{
"total": 1,
"items": [
{
"acao_header": true,
"client_body_buffer_size": "text",
"client_body_timeout": "text",
"client_header_buffer_size": "text",
"client_header_timeout": "text",
"client_max_body_size": "text",
"conf_specific": "",
"custom_listener": true,
"description": "",
"keepalive_timeout": "text",
"large_client_header_buffers_count": "text",
"large_client_header_buffers_size": "text",
"limit_req_burst": "text",
"limit_req_rate": "text",
"mask_headers": "text",
"name": "text",
"proxy_connect_timeout": "text",
"proxy_read_timeout": "text",
"proxy_send_timeout": "text",
"send_timeout": "text",
"ssl_ciphers": "text",
"ssl_conf_specific": "",
"ssl_protocols": [
"SSLv2"
],
"upstream_host": "text",
"xff_header_name": [
"text"
],
"xrealip_header_name": "text",
"advanced_configuration": [
{
"configuration": "text",
"description": "",
"name": "text",
"protocol": [
"http"
]
}
]
}
]
}Get a Proxy Template from the specified configuration
Proxy Template retrieved successfully
""""""Input Error
Validation Error
Internal Server Error
GET /api/v4.3/conf/{config}/proxy-templates/{entry_id} HTTP/1.1
Accept: */*
{
"acao_header": true,
"client_body_buffer_size": "text",
"client_body_timeout": "text",
"client_header_buffer_size": "text",
"client_header_timeout": "text",
"client_max_body_size": "text",
"conf_specific": "",
"custom_listener": true,
"description": "",
"keepalive_timeout": "text",
"large_client_header_buffers_count": "text",
"large_client_header_buffers_size": "text",
"limit_req_burst": "text",
"limit_req_rate": "text",
"mask_headers": "text",
"name": "text",
"proxy_connect_timeout": "text",
"proxy_read_timeout": "text",
"proxy_send_timeout": "text",
"send_timeout": "text",
"ssl_ciphers": "text",
"ssl_conf_specific": "",
"ssl_protocols": [
"SSLv2"
],
"upstream_host": "text",
"xff_header_name": [
"text"
],
"xrealip_header_name": "text",
"advanced_configuration": [
{
"configuration": "text",
"description": "",
"name": "text",
"protocol": [
"http"
]
}
]
}Update an individual Proxy Template within a configuration
""""""Proxy Template updated successfully
Information about successful update operation
Successfully updated entryInput Error
Validation Error
Internal Server Error
PUT /api/v4.3/conf/{config}/proxy-templates/{entry_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 795
{
"acao_header": true,
"client_body_buffer_size": "text",
"client_body_timeout": "text",
"client_header_buffer_size": "text",
"client_header_timeout": "text",
"client_max_body_size": "text",
"conf_specific": "",
"custom_listener": true,
"description": "",
"keepalive_timeout": "text",
"large_client_header_buffers_count": "text",
"large_client_header_buffers_size": "text",
"limit_req_burst": "text",
"limit_req_rate": "text",
"mask_headers": "text",
"name": "text",
"proxy_connect_timeout": "text",
"proxy_read_timeout": "text",
"proxy_send_timeout": "text",
"send_timeout": "text",
"ssl_ciphers": "text",
"ssl_conf_specific": "",
"ssl_protocols": [
"SSLv2"
],
"upstream_host": "text",
"xff_header_name": [
"text"
],
"xrealip_header_name": "text",
"advanced_configuration": [
{
"configuration": "text",
"description": "",
"name": "text",
"protocol": [
"http"
]
}
]
}{
"message": "Successfully updated entry"
}Create an individual Proxy Template within a configuration
^[A-Za-z0-9\-\_]*$""""""Proxy Template created successfully
Information about successful create operation
Successfully created entryInput Error
Validation Error
Internal Server Error
POST /api/v4.3/conf/{config}/proxy-templates/{entry_id} HTTP/1.1
Content-Type: application/json
Accept: */*
Content-Length: 795
{
"acao_header": true,
"client_body_buffer_size": "text",
"client_body_timeout": "text",
"client_header_buffer_size": "text",
"client_header_timeout": "text",
"client_max_body_size": "text",
"conf_specific": "",
"custom_listener": true,
"description": "",
"keepalive_timeout": "text",
"large_client_header_buffers_count": "text",
"large_client_header_buffers_size": "text",
"limit_req_burst": "text",
"limit_req_rate": "text",
"mask_headers": "text",
"name": "text",
"proxy_connect_timeout": "text",
"proxy_read_timeout": "text",
"proxy_send_timeout": "text",
"send_timeout": "text",
"ssl_ciphers": "text",
"ssl_conf_specific": "",
"ssl_protocols": [
"SSLv2"
],
"upstream_host": "text",
"xff_header_name": [
"text"
],
"xrealip_header_name": "text",
"advanced_configuration": [
{
"configuration": "text",
"description": "",
"name": "text",
"protocol": [
"http"
]
}
]
}{
"message": "Successfully created entry"
}Delete an individual Proxy Template from the specified configuration
Proxy Template deleted successfully
Information about successful delete operation
Successfully deleted entryBad Request
Validation Error
Internal Server Error
DELETE /api/v4.3/conf/{config}/proxy-templates/{entry_id} HTTP/1.1
Accept: */*
{
"message": "Successfully deleted entry"
}Last updated
Was this helpful?