简体   繁体   中英

FIWARE: IOTAgent JSON add new atrtibute to existing device

I have registered some devices at IOTAgent and Orion Context Broker.

Is it possible to add a new attribute in the registered device at IOTAgent and also at Context Broker ?

Many thanks in advance for your help

Best Regards

You can use:

POST /v2/entities (if the entity does not already exist) or POST /v2/entities/<id>/attrs?options=append (if the entity already exists).

Otherwise have a look the lastest manual, specifically the appendStrict and append section: Update action type

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM