Class McpServersApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.McpServersApi
-
public class McpServersApi extends Object
-
-
Constructor Summary
Constructors Constructor Description McpServersApi()McpServersApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MCPServerDTOcreateMCPServerFromAPI(MCPServerDTO mcPServerDTO, String openAPIVersion)Create a New MCP Server This operation can be used to create a new MCP server using an existing API.okhttp3.CallcreateMCPServerFromAPIAsync(MCPServerDTO mcPServerDTO, String openAPIVersion, ApiCallback<MCPServerDTO> _callback)Create a New MCP Server (asynchronously) This operation can be used to create a new MCP server using an existing API.okhttp3.CallcreateMCPServerFromAPICall(MCPServerDTO mcPServerDTO, String openAPIVersion, ApiCallback _callback)Build call for createMCPServerFromAPIApiResponse<MCPServerDTO>createMCPServerFromAPIWithHttpInfo(MCPServerDTO mcPServerDTO, String openAPIVersion)Create a New MCP Server This operation can be used to create a new MCP server using an existing API.MCPServerDTOcreateMCPServerFromOpenAPI(File file, String url, String additionalProperties)Create a MCP server using an OpenAPI definition.okhttp3.CallcreateMCPServerFromOpenAPIAsync(File file, String url, String additionalProperties, ApiCallback<MCPServerDTO> _callback)Create a MCP server using an OpenAPI definition.okhttp3.CallcreateMCPServerFromOpenAPICall(File file, String url, String additionalProperties, ApiCallback _callback)Build call for createMCPServerFromOpenAPIApiResponse<MCPServerDTO>createMCPServerFromOpenAPIWithHttpInfo(File file, String url, String additionalProperties)Create a MCP server using an OpenAPI definition.MCPServerDTOcreateMCPServerProxy(MCPServerProxyRequestDTO mcPServerProxyRequestDTO)Create an MCP server by proxying a third-party MCP Server This operation can be used to create a MCP server using a third party MCP Server.okhttp3.CallcreateMCPServerProxyAsync(MCPServerProxyRequestDTO mcPServerProxyRequestDTO, ApiCallback<MCPServerDTO> _callback)Create an MCP server by proxying a third-party MCP Server (asynchronously) This operation can be used to create a MCP server using a third party MCP Server.okhttp3.CallcreateMCPServerProxyCall(MCPServerProxyRequestDTO mcPServerProxyRequestDTO, ApiCallback _callback)Build call for createMCPServerProxyApiResponse<MCPServerDTO>createMCPServerProxyWithHttpInfo(MCPServerProxyRequestDTO mcPServerProxyRequestDTO)Create an MCP server by proxying a third-party MCP Server This operation can be used to create a MCP server using a third party MCP Server.MCPServerDTOcreateNewMCPServerVersion(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion)Create a New MCP Server Version This operation can be used to create a new version of an existing MCP server.okhttp3.CallcreateNewMCPServerVersionAsync(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion, ApiCallback<MCPServerDTO> _callback)Create a New MCP Server Version (asynchronously) This operation can be used to create a new version of an existing MCP server.okhttp3.CallcreateNewMCPServerVersionCall(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion, ApiCallback _callback)Build call for createNewMCPServerVersionApiResponse<MCPServerDTO>createNewMCPServerVersionWithHttpInfo(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion)Create a New MCP Server Version This operation can be used to create a new version of an existing MCP server.voiddeleteMCPServer(String mcpServerId, String ifMatch)Delete a MCP Server This operation can be used to delete a MCP server by providing the Id of the MCP server.okhttp3.CalldeleteMCPServerAsync(String mcpServerId, String ifMatch, ApiCallback<Void> _callback)Delete a MCP Server (asynchronously) This operation can be used to delete a MCP server by providing the Id of the MCP server.okhttp3.CalldeleteMCPServerCall(String mcpServerId, String ifMatch, ApiCallback _callback)Build call for deleteMCPServerApiResponse<Void>deleteMCPServerWithHttpInfo(String mcpServerId, String ifMatch)Delete a MCP Server This operation can be used to delete a MCP server by providing the Id of the MCP server.APIKeyDTOgenerateInternalAPIKeyMCPServer(String mcpServerId)Generate internal API Key to invoke MCP Server.okhttp3.CallgenerateInternalAPIKeyMCPServerAsync(String mcpServerId, ApiCallback<APIKeyDTO> _callback)Generate internal API Key to invoke MCP Server.okhttp3.CallgenerateInternalAPIKeyMCPServerCall(String mcpServerId, ApiCallback _callback)Build call for generateInternalAPIKeyMCPServerApiResponse<APIKeyDTO>generateInternalAPIKeyMCPServerWithHttpInfo(String mcpServerId)Generate internal API Key to invoke MCP Server.APIListDTOgetAllMCPServers(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept)Retrieve/Search MCP Servers This operation provides you a list of available MCP servers qualifying under a given search condition.okhttp3.CallgetAllMCPServersAsync(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept, ApiCallback<APIListDTO> _callback)Retrieve/Search MCP Servers (asynchronously) This operation provides you a list of available MCP servers qualifying under a given search condition.okhttp3.CallgetAllMCPServersCall(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept, ApiCallback _callback)Build call for getAllMCPServersApiResponse<APIListDTO>getAllMCPServersWithHttpInfo(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept)Retrieve/Search MCP Servers This operation provides you a list of available MCP servers qualifying under a given search condition.ApiClientgetApiClient()MCPServerDTOgetMCPServer(String mcpServerId, String xWSO2Tenant, String ifNoneMatch)Get Details of an MCP Server Using this operation, you can retrieve complete details of a single API.okhttp3.CallgetMCPServerAsync(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, ApiCallback<MCPServerDTO> _callback)Get Details of an MCP Server (asynchronously) Using this operation, you can retrieve complete details of a single API.okhttp3.CallgetMCPServerCall(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, ApiCallback _callback)Build call for getMCPServerThrottlingPolicyDTOgetMCPServerSubscriptionPolicies(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID)Get Details of the Subscription Throttling Policies of a MCP Server This operation can be used to retrieve details of the subscription throttling policy of a MCP server by specifying the API Id.okhttp3.CallgetMCPServerSubscriptionPoliciesAsync(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID, ApiCallback<ThrottlingPolicyDTO> _callback)Get Details of the Subscription Throttling Policies of a MCP Server (asynchronously) This operation can be used to retrieve details of the subscription throttling policy of a MCP server by specifying the API Id.okhttp3.CallgetMCPServerSubscriptionPoliciesCall(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID, ApiCallback _callback)Build call for getMCPServerSubscriptionPoliciesApiResponse<ThrottlingPolicyDTO>getMCPServerSubscriptionPoliciesWithHttpInfo(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID)Get Details of the Subscription Throttling Policies of a MCP Server This operation can be used to retrieve details of the subscription throttling policy of a MCP server by specifying the API Id.ApiResponse<MCPServerDTO>getMCPServerWithHttpInfo(String mcpServerId, String xWSO2Tenant, String ifNoneMatch)Get Details of an MCP Server Using this operation, you can retrieve complete details of a single API.voidsetApiClient(ApiClient apiClient)MCPServerDTOupdateMCPServer(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch)Update a MCP Server This operation can be used to update an existing MCP Server.okhttp3.CallupdateMCPServerAsync(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch, ApiCallback<MCPServerDTO> _callback)Update a MCP Server (asynchronously) This operation can be used to update an existing MCP Server.okhttp3.CallupdateMCPServerCall(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch, ApiCallback _callback)Build call for updateMCPServerApiResponse<MCPServerDTO>updateMCPServerWithHttpInfo(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch)Update a MCP Server This operation can be used to update an existing MCP Server.
-
-
-
Constructor Detail
-
McpServersApi
public McpServersApi()
-
McpServersApi
public McpServersApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createMCPServerFromAPICall
public okhttp3.Call createMCPServerFromAPICall(MCPServerDTO mcPServerDTO, String openAPIVersion, ApiCallback _callback) throws ApiException
Build call for createMCPServerFromAPI- Parameters:
mcPServerDTO- API object that needs to be added (required)openAPIVersion- Open API version (optional, default to v3)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createMCPServerFromAPI
public MCPServerDTO createMCPServerFromAPI(MCPServerDTO mcPServerDTO, String openAPIVersion) throws ApiException
Create a New MCP Server This operation can be used to create a new MCP server using an existing API.- Parameters:
mcPServerDTO- API object that needs to be added (required)openAPIVersion- Open API version (optional, default to v3)- Returns:
- MCPServerDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createMCPServerFromAPIWithHttpInfo
public ApiResponse<MCPServerDTO> createMCPServerFromAPIWithHttpInfo(MCPServerDTO mcPServerDTO, String openAPIVersion) throws ApiException
Create a New MCP Server This operation can be used to create a new MCP server using an existing API.- Parameters:
mcPServerDTO- API object that needs to be added (required)openAPIVersion- Open API version (optional, default to v3)- Returns:
- ApiResponse<MCPServerDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createMCPServerFromAPIAsync
public okhttp3.Call createMCPServerFromAPIAsync(MCPServerDTO mcPServerDTO, String openAPIVersion, ApiCallback<MCPServerDTO> _callback) throws ApiException
Create a New MCP Server (asynchronously) This operation can be used to create a new MCP server using an existing API.- Parameters:
mcPServerDTO- API object that needs to be added (required)openAPIVersion- Open API version (optional, default to v3)_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
-
createMCPServerFromOpenAPICall
public okhttp3.Call createMCPServerFromOpenAPICall(File file, String url, String additionalProperties, ApiCallback _callback) throws ApiException
Build call for createMCPServerFromOpenAPI- Parameters:
file- Definition to upload as a file (optional)url- Definition url (optional)additionalProperties- Additional attributes specified as a stringified JSON with MCP Server's schema (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createMCPServerFromOpenAPI
public MCPServerDTO createMCPServerFromOpenAPI(File file, String url, String additionalProperties) throws ApiException
Create a MCP server using an OpenAPI definition. This operation can be used to create a MCP server using the OpenAPI definition. Provide either `url` or `file` to specify the definition. Specify additionalProperties with **at least** API's name, version, context and endpointConfig.- Parameters:
file- Definition to upload as a file (optional)url- Definition url (optional)additionalProperties- Additional attributes specified as a stringified JSON with MCP Server's schema (optional)- Returns:
- MCPServerDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createMCPServerFromOpenAPIWithHttpInfo
public ApiResponse<MCPServerDTO> createMCPServerFromOpenAPIWithHttpInfo(File file, String url, String additionalProperties) throws ApiException
Create a MCP server using an OpenAPI definition. This operation can be used to create a MCP server using the OpenAPI definition. Provide either `url` or `file` to specify the definition. Specify additionalProperties with **at least** API's name, version, context and endpointConfig.- Parameters:
file- Definition to upload as a file (optional)url- Definition url (optional)additionalProperties- Additional attributes specified as a stringified JSON with MCP Server's schema (optional)- Returns:
- ApiResponse<MCPServerDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createMCPServerFromOpenAPIAsync
public okhttp3.Call createMCPServerFromOpenAPIAsync(File file, String url, String additionalProperties, ApiCallback<MCPServerDTO> _callback) throws ApiException
Create a MCP server using an OpenAPI definition. (asynchronously) This operation can be used to create a MCP server using the OpenAPI definition. Provide either `url` or `file` to specify the definition. Specify additionalProperties with **at least** API's name, version, context and endpointConfig.- Parameters:
file- Definition to upload as a file (optional)url- Definition url (optional)additionalProperties- Additional attributes specified as a stringified JSON with MCP Server's schema (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
-
createMCPServerProxyCall
public okhttp3.Call createMCPServerProxyCall(MCPServerProxyRequestDTO mcPServerProxyRequestDTO, ApiCallback _callback) throws ApiException
Build call for createMCPServerProxy- Parameters:
mcPServerProxyRequestDTO- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createMCPServerProxy
public MCPServerDTO createMCPServerProxy(MCPServerProxyRequestDTO mcPServerProxyRequestDTO) throws ApiException
Create an MCP server by proxying a third-party MCP Server This operation can be used to create a MCP server using a third party MCP Server. Specify additionalProperties with **at least** API's name, version, context and endpointConfig.- Parameters:
mcPServerProxyRequestDTO- (optional)- Returns:
- MCPServerDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createMCPServerProxyWithHttpInfo
public ApiResponse<MCPServerDTO> createMCPServerProxyWithHttpInfo(MCPServerProxyRequestDTO mcPServerProxyRequestDTO) throws ApiException
Create an MCP server by proxying a third-party MCP Server This operation can be used to create a MCP server using a third party MCP Server. Specify additionalProperties with **at least** API's name, version, context and endpointConfig.- Parameters:
mcPServerProxyRequestDTO- (optional)- Returns:
- ApiResponse<MCPServerDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createMCPServerProxyAsync
public okhttp3.Call createMCPServerProxyAsync(MCPServerProxyRequestDTO mcPServerProxyRequestDTO, ApiCallback<MCPServerDTO> _callback) throws ApiException
Create an MCP server by proxying a third-party MCP Server (asynchronously) This operation can be used to create a MCP server using a third party MCP Server. Specify additionalProperties with **at least** API's name, version, context and endpointConfig.- Parameters:
mcPServerProxyRequestDTO- (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
-
createNewMCPServerVersionCall
public okhttp3.Call createNewMCPServerVersionCall(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion, ApiCallback _callback) throws ApiException
Build call for createNewMCPServerVersion- Parameters:
newVersion- Version of the new MCP server. (required)mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server**. (required)defaultVersion- Specifies whether new MCP server should be added as default version. (optional, default to false)serviceVersion- Version of the Service that will used in creating new version (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createNewMCPServerVersion
public MCPServerDTO createNewMCPServerVersion(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion) throws ApiException
Create a New MCP Server Version This operation can be used to create a new version of an existing MCP server. The new version is specified as `newVersion` query parameter. New MCP server will be in `CREATED` state.- Parameters:
newVersion- Version of the new MCP server. (required)mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server**. (required)defaultVersion- Specifies whether new MCP server should be added as default version. (optional, default to false)serviceVersion- Version of the Service that will used in creating new version (optional)- Returns:
- MCPServerDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createNewMCPServerVersionWithHttpInfo
public ApiResponse<MCPServerDTO> createNewMCPServerVersionWithHttpInfo(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion) throws ApiException
Create a New MCP Server Version This operation can be used to create a new version of an existing MCP server. The new version is specified as `newVersion` query parameter. New MCP server will be in `CREATED` state.- Parameters:
newVersion- Version of the new MCP server. (required)mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server**. (required)defaultVersion- Specifies whether new MCP server should be added as default version. (optional, default to false)serviceVersion- Version of the Service that will used in creating new version (optional)- Returns:
- ApiResponse<MCPServerDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createNewMCPServerVersionAsync
public okhttp3.Call createNewMCPServerVersionAsync(String newVersion, String mcpServerId, Boolean defaultVersion, String serviceVersion, ApiCallback<MCPServerDTO> _callback) throws ApiException
Create a New MCP Server Version (asynchronously) This operation can be used to create a new version of an existing MCP server. The new version is specified as `newVersion` query parameter. New MCP server will be in `CREATED` state.- Parameters:
newVersion- Version of the new MCP server. (required)mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server**. (required)defaultVersion- Specifies whether new MCP server should be added as default version. (optional, default to false)serviceVersion- Version of the Service that will used in creating new version (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
-
deleteMCPServerCall
public okhttp3.Call deleteMCPServerCall(String mcpServerId, String ifMatch, ApiCallback _callback) throws ApiException
Build call for deleteMCPServer- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteMCPServer
public void deleteMCPServer(String mcpServerId, String ifMatch) throws ApiException
Delete a MCP Server This operation can be used to delete a MCP server by providing the Id of the MCP server.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteMCPServerWithHttpInfo
public ApiResponse<Void> deleteMCPServerWithHttpInfo(String mcpServerId, String ifMatch) throws ApiException
Delete a MCP Server This operation can be used to delete a MCP server by providing the Id of the MCP server.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteMCPServerAsync
public okhttp3.Call deleteMCPServerAsync(String mcpServerId, String ifMatch, ApiCallback<Void> _callback) throws ApiException
Delete a MCP Server (asynchronously) This operation can be used to delete a MCP server by providing the Id of the MCP server.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)ifMatch- Validator for conditional requests; based on ETag. (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
-
generateInternalAPIKeyMCPServerCall
public okhttp3.Call generateInternalAPIKeyMCPServerCall(String mcpServerId, ApiCallback _callback) throws ApiException
Build call for generateInternalAPIKeyMCPServer- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
generateInternalAPIKeyMCPServer
public APIKeyDTO generateInternalAPIKeyMCPServer(String mcpServerId) throws ApiException
Generate internal API Key to invoke MCP Server. This operation can be used to generate internal api key which used to invoke MCP Server.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)- Returns:
- APIKeyDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
generateInternalAPIKeyMCPServerWithHttpInfo
public ApiResponse<APIKeyDTO> generateInternalAPIKeyMCPServerWithHttpInfo(String mcpServerId) throws ApiException
Generate internal API Key to invoke MCP Server. This operation can be used to generate internal api key which used to invoke MCP Server.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)- Returns:
- ApiResponse<APIKeyDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
generateInternalAPIKeyMCPServerAsync
public okhttp3.Call generateInternalAPIKeyMCPServerAsync(String mcpServerId, ApiCallback<APIKeyDTO> _callback) throws ApiException
Generate internal API Key to invoke MCP Server. (asynchronously) This operation can be used to generate internal api key which used to invoke MCP Server.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (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
-
getAllMCPServersCall
public okhttp3.Call getAllMCPServersCall(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept, ApiCallback _callback) throws ApiException
Build call for getAllMCPServers- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)query- **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an MCP server if the provider of the API contains \"wso2\". \"provider:\"wso2\"\" will match an API if the provider of the API is exactly \"wso2\". \"status:PUBLISHED\" will match an API if the API is in PUBLISHED state. Also you can use combined modifiers Eg. name:pizzashack version:v1 will match an API if the name of the API is pizzashack and version is v1. Supported attribute modifiers are [**version, context, name, status, description, provider, api-category, tags, doc, contexttemplate, lcstate, content, type, label, enablestore, thirdparty**] If no advanced attribute modifier has been specified, the API names containing the search term will be returned as a result. Please note that you need to use encoded URL (URL encoding) if you are using a client which does not support URL encoding (such as curl) (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)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
-
getAllMCPServers
public APIListDTO getAllMCPServers(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept) throws ApiException
Retrieve/Search MCP Servers This operation provides you a list of available MCP servers qualifying under a given search condition. Each retrieved API is represented with a minimal amount of attributes. If you want to get complete details, you need to use **Get details of an MCP server** operation.- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)query- **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an MCP server if the provider of the API contains \"wso2\". \"provider:\"wso2\"\" will match an API if the provider of the API is exactly \"wso2\". \"status:PUBLISHED\" will match an API if the API is in PUBLISHED state. Also you can use combined modifiers Eg. name:pizzashack version:v1 will match an API if the name of the API is pizzashack and version is v1. Supported attribute modifiers are [**version, context, name, status, description, provider, api-category, tags, doc, contexttemplate, lcstate, content, type, label, enablestore, thirdparty**] If no advanced attribute modifier has been specified, the API names containing the search term will be returned as a result. Please note that you need to use encoded URL (URL encoding) if you are using a client which does not support URL encoding (such as curl) (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")- Returns:
- APIListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllMCPServersWithHttpInfo
public ApiResponse<APIListDTO> getAllMCPServersWithHttpInfo(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept) throws ApiException
Retrieve/Search MCP Servers This operation provides you a list of available MCP servers qualifying under a given search condition. Each retrieved API is represented with a minimal amount of attributes. If you want to get complete details, you need to use **Get details of an MCP server** operation.- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)query- **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an MCP server if the provider of the API contains \"wso2\". \"provider:\"wso2\"\" will match an API if the provider of the API is exactly \"wso2\". \"status:PUBLISHED\" will match an API if the API is in PUBLISHED state. Also you can use combined modifiers Eg. name:pizzashack version:v1 will match an API if the name of the API is pizzashack and version is v1. Supported attribute modifiers are [**version, context, name, status, description, provider, api-category, tags, doc, contexttemplate, lcstate, content, type, label, enablestore, thirdparty**] If no advanced attribute modifier has been specified, the API names containing the search term will be returned as a result. Please note that you need to use encoded URL (URL encoding) if you are using a client which does not support URL encoding (such as curl) (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)accept- Media types acceptable for the response. Default is application/json. (optional, default to "application/json")- Returns:
- ApiResponse<APIListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllMCPServersAsync
public okhttp3.Call getAllMCPServersAsync(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, String accept, ApiCallback<APIListDTO> _callback) throws ApiException
Retrieve/Search MCP Servers (asynchronously) This operation provides you a list of available MCP servers qualifying under a given search condition. Each retrieved API is represented with a minimal amount of attributes. If you want to get complete details, you need to use **Get details of an MCP server** operation.- Parameters:
limit- Maximum size of resource array to return. (optional, default to 25)offset- Starting point within the complete list of items qualified. (optional, default to 0)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)query- **Search condition**. You can search in attributes by using an **\"<attribute>:\"** modifier. Eg. \"provider:wso2\" will match an MCP server if the provider of the API contains \"wso2\". \"provider:\"wso2\"\" will match an API if the provider of the API is exactly \"wso2\". \"status:PUBLISHED\" will match an API if the API is in PUBLISHED state. Also you can use combined modifiers Eg. name:pizzashack version:v1 will match an API if the name of the API is pizzashack and version is v1. Supported attribute modifiers are [**version, context, name, status, description, provider, api-category, tags, doc, contexttemplate, lcstate, content, type, label, enablestore, thirdparty**] If no advanced attribute modifier has been specified, the API names containing the search term will be returned as a result. Please note that you need to use encoded URL (URL encoding) if you are using a client which does not support URL encoding (such as curl) (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)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
-
getMCPServerCall
public okhttp3.Call getMCPServerCall(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, ApiCallback _callback) throws ApiException
Build call for getMCPServer- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getMCPServer
public MCPServerDTO getMCPServer(String mcpServerId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
Get Details of an MCP Server Using this operation, you can retrieve complete details of a single API. You need to provide the Id of the API to retrieve it.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- MCPServerDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMCPServerWithHttpInfo
public ApiResponse<MCPServerDTO> getMCPServerWithHttpInfo(String mcpServerId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
Get Details of an MCP Server Using this operation, you can retrieve complete details of a single API. You need to provide the Id of the API to retrieve it.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ApiResponse<MCPServerDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMCPServerAsync
public okhttp3.Call getMCPServerAsync(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, ApiCallback<MCPServerDTO> _callback) throws ApiException
Get Details of an MCP Server (asynchronously) Using this operation, you can retrieve complete details of a single API. You need to provide the Id of the API to retrieve it.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (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
-
getMCPServerSubscriptionPoliciesCall
public okhttp3.Call getMCPServerSubscriptionPoliciesCall(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID, ApiCallback _callback) throws ApiException
Build call for getMCPServerSubscriptionPolicies- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)isAiApi- Indicates the quota policy type to be AI API quota or not. (optional, default to false)organizationID- Indicates the organization ID (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getMCPServerSubscriptionPolicies
public ThrottlingPolicyDTO getMCPServerSubscriptionPolicies(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID) throws ApiException
Get Details of the Subscription Throttling Policies of a MCP Server This operation can be used to retrieve details of the subscription throttling policy of a MCP server by specifying the API Id. `X-WSO2-Tenant` header can be used to retrive MCP server subscription throttling policies that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)isAiApi- Indicates the quota policy type to be AI API quota or not. (optional, default to false)organizationID- Indicates the organization ID (optional)- Returns:
- ThrottlingPolicyDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMCPServerSubscriptionPoliciesWithHttpInfo
public ApiResponse<ThrottlingPolicyDTO> getMCPServerSubscriptionPoliciesWithHttpInfo(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID) throws ApiException
Get Details of the Subscription Throttling Policies of a MCP Server This operation can be used to retrieve details of the subscription throttling policy of a MCP server by specifying the API Id. `X-WSO2-Tenant` header can be used to retrive MCP server subscription throttling policies that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)isAiApi- Indicates the quota policy type to be AI API quota or not. (optional, default to false)organizationID- Indicates the organization ID (optional)- Returns:
- ApiResponse<ThrottlingPolicyDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getMCPServerSubscriptionPoliciesAsync
public okhttp3.Call getMCPServerSubscriptionPoliciesAsync(String mcpServerId, String xWSO2Tenant, String ifNoneMatch, Boolean isAiApi, String organizationID, ApiCallback<ThrottlingPolicyDTO> _callback) throws ApiException
Get Details of the Subscription Throttling Policies of a MCP Server (asynchronously) This operation can be used to retrieve details of the subscription throttling policy of a MCP server by specifying the API Id. `X-WSO2-Tenant` header can be used to retrive MCP server subscription throttling policies that belongs to a different tenant domain. If not specified super tenant will be used. If Authorization header is present in the request, the user's tenant associated with the access token will be used.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)xWSO2Tenant- For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retirieved from. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)isAiApi- Indicates the quota policy type to be AI API quota or not. (optional, default to false)organizationID- Indicates the organization ID (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
-
updateMCPServerCall
public okhttp3.Call updateMCPServerCall(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch, ApiCallback _callback) throws ApiException
Build call for updateMCPServer- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)mcPServerDTO- API object that needs to be added (required)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateMCPServer
public MCPServerDTO updateMCPServer(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch) throws ApiException
Update a MCP Server This operation can be used to update an existing MCP Server. But the properties `name`, `version`, `context`, `provider`, `state` will not be changed by this operation.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)mcPServerDTO- API object that needs to be added (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- MCPServerDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateMCPServerWithHttpInfo
public ApiResponse<MCPServerDTO> updateMCPServerWithHttpInfo(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch) throws ApiException
Update a MCP Server This operation can be used to update an existing MCP Server. But the properties `name`, `version`, `context`, `provider`, `state` will not be changed by this operation.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)mcPServerDTO- API object that needs to be added (required)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- ApiResponse<MCPServerDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateMCPServerAsync
public okhttp3.Call updateMCPServerAsync(String mcpServerId, MCPServerDTO mcPServerDTO, String ifMatch, ApiCallback<MCPServerDTO> _callback) throws ApiException
Update a MCP Server (asynchronously) This operation can be used to update an existing MCP Server. But the properties `name`, `version`, `context`, `provider`, `state` will not be changed by this operation.- Parameters:
mcpServerId- **MCP Server ID** consisting of the **UUID** of the MCP Server. (required)mcPServerDTO- API object that needs to be added (required)ifMatch- Validator for conditional requests; based on ETag. (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
-
-