Do we have any searching API for business workspaces child folders?

I have one use case where third party application is sending the business workspace name to content server and i want to search the business workspace using the same name.
However, I have found one API
"https://<otcs>/cs/cs/api/v2/businessworkspaces?where_name=<bw_name>" in that if I pass the query parameter <bw_name> I am getting the result.
But nowhere in result I am getting the child items of business workspaces, child items means folders that are present in business workspace.
Thanks
Nitesh
Answers
-
No restricted to use LR/WR otherwise i coulf have fetched child using DB.
Looking for API specific0 -
H'mm then perhaps gets the BWS and
/v1/nodes/{id}/nodes(note BWS comes from old ownership code so it is either positive or negative ID)
I would also try to look at Network trace while you are on SmartUI. just drop a single nodeslist perspective onto a workspace and bring it up, you will see the SUI issue REST commands to paint the children perhaps there is one that you can repurpose( steal )…
0 -
Thanks @appuq i will go with first method where i will get the business workspace using this API:-
Step 1:- Get the business workspace detail using parameter where_name after API:-
https://<servername>/cs/cs/api/v2/businessworkspaces?where_name=<business_workspace_name>Step 2 :- once I will get the {id} of business workspace I will like to execute another call as you mentioned above to fetch all the child folders:-
https://<servername>/cs/cs/api/v1/nodes/{id}/nodes
Step 3:- Push the document in child folders fetched from step 2 using post api/v1/nodes.but the only challenge is can we exclude the JSON response from the step 1 call and only display {id} rather than all fields?
0
Categories
- All Categories
- 124 Developer Announcements
- 54 Articles
- 156 General Questions
- 155 Thrust Services
- 56 Developer Hackathon
- 38 Thrust Studio
- 20.6K Analytics
- 4.2K AppWorks
- 9.1K Extended ECM
- 920 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 35 eDOCS
- 195 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 11 XM Fax
- Follow Categories