DNG REST URL for folder level view
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
Hi M K,
I believe it is not possible to get content from Folderlevel view since reportable REST API looks for ModuleURI or resourceURI or a ViewURI.
|
Ralph Schoon (63.5k●3●36●46)
| answered Jul 18, 5:13 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER 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 Comments
M K
commented Jul 18, 5:24 a.m.
ok... but your title includes Jazz Developer
so... can't you like look in the code or something?
Sure, I can look into the code. How would I know where to look? How would that help? I am also not a DNG developer. |
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
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".
|
Ian Barnard (2.3k●6●13)
| answered Jul 22, 4:23 a.m.
FORUM ADMINISTRATOR / FORUM MODERATOR / JAZZ DEVELOPER edited Jul 22, 6:16 a.m. Please be polite: impatience with people trying to help you isn't a good look. Comments
M K
commented Jul 22, 6:07 a.m.
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"?
Every IBM Employee with an Jazz.net account is flagged as Jazz Developer.
|
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
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
and that's why this forum is neigh useless...
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.
your title includes Jazz Developer and you're telling me there's no way to know what your REST API is capable of?