Skip to content

Commit 2408ff3

Browse files
committed
Minor fixes
Signed-off-by: Daniel Kastl <[email protected]>
1 parent 015f775 commit 2408ff3

File tree

3 files changed

+13
-31
lines changed

3 files changed

+13
-31
lines changed

doc/examples/camera_sensor.md

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ curl -iX POST "${BROKER_URL}/v2/entities" \
2727
"type": "geo:json"
2828
},
2929
"timestamp": {
30-
"value": "2021-09-01T12:00:00Z",
30+
"value": "2024-05-14T12:00:00Z",
3131
"type": "DateTime"
3232
}
3333
}'
@@ -52,12 +52,3 @@ curl -iX PATCH \
5252
```bash
5353
curl -iX DELETE "${BROKER_URL}/v2/entities/urn:ngsi-ld:SpeedCameraSensor:001"
5454
```
55-
56-
## Notes
57-
58-
- Ensure that the FIWARE context broker is running and accessible.
59-
- The coordinates in the location examples are in [longitude, latitude] format.
60-
61-
These cURL commands should help you interact with the FIWARE broker and test the
62-
Redmine GTT FIWARE plugin effectively. If you encounter any issues or need
63-
further assistance, please let us know!

doc/examples/location_sensor.md

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,3 @@ curl -iX PATCH \
4343
```bash
4444
curl -iX DELETE "${BROKER_URL}/v2/entities/urn:ngsi-ld:LocationSensor:001"
4545
```
46-
47-
## Notes
48-
49-
- Ensure that the FIWARE context broker is running and accessible.
50-
- The coordinates in the location examples are in [longitude, latitude] format.
51-
52-
These cURL commands should help you interact with the FIWARE broker and test the
53-
Redmine GTT FIWARE plugin effectively. If you encounter any issues or need
54-
further assistance, please let us know!

doc/examples/temperature_sensor.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,17 @@ curl -iX POST "${BROKER_URL}/v2/entities" \
1616
"type": "Number"
1717
}
1818
}'
19+
20+
curl -iX POST "${BROKER_URL}/v2/entities" \
21+
-H "Content-Type: application/json" \
22+
-d '{
23+
"id": "urn:ngsi-ld:TemperatureSensor:002",
24+
"type": "TemperatureSensor",
25+
"temperature": {
26+
"value": 25.0,
27+
"type": "Number"
28+
}
29+
}'
1930
```
2031

2132
## Update Temperature
@@ -36,16 +47,5 @@ curl -iX PATCH \
3647

3748
```bash
3849
curl -iX DELETE "${BROKER_URL}/v2/entities/urn:ngsi-ld:TemperatureSensor:001"
39-
```
40-
41-
### Get Entities
42-
43-
```bash
44-
curl -sX GET "${BROKER_URL}/v2/entities" -H "Accept: application/json" | jq
45-
```
46-
47-
### Get Subscriptions
48-
49-
```bash
50-
curl -sX GET "${BROKER_URL}/v2/subscriptions" -H "Accept: application/json" | jq
50+
curl -iX DELETE "${BROKER_URL}/v2/entities/urn:ngsi-ld:TemperatureSensor:002"
5151
```

0 commit comments

Comments
 (0)