public class ApIsApi extends Object
| Modifier and Type | Method and Description |
|---|---|
void |
apisApiIdDelete(String apiId,
String ifMatch)
Delete an API
This operation can be used to delete an existing API proving the Id of the API.
|
com.squareup.okhttp.Call |
apisApiIdDeleteAsync(String apiId,
String ifMatch,
ApiCallback<Void> callback)
Delete an API (asynchronously)
This operation can be used to delete an existing API proving the Id of the API.
|
com.squareup.okhttp.Call |
apisApiIdDeleteCall(String apiId,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdDelete
|
ApiResponse<Void> |
apisApiIdDeleteWithHttpInfo(String apiId,
String ifMatch)
Delete an API
This operation can be used to delete an existing API proving the Id of the API.
|
APIDTO |
apisApiIdGet(String apiId,
String xWSO2Tenant,
String ifNoneMatch)
Get details of an API
Using this operation, you can retrieve complete details of a single API.
|
com.squareup.okhttp.Call |
apisApiIdGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<APIDTO> callback)
Get details of an API (asynchronously)
Using this operation, you can retrieve complete details of a single API.
|
com.squareup.okhttp.Call |
apisApiIdGetCall(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdGet
|
ApiResponse<APIDTO> |
apisApiIdGetWithHttpInfo(String apiId,
String xWSO2Tenant,
String ifNoneMatch)
Get details of an API
Using this operation, you can retrieve complete details of a single API.
|
APIDTO |
apisApiIdPut(String apiId,
APIDTO body,
String ifMatch)
Update an API
This operation can be used to update an existing API.
|
com.squareup.okhttp.Call |
apisApiIdPutAsync(String apiId,
APIDTO body,
String ifMatch,
ApiCallback<APIDTO> callback)
Update an API (asynchronously)
This operation can be used to update an existing API.
|
com.squareup.okhttp.Call |
apisApiIdPutCall(String apiId,
APIDTO body,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdPut
|
ApiResponse<APIDTO> |
apisApiIdPutWithHttpInfo(String apiId,
APIDTO body,
String ifMatch)
Update an API
This operation can be used to update an existing API.
|
ResourcePathListDTO |
apisApiIdResourcePathsGet(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch)
Get Resource Paths of an API
This operation can be used to retrieve resource paths defined for a specific api.
|
com.squareup.okhttp.Call |
apisApiIdResourcePathsGetAsync(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch,
ApiCallback<ResourcePathListDTO> callback)
Get Resource Paths of an API (asynchronously)
This operation can be used to retrieve resource paths defined for a specific api.
|
com.squareup.okhttp.Call |
apisApiIdResourcePathsGetCall(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdResourcePathsGet
|
ApiResponse<ResourcePathListDTO> |
apisApiIdResourcePathsGetWithHttpInfo(String apiId,
Integer limit,
Integer offset,
String ifNoneMatch)
Get Resource Paths of an API
This operation can be used to retrieve resource paths defined for a specific api.
|
ThrottlingPolicyDTO |
apisApiIdSubscriptionPoliciesGet(String apiId,
String xWSO2Tenant,
String ifNoneMatch)
Get details of the subscription throttling policies of an API
This operation can be used to retrieve details of the subscription throttling policy of an API by specifying the API Id.
|
com.squareup.okhttp.Call |
apisApiIdSubscriptionPoliciesGetAsync(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ApiCallback<ThrottlingPolicyDTO> callback)
Get details of the subscription throttling policies of an API (asynchronously)
This operation can be used to retrieve details of the subscription throttling policy of an API by specifying the API Id.
|
com.squareup.okhttp.Call |
apisApiIdSubscriptionPoliciesGetCall(String apiId,
String xWSO2Tenant,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdSubscriptionPoliciesGet
|
ApiResponse<ThrottlingPolicyDTO> |
apisApiIdSubscriptionPoliciesGetWithHttpInfo(String apiId,
String xWSO2Tenant,
String ifNoneMatch)
Get details of the subscription throttling policies of an API
This operation can be used to retrieve details of the subscription throttling policy of an API by specifying the API Id.
|
String |
apisApiIdSwaggerGet(String apiId,
String ifNoneMatch)
Get swagger definition
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
apisApiIdSwaggerGetAsync(String apiId,
String ifNoneMatch,
ApiCallback<String> callback)
Get swagger definition (asynchronously)
This operation can be used to retrieve the swagger definition of an API.
|
com.squareup.okhttp.Call |
apisApiIdSwaggerGetCall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdSwaggerGet
|
ApiResponse<String> |
apisApiIdSwaggerGetWithHttpInfo(String apiId,
String ifNoneMatch)
Get swagger definition
This operation can be used to retrieve the swagger definition of an API.
|
String |
apisApiIdSwaggerPut(String apiId,
String apiDefinition,
String url,
File file,
String ifMatch)
Update swagger definition
This operation can be used to update the swagger definition of an existing API.
|
com.squareup.okhttp.Call |
apisApiIdSwaggerPutAsync(String apiId,
String apiDefinition,
String url,
File file,
String ifMatch,
ApiCallback<String> callback)
Update swagger definition (asynchronously)
This operation can be used to update the swagger definition of an existing API.
|
com.squareup.okhttp.Call |
apisApiIdSwaggerPutCall(String apiId,
String apiDefinition,
String url,
File file,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdSwaggerPut
|
ApiResponse<String> |
apisApiIdSwaggerPutWithHttpInfo(String apiId,
String apiDefinition,
String url,
File file,
String ifMatch)
Update swagger definition
This operation can be used to update the swagger definition of an existing API.
|
void |
apisApiIdThumbnailGet(String apiId,
String ifNoneMatch)
Get thumbnail image
This operation can be used to download a thumbnail image of an API.
|
com.squareup.okhttp.Call |
apisApiIdThumbnailGetAsync(String apiId,
String ifNoneMatch,
ApiCallback<Void> callback)
Get thumbnail image (asynchronously)
This operation can be used to download a thumbnail image of an API.
|
com.squareup.okhttp.Call |
apisApiIdThumbnailGetCall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisApiIdThumbnailGet
|
ApiResponse<Void> |
apisApiIdThumbnailGetWithHttpInfo(String apiId,
String ifNoneMatch)
Get thumbnail image
This operation can be used to download a thumbnail image of an API.
|
APIDTO |
apisCopyApiPost(String newVersion,
String apiId,
Boolean defaultVersion)
Create a new API version
This operation can be used to create a new version of an existing API.
|
com.squareup.okhttp.Call |
apisCopyApiPostAsync(String newVersion,
String apiId,
Boolean defaultVersion,
ApiCallback<APIDTO> callback)
Create a new API version (asynchronously)
This operation can be used to create a new version of an existing API.
|
com.squareup.okhttp.Call |
apisCopyApiPostCall(String newVersion,
String apiId,
Boolean defaultVersion,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisCopyApiPost
|
ApiResponse<APIDTO> |
apisCopyApiPostWithHttpInfo(String newVersion,
String apiId,
Boolean defaultVersion)
Create a new API version
This operation can be used to create a new version of an existing API.
|
APIListDTO |
apisGet(Integer limit,
Integer offset,
String xWSO2Tenant,
String query,
String ifNoneMatch,
Boolean expand,
String accept)
Retrieve/Search APIs
This operation provides you a list of available APIs qualifying under a given search condition.
|
com.squareup.okhttp.Call |
apisGetAsync(Integer limit,
Integer offset,
String xWSO2Tenant,
String query,
String ifNoneMatch,
Boolean expand,
String accept,
ApiCallback<APIListDTO> callback)
Retrieve/Search APIs (asynchronously)
This operation provides you a list of available APIs qualifying under a given search condition.
|
com.squareup.okhttp.Call |
apisGetCall(Integer limit,
Integer offset,
String xWSO2Tenant,
String query,
String ifNoneMatch,
Boolean expand,
String accept,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisGet
|
ApiResponse<APIListDTO> |
apisGetWithHttpInfo(Integer limit,
Integer offset,
String xWSO2Tenant,
String query,
String ifNoneMatch,
Boolean expand,
String accept)
Retrieve/Search APIs
This operation provides you a list of available APIs qualifying under a given search condition.
|
APIDTO |
apisImportGraphqlSchemaPost(String type,
File file,
String additionalProperties,
String ifMatch)
Import API Definition
This operation can be used to create api from api definition.APIMgtDAOTest API definition is GraphQL Schema
|
com.squareup.okhttp.Call |
apisImportGraphqlSchemaPostAsync(String type,
File file,
String additionalProperties,
String ifMatch,
ApiCallback<APIDTO> callback)
Import API Definition (asynchronously)
This operation can be used to create api from api definition.APIMgtDAOTest API definition is GraphQL Schema
|
com.squareup.okhttp.Call |
apisImportGraphqlSchemaPostCall(String type,
File file,
String additionalProperties,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisImportGraphqlSchemaPost
|
ApiResponse<APIDTO> |
apisImportGraphqlSchemaPostWithHttpInfo(String type,
File file,
String additionalProperties,
String ifMatch)
Import API Definition
This operation can be used to create api from api definition.APIMgtDAOTest API definition is GraphQL Schema
|
APIDTO |
apisPost(APIDTO body,
String openAPIVersion)
Create a new API
This operation can be used to create a new API specifying the details of the API in the payload.
|
com.squareup.okhttp.Call |
apisPostAsync(APIDTO body,
String openAPIVersion,
ApiCallback<APIDTO> callback)
Create a new API (asynchronously)
This operation can be used to create a new API specifying the details of the API in the payload.
|
com.squareup.okhttp.Call |
apisPostCall(APIDTO body,
String openAPIVersion,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for apisPost
|
ApiResponse<APIDTO> |
apisPostWithHttpInfo(APIDTO body,
String openAPIVersion)
Create a new API
This operation can be used to create a new API specifying the details of the API in the payload.
|
String |
generateMockScripts(String apiId,
String ifNoneMatch)
Generate mock response payloads
This operation can be used to generate mock responses from examples of swagger definition of an API.
|
com.squareup.okhttp.Call |
generateMockScriptsAsync(String apiId,
String ifNoneMatch,
ApiCallback<String> callback)
Generate mock response payloads (asynchronously)
This operation can be used to generate mock responses from examples of swagger definition of an API.
|
com.squareup.okhttp.Call |
generateMockScriptsCall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for generateMockScripts
|
ApiResponse<String> |
generateMockScriptsWithHttpInfo(String apiId,
String ifNoneMatch)
Generate mock response payloads
This operation can be used to generate mock responses from examples of swagger definition of an API.
|
ApiClient |
getApiClient() |
MockResponsePayloadListDTO |
getGeneratedMockScriptsOfAPI(String apiId,
String ifNoneMatch)
Generate mock response payloads
This operation can be used to generate mock responses from examples of swagger definition of an API.
|
com.squareup.okhttp.Call |
getGeneratedMockScriptsOfAPIAsync(String apiId,
String ifNoneMatch,
ApiCallback<MockResponsePayloadListDTO> callback)
Generate mock response payloads (asynchronously)
This operation can be used to generate mock responses from examples of swagger definition of an API.
|
com.squareup.okhttp.Call |
getGeneratedMockScriptsOfAPICall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getGeneratedMockScriptsOfAPI
|
ApiResponse<MockResponsePayloadListDTO> |
getGeneratedMockScriptsOfAPIWithHttpInfo(String apiId,
String ifNoneMatch)
Generate mock response payloads
This operation can be used to generate mock responses from examples of swagger definition of an API.
|
WSDLInfoDTO |
getWSDLInfoOfAPI(String apiId)
Get WSDL definition
This operation can be used to retrieve the WSDL meta information of an API.
|
com.squareup.okhttp.Call |
getWSDLInfoOfAPIAsync(String apiId,
ApiCallback<WSDLInfoDTO> callback)
Get WSDL definition (asynchronously)
This operation can be used to retrieve the WSDL meta information of an API.
|
com.squareup.okhttp.Call |
getWSDLInfoOfAPICall(String apiId,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getWSDLInfoOfAPI
|
ApiResponse<WSDLInfoDTO> |
getWSDLInfoOfAPIWithHttpInfo(String apiId)
Get WSDL definition
This operation can be used to retrieve the WSDL meta information of an API.
|
void |
getWSDLOfAPI(String apiId,
String ifNoneMatch)
Get WSDL definition
This operation can be used to retrieve the WSDL definition of an API.
|
com.squareup.okhttp.Call |
getWSDLOfAPIAsync(String apiId,
String ifNoneMatch,
ApiCallback<Void> callback)
Get WSDL definition (asynchronously)
This operation can be used to retrieve the WSDL definition of an API.
|
com.squareup.okhttp.Call |
getWSDLOfAPICall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getWSDLOfAPI
|
ApiResponse<Void> |
getWSDLOfAPIWithHttpInfo(String apiId,
String ifNoneMatch)
Get WSDL definition
This operation can be used to retrieve the WSDL definition of an API.
|
APIDTO |
importOpenAPIDefinition(File file,
String url,
String additionalProperties)
Import an OpenAPI Definition
This operation can be used to create an API from an OpenAPI definition.
|
com.squareup.okhttp.Call |
importOpenAPIDefinitionAsync(File file,
String url,
String additionalProperties,
ApiCallback<APIDTO> callback)
Import an OpenAPI Definition (asynchronously)
This operation can be used to create an API from an OpenAPI definition.
|
com.squareup.okhttp.Call |
importOpenAPIDefinitionCall(File file,
String url,
String additionalProperties,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importOpenAPIDefinition
|
ApiResponse<APIDTO> |
importOpenAPIDefinitionWithHttpInfo(File file,
String url,
String additionalProperties)
Import an OpenAPI Definition
This operation can be used to create an API from an OpenAPI definition.
|
APIDTO |
importWSDLDefinition(File file,
String url,
String additionalProperties,
String implementationType)
Import a WSDL Definition
This operation can be used to create an API using a WSDL definition.
|
com.squareup.okhttp.Call |
importWSDLDefinitionAsync(File file,
String url,
String additionalProperties,
String implementationType,
ApiCallback<APIDTO> callback)
Import a WSDL Definition (asynchronously)
This operation can be used to create an API using a WSDL definition.
|
com.squareup.okhttp.Call |
importWSDLDefinitionCall(File file,
String url,
String additionalProperties,
String implementationType,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for importWSDLDefinition
|
ApiResponse<APIDTO> |
importWSDLDefinitionWithHttpInfo(File file,
String url,
String additionalProperties,
String implementationType)
Import a WSDL Definition
This operation can be used to create an API using a WSDL definition.
|
void |
setApiClient(ApiClient apiClient) |
FileInfoDTO |
updateAPIThumbnail(String apiId,
File file,
String ifMatch)
Upload a thumbnail image
This operation can be used to upload a thumbnail image of an API.
|
com.squareup.okhttp.Call |
updateAPIThumbnailAsync(String apiId,
File file,
String ifMatch,
ApiCallback<FileInfoDTO> callback)
Upload a thumbnail image (asynchronously)
This operation can be used to upload a thumbnail image of an API.
|
com.squareup.okhttp.Call |
updateAPIThumbnailCall(String apiId,
File file,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateAPIThumbnail
|
ApiResponse<FileInfoDTO> |
updateAPIThumbnailWithHttpInfo(String apiId,
File file,
String ifMatch)
Upload a thumbnail image
This operation can be used to upload a thumbnail image of an API.
|
void |
updateWSDLOfAPI(String apiId,
File file,
String url,
String ifMatch)
Update WSDL definition
This operation can be used to update the WSDL definition of an existing API.
|
com.squareup.okhttp.Call |
updateWSDLOfAPIAsync(String apiId,
File file,
String url,
String ifMatch,
ApiCallback<Void> callback)
Update WSDL definition (asynchronously)
This operation can be used to update the WSDL definition of an existing API.
|
com.squareup.okhttp.Call |
updateWSDLOfAPICall(String apiId,
File file,
String url,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for updateWSDLOfAPI
|
ApiResponse<Void> |
updateWSDLOfAPIWithHttpInfo(String apiId,
File file,
String url,
String ifMatch)
Update WSDL definition
This operation can be used to update the WSDL definition of an existing API.
|
public ApIsApi()
public ApIsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public com.squareup.okhttp.Call apisApiIdDeleteCall(String apiId, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdDelete(String apiId, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdDeleteWithHttpInfo(String apiId, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdDeleteAsync(String apiId, String ifMatch, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifMatch - Validator for conditional requests; based on ETag. (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 apisApiIdGetCall(String apiId, String xWSO2Tenant, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO apisApiIdGet(String apiId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> apisApiIdGetWithHttpInfo(String apiId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdGetAsync(String apiId, String xWSO2Tenant, String ifNoneMatch, ApiCallback<APIDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisApiIdPutCall(String apiId, APIDTO body, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO apisApiIdPut(String apiId, APIDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> apisApiIdPutWithHttpInfo(String apiId, APIDTO body, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdPutAsync(String apiId, APIDTO body, String ifMatch, ApiCallback<APIDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)body - 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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisApiIdResourcePathsGetCall(String apiId, Integer limit, Integer offset, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ResourcePathListDTO apisApiIdResourcePathsGet(String apiId, Integer limit, Integer offset, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ResourcePathListDTO> apisApiIdResourcePathsGetWithHttpInfo(String apiId, Integer limit, Integer offset, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdResourcePathsGetAsync(String apiId, Integer limit, Integer offset, String ifNoneMatch, ApiCallback<ResourcePathListDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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)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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisApiIdSubscriptionPoliciesGetCall(String apiId, String xWSO2Tenant, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic ThrottlingPolicyDTO apisApiIdSubscriptionPoliciesGet(String apiId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ThrottlingPolicyDTO> apisApiIdSubscriptionPoliciesGetWithHttpInfo(String apiId, String xWSO2Tenant, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdSubscriptionPoliciesGetAsync(String apiId, String xWSO2Tenant, String ifNoneMatch, ApiCallback<ThrottlingPolicyDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisApiIdSwaggerGetCall(String apiId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String apisApiIdSwaggerGet(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> apisApiIdSwaggerGetWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdSwaggerGetAsync(String apiId, String ifNoneMatch, ApiCallback<String> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisApiIdSwaggerPutCall(String apiId, String apiDefinition, String url, File file, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apiDefinition - Swagger definition of the API (optional)url - Swagger definition URL of the API (optional)file - Swagger definitio as a file (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String apisApiIdSwaggerPut(String apiId, String apiDefinition, String url, File file, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apiDefinition - Swagger definition of the API (optional)url - Swagger definition URL of the API (optional)file - Swagger definitio as a file (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> apisApiIdSwaggerPutWithHttpInfo(String apiId, String apiDefinition, String url, File file, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apiDefinition - Swagger definition of the API (optional)url - Swagger definition URL of the API (optional)file - Swagger definitio as a file (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdSwaggerPutAsync(String apiId, String apiDefinition, String url, File file, String ifMatch, ApiCallback<String> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apiDefinition - Swagger definition of the API (optional)url - Swagger definition URL of the API (optional)file - Swagger definitio as a file (optional)ifMatch - Validator for conditional requests; based on ETag. (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 apisApiIdThumbnailGetCall(String apiId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void apisApiIdThumbnailGet(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> apisApiIdThumbnailGetWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisApiIdThumbnailGetAsync(String apiId, String ifNoneMatch, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisCopyApiPostCall(String newVersion, String apiId, Boolean defaultVersion, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
newVersion - Version of the new API. (required)apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)defaultVersion - Specifies whether new API should be added as default version. (optional, default to false)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO apisCopyApiPost(String newVersion, String apiId, Boolean defaultVersion) throws ApiException
newVersion - Version of the new API. (required)apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)defaultVersion - Specifies whether new API should be added as default version. (optional, default to false)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> apisCopyApiPostWithHttpInfo(String newVersion, String apiId, Boolean defaultVersion) throws ApiException
newVersion - Version of the new API. (required)apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)defaultVersion - Specifies whether new API should be added as default version. (optional, default to false)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisCopyApiPostAsync(String newVersion, String apiId, Boolean defaultVersion, ApiCallback<APIDTO> callback) throws ApiException
newVersion - Version of the new API. (required)apiId - **API ID** consisting of the **UUID** of the API. The combination of the provider of the API, name of the API and the version is also accepted as a valid API I. Should be formatted as **provider-name-version**. (required)defaultVersion - Specifies whether new API should be added as default version. (optional, default to false)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 apisGetCall(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, Boolean expand, String accept, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
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 API 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. \"label:external\" will match an API if it contains a Microgateway label called \"external\". 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, subcontext, doc, provider, label**] 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)expand - Defines whether the returned response should contain full details of API (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIListDTO apisGet(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, Boolean expand, String accept) throws ApiException
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 API 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. \"label:external\" will match an API if it contains a Microgateway label called \"external\". 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, subcontext, doc, provider, label**] 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)expand - Defines whether the returned response should contain full details of API (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIListDTO> apisGetWithHttpInfo(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, Boolean expand, String accept) throws ApiException
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 API 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. \"label:external\" will match an API if it contains a Microgateway label called \"external\". 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, subcontext, doc, provider, label**] 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)expand - Defines whether the returned response should contain full details of API (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to application/json)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisGetAsync(Integer limit, Integer offset, String xWSO2Tenant, String query, String ifNoneMatch, Boolean expand, String accept, ApiCallback<APIListDTO> callback) throws ApiException
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 API 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. \"label:external\" will match an API if it contains a Microgateway label called \"external\". 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, subcontext, doc, provider, label**] 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)expand - Defines whether the returned response should contain full details of API (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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call apisImportGraphqlSchemaPostCall(String type, File file, String additionalProperties, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
type - Definition type to upload (optional)file - Definition to uploads a file (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO apisImportGraphqlSchemaPost(String type, File file, String additionalProperties, String ifMatch) throws ApiException
type - Definition type to upload (optional)file - Definition to uploads a file (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> apisImportGraphqlSchemaPostWithHttpInfo(String type, File file, String additionalProperties, String ifMatch) throws ApiException
type - Definition type to upload (optional)file - Definition to uploads a file (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisImportGraphqlSchemaPostAsync(String type, File file, String additionalProperties, String ifMatch, ApiCallback<APIDTO> callback) throws ApiException
type - Definition type to upload (optional)file - Definition to uploads a file (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)ifMatch - Validator for conditional requests; based on ETag. (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 apisPostCall(APIDTO body, String openAPIVersion, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
body - API object that needs to be added (required)openAPIVersion - Open api version (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO apisPost(APIDTO body, String openAPIVersion) throws ApiException
body - API object that needs to be added (required)openAPIVersion - Open api version (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> apisPostWithHttpInfo(APIDTO body, String openAPIVersion) throws ApiException
body - API object that needs to be added (required)openAPIVersion - Open api version (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call apisPostAsync(APIDTO body, String openAPIVersion, ApiCallback<APIDTO> callback) throws ApiException
body - API object that needs to be added (required)openAPIVersion - Open api version (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 generateMockScriptsCall(String apiId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic String generateMockScripts(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<String> generateMockScriptsWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call generateMockScriptsAsync(String apiId, String ifNoneMatch, ApiCallback<String> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getGeneratedMockScriptsOfAPICall(String apiId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic MockResponsePayloadListDTO getGeneratedMockScriptsOfAPI(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<MockResponsePayloadListDTO> getGeneratedMockScriptsOfAPIWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getGeneratedMockScriptsOfAPIAsync(String apiId, String ifNoneMatch, ApiCallback<MockResponsePayloadListDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call getWSDLInfoOfAPICall(String apiId, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic WSDLInfoDTO getWSDLInfoOfAPI(String apiId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<WSDLInfoDTO> getWSDLInfoOfAPIWithHttpInfo(String apiId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWSDLInfoOfAPIAsync(String apiId, ApiCallback<WSDLInfoDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 getWSDLOfAPICall(String apiId, String ifNoneMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void getWSDLOfAPI(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> getWSDLOfAPIWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call getWSDLOfAPIAsync(String apiId, String ifNoneMatch, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)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 finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic com.squareup.okhttp.Call importOpenAPIDefinitionCall(File file, String url, String additionalProperties, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - Definition to upload as a file (optional)url - Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO importOpenAPIDefinition(File file, String url, String additionalProperties) throws ApiException
file - Definition to upload as a file (optional)url - Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> importOpenAPIDefinitionWithHttpInfo(File file, String url, String additionalProperties) throws ApiException
file - Definition to upload as a file (optional)url - Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importOpenAPIDefinitionAsync(File file, String url, String additionalProperties, ApiCallback<APIDTO> callback) throws ApiException
file - Definition to upload as a file (optional)url - Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (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 importWSDLDefinitionCall(File file, String url, String additionalProperties, String implementationType, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
file - WSDL definition as a file (optional)url - WSDL Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)implementationType - If 'SOAP' is specified, the API will be created with only one resource 'POST /_*' which is to be used for SOAP operations. If 'HTTP_BINDING' is specified, the API will be created with resources using HTTP binding operations which are extracted from the WSDL. (optional, default to SOAP)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic APIDTO importWSDLDefinition(File file, String url, String additionalProperties, String implementationType) throws ApiException
file - WSDL definition as a file (optional)url - WSDL Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)implementationType - If 'SOAP' is specified, the API will be created with only one resource 'POST /_*' which is to be used for SOAP operations. If 'HTTP_BINDING' is specified, the API will be created with resources using HTTP binding operations which are extracted from the WSDL. (optional, default to SOAP)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> importWSDLDefinitionWithHttpInfo(File file, String url, String additionalProperties, String implementationType) throws ApiException
file - WSDL definition as a file (optional)url - WSDL Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)implementationType - If 'SOAP' is specified, the API will be created with only one resource 'POST /_*' which is to be used for SOAP operations. If 'HTTP_BINDING' is specified, the API will be created with resources using HTTP binding operations which are extracted from the WSDL. (optional, default to SOAP)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call importWSDLDefinitionAsync(File file, String url, String additionalProperties, String implementationType, ApiCallback<APIDTO> callback) throws ApiException
file - WSDL definition as a file (optional)url - WSDL Definition url (optional)additionalProperties - Additional attributes specified as a stringified JSON with API's schema (optional)implementationType - If 'SOAP' is specified, the API will be created with only one resource 'POST /_*' which is to be used for SOAP operations. If 'HTTP_BINDING' is specified, the API will be created with resources using HTTP binding operations which are extracted from the WSDL. (optional, default to SOAP)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 updateAPIThumbnailCall(String apiId, File file, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic FileInfoDTO updateAPIThumbnail(String apiId, File file, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<FileInfoDTO> updateAPIThumbnailWithHttpInfo(String apiId, File file, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateAPIThumbnailAsync(String apiId, File file, String ifMatch, ApiCallback<FileInfoDTO> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (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 updateWSDLOfAPICall(String apiId, File file, String url, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - WSDL file or archive to upload (optional)url - WSDL Definition url (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - If fail to serialize the request body objectpublic void updateWSDLOfAPI(String apiId, File file, String url, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - WSDL file or archive to upload (optional)url - WSDL Definition url (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> updateWSDLOfAPIWithHttpInfo(String apiId, File file, String url, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - WSDL file or archive to upload (optional)url - WSDL Definition url (optional)ifMatch - Validator for conditional requests; based on ETag. (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic com.squareup.okhttp.Call updateWSDLOfAPIAsync(String apiId, File file, String url, String ifMatch, ApiCallback<Void> callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)file - WSDL file or archive to upload (optional)url - WSDL Definition url (optional)ifMatch - Validator for conditional requests; based on ETag. (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 © 2020 WSO2 Inc. All rights reserved.