Skip to end of metadata
Go to start of metadata

Returns the PAC file settings for the specified customer.

Supported: GET

Fields

Name

Type

Description

OUTPUT

pac_file_url

URL

This field indicates the URL used for downloading the PAC file

proxy_bypass

List[{address_type[integer], address_value[IP/range/hostname]}]

This field indicates the list of address types and values that will be bypassed by the proxy

excluded_dcs

List[integer]

This field indicates the list of data centers that will be excluded from providing a service to the customer

Request Example
http -a <admin_email>:<admin_password> GET https://<host>/api/settings/pac_file/<customer_id>/
Response Example
Code:  200 OK
Content: {
"pac_file_url":
"https://.../pac_gen/proxy.pac",
"proxy_bypass": [
{"address_type": 1, "address_value": "1.1.1.1"},
{"address_type": 2, "address_value": "2.2.2.2-3.3.3.3"},
{"address_type": 5, "address_value": "*.myhost.com"}],
"excluded_dcs": [6, 11, 12]
}


  • No labels