REST/OSLC - How do you retrieve the root folder for a component or project area created after v6.0.3?
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
Accept: application/rdf+xml
vvc.configuration: https://hostname:9443/rm/cm/stream/_z--Pp2mUEei2S4SuATkrZw
Response: https://hostname.ibm.com:9443/rm/folders/_0IpwEWmUEei2S4SuATkrZw