Skip to main content
POST
Export Proxies

Авторизации

Authorization
string
header
обязательно

Ключ вида lumi_proxy_… Выдаётся оператором.

Заголовки

authorization
string | null

Параметры пути

sub_id
integer
обязательно

Тело

application/json
count
integer | null

how many proxy lines to return (threads); repeated round-robin when the package exposes fewer unique gateways. Omit for the natural size: one line for a rotating package, every issued IP for a static one.

Требуемый диапазон: 1 <= x <= 5000
targets
ExportTarget · object[] | null

pull several geos / rotation settings in ONE call. Rotating packages only. The subscription's own settings are never changed.

Maximum array length: 20
format
enum<string> | null

defaults to the subscription's stored format

Доступные опции:
url,
user:pass@host:port,
user:pass:host:port,
host:port:user:pass
protocol
enum<string> | null

defaults to the subscription's protocol

Доступные опции:
http,
socks5
rotate
boolean
по умолчанию:true

mint a fresh session so the exported lines get new exit IPs; previously exported credentials keep working

Ответ

Successful Response

subscription_id
integer
обязательно
count
integer
обязательно
format
string
обязательно
protocol
string
обязательно
access_mode
string
обязательно
proxies
string[]
обязательно
groups
ExportGroup · object[] | null

present when 'targets' was used; slices of 'proxies'