All URIs are relative to https://api.irisnet.de
| Method | HTTP request | Description |
|---|---|---|
| getCost | GET /v2/cost/{configId} | Get the cost of the configuration for a single image. |
| getLicenseInfo | GET /v2/info | Get information for the given license key. |
| getVideoCost | GET /v2/cost/{configId}/{frames} | Get the cost of the configuration for moving images. |
| getVideoCost1 | GET /v2/cost/{configId}/{fps}/{duration} | Get the cost of the configuration for moving images. |
Pricing getCost(configId)
Get the cost of the configuration for a single image.
The cost is subtracted from the license key after a successful check-image operation.
// Import classes:
//import de.irisnet.java.client.BalanceEndpointsApi;
BalanceEndpointsApi apiInstance = new BalanceEndpointsApi();
UUID configId = null; // UUID | The configuration id from the Basic Configuration operations.
try {
Pricing result = apiInstance.getCost(configId);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BalanceEndpointsApi#getCost");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| configId | UUID | The configuration id from the Basic Configuration operations. | [default to null] |
- Content-Type: Not defined
- Accept: application/json
LicenseInfo getLicenseInfo()
Get information for the given license key.
Get the LicenseInfo schema for the given license key in the authorization header.
// Import classes:
//import de.irisnet.java.client.BalanceEndpointsApi;
BalanceEndpointsApi apiInstance = new BalanceEndpointsApi();
try {
LicenseInfo result = apiInstance.getLicenseInfo();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BalanceEndpointsApi#getLicenseInfo");
e.printStackTrace();
}This endpoint does not need any parameter.
- Content-Type: Not defined
- Accept: application/json
Pricing getVideoCost(configId, frames)
Get the cost of the configuration for moving images.
The cost is subtracted from the license key after a successful check operation for moving images. <b>NOTICE: The returned cost is an approximation. The exact cost can only be determined during the check operation.<b>
// Import classes:
//import de.irisnet.java.client.BalanceEndpointsApi;
BalanceEndpointsApi apiInstance = new BalanceEndpointsApi();
UUID configId = null; // UUID | The configuration id from the Basic Configuration operations.
Long frames = null; // Long | The number of frames that the AI should check.
try {
Pricing result = apiInstance.getVideoCost(configId, frames);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BalanceEndpointsApi#getVideoCost");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| configId | UUID | The configuration id from the Basic Configuration operations. | [default to null] |
| frames | Long | The number of frames that the AI should check. | [default to null] |
- Content-Type: Not defined
- Accept: application/json
Pricing getVideoCost1(configId, fps, duration)
Get the cost of the configuration for moving images.
The cost is subtracted from the license key after a successful check operation for moving images. <b>NOTICE: The returned cost is an approximation. The exact cost can only be determined during the check operation.<b>
// Import classes:
//import de.irisnet.java.client.BalanceEndpointsApi;
BalanceEndpointsApi apiInstance = new BalanceEndpointsApi();
UUID configId = null; // UUID | The configuration id from the Basic Configuration operations.
Integer fps = null; // Integer | The frames per second of the video or stream.
Long duration = null; // Long | The duration in seconds of the video or stream.
try {
Pricing result = apiInstance.getVideoCost1(configId, fps, duration);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling BalanceEndpointsApi#getVideoCost1");
e.printStackTrace();
}| Name | Type | Description | Notes |
|---|---|---|---|
| configId | UUID | The configuration id from the Basic Configuration operations. | [default to null] |
| fps | Integer | The frames per second of the video or stream. | [default to null] |
| duration | Long | The duration in seconds of the video or stream. | [default to null] |
- Content-Type: Not defined
- Accept: application/json