GetJobsBacklogCountResponse getJobsBacklogCountByEngine(interval, startTime, endTime, organizationIDs)
Get backlog count by engine.
Example
// Import classes:
import com.veritone.aiware.ApiClient;
import com.veritone.aiware.ApiException;
import com.veritone.aiware.Configuration;
import com.veritone.aiware.auth.*;
import com.veritone.aiware.models.*;
import com.veritone.aiware.edge.EngineApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("https://api.aiware.com/edge/v1");
// Configure API key authorization: api_key
ApiKeyAuth api_key = (ApiKeyAuth) defaultClient.getAuthentication("api_key");
api_key.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//api_key.setApiKeyPrefix("Token");
EngineApi apiInstance = new EngineApi(defaultClient);
Long interval = 56L; // Long | Interval in seconds for output time ranges.
Long startTime = 56L; // Long | The unix timestamp, describing the start time for the stats
Long endTime = 56L; // Long | The unix timestamp, describing the end time for the stats
String organizationIDs = "organizationIDs_example"; // String |
try {
GetJobsBacklogCountResponse result = apiInstance.getJobsBacklogCountByEngine(interval, startTime, endTime, organizationIDs);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling EngineApi#getJobsBacklogCountByEngine");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
Parameters
| Name | Type | Description | Notes |
|---|
| interval | Long | Interval in seconds for output time ranges. | [optional] |
| startTime | Long | The unix timestamp, describing the start time for the stats | [optional] |
| endTime | Long | The unix timestamp, describing the end time for the stats | [optional] |
| organizationIDs | String | | [optional] |
Return type
GetJobsBacklogCountResponse
Authorization
api_key
- Content-Type: Not defined
- Accept: application/json
HTTP response details
| Status code | Description | Response headers |
|---|
| 200 | Successful operation | * X-Aiware-Version - * X-Correlation-Id - |
| 400 | Invalid argument. Please see the error response for more information. | * X-Aiware-Version - * X-Correlation-Id - |
| 401 | Not authorized | * X-Aiware-Version - * X-Correlation-Id - |
| 403 | Forbidden | * X-Aiware-Version - * X-Correlation-Id - |
| 404 | Not Found | * X-Aiware-Version - * X-Correlation-Id - |
| 405 | The request is not allowed. | * X-Aiware-Version - * X-Correlation-Id - |
| 429 | Too Many Requests | * Retry-After - * X-Aiware-Version - * X-Correlation-Id - |
| 501 | Not Implemented | * X-Aiware-Version - * X-Correlation-Id - |
| 503 | System Unavailable | * Retry-After - * X-Aiware-Version - * X-Correlation-Id - |