Details
-
Type: extRequest
-
Status: Closed
-
Priority: Major
-
Resolution: Done
-
Fix Version/s: 2021
-
Component/s: FIWARE-TECH-HELP
-
Labels:None
-
HD-Enabler:Orion
Description
Hello again,
To update entities owned by a context provider in Orion, they must be
registered by type and id.
If we register the context provider specifying only the entity type, then
when we try to update passing an id in addition to the type.
POST http://192.168.1.141:1026/v2/registrations/
{
"dataProvided": {
"entities": [
]
},
"provider": {
"http":
,
"legacyForwarding": true
}
}
Response
201 Created
But we can not update an entity of this type. when used the following
query...
PATCH
http://192.168.1.141:1026/v2/entities/5b4bd791ccfc03708e521285/attrs/?type=Building
the answer 404 is not found.
Is there any way to update entities without the need to register their
identifier for each one?
Regards
__________________________________________________________________________________________
You can get more information about our cookies and privacy policies on the following links:
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/FIWARE_Privacy_Policy
- http://forge.fiware.org/plugins/mediawiki/wiki/fiware/index.php/Cookies_Policy_FIWARE
Fiware-tech-help mailing list
Fiware-tech-help@lists.fiware.org
https://lists.fiware.org/listinfo/fiware-tech-help
[Created via e-mail received from: =?UTF-8?Q?Ailema_V=C3=A1zquez_Garc=C3=ADa?= <avazquez@bettergy.es>]
assigning Jason as I'm going on vacation until end of the month