跳转到主要内容
GET
/
v2
/
endpoints-custom
/
back-connect
生成自定义反向连接端点
curl --request GET \
  --url https://api.decodo.com/v2/endpoints-custom/back-connect
"[\n\t\"http:\\/\\/user-smith-sessionduration-1:<EMAIL_ADDRESS>:10000\",\n\t\"http:\\/\\/user-smith-sessionduration-1:<EMAIL_ADDRESS>:10001\"\n]"

查询参数

username
string

提供用于授权的用户名。此参数为必填

password
string

提供用于授权的密码。此参数为必填

session_type
enum<string>
默认值:sticky

选择会话类型。选择 sticky 用于粘性会话,或 random 用于轮换会话。默认值为 sticky

可用选项:
sticky,
random
session_time
integer<int32>
默认值:10

会话时间(分钟),范围为 1-1440(含)。如果参数 sessionType 值为 sticky,则此参数为必填。默认值为 10。

country
string

小写的国家 Alpha2 代码。

state
string

如果国家是美国(us),可以选择州。提供完整的州名,用下划线代替空格。例如 new_york

city
string

完整的小写城市名,用下划线代替空格。例如 new_orleans

output_format
enum<string>
默认值:protocol:auth@endpoint

输出格式类型。默认为 protocol:auth@endpoint

可用选项:
protocol:auth@endpoint,
endpoint:auth,
auth@endpoint
count
integer<int32>
默认值:10

将生成并返回的路由数量。最小值为 1。默认值为 10。

page
integer<int32>
默认值:1

路由页码(分页)。最小值为 1。默认值为 1。

response_format
enum<string>
默认值:json

返回的响应类型。可以是 jsontxthtml。默认为 json

可用选项:
json,
txt,
html
line_break
enum<string>
默认值:\n

响应内容中使用的换行符。如果参数 responseType 值为 txt,则此参数为必填。默认为 \n

可用选项:
\n,
\r\n,
\r,
\t
domain
string
默认值:gate.decodo.com

路由应使用的域名。默认为 decodo.com。ip 用于使用 IP 地址代替域名。

ip
string

用于代替域名的 IP 地址。如果参数 domain 值为 ip,则此字段为必填。必须在末尾包含端口,例如 <IP_ADDRESS>:7000

protocol
enum<string>
默认值:http

使用的协议。默认为 http

可用选项:
http,
https

响应

200