All URIs are relative to http://localhost
| Method | HTTP request | Description |
|---|---|---|
| getStatistics | GET /accounts/{accountId}/statistics | Get Account Statistics |
AccountStatistics getStatistics()
Returns details about the current state of the account.
import {
StatisticsApi,
Configuration
} from 'bandwidth-sdk';
const configuration = new Configuration();
const apiInstance = new StatisticsApi(configuration);
let accountId: string; //Your Bandwidth Account ID. (default to undefined)
const { status, data } = await apiInstance.getStatistics(
accountId
);| Name | Type | Description | Notes |
|---|---|---|---|
| accountId | [string] | Your Bandwidth Account ID. | defaults to undefined |
AccountStatistics
- Content-Type: Not defined
- Accept: application/json
| Status code | Description | Response headers |
|---|---|---|
| 200 | OK | - |
| 400 | Bad Request | - |
| 401 | Unauthorized | - |
| 403 | Forbidden | - |
| 404 | Not Found | - |
| 405 | Method Not Allowed | - |
| 415 | Unsupported Media Type | - |
| 429 | Too Many Requests | * Retry-After - When you should try your request again. |
| 500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]