搜索全局属性

时间:2015-06-05 08:22:42

标签: box-api

是否可以使用属性模板中的元数据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"
}

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

1 个答案:

答案 0 :(得分:0)

不,不是mdfilters。请改为使用常规搜索。有关详情,请参阅this answer