[OTDev] IDs for features, feature_definitions ...

Nina Jeliazkova nina at acad.bg
Thu Oct 1 18:58:20 CEST 2009


Hi Christoph, Tobias, All,

Christoph Helma wrote:
> Hi Tobias,
>
> You can also try to define a GET method that returns the local id, e.g.
>
> 	GET http://lxkramer13.informatik.tu-muenchen.de:8180/OpenTox/feature_definition/{feature_definition_id}/id
>
> should return
>
> 	{feature_definition_id}
>
>   
Added into the feature_definition operations.  This approach seems
relevant for other objects as well.  Should we add 
/object/{objectid}/id  for all other objects?

Please have a look at my  comment  at
http://www.opentox.org/dev/apis/api-1.1/feature.

Best regards,
Nina
>> If we use just something like CDK_topoShape as ID instead of a URI, we
>> have the problem that this would have to be unique over the whole
>> OpenTox system to prevent mix ups.
>>     
>
> I suggest to move the feature-definition part to the feature-ontology
> (which should use a controlled vocabulary with unique feature names).
>
> Best regards,
> Christoph
> _______________________________________________
> Development mailing list
> Development at opentox.org
> http://www.opentox.org/mailman/listinfo/development
>   




More information about the Development mailing list