[OTDev] IDs for features, feature_definitions ...
Christoph Helma helma at in-silico.deThu Oct 1 21:19:09 CEST 2009
- Previous message: [OTDev] IDs for features, feature_definitions ...
- Next message: [OTDev] IDs for features, feature_definitions ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Excerpts from Nina Jeliazkova's message of Thu Oct 01 18:58:20 +0200 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? I personally tend to parse IDs directly from the URI. An GET */id method could be cleaner, but I would make it only mandatory, if a lot of developers need it. > > Please have a look at my comment at > http://www.opentox.org/dev/apis/api-1.1/feature. I have tried to clarify this in my response. Best regards, Christoph
- Previous message: [OTDev] IDs for features, feature_definitions ...
- Next message: [OTDev] IDs for features, feature_definitions ...
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Development mailing list