How fetch the value of "Artifact Type" Property for Requirement Artifact in OSLC
Hi
I have a resource artifact .Lets say :
https://server:port/rm/resources/_ca7b63a4172f42fdb6d5f646c8b63f5e .
Now for this artifact i need to know value of property "Artifact Type".
Is there way to perform GET on this artifact and fetch all property value.
|
Accepted answer
In the response of the artifact hyperlink, you should see an attribute <oslc:instanceShape>. Follow the link within this attribute, and check the <dc:title> at the top level (there are many other <dc:title> at lower levels). This is the "Artifact Type" you are looking for.
Amit Kumar selected this answer as the correct answer
Comments
Amit Kumar
commented Feb 26 '16, 4:01 a.m.
Hi Nong,,
Thanks for your help.
I scanned oslc:instanceshape response but I found reference to "Artifact Format" .
I need to know about "Artifact Type " which commonly displayed in DRNG UI.
Let me know what i can do more.
Donald Nong
commented Feb 26 '16, 4:34 a.m.
Please re-read my post. You should see many <dc:title> in the response, and one of them (the top level one) is the "Artifact Type".
|
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.