public class ApiProductsApi extends Object
| Constructor and Description |
|---|
ApiProductsApi() |
ApiProductsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
APIProductDTO |
createAPIProduct(APIProductDTO apIProductDTO)
Create a New API Product
This operation can be used to create a new API Product specifying the details of the API Product in the payload.
|
okhttp3.Call |
createAPIProductAsync(APIProductDTO apIProductDTO,
ApiCallback<APIProductDTO> _callback)
Create a New API Product (asynchronously)
This operation can be used to create a new API Product specifying the details of the API Product in the payload.
|
okhttp3.Call |
createAPIProductCall(APIProductDTO apIProductDTO,
ApiCallback _callback)
Build call for createAPIProduct
|
ApiResponse<APIProductDTO> |
createAPIProductWithHttpInfo(APIProductDTO apIProductDTO)
Create a New API Product
This operation can be used to create a new API Product specifying the details of the API Product in the payload.
|
void |
deleteAPIProduct(String apiProductId,
String ifMatch)
Delete an API Product
This operation can be used to delete an existing API Product proving the Id of the API Product.
|
okhttp3.Call |
deleteAPIProductAsync(String apiProductId,
String ifMatch,
ApiCallback<Void> _callback)
Delete an API Product (asynchronously)
This operation can be used to delete an existing API Product proving the Id of the API Product.
|
okhttp3.Call |
deleteAPIProductCall(String apiProductId,
String ifMatch,
ApiCallback _callback)
Build call for deleteAPIProduct
|
ApiResponse<Void> |
deleteAPIProductWithHttpInfo(String apiProductId,
String ifMatch)
Delete an API Product
This operation can be used to delete an existing API Product proving the Id of the API Product.
|
APIProductListDTO |
getAllAPIProducts(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Retrieve/Search API Products
This operation provides you a list of available API Products qualifying under a given search condition.
|
okhttp3.Call |
getAllAPIProductsAsync(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback<APIProductListDTO> _callback)
Retrieve/Search API Products (asynchronously)
This operation provides you a list of available API Products qualifying under a given search condition.
|
okhttp3.Call |
getAllAPIProductsCall(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAllAPIProducts
|
ApiResponse<APIProductListDTO> |
getAllAPIProductsWithHttpInfo(Integer limit,
Integer offset,
String query,
String accept,
String ifNoneMatch)
Retrieve/Search API Products
This operation provides you a list of available API Products qualifying under a given search condition.
|
ApiClient |
getApiClient() |
APIProductDTO |
getAPIProduct(String apiProductId,
String accept,
String ifNoneMatch)
Get Details of an API Product
Using this operation, you can retrieve complete details of a single API Product.
|
okhttp3.Call |
getAPIProductAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<APIProductDTO> _callback)
Get Details of an API Product (asynchronously)
Using this operation, you can retrieve complete details of a single API Product.
|
okhttp3.Call |
getAPIProductCall(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIProduct
|
void |
getAPIProductSwagger(String apiProductId,
String accept,
String ifNoneMatch)
Get Swagger Definition
This operation can be used to retrieve the swagger definition of an API.
|
okhttp3.Call |
getAPIProductSwaggerAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<Void> _callback)
Get Swagger Definition (asynchronously)
This operation can be used to retrieve the swagger definition of an API.
|
okhttp3.Call |
getAPIProductSwaggerCall(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIProductSwagger
|
ApiResponse<Void> |
getAPIProductSwaggerWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get Swagger Definition
This operation can be used to retrieve the swagger definition of an API.
|
void |
getAPIProductThumbnail(String apiProductId,
String accept,
String ifNoneMatch)
Get Thumbnail Image
This operation can be used to download a thumbnail image of an API product.
|
okhttp3.Call |
getAPIProductThumbnailAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<Void> _callback)
Get Thumbnail Image (asynchronously)
This operation can be used to download a thumbnail image of an API product.
|
okhttp3.Call |
getAPIProductThumbnailCall(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAPIProductThumbnail
|
ApiResponse<Void> |
getAPIProductThumbnailWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get Thumbnail Image
This operation can be used to download a thumbnail image of an API product.
|
ApiResponse<APIProductDTO> |
getAPIProductWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Get Details of an API Product
Using this operation, you can retrieve complete details of a single API Product.
|
APIProductOutdatedStatusDTO |
getIsAPIProductOutdated(String apiProductId,
String accept,
String ifNoneMatch)
Check Whether API Product is Outdated
This operation can be used to retrieve the status indicating if an API Product is outdated due to updating of dependent APIs (This resource is not supported at the moment)
|
okhttp3.Call |
getIsAPIProductOutdatedAsync(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback<APIProductOutdatedStatusDTO> _callback)
Check Whether API Product is Outdated (asynchronously)
This operation can be used to retrieve the status indicating if an API Product is outdated due to updating of dependent APIs (This resource is not supported at the moment)
|
okhttp3.Call |
getIsAPIProductOutdatedCall(String apiProductId,
String accept,
String ifNoneMatch,
ApiCallback _callback)
Build call for getIsAPIProductOutdated
|
ApiResponse<APIProductOutdatedStatusDTO> |
getIsAPIProductOutdatedWithHttpInfo(String apiProductId,
String accept,
String ifNoneMatch)
Check Whether API Product is Outdated
This operation can be used to retrieve the status indicating if an API Product is outdated due to updating of dependent APIs (This resource is not supported at the moment)
|
void |
setApiClient(ApiClient apiClient) |
APIProductDTO |
updateAPIProduct(String apiProductId,
APIProductDTO apIProductDTO,
String ifMatch)
Update an API Product
This operation can be used to update an existing API product.
|
okhttp3.Call |
updateAPIProductAsync(String apiProductId,
APIProductDTO apIProductDTO,
String ifMatch,
ApiCallback<APIProductDTO> _callback)
Update an API Product (asynchronously)
This operation can be used to update an existing API product.
|
okhttp3.Call |
updateAPIProductCall(String apiProductId,
APIProductDTO apIProductDTO,
String ifMatch,
ApiCallback _callback)
Build call for updateAPIProduct
|
FileInfoDTO |
updateAPIProductThumbnail(String apiProductId,
File file,
String ifMatch)
Upload a Thumbnail Image
This operation can be used to upload a thumbnail image of an API Product.
|
okhttp3.Call |
updateAPIProductThumbnailAsync(String apiProductId,
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 Product.
|
okhttp3.Call |
updateAPIProductThumbnailCall(String apiProductId,
File file,
String ifMatch,
ApiCallback _callback)
Build call for updateAPIProductThumbnail
|
ApiResponse<FileInfoDTO> |
updateAPIProductThumbnailWithHttpInfo(String apiProductId,
File file,
String ifMatch)
Upload a Thumbnail Image
This operation can be used to upload a thumbnail image of an API Product.
|
ApiResponse<APIProductDTO> |
updateAPIProductWithHttpInfo(String apiProductId,
APIProductDTO apIProductDTO,
String ifMatch)
Update an API Product
This operation can be used to update an existing API product.
|
public ApiProductsApi()
public ApiProductsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createAPIProductCall(APIProductDTO apIProductDTO, ApiCallback _callback) throws ApiException
apIProductDTO - API object that needs to be added (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIProductDTO createAPIProduct(APIProductDTO apIProductDTO) throws ApiException
apIProductDTO - API object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIProductDTO> createAPIProductWithHttpInfo(APIProductDTO apIProductDTO) throws ApiException
apIProductDTO - API object that needs to be added (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createAPIProductAsync(APIProductDTO apIProductDTO, ApiCallback<APIProductDTO> _callback) throws ApiException
apIProductDTO - API object that needs to be added (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 okhttp3.Call deleteAPIProductCall(String apiProductId, String ifMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deleteAPIProduct(String apiProductId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> deleteAPIProductWithHttpInfo(String apiProductId, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 okhttp3.Call deleteAPIProductAsync(String apiProductId, String ifMatch, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 okhttp3.Call getAPIProductCall(String apiProductId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIProductDTO getAPIProduct(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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<APIProductDTO> getAPIProductWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAPIProductAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<APIProductDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAPIProductSwaggerCall(String apiProductId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void getAPIProductSwagger(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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> getAPIProductSwaggerWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAPIProductSwaggerAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAPIProductThumbnailCall(String apiProductId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void getAPIProductThumbnail(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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> getAPIProductThumbnailWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAPIProductThumbnailAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAllAPIProductsCall(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback _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)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIProductListDTO getAllAPIProducts(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) 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)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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<APIProductListDTO> getAllAPIProductsWithHttpInfo(Integer limit, Integer offset, String query, String accept, String ifNoneMatch) 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)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getAllAPIProductsAsync(Integer limit, Integer offset, String query, String accept, String ifNoneMatch, ApiCallback<APIProductListDTO> _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)query - (optional)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getIsAPIProductOutdatedCall(String apiProductId, String accept, String ifNoneMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIProductOutdatedStatusDTO getIsAPIProductOutdated(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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<APIProductOutdatedStatusDTO> getIsAPIProductOutdatedWithHttpInfo(String apiProductId, String accept, String ifNoneMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call getIsAPIProductOutdatedAsync(String apiProductId, String accept, String ifNoneMatch, ApiCallback<APIProductOutdatedStatusDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)accept - Media types acceptable for the response. Default is application/json. (optional, default to "application/json")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 okhttp3.Call updateAPIProductCall(String apiProductId, APIProductDTO apIProductDTO, String ifMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIProductDTO - API object that needs to be added (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIProductDTO updateAPIProduct(String apiProductId, APIProductDTO apIProductDTO, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIProductDTO - 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<APIProductDTO> updateAPIProductWithHttpInfo(String apiProductId, APIProductDTO apIProductDTO, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIProductDTO - 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 okhttp3.Call updateAPIProductAsync(String apiProductId, APIProductDTO apIProductDTO, String ifMatch, ApiCallback<APIProductDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIProductDTO - 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 okhttp3.Call updateAPIProductThumbnailCall(String apiProductId, File file, String ifMatch, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)file - Image to upload (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic FileInfoDTO updateAPIProductThumbnail(String apiProductId, File file, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> updateAPIProductThumbnailWithHttpInfo(String apiProductId, File file, String ifMatch) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 okhttp3.Call updateAPIProductThumbnailAsync(String apiProductId, File file, String ifMatch, ApiCallback<FileInfoDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 objectCopyright © 2021 WSO2 Inc. All rights reserved.