public class DefaultApi extends Object
| Constructor and Description |
|---|
DefaultApi() |
DefaultApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
APIArtifactDTO |
getAPIArtifacts(String apiName,
String version,
String tenantDomain)
Get API artifact from the storage
This operation is used to get the local entries, sequences and endpoints from the storage.
|
com.squareup.okhttp.Call |
getAPIArtifactsAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<APIArtifactDTO> callback)
Get API artifact from the storage (asynchronously)
This operation is used to get the local entries, sequences and endpoints from the storage.
|
com.squareup.okhttp.Call |
getAPIArtifactsCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAPIArtifacts
|
ApiResponse<APIArtifactDTO> |
getAPIArtifactsWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get API artifact from the storage
This operation is used to get the local entries, sequences and endpoints from the storage.
|
ApiClient |
getApiClient() |
EndpointsDTO |
getEndpoints(String apiName,
String version,
String tenantDomain)
Get end-points from the storage for the API
This operation is used to get the end-points from the storage.
|
com.squareup.okhttp.Call |
getEndpointsAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<EndpointsDTO> callback)
Get end-points from the storage for the API (asynchronously)
This operation is used to get the end-points from the storage.
|
com.squareup.okhttp.Call |
getEndpointsCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getEndpoints
|
ApiResponse<EndpointsDTO> |
getEndpointsWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get end-points from the storage for the API
This operation is used to get the end-points from the storage.
|
LocalEntryDTO |
getLocalEntries(String apiName,
String version,
String tenantDomain)
Get Local Entry from the storage
This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.
|
com.squareup.okhttp.Call |
getLocalEntriesAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<LocalEntryDTO> callback)
Get Local Entry from the storage (asynchronously)
This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.
|
com.squareup.okhttp.Call |
getLocalEntriesCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getLocalEntries
|
ApiResponse<LocalEntryDTO> |
getLocalEntriesWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get Local Entry from the storage
This operation is used to get local entry from the storage.If the Tenant domain is not provided carbon.super will be picked as the Tenant domain.
|
SequencesDTO |
getSequences(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
com.squareup.okhttp.Call |
getSequencesAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<SequencesDTO> callback)
Get sequences from the storage (asynchronously)
This operation is used to get the API sequence from the storage.
|
com.squareup.okhttp.Call |
getSequencesCall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getSequences
|
ApiResponse<SequencesDTO> |
getSequencesWithHttpInfo(String apiName,
String version,
String tenantDomain)
Get sequences from the storage
This operation is used to get the API sequence from the storage.
|
DeployResponseDTO |
redployAPI(String apiName,
String version,
String tenantDomain)
Re Deploy the API in the gateway
This operation is used to re deploy an API in the gateway.
|
com.squareup.okhttp.Call |
redployAPIAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<DeployResponseDTO> callback)
Re Deploy the API in the gateway (asynchronously)
This operation is used to re deploy an API in the gateway.
|
com.squareup.okhttp.Call |
redployAPICall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for redployAPI
|
ApiResponse<DeployResponseDTO> |
redployAPIWithHttpInfo(String apiName,
String version,
String tenantDomain)
Re Deploy the API in the gateway
This operation is used to re deploy an API in the gateway.
|
void |
serverStartupHealthcheckGet()
Health check to check if all the API are deployed during the server startup
Health check to check if all the API are deployed during the server startup
|
com.squareup.okhttp.Call |
serverStartupHealthcheckGetAsync(ApiCallback<Void> callback)
Health check to check if all the API are deployed during the server startup (asynchronously)
Health check to check if all the API are deployed during the server startup
|
com.squareup.okhttp.Call |
serverStartupHealthcheckGetCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for serverStartupHealthcheckGet
|
ApiResponse<Void> |
serverStartupHealthcheckGetWithHttpInfo()
Health check to check if all the API are deployed during the server startup
Health check to check if all the API are deployed during the server startup
|
void |
setApiClient(ApiClient apiClient) |
DeployResponseDTO |
undeployAPI(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
com.squareup.okhttp.Call |
undeployAPIAsync(String apiName,
String version,
String tenantDomain,
ApiCallback<DeployResponseDTO> callback)
Uneploy the API in the gateway (asynchronously)
This operation is used to undeploy an API in the gateway.
|
com.squareup.okhttp.Call |
undeployAPICall(String apiName,
String version,
String tenantDomain,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for undeployAPI
|
ApiResponse<DeployResponseDTO> |
undeployAPIWithHttpInfo(String apiName,
String version,
String tenantDomain)
Uneploy the API in the gateway
This operation is used to undeploy an API in the gateway.
|
public DefaultApi()
public DefaultApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call getAPIArtifactsCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIArtifactDTO getAPIArtifacts(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIArtifactDTO> getAPIArtifactsWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getAPIArtifactsAsync(String apiName, String version, String tenantDomain, ApiCallback<APIArtifactDTO> callback) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getEndpointsCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic EndpointsDTO getEndpoints(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<EndpointsDTO> getEndpointsWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getEndpointsAsync(String apiName, String version, String tenantDomain, ApiCallback<EndpointsDTO> callback) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getLocalEntriesCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic LocalEntryDTO getLocalEntries(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<LocalEntryDTO> getLocalEntriesWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getLocalEntriesAsync(String apiName, String version, String tenantDomain, ApiCallback<LocalEntryDTO> callback) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getSequencesCall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic SequencesDTO getSequences(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<SequencesDTO> getSequencesWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getSequencesAsync(String apiName, String version, String tenantDomain, ApiCallback<SequencesDTO> callback) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call redployAPICall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DeployResponseDTO redployAPI(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DeployResponseDTO> redployAPIWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call redployAPIAsync(String apiName, String version, String tenantDomain, ApiCallback<DeployResponseDTO> callback) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call serverStartupHealthcheckGetCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void serverStartupHealthcheckGet()
throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> serverStartupHealthcheckGetWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call serverStartupHealthcheckGetAsync(ApiCallback<Void> callback) throws ApiException
callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call undeployAPICall(String apiName, String version, String tenantDomain, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic DeployResponseDTO undeployAPI(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<DeployResponseDTO> undeployAPIWithHttpInfo(String apiName, String version, String tenantDomain) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call undeployAPIAsync(String apiName, String version, String tenantDomain, ApiCallback<DeployResponseDTO> callback) throws ApiException
apiName - Name of the API (required)version - version of the API (required)tenantDomain - Tenant Domain of the API (optional)callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectCopyright © 2022 WSO2 Inc. All rights reserved.