opentext - OpenText Content Server how to get folder ID with path using REST API?
问题描述
I'm trying to get the folder ID that I want to create a file at.
I have this folder's path (eg: root/folder1/folder2/folder3), so in this case, I wanted to get folder's 3 ID in order to make a POST call to create the new file.
My solution right now is just to go folder by folder, getting the child ID, but since it can be many folders I was trying to get a faster way.
解决方案
如果您的“folder3”文件夹有昵称,您可以尝试使用api/v2/nicknames/{your_nickname}/nodes
端点
也可以使用 rest api 设置昵称
推荐阅读
- mysql - 如何获得 1 行结果而不是 2
- pandas - 应用 pandas 样式后,数字不四舍五入
- cmake - (macOS Big Sur)CMake 找不到 BLAS(缺少:BLAS_LIBRARIES)
- pandas - 熊猫系列独特的二元指标
- uri - 将 CSV 转换为 RDF,但我无法在线为主题找到合适的 URI
- azure-durable-functions - 协调器功能中的while循环
- python - 是否可以从示例 json 作为原型创建多个 json 文件?
- python - 使用 2captcha 库推送到 Heroku 时出错 - ModuleNotFoundError: No module named 'requests'
- python - Python 子图,轴之间有图
- mysql - 连接 SQL 查询中的表名和列