The method allows to retrieve proxies according to the given parameters.
Parameters
(object)
Parameters defining the desired output.
The method supports the following parameters.
an array of objects;
the count of retrieved objects, if the parameter has been used.
Examples
Retrieve all proxies
Retrieve all configured proxies and their interfaces.
Response:
- {
- "jsonrpc": "2.0",
- "result": [
- {
- "interface": [],
- "status": "5",
- "lastaccess": "0",
- "proxyid": "30091",
- "description": "",
- "tls_connect": "1",
- "tls_accept": "1",
- "tls_issuer": "",
- "tls_subject": "",
- "tls_psk_identity": "",
- "tls_psk": ""
- },
- {
- "interface": {
- "interfaceid": "30109",
- "useip": "1",
- "ip": "127.0.0.1",
- "dns": "",
- "port": "10051"
- ],
- "host": "Passive proxy",
- "status": "6",
- "lastaccess": "0",
- "proxyid": "30092",
- "description": ""
- }
- ],
- "id": 1
- }