Hi Fermin, In NGSI there is not really the concept of adding or removing an entity, one can only add or remove attribute values for entities. Probably for an NGSI-based database it makes sense to remove the record for an entity about which no attribute value is available anymore, but this is more a design choice for the implementation than a matter of the standard. Best Tobias From: fiware-ngsi-bounces at lists.fi-ware.org [mailto:fiware-ngsi-bounces at lists.fi-ware.org] On Behalf Of Fermín Galán Márquez Sent: Mittwoch, 2. April 2014 16:56 To: fiware-ngsi at lists.fi-ware.eu Subject: [Fiware-ngsi] Interpretation of DELETE on http://{serverRoot}/{apiVersion}/contextEntities/{entityID} Current NGSI10 binding document version 1.0 at http://forge.fi-ware.org/plugins/mediawiki/wiki/fiware/index.php/FI-WARE_NGSI:_publicly_available_documents states: 3.1.4 DELETE [on http://{serverRoot}/{apiVersion}/contextEntities/{entityID}] This operation allows deleting all information about the Context Entity represented by the resource, i.e., all related attribute values and metadata. The request does not have a body, and the response body is an instance of StatusCode. Our interpretation of this (and our implementation in Orion Context Broker, aligned with that interpretation) is that removing all related attributes and metadata of an entity is equal to delete the entity itself. We would like to know how other NGSI implementors are interpreting this. Are your implementing this in a similar way? Thanks for the feedback! Best regards, ------ Fermín ________________________________ Este mensaje se dirige exclusivamente a su destinatario. Puede consultar nuestra política de envío y recepción de correo electrónico en el enlace situado más abajo. This message is intended exclusively for its addressee. We only send and receive email on the basis of the terms set out at: http://www.tid.es/ES/PAGINAS/disclaimer.aspx -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://lists.fiware.org/private/fiware-ngsi/attachments/20140402/e1abb739/attachment.html>
You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy Cookies policy