@@ -387,7 +387,7 @@ curl -iX POST 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Temperature
387387-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
388388--data-raw '{
389389 "batteryLevel": {
390- "value": 0.8 ,
390+ "value": 0.9 ,
391391 "unitCode": "C62"
392392 },
393393 "controlledAsset": {
@@ -484,18 +484,11 @@ The request will fail if any of the attributes already exist in the context. The
484484been successful and the reason for failure (if any has occurred).
485485
486486``` json
487- {
488- "@context" : [
489- " http://context/user-context.jsonld" ,
490- " https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.7.jsonld"
491- ],
492- "success" : [
487+ [
493488 " urn:ngsi-ld:TemperatureSensor:002" ,
494489 " urn:ngsi-ld:TemperatureSensor:003" ,
495490 " urn:ngsi-ld:TemperatureSensor:004"
496- ],
497- "errors" : []
498- }
491+ ]
499492```
500493
501494### Batch Create/Overwrite New Data Entities
@@ -594,7 +587,7 @@ to content negotiation if the `Accept:application/json` had been set). The full
594587 "unitCode" : " CEL"
595588 },
596589 "batteryLevel" : {
597- "value" : 0.8 ,
590+ "value" : 0.9 ,
598591 "createdAt" : " 2020-08-27T14:33:10Z" ,
599592 "modifiedAt" : " 2020-08-27T14:33:10Z" ,
600593 "unitCode" : " C62"
@@ -620,7 +613,8 @@ known `id`.
620613``` console
621614curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:TemperatureSensor:001' \
622615-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
623- -d 'attrs=temperature'
616+ -d 'attrs=temperature' \
617+ -d 'options=concise'
624618```
625619
626620#### Response:
@@ -674,7 +668,7 @@ The sensor `urn:ngsi-ld:TemperatureSensor:001` is reading at 25°C. The response
674668 "unitCode" : " CEL"
675669 },
676670 "batteryLevel" : {
677- "value" : 0.8 ,
671+ "value" : 0.9 ,
678672 "unitCode" : " C62"
679673 },
680674 "controlledAsset" : {
@@ -790,7 +784,7 @@ context will now contain four sensors.
790784 "id" : " urn:ngsi-ld:TemperatureSensor:001" ,
791785 "type" : " TemperatureSensor" ,
792786 "batteryLevel" : {
793- "value" : 0.8 ,
787+ "value" : 0.9 ,
794788 "unitCode" : " C62"
795789 },
796790 "category" : " sensor" ,
0 commit comments