File tree Expand file tree Collapse file tree 3 files changed +13
-31
lines changed Expand file tree Collapse file tree 3 files changed +13
-31
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,7 @@ curl -iX POST "${BROKER_URL}/v2/entities" \
27
27
"type": "geo:json"
28
28
},
29
29
"timestamp": {
30
- "value": "2021-09-01T12 :00:00Z",
30
+ "value": "2024-05-14T12 :00:00Z",
31
31
"type": "DateTime"
32
32
}
33
33
}'
@@ -52,12 +52,3 @@ curl -iX PATCH \
52
52
``` bash
53
53
curl -iX DELETE " ${BROKER_URL} /v2/entities/urn:ngsi-ld:SpeedCameraSensor:001"
54
54
```
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!
Original file line number Diff line number Diff line change @@ -43,12 +43,3 @@ curl -iX PATCH \
43
43
``` bash
44
44
curl -iX DELETE " ${BROKER_URL} /v2/entities/urn:ngsi-ld:LocationSensor:001"
45
45
```
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!
Original file line number Diff line number Diff line change @@ -16,6 +16,17 @@ curl -iX POST "${BROKER_URL}/v2/entities" \
16
16
"type": "Number"
17
17
}
18
18
}'
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
+ }'
19
30
```
20
31
21
32
## Update Temperature
@@ -36,16 +47,5 @@ curl -iX PATCH \
36
47
37
48
``` bash
38
49
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"
51
51
```
You can’t perform that action at this time.
0 commit comments