Skip to content

Commit 052e818

Browse files
committed
Add notes
1 parent cb008ee commit 052e818

2 files changed

Lines changed: 28 additions & 28 deletions

File tree

README.ja.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -460,7 +460,7 @@ git checkout NGSI-v2
460460
したがって、既知のコンテキストを提供せずに、すべての建物エンティティをリクエストできます。
461461

462462

463-
#### :one: リクエスト :
463+
#### 1️⃣ リクエスト :
464464

465465
```console
466466
curl -G -X GET \
@@ -543,7 +543,7 @@ curl -G -X GET \
543543

544544
**Product** エンティティのリクエストは、リクエストでエンティティ `type` の FQN を提供することでも実行できます。
545545

546-
#### :two: リクエスト :
546+
#### 2️⃣ リクエスト :
547547

548548
```console
549549
curl -G -X GET \
@@ -598,7 +598,7 @@ curl -G -X GET \
598598
**Shelf** エンティティのリクエストは、完全なコンテキストが `Link` ヘッダで提供されている場合、リクエストで
599599
エンティティ `type` の短縮名を提供することでも実行できます。
600600

601-
#### :three: リクエスト :
601+
#### 3️⃣ リクエスト :
602602

603603
```console
604604
curl -G -X GET \
@@ -667,7 +667,7 @@ curl -G -X GET \
667667
最初に、各棚は、`name`, `maxCapacity` および `location` の _Properties_ のみで作成されます。サンプルの棚 (shelf) は、
668668
以下でリクエストされます。
669669

670-
#### :four: リクエスト :
670+
#### 4️⃣ リクエスト :
671671

672672
```console
673673
curl -G -X GET \
@@ -740,7 +740,7 @@ _Relationships_ をさらに埋め込み、情報の豊富なグラフを提供
740740

741741
現在、リレーションシップは単方向であることに注意してください。**Shelf** :arrow_right: **Building**
742742

743-
#### :five: リクエスト :
743+
#### 5️⃣ リクエスト :
744744

745745
```console
746746
curl -X POST \
@@ -780,7 +780,7 @@ curl -X POST \
780780

781781
この例では、`id=urn:ngsi-ld:Shelf:unit001` で Shelf エンティティのコンテキスト・データを返します。
782782

783-
#### :six: リクエスト :
783+
#### 6️⃣ リクエスト :
784784

785785
```console
786786
curl -X GET \
@@ -924,7 +924,7 @@ NGSI-LD データ・エンティティとその関連データモデルを読み
924924
データ・エンティティの `id` と `type` がわかっている場合、`attrs` パラメータを使用して特定のフィールドを
925925
リクエストできます。
926926

927-
#### :seven: リクエスト :
927+
#### 7️⃣ リクエスト :
928928

929929
```console
930930
curl -G -X GET \
@@ -952,7 +952,7 @@ curl -G -X GET \
952952
この例は、`urn:ngsi-ld:Building:store001` 内にあるすべての **Shelf** エンティティの `locatedIn` URN を返します。
953953
これは純粋に、属性値でフィルタリングするために `q` パラメータを使用するインスタンスです。
954954

955-
#### :eight: リクエスト :
955+
#### 8️⃣ リクエスト :
956956

957957
```console
958958
curl -G -X GET \
@@ -988,7 +988,7 @@ curl -G -X GET \
988988

989989
これは、**Shelf** の `locatedIn` 属性との相互リレーションシップです。
990990

991-
#### :nine: リクエスト :
991+
#### 9️⃣ リクエスト :
992992

993993
```console
994994
curl -L -X POST 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store001/attrs' \
@@ -1018,7 +1018,7 @@ curl -L -X POST 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:
10181018

10191019
相互リレーションシップが既に存在するため、追加情報は **Shelf** エンティティ自体から取得できます。
10201020

1021-
#### :one::zero: リクエスト :
1021+
#### 1️⃣0️⃣ リクエスト :
10221022

10231023
```console
10241024
curl -G -X GET \
@@ -1051,7 +1051,7 @@ curl -G -X GET \
10511051

10521052
**StockOrder** は、標準の NGSI-LD データ・エンティティとして作成されます。
10531053

1054-
#### :one::one: リクエスト :
1054+
#### 1️⃣1️⃣ リクエスト :
10551055

10561056
```console
10571057
curl -X POST \
@@ -1099,7 +1099,7 @@ _Relationship_ 属性は他の属性とまったく同じであるため、**Sto
10991099
クエリの `q==orderedProduct="urn:ngsi-ld:Product:001"` は、エンティティのフィルタリングに使用されます。
11001100

11011101

1102-
#### :one::two: リクエスト :
1102+
#### 1️⃣2️⃣ リクエスト :
11031103

11041104
```console
11051105
curl -G -X GET \
@@ -1134,7 +1134,7 @@ curl -G -X GET \
11341134

11351135
クエリ `q==requestedFor="urn:ngsi-ld:Building:store001"` を使用してエンティティをフィルタリングします。
11361136

1137-
#### :one::three: リクエスト :
1137+
#### 1️⃣3️⃣ リクエスト :
11381138

11391139
```console
11401140
curl -G -X GET \
@@ -1168,7 +1168,7 @@ curl -G -X GET \
11681168
`/ngsi-ld/v1/entities/` エンドポイントに標準の GET リクエストを作成し、適切な URN を追加することにより、
11691169
完全な在庫オーダーを取得できます。
11701170

1171-
#### :one::four: リクエスト :
1171+
#### 1️⃣4️⃣ リクエスト :
11721172

11731173
```console
11741174
curl -G -X GET \

