История прокси
Просмотр заказанных прокси и управление настройками автопродления.
Список заказанных прокси
GET /proxies/history/
Возвращает список всех заказанных вами прокси.
Параметры запроса
| Параметр | Тип | Описание |
|---|---|---|
access_type | string | shared или private |
category | string | datacenter_dedicated, datacenter_shared, lte, residential_rotating, residential_static |
expired | boolean | Фильтр по истекшим прокси |
ids | array | Список ID прокси через запятую |
page | integer | Номер страницы |
Ответ
{
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": "9a440c2a-157f-4562-8209-25022ec4143a",
"url": "socks5://0.0.0.0:10000",
"connection_login": "connection_login",
"connection_password": "connection_password",
"system_status": "active",
"expired": "false",
"access_starts_at": "2023-08-25T11:25:31.218478Z",
"access_expires_at": "2023-08-26T11:25:28.742274Z",
"public_ipaddress": "1.1.1.1",
"geoip": "US",
"change_ip_links": "https://detect.expert/api/v1/proxies/user-proxy-server/refresh-ip/",
"auto_renew_request": false,
"proxy_category": "lte",
"access_type": "private",
"connection_host": "0.0.0.0",
"connection_port": "10000",
"xray_settings_str": "string"
}
]
}
Изменение автопродления
PATCH /proxies/history/{id}/
Переключить флаг auto_renew_request для заказанного прокси.
Тело запроса
{
"auto_renew_request": true
}
Ответ
{
"id": "9a440c2a-157f-4562-8209-25022ec4143a",
"url": "socks5://0.0.0.0:10000",
"connection_login": "connection_login",
"connection_password": "connection_password",
"system_status": "active",
"expired": "false",
"access_starts_at": "2023-08-25T11:25:31.218478Z",
"access_expires_at": "2023-08-26T11:25:28.742274Z",
"public_ipaddress": "1.1.1.1",
"geoip": "US",
"change_ip_links": "https://detect.expert/api/v1/proxies/user-proxy-server/refresh-ip/",
"auto_renew_request": true,
"proxy_category": "lte",
"access_type": "private",
"connection_host": "0.0.0.0",
"connection_port": "10000",
"xray_settings_str": "string"
}