Skip to content

Commit

Permalink
Merge pull request #1529 from telefonicaid/fix/explicitAttrs-doc
Browse files Browse the repository at this point in the history
[Doc] Fix explicitAttrs doc
  • Loading branch information
fgalan authored Nov 22, 2023
2 parents b6f68e0 + c0d1094 commit 4f2eb3c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -436,6 +436,9 @@ conditionally TimeInstant) will be propagated to NGSI interface (note that in th
not a JSON but a JEXL Array that looks likes a JSON). Only static attributes included in that array will be propagated
to NGSI interface.

All attributes contained in the array must be defined as `attributes` or `static_attributes`. Not defined measures
(`object_id`) will be dropped, even if they are defined in the `explicitAttrs` array.

Case 4:

```
Expand All @@ -447,6 +450,9 @@ propagated to NGSI interface (note that in this case the value of `explicitAttrs
that looks likes a JSON). This is necessary when same attribute names are used within multiple entities. Only static
attributes included in that array will be propagated to NGSI interface.

Note that in the previous case show above, when selecting the object_id (with `{object_id:'active_id'}`), the attribute
must be defined. In other words, it would not work if the attribute with the corresponding `object_id`, is not defined.

Case 5:

```
Expand Down

0 comments on commit 4f2eb3c

Please sign in to comment.