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
|
Accepted answer
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
Comments
Luis Silva
commented May 16 '16, 9:51 a.m.
Thank you for the response!
|
One other answer
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. |
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.