... | ... | @@ -78,7 +78,7 @@ Example to post a new Device entity: |
|
|
```
|
|
|
curl -X POST -H "Content-Type: application/json" -H "Fiware-Service: carouge" http://fiware-orion-ld:1026/v2/entities --data-binary @Device.json -vv
|
|
|
```
|
|
|
Example to get an Alert entity:
|
|
|
Example to get a Device entity:
|
|
|
```
|
|
|
curl -H "Fiware-Service: carouge" http://fiware-orion-ld:1026/v2/entities/urn:ngsi-ld:Device:Device-0972?type=Device -vv
|
|
|
```
|
... | ... | @@ -88,6 +88,15 @@ Source of the FlowerBed NGSI-LD data model: [https://fiware-datamodels.readthedo |
|
|
|
|
|
An example of a FlowerBed entity using the corresponding NGSI-LD data model can be found here: [NGSI-LD FlowerBed entity](https://gitlab.distantaccess.com/naiades/naiades-platform-poc/-/blob/migrate_to_ld_queries/NGSI-LD_data_models/FlowerBed.json)
|
|
|
|
|
|
Example to post a new FlowerBed entity:
|
|
|
```
|
|
|
curl -X POST -H "Content-Type: application/json" -H "Fiware-Service: carouge" http://fiware-orion-ld:1026/v2/entities --data-binary @FlowerBed.json -vv
|
|
|
```
|
|
|
Example to get a FlowerBed entity:
|
|
|
```
|
|
|
curl -H "Fiware-Service: carouge" http://fiware-orion-ld:1026/v2/entities/urn:ngsi-ld:Device:Device-0972?type=Device -vv
|
|
|
```
|
|
|
|
|
|
### WaterQualityObserved
|
|
|
Source of the WaterQualityObserved NGSI-LD data model: [https://github.com/smart-data-models/dataModel.WaterQuality/blob/master/WaterQualityObserved/README.md](https://github.com/smart-data-models/dataModel.WaterQuality/blob/master/WaterQualityObserved/README.md)
|
|
|
|
... | ... | |