Skip to content

Commit

Permalink
Merge pull request #1681 from telefonicaid/AlvaroVega-patch-1
Browse files Browse the repository at this point in the history
Update api.md
  • Loading branch information
fgalan authored Jan 16, 2025
2 parents 7b4a41e + 0551e0a commit 45f98a5
Showing 1 changed file with 4 additions and 8 deletions.
12 changes: 4 additions & 8 deletions doc/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1998,14 +1998,10 @@ the API resource fields and the same fields in the database model.
| `internal_attributes` || `array` | | List of internal attributes with free format for specific IoT Agent configuration. |
| `explicitAttrs` || `boolean` || Field to support selective ignore of measures so that IOTA doesn’t progress. See details in [specific section](#explicitly-defined-attributes-explicitattrs) |
| `ngsiVersion` || `string` | | string value used in mixed mode to switch between **NGSI-v2** and **NGSI-LD** payloads. The default is `v2`. When not running in mixed mode, this field is ignored. |
| `payloadType` || `string` | | optional string value used to switch between **IoTAgent**, **NGSI-v2** and **NGSI-LD** measure payloads types. Possible values are: `iotagent`, `ngsiv2` or `ngsild`. The default is `iotagent`. |

| `storeLastMeasure` | ✓ | `boolean` | | Store in device last measure received. See more info
[in this section](admin.md#storelastmeasure). False by default.

| `useCBflowControl` | ✓ | `boolean` | | Use Context Broker flow control. See more info
[in this section](admin.md#useCBflowControl). False by default.

| `payloadType` || `string` | | optional string value used to switch between **IoTAgent**, **NGSI-v2** and **NGSI-LD** measure payloads types. Possible values are: `iotagent`, `ngsiv2` or `ngsild`. The default is `iotagent`. |
| `storeLastMeasure` || `boolean` | | Store in device last measure received. See more info [in this section](admin.md#storelastmeasure). False by default. |
| `lastMeasure` || `object` | | last measure stored on device when `storeLastMeasure` is enabled. See more info [in this section](admin.md#storelastmeasure). |
| `useCBflowControl` || `boolean` | | Use Context Broker flow control. See more info [in this section](admin.md#useCBflowControl). False by default. |
### Device operations

#### Retrieve devices /iot/devices `GET /iot/devices`
Expand Down

0 comments on commit 45f98a5

Please sign in to comment.