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

oslc REST API: POST requirements with images in primary text

 Hi,

I'm new at the RM OSCL REST API but I've been able to create a requirement through the creationFactory. However, I would like to ask you how to POST a requirement which has an image in the artifact descrption. Do I have to previously import the image and then use the image resource link in the description of the artifact? Is it possible to do this in one step approach?´

Thanks in advance,
Luis

0 votes


Accepted answer

Permanent link
This has to be a two-step approach. See below post for a similar discussion.
https://jazz.net/forum/questions/172917/image-traceability-in-dng

Luis Silva selected this answer as the correct answer

0 votes

Comments

 Thank you for the response! 

The post was very helpfull!


One other answer

Permanent link
Hello Luis Silva,

Everything is a resource in the new paradigm based on OSLC and the Linked Data approach. First you would need to POST a requirement (or any other artifact type) with an attached image.
Then you should add a HTML image tag into the second requirement pointing to the image.

0 votes

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,944
× 516
× 139

Question asked: May 07 '16, 3:07 p.m.

Question was seen: 3,715 times

Last updated: May 16 '16, 9:51 a.m.

Confirmation Cancel Confirm