It's all about the answers!

Ask a question

Query wrappedResources for Image Files


magnus Elfving (348) | asked Nov 01 '21, 10:03 a.m.
edited Nov 01 '21, 11:41 a.m. by Ralph Schoon (63.5k33646)
Hi 

I have noted when checking "primaryText" in artefacts containing figures, that the html-code refers to the actual image- file through a resource called "wrappedResources", see below. 

<p dir="ltr" id="_1635758558556"><img alt="Embedded image" id="_1635758544695" src="https://x.x.x.x/rm/wrappedResources/_IuN1UYDaEeuc2f2NAwVSqg?accept=none&amp;private"></img></p>

Is it possible to query (via OSLC REST API) this resource for contents, and also, to post contents (image files) to this resource ? 

Kind Regards

Comments
Michael Rowe commented Oct 19 '23, 3:46 p.m.
FORUM ADMINISTRATOR / FORUM MODERATOR

Take a look at this question - https://jazz.net/forum/questions/273866/how-to-create-a-oslc-query-to-download-a-artifact-of-type-document-in-dng with Ian mentions - "You can query for these by using oslc.where=rdm_types:ArtifactFormat=jazz:rm:WrapperResource perhaps with additional conditions to limit the results" 

Be the first one to answer this question!


Register or 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.