All URIs are relative to https://localhost/api/v0002
Method | HTTP request | Description |
---|---|---|
serviceStatusGet | GET /service-status | Retrieve the status of services for an organization |
String serviceStatusGet()
Retrieve the status of services for an organization
Retrieve the organization-specific status of each of the services offered by Watson IoT Platform.
// Import classes:
//import com.ibm.wiotp.swagger.ApiClient;
//import com.ibm.wiotp.swagger.ApiException;
//import com.ibm.wiotp.swagger.Configuration;
//import com.ibm.wiotp.swagger.auth.*;
//import com.ibm.wiotp.swagger.api.ServiceStatusApi;
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure HTTP basic authorization: ApiKey
HttpBasicAuth ApiKey = (HttpBasicAuth) defaultClient.getAuthentication("ApiKey");
ApiKey.setUsername("YOUR USERNAME");
ApiKey.setPassword("YOUR PASSWORD");
ServiceStatusApi apiInstance = new ServiceStatusApi();
try {
String result = apiInstance.serviceStatusGet();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ServiceStatusApi#serviceStatusGet");
e.printStackTrace();
}
This endpoint does not need any parameter.
String
- Content-Type: Not defined
- Accept: application/json