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

    Request:

    Response:

    1. {
    2. "jsonrpc": "2.0",
    3. "result": [
    4. {
    5. "host": "Active proxy",
    6. "status": "5",
    7. "description": "",
    8. "tls_connect": "1",
    9. "tls_accept": "1",
    10. "tls_issuer": "",
    11. "tls_subject": "",
    12. "auto_compress": "0",
    13. "version": "60400",
    14. "compatibility": "1",
    15. "proxyid": "30091",
    16. "interface": []
    17. },
    18. {
    19. "host": "Passive proxy",
    20. "status": "6",
    21. "description": "",
    22. "tls_connect": "1",
    23. "tls_accept": "1",
    24. "tls_issuer": "",
    25. "tls_subject": "",
    26. "proxy_address": "",
    27. "auto_compress": "0",
    28. "lastaccess": "0",
    29. "version": "0",
    30. "proxyid": "30092",
    31. "interfaceid": "30109",
    32. "hostid": "30092",
    33. "main": "1",
    34. "type": "0",
    35. "useip": "1",
    36. "ip": "127.0.0.1",
    37. "dns": "",
    38. "port": "10051",
    39. "available": "0",
    40. "error": "",
    41. "errors_from": "0",
    42. "disable_until": "0",
    43. "details": []
    44. }
    45. }
    46. ],
    47. }

    Source