Skip to content

Commit c50bfaa

Browse files
committed
fixing parametrs
1 parent 0c5af8a commit c50bfaa

3 files changed

Lines changed: 8 additions & 7 deletions

File tree

docs/concise.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ payloads are exceedingly regular and parseable, and can easily be reduced down t
3636
an operation necessary. However with the normalized format, is necessary to repeatedly supply common defining attributes
3737
such as `"type": "Property"` throughout the payload to ensure that machines can fully understand the data represented.
3838

39-
#### Normalized NGSI-LD using `options=normalized`
39+
#### Normalized NGSI-LD using `format=normalized`
4040

4141
```json
4242
{
@@ -481,7 +481,8 @@ format.
481481
curl -G -iX GET \
482482
'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:TemperatureSensor:001' \
483483
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
484-
-d 'options=concise,sysAttrs'
484+
-d 'options=sysAttrs' \
485+
-d 'format=concise'
485486
```
486487

487488
#### Response:

docs/context-providers.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ curl -G -X GET \
490490
-H 'NGSILD-Tenant: vet' \
491491
-H 'Content-Type: application/json' \
492492
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
493-
-d 'format=Animal' \
493+
-d 'type=Animal' \
494494
-d 'limit=100' \
495495
-d 'format=concise'
496496
```
@@ -563,7 +563,7 @@ curl -G -X GET \
563563
-H 'NGSILD-Tenant: farmer' \
564564
-H 'Content-Type: application/json' \
565565
-H 'Link: <http://context/user-context.jsonld>; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \
566-
-d 'format=Animal' \
566+
-d 'type=Animal' \
567567
-d 'limit=100' \
568568
-d 'format=concise'
569569
```

docs/short-term-history.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ curl -G -X GET \
560560
-d 'lastN=3' \
561561
-d 'q=sex==%22male%22' \
562562
-d 'timeproperty=modifiedAt' \
563-
-d 'options=count' \
563+
-d 'count=true' \
564564
-d 'pick=id,type,sex,heartRate' \
565565
-d 'timerel=before' \
566566
-d 'timeAt=<current_time>'
@@ -781,7 +781,7 @@ curl -G -I -X GET 'http://localhost:8080/temporal/entities/' \
781781
-d 'q=sex==%22male%22' \
782782
-d 'timeproperty=modifiedAt' \
783783
-d 'format=temporalValues' \
784-
-d 'options=count' \
784+
-d 'count=true' \
785785
-d 'pick=id,type,sex,heartRate' \
786786
-d 'timerel=before' \
787787
-d 'timeAt=<current_time>'
@@ -835,7 +835,7 @@ curl -G -X GET \
835835
-d 'q=sex==%22male%22' \
836836
-d 'timeproperty=modifiedAt' \
837837
-d 'format=temporalValues' \
838-
-d 'options=count' \
838+
-d 'count=true' \
839839
-d 'pick=id,type,sex,heartRate' \
840840
-d 'timerel=before' \
841841
-d 'timeAt=<current_time>' \

0 commit comments

Comments
 (0)