gpt4 book ai didi

java - 使用 Nuxeo Rest Api 加载子项属性[预加载]

转载 作者:行者123 更新时间:2023-12-02 00:57:50 25 4
gpt4 key购买 nike

1) http://host:port/nuxeo/api/v1/path/default-domain/workspaces/Report

给我报告文档的基本内容

2)http://host:port/nuxeo/api/v1/path/default-domain/workspaces/Report?properties=*

给我报告文档的基本+所有属性

3)http://host:port/nuxeo/api/v1/path/default-domain/workspaces/Report?enrichers.document=children

给我报告文档及其所有子文档的基本内容及其基本内容

4)http://host:port/nuxeo/api/v1/path/default-domain/workspaces/Report?enrichers.document=children&properties=*

给我报告文档及其所有子文档的基本+所有属性及其基本内容

现在我怎样才能获得其所有子级的属性?

最佳答案

我找到了解决方案。我们需要指定“深度” header 来控制聚合深度

尽管文档建议深度默认设置为子级。但对我来说明确指定“深度”“子级”“最大”有效

http://host:port/nuxeo/api/v1/path/default-domain/workspaces/Report?enrichers.document=children&properties=*&depth=children

关于java - 使用 Nuxeo Rest Api 加载子项属性[预加载],我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/61101321/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com