proxy.get
The method allows to retrieve proxies according to the given parameters.
This method is available to users of any type. Permissions to call the method can be revoked in user role settings. See for more information.
Parameters
The method supports the following parameters.
(integer/array)
Returns either:
- an array of objects;
- the count of retrieved objects, if the
countOutput
parameter has been used.
Examples
Retrieve all proxies
Response:
{
"jsonrpc": "2.0",
"result": [
{
"host": "Active proxy",
"status": "5",
"description": "",
"tls_connect": "1",
"tls_accept": "1",
"tls_issuer": "",
"tls_subject": "",
"auto_compress": "0",
"version": "60400",
"compatibility": "1",
"proxyid": "30091",
"interface": []
},
{
"host": "Passive proxy",
"status": "6",
"description": "",
"tls_connect": "1",
"tls_accept": "1",
"tls_issuer": "",
"tls_subject": "",
"proxy_address": "",
"auto_compress": "0",
"lastaccess": "0",
"version": "0",
"proxyid": "30092",
"interfaceid": "30109",
"hostid": "30092",
"main": "1",
"type": "0",
"useip": "1",
"ip": "127.0.0.1",
"dns": "",
"port": "10051",
"available": "0",
"error": "",
"errors_from": "0",
"disable_until": "0",
"details": []
}
}
],
}