Doors Next Generation 7.1 Get the name of the component given component URI
I am extracting the componentURI parameter from a Module View URL. An example of value of componentURI: https://servername/rm/rm-projects/_L0uxUDdLEfC9w5YlR48kfw/components/_uUqUUEF_EfCX__ozRD_BgQ. When I do a GET request for that URL, it gives me information for the Project Area and not the Component. I'm trying to get the component's name. Is there any way to get the component's name given the component URI?
One answer
Looks like if I extract the component ID from the componentURI (extracting _uUqUUEF_EfCXozRD_BgQ from https://servername/rm/rm-projects/_L0uxUDdLEfC9w5YlR48kfw/components/_uUqUUEF_EfCXozRD_BgQ), and do a GET request for https://servername/rm/cm/component/_uUqUUEF_EfCXozRD_BgQ, I can get the component name from the XML response. Is this a reliable approach that should still work for future versions of Doors Next? Or is there a more reliable method given the componentURI (https://servername/rm/rm-projects/_L0uxUDdLEfC9w5YlR48kfw/components/_uUqUUEF_EfCXozRD_BgQ)?