It's all about the answers!

Ask a question

supress 'rdf:resource' elements from oslc responses


Jason Hampton (112) | asked Jun 13 '18, 4:46 p.m.

I am doing oslc queries like
https://localhost:9443/jazz/oslc/workitems/821.json?oslc_cm.properties=dc:identifier,dc:title

is there any way to suppress the self 'rdf:resource' entries in the responses?

{
    "dc:title":"a better summary",
    "rdf:resource":"https:\/\/localhost:9443\/jazz\/resource\/itemOid\/com.ibm.team.workitem.WorkItem\/_drv9oFdSEd6YyMDUky_TYw",
    "dc:identifier":821
}

One answer



permanent link
Jason Hampton (112) | answered Jun 15 '18, 11:39 a.m.

these resolution links, by byte volume, comprise 2/3 the payload size. maybe I'm picking nits, but it would clean up the logs tremendously.


Comments
Jason Hampton commented Jun 15 '18, 11:40 a.m.

I feel your pain, but no way I know of

Your answer


Register or to post your answer.