跳转到主要内容
PATCH
PATCH /admin/api/route-members/{id}

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

路径参数

id
string
必填

请求体

application/json
enabled
boolean | null
providerId
string | null
routeId
string | null
tier
integer<uint32> | null
必填范围: x >= 0
upstreamModel
string | null
weight
integer<uint32> | null
必填范围: x >= 0

响应

Success

enabled
boolean
必填
id
string
必填
providerId
string
必填
routeId
string
必填
tier
integer<uint32>
必填

Lower tiers are preferred; later tiers are the fallback.

必填范围: x >= 0
upstreamModel
string
必填

The upstream model this member sends, not a catalog reference.

weight
integer<uint32>
必填

Positive relative weight within a tier.

必填范围: x >= 0