Skip to content

Commit

Permalink
Explicitly add apiKey
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-fox committed Jun 28, 2024
1 parent 747d570 commit c40be4c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion FIWARE IoT Agent JSON.postman_collection.json
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
],
"body": {
"mode": "raw",
"raw": "{\n \"devices\": [\n {\n \"device_id\": \"motion013\",\n \"entity_name\": \"urn:ngsi-ld:Motion:010\",\n \"entity_type\": \"Motion\",\n \"apikey\": \"4jggokgpepnvsb2uv4s40d59ov\",\n \"timezone\": \"Europe/Berlin\",\n \"expressionLanguage\": \"jexl\",\n \"attributes\": [\n {\n \"name\": \"location\",\n \"type\": \"geo:point\",\n \"expression\": \"{coordinates: [lon,lat], type: 'Point'}\"\n },\n {\n \"name\": \"TimeInstant\",\n \"type\": \"DateTime\",\n \"expression\": \"ts|toisodate\"\n },\n {\n \"name\": \"lat\",\n \"type\": \"Number\"\n },\n {\n \"name\": \"lon\",\n \"type\": \"Number\"\n },\n {\n \"name\": \"ts\",\n \"type\": \"Number\"\n }\n ]\n }\n ]\n}"
"raw": "{\n \"devices\": [\n {\n \"device_id\": \"motion001\",\n \"entity_name\": \"urn:ngsi-ld:Motion:001\",\n \"entity_type\": \"Motion\",\n \"apikey\": \"4jggokgpepnvsb2uv4s40d59ov\",\n \"timezone\": \"Europe/Berlin\",\n \"attributes\": [\n {\n \"object_id\": \"c\",\n \"name\": \"count\",\n \"type\": \"Integer\"\n }\n ],\n \"static_attributes\": [\n {\n \"name\": \"refStore\",\n \"type\": \"Relationship\",\n \"value\": \"urn:ngsi-ld:Store:001\"\n }\n ]\n }\n ]\n}"
},
"url": {
"raw": "http://{{iot-agent}}/iot/devices",
Expand Down
1 change: 1 addition & 0 deletions README.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -669,6 +669,7 @@ curl -iX POST \
"device_id": "motion001",
"entity_name": "urn:ngsi-ld:Motion:001",
"entity_type": "Motion",
"apikey": "4jggokgpepnvsb2uv4s40d59ov",
"timezone": "Europe/Berlin",
"attributes": [
{ "object_id": "c", "name": "count", "type": "Integer" }
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -574,6 +574,7 @@ curl -iX POST \
"device_id": "motion001",
"entity_name": "urn:ngsi-ld:Motion:001",
"entity_type": "Motion",
"apikey": "4jggokgpepnvsb2uv4s40d59ov",
"timezone": "Europe/Berlin",
"attributes": [
{ "object_id": "c", "name": "count", "type": "Integer" }
Expand Down

0 comments on commit c40be4c

Please sign in to comment.