README.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ The Stores of the supermarket have been created using the FIWARE
427427
`fiware:Building` which expands to `https://uri.fiware.org/ns/data-models%23Building`. It is therefore possible to
428428
request all building entities without supplying a known context.
429429

430-
#### :one: Request:
430+
#### 1️⃣ Request:
431431

432432
```console
433433
curl -G -X GET \
@@ -501,7 +501,7 @@ models and `schema.org` respectively.
501501

502502
Requesting the **Product** entities can be done by supplying the FQN of the entity `type` in the request as well.
503503

504-
#### :two: Request:
504+
#### 2️⃣ Request:
505505

506506
```console
507507
curl -G -X GET \
@@ -553,7 +553,7 @@ The programmatically the Product model and its attributes are fully described in
553553
Requesting the **Shelf** entities can be done by supplying the short of the entity `type` in the request as well,
554554
provided the full context has been supplied in the `Link` header.
555555

556-
#### :three: Request:
556+
#### 3️⃣ Request:
557557

558558
```console
559559
curl -G -X GET \
@@ -611,7 +611,7 @@ The programmatically the Shelf model and its attributes are fully described in t
611611
Initially each shelf is created with `name`, `maxCapacity` and `location` _Properties_ only. A sample shelf is requested
612612
below.
613613

614-
#### :four: Request:
614+
#### 4️⃣ Request:
615615

616616
```console
617617
curl -G -X GET \
@@ -678,7 +678,7 @@ value of object is the URN corresponding to the linked data entity.
678678

679679
Note that the relationship is currently unidirectional. **Shelf** :arrow_right: **Building**.
680680

681-
#### :five: Request:
681+
#### 5️⃣ Request:
682682

683683
```console
684684
curl -X POST \
@@ -716,7 +716,7 @@ Having added the additional attributes, it is possible to query for the amended
716716

717717
This example returns the context data of the Shelf entity with the `id=urn:ngsi-ld:Shelf:unit001`.
718718

719-
#### :six: Request:
719+
#### 6️⃣ Request:
720720

721721
```console
722722
curl -X GET \
@@ -847,7 +847,7 @@ This example returns the `locatedIn` value associated with a given `Shelf` unit.
847847

848848
If the `id` and `type` of a data entity are known, a specific field can be requested by using the `attrs` parameter.
849849

850-
#### :seven: Request:
850+
#### 7️⃣ Request:
851851

852852
```console
853853
curl -G -X GET \
@@ -873,7 +873,7 @@ curl -G -X GET \
873873
This example returns the `locatedIn` URNs of all **Shelf** entities found within `urn:ngsi-ld:Building:store001`. This
874874
is purely an instance of using the `q` parameter to filter on attribute value
875875

876-
#### :eight: Request:
876+
#### 8️⃣ Request:
877877

878878
```console
879879
curl -G -X GET \
@@ -906,7 +906,7 @@ without additional data. This method is used to add **Shelf** entities as `furni
906906

907907
This is the reciprocal relationship to the `locatedIn` attribute on **Shelf**
908908

909-
#### :nine: Request:
909+
#### 9️⃣ Request:
910910

911911
```console
912912
curl -L -X POST 'http://localhost:1026/ngsi-ld/v1/entities/urn:ngsi-ld:Building:store001/attrs' \
@@ -935,7 +935,7 @@ To find all the `furniture` within a **Building**, simply make a request to retr
935935
Because the reicprocal relationship already exists, Additional information can be obtained from the **Shelf** entities
936936
themselves.
937937

938-
#### :one::zero: Request:
938+
#### 1️⃣0️⃣ Request:
939939

940940
```console
941941
curl -G -X GET \
@@ -966,7 +966,7 @@ complex metadata such as _Properties-of-Properties_ or _Properties-of-Relationsh
966966

967967
The **StockOrder** is created as a standard NGSI-LD data entity.
968968

969-
#### :one::one: Request:
969+
#### 1️⃣1️⃣ Request:
970970

971971
```console
972972
curl -X POST \
@@ -1010,7 +1010,7 @@ given product is sold.
10101010

10111011
The query `q==orderedProduct="urn:ngsi-ld:Product:001"` is used to filter the entities.
10121012

1013-
#### :one::two: Request:
1013+
#### 1️⃣2️⃣ Request:
10141014

10151015
```console
10161016
curl -G -X GET \
@@ -1043,7 +1043,7 @@ The query below returns an array of stores in which a given product is sold.
10431043

10441044
The query `q==requestedFor="urn:ngsi-ld:Building:store001"` is used to filter the entities.
10451045

1046-
#### :one::three: Request:
1046+
#### 1️⃣3️⃣ Request:
10471047

10481048
```console
10491049
curl -G -X GET \
@@ -1076,7 +1076,7 @@ request.
10761076
A complete stock order can be obtained by making a standard GET request to the `/ngsi-ld/v1/entities/` endpoint and
10771077
adding the appropriate URN.
10781078

1079-
#### :one::four: Request:
1079+
#### 1️⃣4️⃣ Request:
10801080

10811081
```console
10821082
curl -G -X GET \

0 commit comments

Comments
 (0)