跳转到主要内容
GET
GET /admin/api/rule-presets

授权

gproxy_session
string
cookie
必填

请求头

x-gproxy-admin-scope
string

Administrative scope selected by the caller.

响应

Success

category
string
必填

Rewrites that hide one client application's identity from the upstream.

Allowed value: "application"
description
string
必填

A stable machine tag, gproxy:preset:{id}:v1, so a console can tell which preset a rule set came from.

id
string
必填
name
string
必填
rules
object[]
必填