Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes


Accepted answer

Permanent link
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

0 votes

Comments

 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.

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

Register or log in to post 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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details
× 10,941

Question asked: Feb 17 '16, 11:28 a.m.

Question was seen: 2,390 times

Last updated: Feb 26 '16, 4:34 a.m.

Confirmation Cancel Confirm