Hello,
I am currently working with OpenText Content Server and using its REST API to interact with the nodes. I have a specific requirement where I need to fetch a node directly by its full path rather than by its ID.
Here are the details:
- I only have the name of the node and the full path to it.
- My files are structured within 12 nested folders, making it impractical to make separate API calls for each folder level.
For example, I have a path like /Folder1/Folder2/Folder3/.../Folder12/NodeName
and I need to retrieve this specific node.
I've reviewed the API documentation and could not find a straightforward way to achieve this. The standard approach of navigating through each folder level with separate API calls is not feasible in my scenario due to the depth of the folder structure.
This functionality was available in the SOAP API that I am migrating away from. In the SOAP API, we could fetch a node directly by its full path, which greatly simplified operations in deeply nested folder structures.
Questions:
- Is there a way to fetch a node directly by its full path using the Content Server REST API?
- Are there any specific endpoints or query parameters that support this kind of operation?
- If it is not directly supported, are there any recommended workarounds or best practices for efficiently retrieving a node by its path in such deeply nested structures?
Any guidance or suggestions would be greatly appreciated. Thank you!