REST/OSLC - How do you retrieve the root folder for a component or project area created after v6.0.3?
Rosa Naranjo (2.9k●1●17●23)
| asked Jul 31 '18, 3:48 p.m.
FORUM MODERATOR / JAZZ DEVELOPER edited Jul 31 '18, 4:30 p.m. by Ralph Schoon (63.5k●3●36●46)
How do you retrieve the root folder for a component or project area created after v6.0.3 using REST/OSLC?
|
Accepted answer
Prior to v6.0.3, the root folder in a project shared the UUID with the project itself.
v6.0.3 introduced components.
Now, in order to retrieve the root folder for a given component, you need to follow this recipe.
Provide a stream URL from this component as a vvc.configuration header
Using POSTER or ARC Chrome extension,
URL: https://hostname:9443/rm/rm-projects/_0d-BoWfvEeeVCYbpmvCYUw/components/_z-0eoGmUEei2S4SuATkrZw?root-folder
Accept: application/rdf+xml vvc.configuration: https://hostname:9443/rm/cm/stream/_z--Pp2mUEei2S4SuATkrZw Response: https://hostname.ibm.com:9443/rm/folders/_0IpwEWmUEei2S4SuATkrZw Ralph Schoon selected this answer as the correct answer
|
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.