DNG REST URL for folder level view
![](http://jazz.net/_images/myphoto/afc63a2dbe789ce9b0df2863a0eba1b1.jpg)
Can someone give me an example of a DOORS Next (7.0.2 SR1) URL that returns XML results for a folder level view?
I can get the XML for a module filter like this:
https://example.com/rm/publish/views?viewURI=VW_xxx&projectURI=_yyy&moduleUri=MD_zzz&oslc_config.context=https://example.com/gc/configuration/000"
Anyone?
4 answers
![](http://jazz.net/_images/myphoto/afc63a2dbe789ce9b0df2863a0eba1b1.jpg)
I did this: https://www.google.com/search?q=doors+next+folder+api+site%3Ajazz.net (Google that for me....)
And I found inconsistent answers
https://jazz.net/forum/questions/186110/doors-folder-search-with-using-api - says the OSLC API has folder related query capabilities. Those are the first two of a large amount of answers.
I looked at Ians Python client, and he has code to create a folder and an artifact, so it mist be possible somehow. See
https://github.com/IBM/ELM-Python-Client/blob/master/elmclient/examples/dn_simple_createfolderandartifact.py
I looked at Ians Python client, and he has code to create a folder and an artifact, so it mist be possible somehow. See
https://github.com/IBM/ELM-Python-Client/blob/master/elmclient/examples/dn_simple_createfolderandartifact.py
![](http://jazz.net/_images/myphoto/afc63a2dbe789ce9b0df2863a0eba1b1.jpg)
after some experiments what i've found is that you can get a REST API response for a project view, but the result wasn't what i expected.
for example:
https://example.com/rm/publish/modules?viewURI=VW_xxx&projectURI=_yyy&oslc_config.context=https://example.com/gc/configuration/000
- i use the scope parameter "modules", but "resources" seemed to work the same, i need to experiment more to see what the difference is.
- VW_xxx is the view id of a project view
- _yyy is the id for the overall project (not component or stream, project)
- and the link at the end is the global configuration (GC) i'm using
when i run this url through, i get back an XML response that includes only the modules fitting the filter defined in the project view. so that's good. but i get back all the information about each module, not just the columns in the project view as i expected, including a list of artifacts the modules contains. that's annoying because a large module will take a long time and you get MBs of data instead of only the KBs i wanted. annoying, but not terrible because at least i get the info i really wanted: which modules fit the project view filter.
(*) i used the term "folder view" but it appears IBM documentation refers to them as "project views".
![](http://jazz.net/_images/myphoto/afc63a2dbe789ce9b0df2863a0eba1b1.jpg)
Please be polite: impatience with people trying to help you isn't a good look.
Comments
![](http://jazz.net/_images/myphoto/afc63a2dbe789ce9b0df2863a0eba1b1.jpg)
you're confusing directness with rudeness. i asked a question and the response i got from a "Jazz Developer" was a couple moldy, ugly documents and to "Google it". so i asked follow up questions based on the fact the person has "Jazz Developer" in their title. does that not indicate they have some knowledge of the code?
look at this from my point of view: my employer spends a lot of money on DNG and the "help" i get on its forum from a Jazz Developer is "Google it"?
![](http://jazz.net/_images/myphoto/e5e63d5878217b64611c1df9401b7cd3.jpg)
Every IBM Employee with an Jazz.net account is flagged as Jazz Developer.
This is a forum. Any "help" is voluntary best effort. Please read the guidelines. Nobody has to answer any question here.
Comments
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 16 '24, 11:46 a.m.These are our APIS: https://jazz.net/wiki/bin/view/Deployment/ELMProductAPILanding
I don't know if that API supports folders.
This is where you could find other information: https://www.google.com/search?q=dng+folder+API+site%3Ajazz.net
M K
Jul 18 '24, 3:10 a.m.and that's why this forum is neigh useless...
Ralph Schoon
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER Jul 18 '24, 5:25 a.m.API questions are inherently hard and there is no way that people know all the answers. You should be happy with whatever you can get. And if you are seemingly unwilling to follow suggestions where to look for answers, e.g. follow the search link above, you should not complain about the forum.
M K
Jul 18 '24, 5:33 a.m.your title includes Jazz Developer and you're telling me there's no way to know what your REST API is capable of?