File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ STELLIO_TIMESCALE_POSTGIS=14-2.11.1-3.3
2323CURL_VERSION = 8.4.0
2424
2525# IoT Agent JSON Variables
26- JSON_VERSION = 2.4 .0-distroless
26+ JSON_VERSION = 3.1 .0-distroless
2727IOTA_NORTH_PORT = 4041
2828IOTA_SOUTH_PORT = 7896
2929
Original file line number Diff line number Diff line change @@ -712,14 +712,14 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Device:te
712712
713713#### レスポンス:
714714
715- ``` jsonld
715+ ``` json
716716{
717717 "@context" : " http://context/ngsi-context.jsonld" ,
718718 "id" : " urn:ngsi-ld:Device:temperature001" ,
719719 "type" : " Device" ,
720720 "temperature" : {
721721 "type" : " Property" ,
722- " value" : " 3 " ,
722+ "value" : 3 ,
723723 "unitCode" : " CEL" ,
724724 "observedAt" : " 2020-09-14T15:23:12.263Z"
725725 }
@@ -760,7 +760,7 @@ curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=Device' \
760760
761761#### レスポンス:
762762
763- ``` jsonld
763+ ``` json
764764[
765765 {
766766 "@context" : " http://context/ngsi-context.jsonld" ,
@@ -921,7 +921,6 @@ curl -L -X POST 'http://localhost:4041/iot/devices' \
921921-H 'fiware-service: openiot' \
922922-H 'fiware-servicepath: /' \
923923-H 'Content-Type: application/json' \
924- -H 'Cookie: _csrf=MAPTGFPcoPnewsGCWklHi4Mq' \
925924--data-raw '{
926925 "devices": [
927926 {
Original file line number Diff line number Diff line change @@ -696,14 +696,14 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Device:te
696696
697697# ### Response:
698698
699- ` ` ` jsonld
699+ ` ` ` json
700700{
701701 "@context": "http://context/ngsi-context.jsonld",
702702 "id": "urn:ngsi-ld:Device:temperature001",
703703 "type": "Device",
704704 "temperature": {
705705 "type": "Property",
706- "value": "3" ,
706+ "value": 3 ,
707707 "unitCode": "CEL",
708708 "observedAt": "2020-09-14T15:23:12.263Z"
709709 }
@@ -746,7 +746,7 @@ curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=Device' \
746746
747747# ### Response:
748748
749- ` ` ` jsonld
749+ ` ` ` json
750750[
751751 {
752752 "@context": "http://context/ngsi-context.jsonld",
@@ -906,7 +906,6 @@ curl -L -X POST 'http://localhost:4041/iot/devices' \
906906-H 'fiware-service: openiot' \
907907-H 'fiware-servicepath: /' \
908908-H 'Content-Type: application/json' \
909- -H 'Cookie: _csrf=MAPTGFPcoPnewsGCWklHi4Mq' \
910909--data-raw '{
911910 "devices": [
912911 {
You can’t perform that action at this time.
0 commit comments