| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | service | asso | |
| default | http2 | boolean | |
| default | splice | boolean | Splice Server and Client Connnections When Receiving a "401" Response |
| default | compression | boolean | |
| default | compression_urlexclude_rule | asso | |
| default | cache | boolean | |
| default | server_conn_ip_header | string | Sets the name of the HTTP request header which contains the source IP used to connect the real service. The name of an HTTP header inserted by the appliance is preffered, and standard HTTP header names are forbidden. |
| default | http_redirect | asso | |
| default | http_rewrite | asso | |
| default | http_content_rewrite | asso | |
| default | http_forwarding | asso | |
| default | url_filters | asso | |
| default | error_pages | asso | |
| default | https_acl | asso | |
| advanced_settings | regex_case_mode | enum | Sets whether the system will distinguish the uppercase or lowercase letters in the regular expression matching.Available values:
|
| advanced_settings | owa | boolean | Enables the system to insert the header "FRONT-END-HTTPS: on" into the request to inform the real service that the client has used SSL. |
| advanced_settings | turbo | boolean | Enables acceleration of the HTTP request processing. |
{
"HTTPSettings": {
"meta": {
"abstract": false,
"verbose_name": Per Virtual Service HTTP Settings,
},
"fieldgroups": [
{
"fields": [
{
"verbose_name": field_verbose_name1,
"field_name": field_name1
},
...
],
"group_name": field_group_name1
},
...
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| http2 | boolean | |
| splice | boolean | Splice Server and Client Connnections When Receiving a "401" Response |
| compression | boolean | |
| cache | boolean | |
| server_conn_ip_header | string | Sets the name of the HTTP request header which contains the source IP used to connect the real service. The name of an HTTP header inserted by the appliance is preffered, and standard HTTP header names are forbidden. |
{
"HTTPSettings": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"targets": [<target>]
"asso_targets": [<asso_target>],
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| targets | string or list | specify the target instance. |
| asso_targets | string or list | specify the target asso you want to perform action on. And target asso can be one or more. |
{
"config_change": true|false,
"msg": <msg>
}
| Parameter | Type | Description |
|---|---|---|
| config_change | bool | Whether the action causes configuration change. |
| msg | sring | Empty when action is performed successfully, otherwise it represents the error info. |
{
"HTTPSettings": [
{
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
},
...
]
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_group_name | URI | (optional) Target field group name to query. Available names are: default, advanced_settings, Notice: There could only be one field_group_name or field_name in the URL. And if both field_group_name and field_name are not specified, will try to query default field_group data. |
| field_name | URI | (optional) Target field name to query. Available names are: service, http2, splice, compression, compression_urlexclude_rule, cache, server_conn_ip_header, http_redirect, http_rewrite, http_content_rewrite, http_forwarding, url_filters, error_pages, https_acl, regex_case_mode, owa, turbo, Notice: There could only be one field_group_name or field_name in the URL. |
| Field Group Name | Field Name | Type | Description |
|---|---|---|---|
| default | service | asso | |
| default | http2 | boolean | |
| default | splice | boolean | Splice Server and Client Connnections When Receiving a "401" Response |
| default | compression | boolean | |
| default | compression_urlexclude_rule | asso | |
| default | cache | boolean | |
| default | server_conn_ip_header | string | Sets the name of the HTTP request header which contains the source IP used to connect the real service. The name of an HTTP header inserted by the appliance is preffered, and standard HTTP header names are forbidden. |
| default | http_redirect | asso | |
| default | http_rewrite | asso | |
| default | http_content_rewrite | asso | |
| default | http_forwarding | asso | |
| default | url_filters | asso | |
| default | error_pages | asso | |
| default | https_acl | asso | |
| advanced_settings | regex_case_mode | enum | Sets whether the system will distinguish the uppercase or lowercase letters in the regular expression matching.Available values:
|
| advanced_settings | owa | boolean | Enables the system to insert the header "FRONT-END-HTTPS: on" into the request to inform the real service that the client has used SSL. |
| advanced_settings | turbo | boolean | Enables acceleration of the HTTP request processing. |
{
"HTTPSettings": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field_group name is provided:
{
"HTTPSettings": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
}
}
When some field name is provided:
{
"HTTPSettings": {
"instance_id":<instance_id>,
<field>:<value>,
}
}
{
"msg": <success-or-error-msg>
}
{
<field_name>:<value>
}
When field name is not specified in URL:
Notice: The fields not provided are left untouched.
{
<field_name1>:<value1>,
<field_name2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
| field_name | URI | (optional) Target field name to update. Available field names are: http2, splice, compression, cache, server_conn_ip_header, regex_case_mode, owa, turbo, |
| Field Name | Type | Description |
|---|---|---|
| http2 | boolean | |
| splice | boolean | Splice Server and Client Connnections When Receiving a "401" Response |
| compression | boolean | |
| cache | boolean | |
| server_conn_ip_header | string | Sets the name of the HTTP request header which contains the source IP used to connect the real service. The name of an HTTP header inserted by the appliance is preffered, and standard HTTP header names are forbidden. |
| regex_case_mode | enum | Sets whether the system will distinguish the uppercase or lowercase letters in the regular expression matching.Available values:
|
| owa | boolean | Enables the system to insert the header "FRONT-END-HTTPS: on" into the request to inform the real service that the client has used SSL. |
| turbo | boolean | Enables acceleration of the HTTP request processing. |
All configuration fields and their values are replied:
{
"HTTPSettings": {
"instance_id":<instance_id>,
<field1>:<value1>,
<field2>:<value2>,
...
<field_group1>: {
<field3>:<value3>,
<field4>:<value4>,
...
},
<field_group2>: {
<field5>:<value5>,
<field6>:<value6>,
...
},
...
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"compression_urlexclude_rule":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| wildcard_expression | string | Sets the regular expression to match with the URL of the response. If the URL of the response matches the regular expression, the files in the response will not be compressed. |
{
"CompressionURLExcludeRule": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"http_redirect":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"http_rewrite":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"http_content_rewrite":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"http_forwarding":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"url_filters":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"error_pages":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}
{
<param1>:<value1>,
<param2>:<value2>,
...
}
| Parameter | Type | Description |
|---|---|---|
| error_code | string | |
| url | importurl | |
| enable | boolean |
{
"HTTPError": {
"instance_id":<instance_id>,
<param1>:<value1>,
<param2>:<value2>,
...
}
}
{
"msg": <success-or-error-msg>
}
| Parameter | Type | Description |
|---|---|---|
| instance_id | URI | ID of the instance |
{
"HTTPSettings": {
"instance_id":<instance_id>,
"https_acl":[
{
<field1>:<value1>,
<field2>:<value2>,
...
}
]
}
}