All URIs are relative to https://api.korewireless.com
Method | HTTP request | Description |
---|---|---|
CreateVaultConfiguration | POST /vault/subscriptions/{subscriptionid}/configurations | |
CreateVaultKey | POST /vault/subscriptions/{subscriptionid}/encryptionkeys | |
DeleteConfiguration | DELETE /vault/subscriptions/{subscriptionid}/configurations/{configid} | |
DeleteVaultKey | DELETE /vault/subscriptions/{subscriptionid}/encryptionkeys/{keyid} | |
EnableEncryption | POST /vault/subscriptions/{subscriptionid}/encryption | |
GetExports | GET /vault/subscriptions/{subscriptionid}/exports | |
GetRegistryData | GET /vault/subscriptions/{subscriptionid}/folders | |
GetReplays | GET /vault/subscriptions/{subscriptionid}/replays | |
GetVaultAudit | GET /vault/subscriptions/{subscriptionid}/audit | |
GetVaultConfigurations | GET /vault/subscriptions/{subscriptionid}/configurations | |
GetVaultFiles | GET /vault/subscriptions/{subscriptionid}/registry/{registryid}/files | |
GetVaultKeys | GET /vault/subscriptions/{subscriptionid}/encryptionkeys | |
GetVaultMetrics | GET /vault/subscriptions/{subscriptionid}/metrics | |
GetVaultStatus | GET /vault/subscriptions/{subscriptionid}/status | |
SetRetention | POST /vault/subscriptions/{subscriptionid}/retention | |
StartExport | POST /vault/subscriptions/{subscriptionid}/exports | |
StartReplay | POST /vault/subscriptions/{subscriptionid}/replays |
Frame CreateVaultConfiguration (string subscriptionid, CreateConfiguration createConfiguration = null)
create vault configuration
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class CreateVaultConfigurationExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var createConfiguration = new CreateConfiguration(); // CreateConfiguration | application/json (optional)
try
{
Frame result = apiInstance.CreateVaultConfiguration(subscriptionid, createConfiguration);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.CreateVaultConfiguration: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.CreateVaultConfigurationWithHttpInfo(subscriptionid, createConfiguration);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.CreateVaultConfigurationWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
createConfiguration | CreateConfiguration | application/json | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Frame CreateVaultKey (string subscriptionid, CreateVaultKeyBody createVaultKeyBody = null)
Create Vault Key
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class CreateVaultKeyExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var createVaultKeyBody = new CreateVaultKeyBody(); // CreateVaultKeyBody | application/json (optional)
try
{
Frame result = apiInstance.CreateVaultKey(subscriptionid, createVaultKeyBody);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.CreateVaultKey: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.CreateVaultKeyWithHttpInfo(subscriptionid, createVaultKeyBody);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.CreateVaultKeyWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
createVaultKeyBody | CreateVaultKeyBody | application/json | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Frame DeleteConfiguration (string subscriptionid, string configid)
Delete Configuration
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class DeleteConfigurationExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var configid = "configid_example"; // string | config id
try
{
Frame result = apiInstance.DeleteConfiguration(subscriptionid, configid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.DeleteConfiguration: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.DeleteConfigurationWithHttpInfo(subscriptionid, configid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.DeleteConfigurationWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
configid | string | config id |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Frame DeleteVaultKey (string subscriptionid, string keyid)
Delete Vault Key
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class DeleteVaultKeyExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var keyid = "keyid_example"; // string | key id
try
{
Frame result = apiInstance.DeleteVaultKey(subscriptionid, keyid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.DeleteVaultKey: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.DeleteVaultKeyWithHttpInfo(subscriptionid, keyid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.DeleteVaultKeyWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
keyid | string | key id |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Frame EnableEncryption (string subscriptionid, EnableEncryptionBody enableEncryptionBody = null)
Enable Encryption
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class EnableEncryptionExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var enableEncryptionBody = new EnableEncryptionBody(); // EnableEncryptionBody | application/json (optional)
try
{
Frame result = apiInstance.EnableEncryption(subscriptionid, enableEncryptionBody);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.EnableEncryption: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.EnableEncryptionWithHttpInfo(subscriptionid, enableEncryptionBody);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.EnableEncryptionWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
enableEncryptionBody | EnableEncryptionBody | application/json | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetExportsResponse GetExports (string subscriptionid)
Get Exports
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetExportsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
try
{
GetExportsResponse result = apiInstance.GetExports(subscriptionid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetExports: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<GetExportsResponse> response = apiInstance.GetExportsWithHttpInfo(subscriptionid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetExportsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FolderData GetRegistryData (string subscriptionid)
Get vault folder data
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetRegistryDataExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
try
{
FolderData result = apiInstance.GetRegistryData(subscriptionid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetRegistryData: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<FolderData> response = apiInstance.GetRegistryDataWithHttpInfo(subscriptionid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetRegistryDataWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetReplaysResponse GetReplays (string subscriptionid)
Get Replays
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetReplaysExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
try
{
GetReplaysResponse result = apiInstance.GetReplays(subscriptionid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetReplays: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<GetReplaysResponse> response = apiInstance.GetReplaysWithHttpInfo(subscriptionid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetReplaysWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
AuditResult GetVaultAudit (string subscriptionid, int? pageNumber = null, int? pageSize = null)
Get vault Audit
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetVaultAuditExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var pageNumber = 56; // int? | Page Number (optional)
var pageSize = 56; // int? | Page Size (optional)
try
{
AuditResult result = apiInstance.GetVaultAudit(subscriptionid, pageNumber, pageSize);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultAudit: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<AuditResult> response = apiInstance.GetVaultAuditWithHttpInfo(subscriptionid, pageNumber, pageSize);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultAuditWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
pageNumber | int? | Page Number | [optional] |
pageSize | int? | Page Size | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Configurations GetVaultConfigurations (string subscriptionid)
Get vault configurations
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetVaultConfigurationsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
try
{
Configurations result = apiInstance.GetVaultConfigurations(subscriptionid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultConfigurations: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Configurations> response = apiInstance.GetVaultConfigurationsWithHttpInfo(subscriptionid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultConfigurationsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
FileDetails GetVaultFiles (string subscriptionid, string registryid, string fileType = null)
Get vault files
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetVaultFilesExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var registryid = "registryid_example"; // string | registry ID
var fileType = "fileType_example"; // string | file type (optional)
try
{
FileDetails result = apiInstance.GetVaultFiles(subscriptionid, registryid, fileType);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultFiles: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<FileDetails> response = apiInstance.GetVaultFilesWithHttpInfo(subscriptionid, registryid, fileType);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultFilesWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
registryid | string | registry ID | |
fileType | string | file type | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GetKeysResponse GetVaultKeys (string subscriptionid)
Get Vault Keys
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetVaultKeysExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
try
{
GetKeysResponse result = apiInstance.GetVaultKeys(subscriptionid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultKeys: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<GetKeysResponse> response = apiInstance.GetVaultKeysWithHttpInfo(subscriptionid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultKeysWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
MetricsResponse GetVaultMetrics (string subscriptionid, string startTime = null, string endTime = null)
Get vault metrics
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetVaultMetricsExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var startTime = "startTime_example"; // string | start time (optional)
var endTime = "endTime_example"; // string | end time (optional)
try
{
MetricsResponse result = apiInstance.GetVaultMetrics(subscriptionid, startTime, endTime);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultMetrics: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<MetricsResponse> response = apiInstance.GetVaultMetricsWithHttpInfo(subscriptionid, startTime, endTime);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultMetricsWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
startTime | string | start time | [optional] |
endTime | string | end time | [optional] |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
VaultStatus GetVaultStatus (string subscriptionid)
Get vault status
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class GetVaultStatusExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
try
{
VaultStatus result = apiInstance.GetVaultStatus(subscriptionid);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultStatus: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<VaultStatus> response = apiInstance.GetVaultStatusWithHttpInfo(subscriptionid);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.GetVaultStatusWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID |
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Frame SetRetention (string subscriptionid, SetRetentionBody setRetentionBody = null)
Set Retention Period
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class SetRetentionExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var setRetentionBody = new SetRetentionBody(); // SetRetentionBody | application/json (optional)
try
{
Frame result = apiInstance.SetRetention(subscriptionid, setRetentionBody);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.SetRetention: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.SetRetentionWithHttpInfo(subscriptionid, setRetentionBody);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.SetRetentionWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
setRetentionBody | SetRetentionBody | application/json | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | OK | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
Frame StartExport (string subscriptionid, StartExportBody startExportBody = null)
Start Export
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class StartExportExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var startExportBody = new StartExportBody(); // StartExportBody | application/json (optional)
try
{
Frame result = apiInstance.StartExport(subscriptionid, startExportBody);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.StartExport: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<Frame> response = apiInstance.StartExportWithHttpInfo(subscriptionid, startExportBody);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.StartExportWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
startExportBody | StartExportBody | application/json | [optional] |
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
201 | Created | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string StartReplay (string subscriptionid, ReplayBody replayBody = null)
Start Replay
using System.Collections.Generic;
using System.Diagnostics;
using OmniCore.Api;
using OmniCore.Client;
using OmniCore.Model;
namespace Example
{
public class StartReplayExample
{
public static void Main()
{
Configuration config = new Configuration();
config.BasePath = "https://api.korewireless.com";
// Configure API key authorization: apiKey
config.AddApiKey("x-api-key", "YOUR_API_KEY");
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// config.AddApiKeyPrefix("x-api-key", "Bearer");
// Configure Bearer token for authorization: bearerAuth
config.AccessToken = "YOUR_BEARER_TOKEN";
var apiInstance = new VaultApi(config);
var subscriptionid = "subscriptionid_example"; // string | Subscription ID
var replayBody = new ReplayBody(); // ReplayBody | application/json (optional)
try
{
string result = apiInstance.StartReplay(subscriptionid, replayBody);
Debug.WriteLine(result);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.StartReplay: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
}
}
}
This returns an ApiResponse object which contains the response data, status code and headers.
try
{
ApiResponse<string> response = apiInstance.StartReplayWithHttpInfo(subscriptionid, replayBody);
Debug.Write("Status Code: " + response.StatusCode);
Debug.Write("Response Headers: " + response.Headers);
Debug.Write("Response Body: " + response.Data);
}
catch (ApiException e)
{
Debug.Print("Exception when calling VaultApi.StartReplayWithHttpInfo: " + e.Message);
Debug.Print("Status Code: " + e.ErrorCode);
Debug.Print(e.StackTrace);
}
Name | Type | Description | Notes |
---|---|---|---|
subscriptionid | string | Subscription ID | |
replayBody | ReplayBody | application/json | [optional] |
string
- Content-Type: application/json
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
202 | Accepted | - |
400 | Bad Request | - |
404 | Not Found | - |
500 | Internal Server Error | - |
[Back to top] [Back to API list] [Back to Model list] [Back to README]