Missing "Links" attribute when querying AM artifacts via REST API
Hello everyone,
I'm currently working on tracing relationships between our low-level requirements (stored in Architecture Management) and our high-level requirements (stored in Requirements Management). My team keeps all architecture artifacts inside the AM application, and we are tyuing to retrieve link information directly through the REST API for analysis and reporting.
We are using the following endpoint to extract AM artifacts:
https://server/am/reporting/rhapsody/ArchitectureElement?projectId=UUID&oslc_config.context=https%3A%2F%2Fserver%2Fgc%2Fconfiguration%2Fid
https://server/am/reporting/rhapsody/ArchitectureElement?projectId=UUID&oslc_config.context=https%3A%2F%2Fserver%2Fgc%2Fconfiguration%2Fid
Using this query, we can successfully retrieve all AM artifacts. However, the outpuyt does not include the "Links" attribute, even though it is defined in the Architecture Element schema. When examining the returned XML/JSON, the attribute simply does not appear.
My questions are:
Should the Links attribute appear by default in the AM REST responses?
Is there an additional parameter or different endpoint needed to retrieve link information?
Does AM expose relationship data through a different API than the one we are using?
I also tried using the link metrics API listed in the RMM REST documentation, and it reports zero linked artifacts, even though all the links are visible and working inside the AM application. This makes me think that we are querying the wrong endpoint or missing some configuration step.
If anyone has experience extracting link data from AM through REST or can point me to the right documentation, I would really appreciate it.
Thanks,
Adrian