bzp2010 commented on code in PR #12291:
URL: https://github.com/apache/apisix/pull/12291#discussion_r2139320747


##########
docs/en/latest/admin-api.md:
##########
@@ -278,6 +278,42 @@ curl 
'http://127.0.0.1:9180/apisix/admin/routes?name=test&uri=foo&label=' \
 }
 ```
 
+### Support reference filtering query
+
+:::note
+
+This feature was introduced in APISIX 3.13.0.
+
+APISIX supports querying routes and stream routes by `service_id` and 
`upstream_id`. Other resources or fields are not currently supported.
+
+:::
+
+When getting a list of resources, it supports a `filter` for filtering 
resources by filters.
+
+It is encoded in the following manner.
+
+```text
+filter=escape_uri(key1=value2&key2=value2)

Review Comment:
   Fixed



##########
docs/zh/latest/admin-api.md:
##########
@@ -284,6 +284,42 @@ curl 
'http://127.0.0.1:9180/apisix/admin/routes?name=test&uri=foo&label=' \
 }
 ```
 
+### 支持引用过滤资源 {#support-reference-filtering-query}
+
+:::note
+
+这个特性于 APISIX 3.13.0 引入。
+
+APISIX 支持通过 `service_id` 和 `upstream_id` 查询路由和 Stream 路由。现在不支持其他资源或字段。
+
+:::
+
+在获取资源列表时,你可以使用 `filter` 参数过滤资源。
+
+它以以下方式编码:
+
+```text
+filter=escape_uri(key1=value2&key2=value2)

Review Comment:
   Fixed



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscr...@apisix.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to