diff --git a/NGSI-LD Merge-Patch and Put.postman_collection.json b/NGSI-LD Merge-Patch and Put.postman_collection.json index 4eefbb5..11de5ec 100644 --- a/NGSI-LD Merge-Patch and Put.postman_collection.json +++ b/NGSI-LD Merge-Patch and Put.postman_collection.json @@ -223,7 +223,7 @@ "header": [ { "key": "Link", - "value": "<{{json-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"", + "value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"", "type": "text" }, { @@ -269,7 +269,7 @@ "header": [ { "key": "Link", - "value": "<{{json-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"", + "value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"", "type": "text" }, { @@ -321,7 +321,7 @@ "header": [ { "key": "Link", - "value": "<{{json-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"", + "value": "<{{ngsi-context.jsonld}}>; rel=\"http://www.w3.org/ns/json-ld#context\"; type=\"application/ld+json\"", "type": "text" }, { diff --git a/README.ja.md b/README.ja.md index e1d5fb8..cb28882 100644 --- a/README.ja.md +++ b/README.ja.md @@ -423,7 +423,7 @@ Content-Length: ```console curl -L -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' ``` @@ -480,7 +480,7 @@ curl -L -X GET \ ```console curl -L -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:002' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'options=concise' ``` @@ -583,7 +583,7 @@ _Properties_ と、`unitCode` や `observedAt` などの _Properties of Properti ```console curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' ``` @@ -694,7 +694,7 @@ curl -L -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=temperature' \ ``` @@ -757,7 +757,7 @@ curl -L -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:002' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'options=concise' ``` @@ -841,7 +841,7 @@ curl -L -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=address' \ ``` @@ -912,7 +912,7 @@ curl -G -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=address,temperature,location,runBy' \ ``` @@ -991,7 +991,7 @@ curl -G -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=temperature,location' \ ``` @@ -1049,7 +1049,7 @@ curl -G -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'options=keyValues' \ -d 'attrs=temperature,population,name' diff --git a/README.md b/README.md index df2ccbd..4d290e4 100644 --- a/README.md +++ b/README.md @@ -411,7 +411,7 @@ the entities have changed after each operation. ```console curl -L -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' ``` @@ -468,7 +468,7 @@ curl -L -X GET \ ```console curl -L -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:002' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'options=concise' ``` @@ -569,7 +569,7 @@ _Properties_ and _Properties of Properties_ such as `unitCode` and `observedAt` ```console curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' ``` @@ -678,7 +678,7 @@ _Property of a Property_ has been inserted. ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=temperature' \ ``` @@ -740,7 +740,7 @@ _Property_ has been inserted and the `name` updated. ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:002' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'options=concise' ``` @@ -822,7 +822,7 @@ Once again retrieving the `urn:ngsi-ld:City:001`, you can see that the `address` ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=address' \ ``` @@ -892,7 +892,7 @@ changed. ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=address,temperature,location,runBy' \ ``` @@ -969,7 +969,7 @@ time the timestamp has also changed. ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'attrs=temperature,location' \ ``` @@ -1026,7 +1026,7 @@ curl -G -X PATCH \ ```console curl -G -X GET \ 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:City:001' \ --H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ +-H 'Link: ; rel="http://www.w3.org/ns/json-ld#context"; type="application/ld+json"' \ -H 'Accept: application/json' \ -d 'options=keyValues' \ -d 'attrs=temperature,population,name'