From 3ece713a05e6ccc95fc5bab57e79d82bd14b79b5 Mon Sep 17 00:00:00 2001 From: GuanMu Date: Fri, 11 Apr 2025 14:27:59 +0800 Subject: [PATCH] feat: add optional search parameters to dataset query templates i (#17857) --- .../datasets/template/template.en.mdx | 13 +++++++++++-- .../datasets/template/template.ja.mdx | 13 +++++++++++-- .../datasets/template/template.zh.mdx | 15 ++++++++++++--- 3 files changed, 34 insertions(+), 7 deletions(-) diff --git a/web/app/(commonLayout)/datasets/template/template.en.mdx b/web/app/(commonLayout)/datasets/template/template.en.mdx index 862344659d..ca86c7e6d6 100644 --- a/web/app/(commonLayout)/datasets/template/template.en.mdx +++ b/web/app/(commonLayout)/datasets/template/template.en.mdx @@ -386,11 +386,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi ### Query + + Search keyword, optional + + + Tag ID list, optional + - Page number + Page number, optional, default 1 - Number of items returned, default 20, range 1-100 + Number of items returned, optional, default 20, range 1-100 + + + Whether to include all datasets (only effective for owners), optional, defaults to false diff --git a/web/app/(commonLayout)/datasets/template/template.ja.mdx b/web/app/(commonLayout)/datasets/template/template.ja.mdx index e2bdd27d80..45f3adfc4d 100644 --- a/web/app/(commonLayout)/datasets/template/template.ja.mdx +++ b/web/app/(commonLayout)/datasets/template/template.ja.mdx @@ -386,11 +386,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi ### クエリ + + 検索キーワード、オプション + + + タグIDリスト、オプション + - ページ番号 + ページ番号、オプション、デフォルト1 - 返されるアイテム数、デフォルトは 20、範囲は 1-100 + 返されるアイテム数、オプション、デフォルト20、範囲1-100 + + + すべてのデータセットを含めるかどうか(所有者のみ有効)、オプション、デフォルトはfalse diff --git a/web/app/(commonLayout)/datasets/template/template.zh.mdx b/web/app/(commonLayout)/datasets/template/template.zh.mdx index 1d4e5ead6d..20511b8cf7 100644 --- a/web/app/(commonLayout)/datasets/template/template.zh.mdx +++ b/web/app/(commonLayout)/datasets/template/template.zh.mdx @@ -387,11 +387,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi ### Query - - 页码 + + 搜索关键词,可选 + + + 标签 ID 列表,可选 + + + 页码,可选,默认为 1 - 返回条数,默认 20,范围 1-100 + 返回条数,可选,默认 20,范围 1-100 + + + 是否包含所有数据集(仅对所有者生效),可选,默认为 false