diff --git a/docs/device_api.md b/docs/device_api.md index 76a164b..c858aa6 100644 --- a/docs/device_api.md +++ b/docs/device_api.md @@ -28,7 +28,7 @@ South Bound protocol again. Use the provided data for future interactions. The following excerpt shows you how to provision a Configuration Group directly to the API: - POST /iot/services?protocol=IoTA-UL + POST /iot/configGroups?protocol=IoTA-UL Content-Type: application/json Fiware-service: OpenIoT Fiware-servicepath: / diff --git a/docs/topics/device_connection.md b/docs/topics/device_connection.md index 35b84a6..7b982fd 100644 --- a/docs/topics/device_connection.md +++ b/docs/topics/device_connection.md @@ -30,7 +30,7 @@ belong to that particular group. The following request will create the required group for our subservice: - POST /iot/services + POST /iot/configGroups Content-Type: application/json Fiware-service: smartown Fiware-servicepath: /gardens diff --git a/docs/topics/geolocalized_entities.md b/docs/topics/geolocalized_entities.md index e17d54d..d239295 100644 --- a/docs/topics/geolocalized_entities.md +++ b/docs/topics/geolocalized_entities.md @@ -26,7 +26,7 @@ geo-locate them as `geo:point` using the model transformation functionality. Let Sensor information can be reported either directly in the `latitude, longitude` format, or separately, by using expressions to combine the information into a geo point. To do so, the car provisioning should be changed to reflect this new information. If the sensor information is sent using : - POST /iot/services + POST /iot/configGroups Content-Type: application/json Fiware-service: smartown Fiware-servicepath: /roads diff --git a/docs/topics/how_notifications_work.md b/docs/topics/how_notifications_work.md index 7f4d881..23f25c6 100644 --- a/docs/topics/how_notifications_work.md +++ b/docs/topics/how_notifications_work.md @@ -14,7 +14,7 @@ onboard sensor, all them managed by the platform [IoT Agents](../device_gateway. between the sensor and the platform. First of all, the sensor provider has to provision a Configuration Group for its devices. This can be achieved with the following query: - POST /iot/services + POST /iot/configGroups Content-Type: application/json Fiware-service: smartown Fiware-servicepath: /roads diff --git a/postman/ThinkingCities APIs Basic Ops.postman_collection.json b/postman/ThinkingCities APIs Basic Ops.postman_collection.json index b9d95c6..dc81ff2 100644 --- a/postman/ThinkingCities APIs Basic Ops.postman_collection.json +++ b/postman/ThinkingCities APIs Basic Ops.postman_collection.json @@ -961,7 +961,7 @@ "name": "IOTA", "item": [ { - "name": "Create service (JSON)", + "name": "Create configuration group (JSON)", "request": { "method": "POST", "header": [ @@ -987,21 +987,21 @@ "raw": "{\r\n \"services\": [\r\n {\r\n \"apikey\": \"{{JSON_APIKEY}}\",\r\n \"entity_type\": \"device\",\r\n \"attributes\": [\r\n { \"object_id\": \"t\", \"name\": \"temperature\", \"type\": \"float\" },\r\n { \"object_id\": \"h\", \"name\": \"humidity\", \"type\": \"float\" }\r\n ],\r\n \"static_attributes\": [\r\n { \"name\": \"deviceFamily\", \"type\": \"integer\", \"value\": \"02598347\" }\r\n ], \r\n \"lazy\": [\r\n { \"object_id\": \"l\", \"name\": \"luminosity\", \"type\": \"percentage\" }\r\n ],\r\n \"commands\": [\r\n \t{ \"object_id\": \"u\", \"name\": \"turn\", \"type\": \"string\" }\r\n ],\r\n \"protocol\": [ \"IoTA-JSON\" ]\r\n }\r\n ]\r\n}" }, "url": { - "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/services", + "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/configGroups", "protocol": "{{PROTOCOL}}", "host": [ "{{ENDPOINT_IOTAM}}" ], "path": [ "iot", - "services" + "configGroups" ] } }, "response": [] }, { - "name": "Create service (UL)", + "name": "Create configuration group (UL)", "request": { "method": "POST", "header": [ @@ -1027,21 +1027,21 @@ "raw": "{\r\n \"services\": [\r\n {\r\n \"apikey\": \"{{UL_APIKEY}}\",\r\n \"entity_type\": \"device\",\r\n \"attributes\": [\r\n { \"object_id\": \"t\", \"name\": \"temperature\", \"type\": \"float\" },\r\n { \"object_id\": \"h\", \"name\": \"humidity\", \"type\": \"float\" }\r\n ],\r\n \"static_attributes\": [\r\n { \"name\": \"deviceFamily\", \"type\": \"integer\", \"value\": \"02598347\" }\r\n ],\r\n \"commands\": [\r\n \t{ \"object_id\": \"u\", \"name\": \"turn\", \"type\": \"string\" }\r\n ],\r\n \"lazy\": [\r\n { \"object_id\": \"l\", \"name\": \"luminosity\", \"type\": \"percentage\" }\r\n ],\r\n \"protocol\": [ \"IoTA-UL\" ]\r\n }\r\n ]\r\n}" }, "url": { - "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/services", + "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/configGroups", "protocol": "{{PROTOCOL}}", "host": [ "{{ENDPOINT_IOTAM}}" ], "path": [ "iot", - "services" + "configGroups" ] } }, "response": [] }, { - "name": "Delete service (JSON)", + "name": "Delete configuration group (JSON)", "request": { "method": "DELETE", "header": [ @@ -1067,14 +1067,14 @@ "raw": "" }, "url": { - "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/services?protocol=IoTA-JSON&apikey={{JSON_APIKEY}}", + "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/configGroups?protocol=IoTA-JSON&apikey={{JSON_APIKEY}}", "protocol": "{{PROTOCOL}}", "host": [ "{{ENDPOINT_IOTAM}}" ], "path": [ "iot", - "services" + "configGroups" ], "query": [ { @@ -1091,7 +1091,7 @@ "response": [] }, { - "name": "Delete service (UL)", + "name": "Delete configuration group (UL)", "request": { "method": "DELETE", "header": [ @@ -1117,14 +1117,14 @@ "raw": "" }, "url": { - "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/services?protocol=IoTA-UL&apikey={{UL_APIKEY}}", + "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/configGroups?protocol=IoTA-UL&apikey={{UL_APIKEY}}", "protocol": "{{PROTOCOL}}", "host": [ "{{ENDPOINT_IOTAM}}" ], "path": [ "iot", - "services" + "configGroups" ], "query": [ { @@ -1141,7 +1141,7 @@ "response": [] }, { - "name": "Get all services", + "name": "Get all configuation groups", "request": { "method": "GET", "header": [ @@ -1163,14 +1163,14 @@ "raw": "" }, "url": { - "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/services", + "raw": "{{PROTOCOL}}://{{ENDPOINT_IOTAM}}/iot/configGroups", "protocol": "{{PROTOCOL}}", "host": [ "{{ENDPOINT_IOTAM}}" ], "path": [ "iot", - "services" + "configGroups" ] } }, @@ -2919,4 +2919,4 @@ ] } ] -} \ No newline at end of file +}