我在Bluemix中使用IBM Watson IoT服务,我想知道是否有这个服务的CLI。 例如,我想创建多种类型的终端并快速添加设备。
谢谢。
答案 0 :(得分:2)
You can programmatically register devices using bulk/devices operations. https://docs.internetofthings.ibmcloud.com/swagger/v0002.html#!/Bulk_Operations/post_bulk_devices_add
Also, this recipe describes how to register multiple IoT devices.
Here are some other links that may be helpful.
This recipe talks in detail about how to register a device in Watson IoT Platform - https://developer.ibm.com/recipes/tutorials/how-to-register-devices-in-ibm-iot-foundation/
This Java sample shows how one can do bulk addition/deletion - https://github.com/ibm-messaging/iot-platform-apiv2-samples/blob/master/java/api-samples-v2/README.md