feat: add optional search parameters to dataset query templates i (#17857)

This commit is contained in:
GuanMu 2025-04-11 14:27:59 +08:00 committed by GitHub
parent bf26f1129e
commit 3ece713a05
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 34 additions and 7 deletions

View File

@ -386,11 +386,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<Col>
### Query
<Properties>
<Property name='keyword' type='string' key='keyword'>
Search keyword, optional
</Property>
<Property name='tag_ids' type='array[string]' key='tag_ids'>
Tag ID list, optional
</Property>
<Property name='page' type='string' key='page'>
Page number
Page number, optional, default 1
</Property>
<Property name='limit' type='string' key='limit'>
Number of items returned, default 20, range 1-100
Number of items returned, optional, default 20, range 1-100
</Property>
<Property name='include_all' type='boolean' key='include_all'>
Whether to include all datasets (only effective for owners), optional, defaults to false
</Property>
</Properties>
</Col>

View File

@ -386,11 +386,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<Col>
### クエリ
<Properties>
<Property name='keyword' type='string' key='keyword'>
検索キーワード、オプション
</Property>
<Property name='tag_ids' type='array[string]' key='tag_ids'>
タグIDリスト、オプション
</Property>
<Property name='page' type='string' key='page'>
ページ番号
ページ番号、オプション、デフォルト1
</Property>
<Property name='limit' type='string' key='limit'>
返されるアイテム数、デフォルトは 20、範囲は 1-100
返されるアイテム数、オプション、デフォルト20、範囲1-100
</Property>
<Property name='include_all' type='boolean' key='include_all'>
すべてのデータセットを含めるかどうか所有者のみ有効、オプション、デフォルトはfalse
</Property>
</Properties>
</Col>

View File

@ -387,11 +387,20 @@ import { Row, Col, Properties, Property, Heading, SubProperty, PropertyInstructi
<Col>
### Query
<Properties>
<Property name='page' type='string' key='page'>
页码
<Property name='keyword' type='string' key='keyword'>
搜索关键词,可选
</Property>
<Property name='tag_ids' type='array[string]' key='tag_ids'>
标签 ID 列表,可选
</Property>
<Property name='page' type='integer' key='page'>
页码,可选,默认为 1
</Property>
<Property name='limit' type='string' key='limit'>
返回条数,默认 20范围 1-100
返回条数,可选,默认 20范围 1-100
</Property>
<Property name='include_all' type='boolean' key='include_all'>
是否包含所有数据集(仅对所有者生效),可选,默认为 false
</Property>
</Properties>
</Col>