Speech to Text API v3.0
- API version: v3.0
Speech to Text API v3.0.
Automatically generated by the Swagger Codegen
Building the API client library requires:
- Java 1.8+
- Maven/Gradle
To install the API client library to your local Maven repository, simply execute:
mvn clean install
To deploy it to a remote Maven repository instead, configure the settings of the repository and execute:
mvn clean deploy
Refer to the OSSRH Guide for more information.
Add this dependency to your project's POM:
<dependency>
<groupId>ru.archiva.microsoft.cognitive</groupId>
<artifactId>speech-to-text</artifactId>
<version>1.0.0</version>
<scope>compile</scope>
</dependency>
Add this dependency to your project's build file:
compile "ru.archiva.microsoft.cognitive:speech-to-text:1.0.0"
At first generate the JAR by executing:
mvn clean package
Then manually install the following JARs:
target/speech-to-text-1.0.0.jar
target/lib/*.jar
Please follow the installation instruction and execute the following Java code:
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the model that will be copied.
ModelCopy body = new ModelCopy(); // ModelCopy | The body contains the subscription key of the target subscription.
try {
Model result = apiInstance.copyModelToSubscription(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#copyModelToSubscription");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Dataset body = new Dataset(); // Dataset | Definition for the new dataset.
try {
Dataset result = apiInstance.createDataset(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createDataset");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Endpoint body = new Endpoint(); // Endpoint | The details of the endpoint.
try {
Endpoint result = apiInstance.createEndpoint(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createEndpoint");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Evaluation body = new Evaluation(); // Evaluation | The details of the new evaluation.
try {
Evaluation result = apiInstance.createEvaluation(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createEvaluation");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
WebHook body = new WebHook(); // WebHook | The details of the new web hook.
try {
WebHook result = apiInstance.createHook(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createHook");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Model body = new Model(); // Model | The details of the new model.
try {
Model result = apiInstance.createModel(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createModel");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Project body = new Project(); // Project | The details of the project.
try {
Project result = apiInstance.createProject(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Transcription body = new Transcription(); // Transcription | The details of the new transcription.
try {
Transcription result = apiInstance.createTranscription(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#createTranscription");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String locale = "locale_example"; // String | The language used to select the default base model.
String logId = "logId_example"; // String | The identifier of the log.
try {
apiInstance.deleteBaseModelLog(locale, logId);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteBaseModelLog");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String locale = "locale_example"; // String | The language used to select the default base model.
String endDate = "endDate_example"; // String | The end date of the audio logs deletion (specific day, UTC). Expected format: \"yyyy-mm-dd\". for instance, \"2019-09-20\" results in deleting all logs on September 20h, 2019 and before. Deletes all existing logs when date is not specified.
try {
apiInstance.deleteBaseModelLogs(locale, endDate);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteBaseModelLogs");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the dataset.
try {
apiInstance.deleteDataset(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteDataset");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
try {
apiInstance.deleteEndpoint(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteEndpoint");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
String logId = "logId_example"; // String | The identifier of the log.
try {
apiInstance.deleteEndpointLog(id, logId);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteEndpointLog");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
String endDate = "endDate_example"; // String | The end date of the audio logs deletion (specific day, UTC). Expected format: \"yyyy-mm-dd\". for instance, \"2019-09-20\" results in deleting all logs on September 20h, 2019 and before. Deletes all existing logs when date is not specified.
try {
apiInstance.deleteEndpointLogs(id, endDate);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteEndpointLogs");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the evaluation.
try {
apiInstance.deleteEvaluation(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteEvaluation");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the web hook.
try {
apiInstance.deleteHook(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteHook");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the model.
try {
apiInstance.deleteModel(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteModel");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
try {
apiInstance.deleteProject(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the transcription.
try {
apiInstance.deleteTranscription(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#deleteTranscription");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the base model.
try {
Model result = apiInstance.getBaseModel(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getBaseModel");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String locale = "locale_example"; // String | The language used to select the default base model.
String logId = "logId_example"; // String | The identifier of the log.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
File result = apiInstance.getBaseModelLog(locale, logId, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getBaseModelLog");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String locale = "locale_example"; // String | The language used to select the default base model.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
String skipToken = "skipToken_example"; // String | Token to skip logs that were already retrieved in previous requests. Pagination starts from beginning when not defined.
Integer top = 56; // Integer | Format - int32. Number of files that will be included (between 1 and 5000).
try {
PaginatedFiles result = apiInstance.getBaseModelLogs(locale, sasValidityInSeconds, skipToken, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getBaseModelLogs");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The ID of the model to generate a manifest for.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
ModelManifest result = apiInstance.getBaseModelManifest(id, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getBaseModelManifest");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of base models that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of base models that will be included after skipping.
try {
PaginatedModels result = apiInstance.getBaseModels(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getBaseModels");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the dataset.
try {
Dataset result = apiInstance.getDataset(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getDataset");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the dataset.
String fileId = "fileId_example"; // String | Format - uuid. The identifier of the file.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
File result = apiInstance.getDatasetFile(id, fileId, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getDatasetFile");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the dataset.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
Integer skip = 56; // Integer | Format - int32. Number of files that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of files that will be included after skipping.
try {
PaginatedFiles result = apiInstance.getDatasetFiles(id, sasValidityInSeconds, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getDatasetFiles");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of datasets that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of datasets that will be included after skipping.
try {
PaginatedDatasets result = apiInstance.getDatasets(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getDatasets");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
Integer skip = 56; // Integer | Format - int32. Number of datasets that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of datasets that will be included after skipping.
try {
PaginatedDatasets result = apiInstance.getDatasetsForProject(id, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getDatasetsForProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
try {
Endpoint result = apiInstance.getEndpoint(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEndpoint");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
String logId = "logId_example"; // String | The identifier of the log.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
File result = apiInstance.getEndpointLog(id, logId, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEndpointLog");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
String skipToken = "skipToken_example"; // String | Token to skip logs that were already retrieved in previous requests. Pagination starts from beginning when not defined.
Integer top = 56; // Integer | Format - int32. Number of files that will be included (between 1 and 5000).
try {
PaginatedFiles result = apiInstance.getEndpointLogs(id, sasValidityInSeconds, skipToken, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEndpointLogs");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of endpoints that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of endpoints that will be included after skipping.
try {
PaginatedEndpoints result = apiInstance.getEndpoints(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEndpoints");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
Integer skip = 56; // Integer | Format - int32. Number of endpoints that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of endpoints that will be included after skipping.
try {
PaginatedEndpoints result = apiInstance.getEndpointsForProject(id, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEndpointsForProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the evaluation.
try {
Evaluation result = apiInstance.getEvaluation(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEvaluation");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the evaluation.
String fileId = "fileId_example"; // String | Format - uuid. The identifier of the file.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
File result = apiInstance.getEvaluationFile(id, fileId, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEvaluationFile");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the evaluation.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
Integer skip = 56; // Integer | Format - int32. Number of files that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of files that will be included after skipping.
try {
PaginatedFiles result = apiInstance.getEvaluationFiles(id, sasValidityInSeconds, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEvaluationFiles");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of evaluations that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of evaluations that will be included after skipping.
try {
PaginatedEvaluations result = apiInstance.getEvaluations(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEvaluations");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
Integer skip = 56; // Integer | Format - int32. Number of evaluations that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of evaluations that will be included after skipping.
try {
PaginatedEvaluations result = apiInstance.getEvaluationsForProject(id, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getEvaluationsForProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
HealthStatus result = apiInstance.getHealthStatus();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getHealthStatus");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the web hook.
try {
WebHook result = apiInstance.getHook(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getHook");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of hooks that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of hooks that will be included after skipping.
try {
PaginatedWebHooks result = apiInstance.getHooks(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getHooks");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid.
try {
ManagementModel result = apiInstance.getManagementModel(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getManagementModel");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ManagementModelArray result = apiInstance.getManagementModels();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getManagementModels");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the model.
try {
Model result = apiInstance.getModel(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getModel");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The ID of the model to generate a manifest for.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
ModelManifest result = apiInstance.getModelManifest(id, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getModelManifest");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of models that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of models that will be included after skipping.
try {
PaginatedModels result = apiInstance.getModels(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getModels");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
Integer skip = 56; // Integer | Format - int32. Number of models that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of models that will be included after skipping.
try {
PaginatedModels result = apiInstance.getModelsForProject(id, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getModelsForProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
try {
Project result = apiInstance.getProject(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of projects that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of projects that will be included after skipping.
try {
PaginatedProjects result = apiInstance.getProjects(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getProjects");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ApiSpeechtotextV30DatasetsLocalesGet200ApplicationJsonResponse result = apiInstance.getSupportedLocalesForDatasets();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getSupportedLocalesForDatasets");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ApiSpeechtotextV30EndpointsLocalesGet200ApplicationJsonResponse result = apiInstance.getSupportedLocalesForEndpoints();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getSupportedLocalesForEndpoints");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ApiSpeechtotextV30EvaluationsLocalesGet200ApplicationJsonResponse result = apiInstance.getSupportedLocalesForEvaluations();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getSupportedLocalesForEvaluations");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ApiSpeechtotextV30ModelsLocalesGet200ApplicationJsonResponse result = apiInstance.getSupportedLocalesForModels();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getSupportedLocalesForModels");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ApiSpeechtotextV30TranscriptionsLocalesGet200ApplicationJsonResponse result = apiInstance.getSupportedLocalesForTranscriptions();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getSupportedLocalesForTranscriptions");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
try {
ApiSpeechtotextV30ProjectsLocalesGet200ApplicationJsonResponse result = apiInstance.getSupportedProjectLocales();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getSupportedProjectLocales");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the transcription.
try {
Transcription result = apiInstance.getTranscription(id);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getTranscription");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the transcription.
String fileId = "fileId_example"; // String | Format - uuid. The identifier of the file.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
try {
File result = apiInstance.getTranscriptionFile(id, fileId, sasValidityInSeconds);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getTranscriptionFile");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the transcription.
Integer sasValidityInSeconds = 56; // Integer | Format - int32. The duration in seconds that an SAS url should be valid. The default duration is 12 hours.
Integer skip = 56; // Integer | Format - int32. Number of files that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of files that will be included after skipping.
try {
PaginatedFiles result = apiInstance.getTranscriptionFiles(id, sasValidityInSeconds, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getTranscriptionFiles");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
Integer skip = 56; // Integer | Format - int32. Number of transcriptions that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of transcriptions that will be included after skipping.
try {
PaginatedTranscriptions result = apiInstance.getTranscriptions(skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getTranscriptions");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
Integer skip = 56; // Integer | Format - int32. Number of transcriptions that will be skipped.
Integer top = 56; // Integer | Format - int32. Number of transcriptions that will be included after skipping.
try {
PaginatedTranscriptions result = apiInstance.getTranscriptionsForProject(id, skip, top);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#getTranscriptionsForProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the web hook to ping.
try {
apiInstance.pingHook(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#pingHook");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the web hook to ping.
try {
apiInstance.testHook(id);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#testHook");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the dataset.
DatasetUpdate body = new DatasetUpdate(); // DatasetUpdate | The updated values for the dataset.
try {
Dataset result = apiInstance.updateDataset(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateDataset");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the endpoint.
EndpointUpdate body = new EndpointUpdate(); // EndpointUpdate | The updated values for the endpoint.
try {
Endpoint result = apiInstance.updateEndpoint(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateEndpoint");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the evaluation.
EvaluationUpdate body = new EvaluationUpdate(); // EvaluationUpdate | The object containing the updated fields of the evaluation.
try {
Evaluation result = apiInstance.updateEvaluation(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateEvaluation");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the web hook.
WebHookUpdate body = new WebHookUpdate(); // WebHookUpdate | The updated values for the web hook.
try {
WebHook result = apiInstance.updateHook(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateHook");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the model.
ModelUpdate body = new ModelUpdate(); // ModelUpdate | The updated values for the model.
try {
Model result = apiInstance.updateModel(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateModel");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the project.
ProjectUpdate body = new ProjectUpdate(); // ProjectUpdate | The updated values for the project.
try {
Project result = apiInstance.updateProject(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateProject");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String id = "id_example"; // String | Format - uuid. The identifier of the transcription.
TranscriptionUpdate body = new TranscriptionUpdate(); // TranscriptionUpdate | The updated values for the transcription.
try {
Transcription result = apiInstance.updateTranscription(id, body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#updateTranscription");
e.printStackTrace();
}
}
}
import ru.archiva.microsoft.cognitive.speechtotext.*;
import ru.archiva.microsoft.cognitive.speechtotext.auth.*;
import ru.archiva.microsoft.cognitive.speechtotext.model.*;
import ru.archiva.microsoft.cognitive.speechtotext.api.DefaultApi;
import java.io.File;
import java.util.*;
public class DefaultApiExample {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
// Configure API key authorization: apiKeyHeader
ApiKeyAuth apiKeyHeader = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyHeader");
apiKeyHeader.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyHeader.setApiKeyPrefix("Token");
// Configure API key authorization: apiKeyQuery
ApiKeyAuth apiKeyQuery = (ApiKeyAuth) defaultClient.getAuthentication("apiKeyQuery");
apiKeyQuery.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKeyQuery.setApiKeyPrefix("Token");
DefaultApi apiInstance = new DefaultApi();
String project = "project_example"; // String |
String displayName = "displayName_example"; // String |
String description = "description_example"; // String |
String locale = "locale_example"; // String |
String kind = "kind_example"; // String |
String customProperties = "customProperties_example"; // String |
File data = new File("data_example"); // File |
String email = "email_example"; // String |
try {
Dataset result = apiInstance.uploadDatasetFromForm(project, displayName, description, locale, kind, customProperties, data, email);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling DefaultApi#uploadDatasetFromForm");
e.printStackTrace();
}
}
}
All URIs are relative to https://eastus.api.cognitive.microsoft.com/speechtotext/v3.0
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | copyModelToSubscription | POST /models/{id}/copyto | Copy Model |
DefaultApi | createDataset | POST /datasets | Create Dataset |
DefaultApi | createEndpoint | POST /endpoints | Create Endpoint |
DefaultApi | createEvaluation | POST /evaluations | Create Evaluation |
DefaultApi | createHook | POST /webhooks | Create Web Hook |
DefaultApi | createModel | POST /models | Create Model |
DefaultApi | createProject | POST /projects | Create Project |
DefaultApi | createTranscription | POST /transcriptions | Create Transcription |
DefaultApi | deleteBaseModelLog | DELETE /endpoints/base/{locale}/files/logs/{logId} | Delete Base Model Endpoint Log |
DefaultApi | deleteBaseModelLogs | DELETE /endpoints/base/{locale}/files/logs | Delete All Base Model Endpoint Logs |
DefaultApi | deleteDataset | DELETE /datasets/{id} | Delete Dataset |
DefaultApi | deleteEndpoint | DELETE /endpoints/{id} | Delete Endpoint |
DefaultApi | deleteEndpointLog | DELETE /endpoints/{id}/files/logs/{logId} | Delete Custom Model Endpoint Log |
DefaultApi | deleteEndpointLogs | DELETE /endpoints/{id}/files/logs | Delete All Custom Model Endpoint Logs |
DefaultApi | deleteEvaluation | DELETE /evaluations/{id} | Delete Evaluation |
DefaultApi | deleteHook | DELETE /webhooks/{id} | Delete Web Hook |
DefaultApi | deleteModel | DELETE /models/{id} | Delete Model |
DefaultApi | deleteProject | DELETE /projects/{id} | Delete Project |
DefaultApi | deleteTranscription | DELETE /transcriptions/{id} | Delete Transcription |
DefaultApi | getBaseModel | GET /models/base/{id} | Get Base Model |
DefaultApi | getBaseModelLog | GET /endpoints/base/{locale}/files/logs/{logId} | Get Base Model Endpoint Log |
DefaultApi | getBaseModelLogs | GET /endpoints/base/{locale}/files/logs | Get Base Model Endpoint Logs |
DefaultApi | getBaseModelManifest | GET /models/base/{id}/manifest | Get Base Model Manifest |
DefaultApi | getBaseModels | GET /models/base | Get Base Models |
DefaultApi | getDataset | GET /datasets/{id} | Get Dataset |
DefaultApi | getDatasetFile | GET /datasets/{id}/files/{fileId} | Get Dataset File |
DefaultApi | getDatasetFiles | GET /datasets/{id}/files | Get Dataset Files |
DefaultApi | getDatasets | GET /datasets | Get Datasets |
DefaultApi | getDatasetsForProject | GET /projects/{id}/datasets | Get Datasets for Project |
DefaultApi | getEndpoint | GET /endpoints/{id} | Get Endpoint |
DefaultApi | getEndpointLog | GET /endpoints/{id}/files/logs/{logId} | Get Custom Model Endpoint Log |
DefaultApi | getEndpointLogs | GET /endpoints/{id}/files/logs | Get Custom Model Endpoint Logs |
DefaultApi | getEndpoints | GET /endpoints | Get Endpoints |
DefaultApi | getEndpointsForProject | GET /projects/{id}/endpoints | Get Endpoints for Project |
DefaultApi | getEvaluation | GET /evaluations/{id} | Get Evaluation |
DefaultApi | getEvaluationFile | GET /evaluations/{id}/files/{fileId} | Get Evaluation File |
DefaultApi | getEvaluationFiles | GET /evaluations/{id}/files | Get Evaluation Files |
DefaultApi | getEvaluations | GET /evaluations | Get Evaluations |
DefaultApi | getEvaluationsForProject | GET /projects/{id}/evaluations | Get Evaluations for Project |
DefaultApi | getHealthStatus | GET /healthstatus | Get Health Status |
DefaultApi | getHook | GET /webhooks/{id} | Get Web Hook |
DefaultApi | getHooks | GET /webhooks | Get Web Hooks |
DefaultApi | getManagementModel | GET /api/management/v3.0/models/{id} | Gets the specified base model. |
DefaultApi | getManagementModels | GET /api/management/v3.0/models | Gets a list of all base models. |
DefaultApi | getModel | GET /models/{id} | Get Model |
DefaultApi | getModelManifest | GET /models/{id}/manifest | Get Custom Model Manifest |
DefaultApi | getModels | GET /models | Get Custom Models |
DefaultApi | getModelsForProject | GET /projects/{id}/models | Get Models for Project |
DefaultApi | getProject | GET /projects/{id} | Get Project |
DefaultApi | getProjects | GET /projects | Get Projects |
DefaultApi | getSupportedLocalesForDatasets | GET /datasets/locales | Get Supported Locales for Datasets |
DefaultApi | getSupportedLocalesForEndpoints | GET /endpoints/locales | Get Supported Locales for Endpoints |
DefaultApi | getSupportedLocalesForEvaluations | GET /evaluations/locales | Get Supported Locales for Evaluations |
DefaultApi | getSupportedLocalesForModels | GET /models/locales | Get Supported Locales for Models |
DefaultApi | getSupportedLocalesForTranscriptions | GET /transcriptions/locales | Get Supported Locales for Transcriptions |
DefaultApi | getSupportedProjectLocales | GET /projects/locales | Get Supported Locales for Projects |
DefaultApi | getTranscription | GET /transcriptions/{id} | Get Transcription |
DefaultApi | getTranscriptionFile | GET /transcriptions/{id}/files/{fileId} | Get Transcription File |
DefaultApi | getTranscriptionFiles | GET /transcriptions/{id}/files | Get Transcription Files |
DefaultApi | getTranscriptions | GET /transcriptions | Get Transcriptions |
DefaultApi | getTranscriptionsForProject | GET /projects/{id}/transcriptions | Get Transcriptions for Project |
DefaultApi | pingHook | POST /webhooks/{id}/ping | Ping Web Hook |
DefaultApi | testHook | POST /webhooks/{id}/test | Test Web Hook |
DefaultApi | updateDataset | PATCH /datasets/{id} | Update Dataset |
DefaultApi | updateEndpoint | PATCH /endpoints/{id} | Update Endpoint |
DefaultApi | updateEvaluation | PATCH /evaluations/{id} | Update Evaluation |
DefaultApi | updateHook | PATCH /webhooks/{id} | Update Web Hook |
DefaultApi | updateModel | PATCH /models/{id} | Update Model |
DefaultApi | updateProject | PATCH /projects/{id} | Update Project |
DefaultApi | updateTranscription | PATCH /transcriptions/{id} | Update Transcription |
DefaultApi | uploadDatasetFromForm | POST /datasets/upload | Create Dataset from Form |
- ApiSpeechtotextV30DatasetsLocalesGet200ApplicationJsonResponse
- ApiSpeechtotextV30EndpointsLocalesGet200ApplicationJsonResponse
- ApiSpeechtotextV30EvaluationsLocalesGet200ApplicationJsonResponse
- ApiSpeechtotextV30ModelsLocalesGet200ApplicationJsonResponse
- ApiSpeechtotextV30ProjectsLocalesGet200ApplicationJsonResponse
- ApiSpeechtotextV30TranscriptionsLocalesGet200ApplicationJsonResponse
- Body
- Component
- Dataset
- DatasetProperties
- DatasetUpdate
- Endpoint
- EndpointLinks
- EndpointProperties
- EndpointPropertiesUpdate
- EndpointUpdate
- EntityError
- EntityReference
- Error
- ErrorContent
- ErrorDetail
- Evaluation
- EvaluationProperties
- EvaluationUpdate
- File
- FileLinks
- FileProperties
- HealthStatus
- InnerError
- InnerErrorV2
- InternalModel
- Links
- ManagementModel
- ManagementModelArray
- ManagementModelProperties
- Model
- ModelCopy
- ModelDeprecationDates
- ModelFile
- ModelLinks
- ModelManifest
- ModelProperties
- ModelUpdate
- PaginatedDatasets
- PaginatedEndpoints
- PaginatedEvaluations
- PaginatedFiles
- PaginatedModels
- PaginatedProjects
- PaginatedTranscriptions
- PaginatedWebHooks
- Project
- ProjectLinks
- ProjectProperties
- ProjectUpdate
- Transcription
- TranscriptionProperties
- TranscriptionUpdate
- WebHook
- WebHookEvents
- WebHookEvents1
- WebHookLinks
- WebHookProperties
- WebHookPropertiesUpdate
- WebHookUpdate
Authentication schemes defined for the API:
- Type: API key
- API key parameter name: Ocp-Apim-Subscription-Key
- Location: HTTP header
- Type: API key
- API key parameter name: subscription-key
- Location: URL query string
It's recommended to create an instance of ApiClient
per thread in a multithreaded environment to avoid any potential issues.