This repository contains samples that interacts with IBM Watson IoT Platform using the platform API Version 2. Currently, there are samples for Java; information and instructions regarding the use of these samples can be found in their respective directories.
The WIoTP API supports the following functionality for applications:
-
View organization details.
-
Bulk device operations (list all, add, remove).
-
Device type operations (list all, create, delete, view details, update).
-
Device operations (list devices, add, remove, view details, update, view location, view management information).
-
Device diagnostic operations (clear log, retrieve logs, add log information, delete logs, get specific log, clear error codes, get device error codes, add an error code).
-
Connection problem determination (list device connection log events).
-
Device management request operations (list device management requests, initiate a request, clear request status, get details of a request, get list of request statuses for each affected device, get request status for a specific device).
-
Usage management (retrieve number of active devices over a period of time, retrieve amount of storage used by historical event data, retrieve total amount of data used).
-
Publish events on behalf of devices
-
Service status queries (retrieve service statuses for an organization).
Refer to the Swagger document for more information about the list of API's.
This repository contains the samples which can be executed either within Eclipse environment or outside. Check the following link which guides you in the same