知识图谱 KG-过滤查询实体列表:请求参数

时间:2024-04-25 10:35:11

请求参数

表2 请求Body参数

参数

是否必选

参数类型

描述

labels

Array of strings

实体类型列表。

offset

Integer

翻页偏移量,默认为0。

limit

Integer

最大返回结果条数,默认为10,最大为100。

conditions

conditions object

过滤查询条件。

condition_type

String

筛选条件之间的逻辑关系。

缺省值:and

枚举值:

  • and
  • or
表3 conditions

参数

是否必选

参数类型

描述

property_name

String

属性名称。

property_value

Array of strings

属性值,目前只支持设置一个属性值。

support.huaweicloud.com/api-kg/kg_03_0016.html