Class ImportExportApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ImportExportApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexportAPI(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision) Export an API This operation can be used to export the details of a particular API as a zip file.okhttp3.CallexportAPIAsync(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback<File> _callback) Export an API (asynchronously) This operation can be used to export the details of a particular API as a zip file.okhttp3.CallexportAPICall(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback _callback) Build call for exportAPIexportAPIProduct(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision) Export an API Product This operation can be used to export the details of a particular API Product as a zip file.okhttp3.CallexportAPIProductAsync(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback<File> _callback) Export an API Product (asynchronously) This operation can be used to export the details of a particular API Product as a zip file.okhttp3.CallexportAPIProductCall(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback _callback) Build call for exportAPIProductexportAPIProductWithHttpInfo(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision) Export an API Product This operation can be used to export the details of a particular API Product as a zip file.exportAPIWithHttpInfo(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision) Export an API This operation can be used to export the details of a particular API as a zip file.exportMCPServer(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials) Export a MCP Server This operation can be used to export the details of a particular MCP server as a zip file.okhttp3.CallexportMCPServerAsync(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials, ApiCallback<File> _callback) Export a MCP Server (asynchronously) This operation can be used to export the details of a particular MCP server as a zip file.okhttp3.CallexportMCPServerCall(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials, ApiCallback _callback) Build call for exportMCPServerexportMCPServerWithHttpInfo(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials) Export a MCP Server This operation can be used to export the details of a particular MCP server as a zip file.exportOperationPolicy(String name, String version, String format) Export an API Policy by its name and version This operation provides you to export a preferred common API policyokhttp3.CallexportOperationPolicyAsync(String name, String version, String format, ApiCallback<File> _callback) Export an API Policy by its name and version (asynchronously) This operation provides you to export a preferred common API policyokhttp3.CallexportOperationPolicyCall(String name, String version, String format, ApiCallback _callback) Build call for exportOperationPolicyexportOperationPolicyWithHttpInfo(String name, String version, String format) Export an API Policy by its name and version This operation provides you to export a preferred common API policyvoidImport an API This operation can be used to import an API.okhttp3.CallimportAPIAsync(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, ApiCallback<Void> _callback) Import an API (asynchronously) This operation can be used to import an API.okhttp3.CallimportAPICall(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, ApiCallback _callback) Build call for importAPIvoidimportAPIProduct(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) Import an API Product This operation can be used to import an API Product.okhttp3.CallimportAPIProductAsync(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback<Void> _callback) Import an API Product (asynchronously) This operation can be used to import an API Product.okhttp3.CallimportAPIProductCall(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback _callback) Build call for importAPIProductimportAPIProductWithHttpInfo(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) Import an API Product This operation can be used to import an API Product.importAPIWithHttpInfo(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite) Import an API This operation can be used to import an API.importMCPServer(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept) Import a MCP Server This operation can be used to import a MCP server.okhttp3.CallimportMCPServerAsync(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept, ApiCallback<String> _callback) Import a MCP Server (asynchronously) This operation can be used to import a MCP server.okhttp3.CallimportMCPServerCall(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept, ApiCallback _callback) Build call for importMCPServerimportMCPServerWithHttpInfo(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept) Import a MCP Server This operation can be used to import a MCP server.voidimportOperationPolicy(File file) Import an API Policy This operation can be used to import an API Policy.okhttp3.CallimportOperationPolicyAsync(File file, ApiCallback<Void> _callback) Import an API Policy (asynchronously) This operation can be used to import an API Policy.okhttp3.CallimportOperationPolicyCall(File file, ApiCallback _callback) Build call for importOperationPolicyImport an API Policy This operation can be used to import an API Policy.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
ImportExportApi
public ImportExportApi() -
ImportExportApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
exportAPICall
public okhttp3.Call exportAPICall(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback _callback) throws ApiException Build call for exportAPI- Parameters:
apiId- UUID of the API (optional)name- API Name (optional)version- Version of the API (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the API (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Status on export (optional)latestRevision- Export the latest revision of the API (optional, default to false)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportAPI
public File exportAPI(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision) throws ApiException Export an API This operation can be used to export the details of a particular API as a zip file.- Parameters:
apiId- UUID of the API (optional)name- API Name (optional)version- Version of the API (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the API (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Status on export (optional)latestRevision- Export the latest revision of the API (optional, default to false)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportAPIWithHttpInfo
public ApiResponse<File> exportAPIWithHttpInfo(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision) throws ApiException Export an API This operation can be used to export the details of a particular API as a zip file.- Parameters:
apiId- UUID of the API (optional)name- API Name (optional)version- Version of the API (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the API (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Status on export (optional)latestRevision- Export the latest revision of the API (optional, default to false)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportAPIAsync
public okhttp3.Call exportAPIAsync(String apiId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback<File> _callback) throws ApiException Export an API (asynchronously) This operation can be used to export the details of a particular API as a zip file.- Parameters:
apiId- UUID of the API (optional)name- API Name (optional)version- Version of the API (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the API (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Status on export (optional)latestRevision- Export the latest revision of the API (optional, default to false)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
exportAPIProductCall
public okhttp3.Call exportAPIProductCall(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback _callback) throws ApiException Build call for exportAPIProduct- Parameters:
name- API Product Name (optional)version- Version of the API Product (optional)providerName- Provider name of the API Product (optional)revisionNumber- Revision number of the API Product (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Product Status on export (optional)latestRevision- Export the latest revision of the API Product (optional, default to false)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportAPIProduct
public File exportAPIProduct(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision) throws ApiException Export an API Product This operation can be used to export the details of a particular API Product as a zip file.- Parameters:
name- API Product Name (optional)version- Version of the API Product (optional)providerName- Provider name of the API Product (optional)revisionNumber- Revision number of the API Product (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Product Status on export (optional)latestRevision- Export the latest revision of the API Product (optional, default to false)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportAPIProductWithHttpInfo
public ApiResponse<File> exportAPIProductWithHttpInfo(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision) throws ApiException Export an API Product This operation can be used to export the details of a particular API Product as a zip file.- Parameters:
name- API Product Name (optional)version- Version of the API Product (optional)providerName- Provider name of the API Product (optional)revisionNumber- Revision number of the API Product (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Product Status on export (optional)latestRevision- Export the latest revision of the API Product (optional, default to false)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportAPIProductAsync
public okhttp3.Call exportAPIProductAsync(String name, String version, String providerName, String revisionNumber, String format, Boolean preserveStatus, Boolean latestRevision, ApiCallback<File> _callback) throws ApiException Export an API Product (asynchronously) This operation can be used to export the details of a particular API Product as a zip file.- Parameters:
name- API Product Name (optional)version- Version of the API Product (optional)providerName- Provider name of the API Product (optional)revisionNumber- Revision number of the API Product (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve API Product Status on export (optional)latestRevision- Export the latest revision of the API Product (optional, default to false)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
exportMCPServerCall
public okhttp3.Call exportMCPServerCall(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials, ApiCallback _callback) throws ApiException Build call for exportMCPServer- Parameters:
mcpServerId- UUID of the MCP server (optional)name- API Name (optional)version- Version of the MCP Server (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the MCP Server (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve MCP Server Status during export (optional)latestRevision- Export the latest revision of the MCP server (optional, default to false)gatewayEnvironment- Gateway environment of the exported MCP servers (optional)preserveCredentials- Preserve endpoint configuration credentials (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportMCPServer
public File exportMCPServer(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials) throws ApiException Export a MCP Server This operation can be used to export the details of a particular MCP server as a zip file.- Parameters:
mcpServerId- UUID of the MCP server (optional)name- API Name (optional)version- Version of the MCP Server (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the MCP Server (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve MCP Server Status during export (optional)latestRevision- Export the latest revision of the MCP server (optional, default to false)gatewayEnvironment- Gateway environment of the exported MCP servers (optional)preserveCredentials- Preserve endpoint configuration credentials (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportMCPServerWithHttpInfo
public ApiResponse<File> exportMCPServerWithHttpInfo(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials) throws ApiException Export a MCP Server This operation can be used to export the details of a particular MCP server as a zip file.- Parameters:
mcpServerId- UUID of the MCP server (optional)name- API Name (optional)version- Version of the MCP Server (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the MCP Server (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve MCP Server Status during export (optional)latestRevision- Export the latest revision of the MCP server (optional, default to false)gatewayEnvironment- Gateway environment of the exported MCP servers (optional)preserveCredentials- Preserve endpoint configuration credentials (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportMCPServerAsync
public okhttp3.Call exportMCPServerAsync(String mcpServerId, String name, String version, String revisionNumber, String providerName, String format, Boolean preserveStatus, Boolean latestRevision, String gatewayEnvironment, Boolean preserveCredentials, ApiCallback<File> _callback) throws ApiException Export a MCP Server (asynchronously) This operation can be used to export the details of a particular MCP server as a zip file.- Parameters:
mcpServerId- UUID of the MCP server (optional)name- API Name (optional)version- Version of the MCP Server (optional)revisionNumber- Revision number of the API artifact (optional)providerName- Provider name of the MCP Server (optional)format- Format of output documents. Can be YAML or JSON. (optional)preserveStatus- Preserve MCP Server Status during export (optional)latestRevision- Export the latest revision of the MCP server (optional, default to false)gatewayEnvironment- Gateway environment of the exported MCP servers (optional)preserveCredentials- Preserve endpoint configuration credentials (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
exportOperationPolicyCall
public okhttp3.Call exportOperationPolicyCall(String name, String version, String format, ApiCallback _callback) throws ApiException Build call for exportOperationPolicy- Parameters:
name- Policy name (optional)version- Version of the policy (optional)format- Format of the policy definition file (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
exportOperationPolicy
Export an API Policy by its name and version This operation provides you to export a preferred common API policy- Parameters:
name- Policy name (optional)version- Version of the policy (optional)format- Format of the policy definition file (optional)- Returns:
- File
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportOperationPolicyWithHttpInfo
public ApiResponse<File> exportOperationPolicyWithHttpInfo(String name, String version, String format) throws ApiException Export an API Policy by its name and version This operation provides you to export a preferred common API policy- Parameters:
name- Policy name (optional)version- Version of the policy (optional)format- Format of the policy definition file (optional)- Returns:
- ApiResponse<File>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
exportOperationPolicyAsync
public okhttp3.Call exportOperationPolicyAsync(String name, String version, String format, ApiCallback<File> _callback) throws ApiException Export an API Policy by its name and version (asynchronously) This operation provides you to export a preferred common API policy- Parameters:
name- Policy name (optional)version- Version of the policy (optional)format- Format of the policy definition file (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
importAPICall
public okhttp3.Call importAPICall(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, ApiCallback _callback) throws ApiException Build call for importAPI- Parameters:
file- Zip archive consisting on exported api configuration (required)preserveProvider- Preserve Original Provider of the API. This is the user choice to keep or replace the API provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the API or not. This is used when updating already existing APIs (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importAPI
public void importAPI(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite) throws ApiException Import an API This operation can be used to import an API.- Parameters:
file- Zip archive consisting on exported api configuration (required)preserveProvider- Preserve Original Provider of the API. This is the user choice to keep or replace the API provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the API or not. This is used when updating already existing APIs (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importAPIWithHttpInfo
public ApiResponse<Void> importAPIWithHttpInfo(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite) throws ApiException Import an API This operation can be used to import an API.- Parameters:
file- Zip archive consisting on exported api configuration (required)preserveProvider- Preserve Original Provider of the API. This is the user choice to keep or replace the API provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the API or not. This is used when updating already existing APIs (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importAPIAsync
public okhttp3.Call importAPIAsync(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, ApiCallback<Void> _callback) throws ApiException Import an API (asynchronously) This operation can be used to import an API.- Parameters:
file- Zip archive consisting on exported api configuration (required)preserveProvider- Preserve Original Provider of the API. This is the user choice to keep or replace the API provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the API or not. This is used when updating already existing APIs (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
importAPIProductCall
public okhttp3.Call importAPIProductCall(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback _callback) throws ApiException Build call for importAPIProduct- Parameters:
file- Zip archive consisting on exported API Product configuration (required)preserveProvider- Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)importAPIs- Whether to import the dependent APIs or not. (optional)overwriteAPIProduct- Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs- Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importAPIProduct
public void importAPIProduct(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) throws ApiException Import an API Product This operation can be used to import an API Product.- Parameters:
file- Zip archive consisting on exported API Product configuration (required)preserveProvider- Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)importAPIs- Whether to import the dependent APIs or not. (optional)overwriteAPIProduct- Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs- Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importAPIProductWithHttpInfo
public ApiResponse<Void> importAPIProductWithHttpInfo(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs) throws ApiException Import an API Product This operation can be used to import an API Product.- Parameters:
file- Zip archive consisting on exported API Product configuration (required)preserveProvider- Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)importAPIs- Whether to import the dependent APIs or not. (optional)overwriteAPIProduct- Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs- Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importAPIProductAsync
public okhttp3.Call importAPIProductAsync(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean importAPIs, Boolean overwriteAPIProduct, Boolean overwriteAPIs, ApiCallback<Void> _callback) throws ApiException Import an API Product (asynchronously) This operation can be used to import an API Product.- Parameters:
file- Zip archive consisting on exported API Product configuration (required)preserveProvider- Preserve Original Provider of the API Product. This is the user choice to keep or replace the API Product provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)importAPIs- Whether to import the dependent APIs or not. (optional)overwriteAPIProduct- Whether to update the API Product or not. This is used when updating already existing API Products. (optional)overwriteAPIs- Whether to update the dependent APIs or not. This is used when updating already existing dependent APIs of an API Product. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
importMCPServerCall
public okhttp3.Call importMCPServerCall(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept, ApiCallback _callback) throws ApiException Build call for importMCPServer- Parameters:
file- Zip archive consisting on exported MCP Server configuration (required)preserveProvider- Preserve Original Provider of the MCP server. This is the user choice to keep or replace the MCP server provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the MCP server or not. This is used when updating already existing MCP servers (optional)preservePortalConfigurations- Preserve Portal Configurations. This is used to preserve the portal configurations of the MCP server (optional)dryRun- Dry Run. This is used to validate the MCP server without importing it (optional, default to false)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importMCPServer
public String importMCPServer(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept) throws ApiException Import a MCP Server This operation can be used to import a MCP server.- Parameters:
file- Zip archive consisting on exported MCP Server configuration (required)preserveProvider- Preserve Original Provider of the MCP server. This is the user choice to keep or replace the MCP server provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the MCP server or not. This is used when updating already existing MCP servers (optional)preservePortalConfigurations- Preserve Portal Configurations. This is used to preserve the portal configurations of the MCP server (optional)dryRun- Dry Run. This is used to validate the MCP server without importing it (optional, default to false)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")- Returns:
- String
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importMCPServerWithHttpInfo
public ApiResponse<String> importMCPServerWithHttpInfo(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept) throws ApiException Import a MCP Server This operation can be used to import a MCP server.- Parameters:
file- Zip archive consisting on exported MCP Server configuration (required)preserveProvider- Preserve Original Provider of the MCP server. This is the user choice to keep or replace the MCP server provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the MCP server or not. This is used when updating already existing MCP servers (optional)preservePortalConfigurations- Preserve Portal Configurations. This is used to preserve the portal configurations of the MCP server (optional)dryRun- Dry Run. This is used to validate the MCP server without importing it (optional, default to false)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")- Returns:
- ApiResponse<String>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importMCPServerAsync
public okhttp3.Call importMCPServerAsync(File file, Boolean preserveProvider, Boolean rotateRevision, Boolean overwrite, Boolean preservePortalConfigurations, Boolean dryRun, String accept, ApiCallback<String> _callback) throws ApiException Import a MCP Server (asynchronously) This operation can be used to import a MCP server.- Parameters:
file- Zip archive consisting on exported MCP Server configuration (required)preserveProvider- Preserve Original Provider of the MCP server. This is the user choice to keep or replace the MCP server provider (optional)rotateRevision- Once the revision max limit reached, undeploy and delete the earliest revision and create a new revision (optional)overwrite- Whether to update the MCP server or not. This is used when updating already existing MCP servers (optional)preservePortalConfigurations- Preserve Portal Configurations. This is used to preserve the portal configurations of the MCP server (optional)dryRun- Dry Run. This is used to validate the MCP server without importing it (optional, default to false)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
importOperationPolicyCall
Build call for importOperationPolicy- Parameters:
file- Zip archive consisting on exported policy configuration (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
importOperationPolicy
Import an API Policy This operation can be used to import an API Policy.- Parameters:
file- Zip archive consisting on exported policy configuration (required)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importOperationPolicyWithHttpInfo
Import an API Policy This operation can be used to import an API Policy.- Parameters:
file- Zip archive consisting on exported policy configuration (required)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
importOperationPolicyAsync
public okhttp3.Call importOperationPolicyAsync(File file, ApiCallback<Void> _callback) throws ApiException Import an API Policy (asynchronously) This operation can be used to import an API Policy.- Parameters:
file- Zip archive consisting on exported policy configuration (required)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-