Skip to content

Latest commit

 

History

History
989 lines (679 loc) · 28.7 KB

VaultApi.md

File metadata and controls

989 lines (679 loc) · 28.7 KB

OmniCoreModelAndStateManagementApi.VaultApi

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

createVaultConfiguration

Frame createVaultConfiguration(subscriptionid, opts)

create vault configuration

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'createConfiguration': new OmniCoreModelAndStateManagementApi.CreateConfiguration() // CreateConfiguration | application/json
};
apiInstance.createVaultConfiguration(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
createConfiguration CreateConfiguration application/json [optional]

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

createVaultKey

Frame createVaultKey(subscriptionid, opts)

Create Vault Key

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'createVaultKeyBody': new OmniCoreModelAndStateManagementApi.CreateVaultKeyBody() // CreateVaultKeyBody | application/json
};
apiInstance.createVaultKey(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
createVaultKeyBody CreateVaultKeyBody application/json [optional]

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

deleteConfiguration

Frame deleteConfiguration(subscriptionid, configid)

Delete Configuration

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let configid = "configid_example"; // String | config id
apiInstance.deleteConfiguration(subscriptionid, configid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
configid String config id

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

deleteVaultKey

Frame deleteVaultKey(subscriptionid, keyid)

Delete Vault Key

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let keyid = "keyid_example"; // String | key id
apiInstance.deleteVaultKey(subscriptionid, keyid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
keyid String key id

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

enableEncryption

Frame enableEncryption(subscriptionid, opts)

Enable Encryption

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'enableEncryptionBody': new OmniCoreModelAndStateManagementApi.EnableEncryptionBody() // EnableEncryptionBody | application/json
};
apiInstance.enableEncryption(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
enableEncryptionBody EnableEncryptionBody application/json [optional]

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

getExports

GetExportsResponse getExports(subscriptionid)

Get Exports

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
apiInstance.getExports(subscriptionid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID

Return type

GetExportsResponse

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getRegistryData

FolderData getRegistryData(subscriptionid)

Get vault folder data

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
apiInstance.getRegistryData(subscriptionid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID

Return type

FolderData

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getReplays

GetReplaysResponse getReplays(subscriptionid)

Get Replays

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
apiInstance.getReplays(subscriptionid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID

Return type

GetReplaysResponse

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getVaultAudit

AuditResult getVaultAudit(subscriptionid, opts)

Get vault Audit

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'pageNumber': 56, // Number | Page Number
  'pageSize': 56 // Number | Page Size
};
apiInstance.getVaultAudit(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
pageNumber Number Page Number [optional]
pageSize Number Page Size [optional]

Return type

AuditResult

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getVaultConfigurations

Configurations getVaultConfigurations(subscriptionid)

Get vault configurations

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
apiInstance.getVaultConfigurations(subscriptionid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID

Return type

Configurations

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getVaultFiles

FileDetails getVaultFiles(subscriptionid, registryid, opts)

Get vault files

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let registryid = "registryid_example"; // String | registry ID
let opts = {
  'fileType': "fileType_example" // String | file type
};
apiInstance.getVaultFiles(subscriptionid, registryid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
registryid String registry ID
fileType String file type [optional]

Return type

FileDetails

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getVaultKeys

GetKeysResponse getVaultKeys(subscriptionid)

Get Vault Keys

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
apiInstance.getVaultKeys(subscriptionid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID

Return type

GetKeysResponse

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getVaultMetrics

MetricsResponse getVaultMetrics(subscriptionid, opts)

Get vault metrics

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'startTime': "startTime_example", // String | start time
  'endTime': "endTime_example" // String | end time
};
apiInstance.getVaultMetrics(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
startTime String start time [optional]
endTime String end time [optional]

Return type

MetricsResponse

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

getVaultStatus

VaultStatus getVaultStatus(subscriptionid)

Get vault status

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
apiInstance.getVaultStatus(subscriptionid, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID

Return type

VaultStatus

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

setRetention

Frame setRetention(subscriptionid, opts)

Set Retention Period

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'setRetentionBody': new OmniCoreModelAndStateManagementApi.SetRetentionBody() // SetRetentionBody | application/json
};
apiInstance.setRetention(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
setRetentionBody SetRetentionBody application/json [optional]

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

startExport

Frame startExport(subscriptionid, opts)

Start Export

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'startExportBody': new OmniCoreModelAndStateManagementApi.StartExportBody() // StartExportBody | application/json
};
apiInstance.startExport(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
startExportBody StartExportBody application/json [optional]

Return type

Frame

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

startReplay

String startReplay(subscriptionid, opts)

Start Replay

Example

import OmniCoreModelAndStateManagementApi from 'omni_core_model_and_state_management_api';
let defaultClient = OmniCoreModelAndStateManagementApi.ApiClient.instance;
// Configure API key authorization: apiKey
let apiKey = defaultClient.authentications['apiKey'];
apiKey.apiKey = 'YOUR API KEY';
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//apiKey.apiKeyPrefix = 'Token';
// Configure Bearer (JWT) access token for authorization: bearerAuth
let bearerAuth = defaultClient.authentications['bearerAuth'];
bearerAuth.accessToken = "YOUR ACCESS TOKEN"

let apiInstance = new OmniCoreModelAndStateManagementApi.VaultApi();
let subscriptionid = "subscriptionid_example"; // String | Subscription ID
let opts = {
  'replayBody': new OmniCoreModelAndStateManagementApi.ReplayBody() // ReplayBody | application/json
};
apiInstance.startReplay(subscriptionid, opts, (error, data, response) => {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
});

Parameters

Name Type Description Notes
subscriptionid String Subscription ID
replayBody ReplayBody application/json [optional]

Return type

String

Authorization

apiKey, bearerAuth

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json