(RTC Process Data) We want to get "attribute type" , when we use REST API
InstanceShape can not get information of "attribute type".
|
3 answers
See 5.2 Property Constraints for details about standard OSLC properties. Comments
HIROAKI JOSAKO
commented Jun 26 '19, 4:52 a.m.
Hi Jim
HIROAKI JOSAKO
commented Jun 26 '19, 8:42 p.m.
Hi Ralph.
|
Hiroaki,
I think what Jim meant is that you have to fetch the RDF for the shape of the answer (not the answer itself) and check its "oslc:maxSize" property for the string (and have a custom code to infer small/medium/large string format).
Same should work for HTML. I have no idea how to deal with the enumerations.
Cheers,
Andrew
(Eclipse Lyo project lead)
|
Andrew
Comments
Andrew Berezovskyi
commented Jul 25 '19, 6:05 a.m.
I am afraid with the approach I have suggested you can either ask the product people to add those properties to the OSLC responses of the products in question or to hardcode the mapping of the property names to attribute types (but I guess you did that in the meantime already).
HIROAKI JOSAKO
commented Jul 25 '19, 8:28 p.m.
Hi Andrew!!
|
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.