(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 Hi Jim
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 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). Hi Andrew!!
|