All URIs are relative to https://api.korewireless.com
Method | HTTP request | Description |
---|---|---|
getMetrics | GET /omnicore/subscriptions/{subscriptionId}/metrics |
Metrics getMetrics(subscriptionId)
get metrics
import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"
let apiInstance = new OmniCoreModelAndStateManagementApi.MetricsApi();
let subscriptionId = "subscriptionId_example"; // String | Subscription ID
apiInstance.getMetrics(subscriptionId, (error, data, response) => {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
});
Name | Type | Description | Notes |
---|---|---|---|
subscriptionId | String | Subscription ID |
- Content-Type: Not defined
- Accept: application/json