telefonicaid / iotagent-node-lib

Module to enable IoT Agent developers to build custom agents for their devices that can easily connect to NGSI Context Brokers
https://iotagent-node-lib.rtfd.io/
GNU Affero General Public License v3.0
60 stars 85 forks source link

[WIP] notify by apikey instead of name and type of device #1558

Closed AlvaroVega closed 8 months ago

AlvaroVega commented 8 months ago

To allow a notification like:

curl -i -X POST http://localhost:4052/notify -d '{ "subscriptionId": "abc1234", "data": [{"id": "disp1", "type": "Thing", "apikey": "theapikey"}] }' -H 'content-type: application/json'