Skip to content

Commit

Permalink
Update context
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jun 27, 2024
1 parent 11b1377 commit 978e52d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 4 deletions.
10 changes: 8 additions & 2 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -713,7 +713,10 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Device:te

```json
{
"@context": "http://context/ngsi-context.jsonld",
"@context": [
"http://context/ngsi-context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.7.jsonld"
],
"id": "urn:ngsi-ld:Device:temperature001",
"type": "Device",
"temperature": {
Expand Down Expand Up @@ -764,7 +767,10 @@ curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=Device' \
```json
[
{
"@context": "http://context/ngsi-context.jsonld",
"@context": [
"http://context/ngsi-context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.7.jsonld"
],
"id": "urn:ngsi-ld:Device:motion003",
"type": "Device",
"c": {
Expand Down
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,10 @@ curl -G -iX GET 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Device:te

```json
{
"@context": "http://context/ngsi-context.jsonld",
"@context": [
"http://context/ngsi-context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.7.jsonld"
],
"id": "urn:ngsi-ld:Device:temperature001",
"type": "Device",
"temperature": {
Expand Down Expand Up @@ -750,7 +753,10 @@ curl -L -X GET 'http://localhost:1026/ngsi-ld/v1/entities/?type=Device' \
```json
[
{
"@context": "http://context/ngsi-context.jsonld",
"@context": [
"http://context/ngsi-context.jsonld",
"https://uri.etsi.org/ngsi-ld/v1/ngsi-ld-core-context-v1.7.jsonld"
],
"id": "urn:ngsi-ld:Device:motion003",
"type": "Device",
"c": {
Expand Down

0 comments on commit 978e52d

Please sign in to comment.