跳转到主要内容
PATCH
PATCH /admin/api/connection-profiles/{id}

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

请求体

application/json
backend
string | null
brotli
boolean | null
connectTimeoutMs
integer<uint32> | null
必填范围: x >= 0
deflate
boolean | null
emulation
any
gzip
boolean | null
name
string | null
poolIdleTimeoutMs
integer<uint32> | null
必填范围: x >= 0
poolMaxIdlePerHost
integer<uint32> | null
必填范围: x >= 0
redirectMaxHops
integer<uint32> | null
必填范围: x >= 0
retry
string | null
zstd
boolean | null

响应

Success

A reusable HTTP transport configuration, independent of outbound proxy selection.

backend
string
必填

reqwest, wreq or reqwest_native.

brotli
boolean
必填
connectTimeoutMs
integer<uint32>
必填
必填范围: x >= 0
createdAtMs
integer<int64>
必填
deflate
boolean
必填
emulation
any
必填

A gproxy-client emulation object, or null. wreq applies the full identity; other clients apply supported custom fields.

gzip
boolean
必填
id
string
必填
name
string
必填
poolIdleTimeoutMs
integer<uint32>
必填
必填范围: x >= 0
poolMaxIdlePerHost
integer<uint32>
必填
必填范围: x >= 0
redirectMaxHops
integer<uint32>
必填
必填范围: x >= 0
retry
string
必填

never or default.

zstd
boolean
必填