|
88 | 88 | ],
|
89 | 89 | "body": {
|
90 | 90 | "mode": "raw",
|
91 |
| - "raw": "{\n \"devices\": [\n {\n \"device_id\": \"motion013\",\n \"entity_name\": \"urn:ngsi-ld:Motion:010\",\n \"entity_type\": \"Motion\",\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}" |
| 91 | + "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}" |
92 | 92 | },
|
93 | 93 | "url": {
|
94 | 94 | "raw": "http://{{iot-agent}}/iot/devices",
|
|
195 | 195 | ],
|
196 | 196 | "body": {
|
197 | 197 | "mode": "raw",
|
198 |
| - "raw": "{\n \"devices\": [\n {\n \"device_id\": \"bell001\",\n \"entity_name\": \"urn:ngsi-ld:Bell:001\",\n \"entity_type\": \"Bell\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/bell001\",\n \"commands\": [ \n {\n \"name\": \"ring\",\n \"type\": \"command\"\n }\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:001\"}\n \t]\n }\n ]\n}\n" |
| 198 | + "raw": "{\n \"devices\": [\n {\n \"device_id\": \"bell001\",\n \"entity_name\": \"urn:ngsi-ld:Bell:001\",\n \"entity_type\": \"Bell\",\n \"apikey\": \"4jggokgpepnvsb2uv4s40d59ov\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/bell001\",\n \"commands\": [ \n {\n \"name\": \"ring\",\n \"type\": \"command\"\n }\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:001\"}\n \t]\n }\n ]\n}\n" |
199 | 199 | },
|
200 | 200 | "url": {
|
201 | 201 | "raw": "http://{{iot-agent}}/iot/devices",
|
|
306 | 306 | ],
|
307 | 307 | "body": {
|
308 | 308 | "mode": "raw",
|
309 |
| - "raw": "{\n \"devices\": [\n {\n \"device_id\": \"door001\",\n \"entity_name\": \"urn:ngsi-ld:Door:001\",\n \"entity_type\": \"Door\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/door001\",\n \"commands\": [ \n {\"name\": \"unlock\",\"type\": \"command\"},\n {\"name\": \"open\",\"type\": \"command\"},\n {\"name\": \"close\",\"type\": \"command\"},\n {\"name\": \"lock\",\"type\": \"command\"}\n ],\n \"attributes\": [\n \t{\"object_id\": \"s\", \"name\": \"state\", \"type\":\"Text\"}\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:001\"}\n ]\n }\n ]\n}\n" |
| 309 | + "raw": "{\n \"devices\": [\n {\n \"device_id\": \"door001\",\n \"entity_name\": \"urn:ngsi-ld:Door:001\",\n \"entity_type\": \"Door\",\n \"apikey\": \"4jggokgpepnvsb2uv4s40d59ov\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/door001\",\n \"commands\": [ \n {\"name\": \"unlock\",\"type\": \"command\"},\n {\"name\": \"open\",\"type\": \"command\"},\n {\"name\": \"close\",\"type\": \"command\"},\n {\"name\": \"lock\",\"type\": \"command\"}\n ],\n \"attributes\": [\n \t{\"object_id\": \"s\", \"name\": \"state\", \"type\":\"Text\"}\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:001\"}\n ]\n }\n ]\n}\n" |
310 | 310 | },
|
311 | 311 | "url": {
|
312 | 312 | "raw": "http://{{iot-agent}}/iot/devices",
|
|
343 | 343 | ],
|
344 | 344 | "body": {
|
345 | 345 | "mode": "raw",
|
346 |
| - "raw": "{\n \"devices\": [\n {\n \"device_id\": \"lamp001\",\n \"entity_name\": \"urn:ngsi-ld:Lamp:001\",\n \"entity_type\": \"Lamp\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/lamp001\",\n \"commands\": [ \n {\"name\": \"on\",\"type\": \"command\"},\n {\"name\": \"off\",\"type\": \"command\"}\n ],\n \"attributes\": [\n \t{\"object_id\": \"s\", \"name\": \"state\", \"type\":\"Text\"},\n {\"object_id\": \"l\", \"name\": \"luminosity\", \"type\":\"Integer\"}\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:001\"}\n \t]\n }\n ]\n}\n" |
| 346 | + "raw": "{\n \"devices\": [\n {\n \"device_id\": \"lamp001\",\n \"entity_name\": \"urn:ngsi-ld:Lamp:001\",\n \"entity_type\": \"Lamp\",\n \"apikey\": \"4jggokgpepnvsb2uv4s40d59ov\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/lamp001\",\n \"commands\": [ \n {\"name\": \"on\",\"type\": \"command\"},\n {\"name\": \"off\",\"type\": \"command\"}\n ],\n \"attributes\": [\n \t{\"object_id\": \"s\", \"name\": \"state\", \"type\":\"Text\"},\n {\"object_id\": \"l\", \"name\": \"luminosity\", \"type\":\"Integer\"}\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:001\"}\n \t]\n }\n ]\n}\n" |
347 | 347 | },
|
348 | 348 | "url": {
|
349 | 349 | "raw": "http://{{iot-agent}}/iot/devices",
|
|
1025 | 1025 | ],
|
1026 | 1026 | "body": {
|
1027 | 1027 | "mode": "raw",
|
1028 |
| - "raw": "{\n \"devices\": [\n {\n \"device_id\": \"bell002\",\n \"entity_name\": \"urn:ngsi-ld:Bell:002\",\n \"entity_type\": \"Bell\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/bell002\",\n \"commands\": [ \n {\n \"name\": \"ring\",\n \"type\": \"command\"\n }\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:002\"}\n \t]\n }\n ]\n}\n" |
| 1028 | + "raw": "{\n \"devices\": [\n {\n \"device_id\": \"bell002\",\n \"entity_name\": \"urn:ngsi-ld:Bell:002\",\n \"entity_type\": \"Bell\",\n \"apikey\": \"4jggokgpepnvsb2uv4s40d59ov\",\n \"protocol\": \"PDI-IoTA-UltraLight\",\n \"transport\": \"HTTP\",\n \"endpoint\": \"http://context-provider:3001/iot/bell002\",\n \"commands\": [ \n {\n \"name\": \"ring\",\n \"type\": \"command\"\n }\n ],\n \"static_attributes\": [\n {\"name\":\"refStore\", \"type\": \"Relationship\",\"value\": \"urn:ngsi-ld:Store:002\"}\n \t]\n }\n ]\n}\n" |
1029 | 1029 | },
|
1030 | 1030 | "url": {
|
1031 | 1031 | "raw": "http://{{iot-agent}}/iot/devices",
|
|
0 commit comments