搜索全球资产

Search on global properties

是否可以使用 API 对属性模板中的元数据进行搜索?我正在为搜索请求使用 mdfilters 参数:

https://api.box.com/2.0/search?mdfilters=[{"templateKey":"properties", "scope":"global", "filters":{"docId": "1"}}]

我得到的响应是 404 Not Found:

{
  "message": "Instance not found for '\\"view\\", \\"typeKeyKey\\", \\"properties\\", \\"searchFilterPanel\\"'",
  "code": "tuple_not_found",
  "request_id": "870411128557159b487c8a"
}

我怀疑属性模板不能用于元数据搜索,是否正确?

不,mdfilters 没有。请改用常规搜索。有关更多信息,请参阅 this answer