public class ExternalStoresApi extends Object
| Constructor and Description |
|---|
ExternalStoresApi() |
ExternalStoresApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ExternalStoreDTO |
getAllExternalStores()
Retrieve External Stores List to Publish an API
Retrieve external stores list configured to publish an API
|
okhttp3.Call |
getAllExternalStoresAsync(ApiCallback<ExternalStoreDTO> _callback)
Retrieve External Stores List to Publish an API (asynchronously)
Retrieve external stores list configured to publish an API
|
okhttp3.Call |
getAllExternalStoresCall(ApiCallback _callback)
Build call for getAllExternalStores
|
ApiResponse<ExternalStoreDTO> |
getAllExternalStoresWithHttpInfo()
Retrieve External Stores List to Publish an API
Retrieve external stores list configured to publish an API
|
APIExternalStoreListDTO |
getAllPublishedExternalStoresByAPI(String apiId,
String ifNoneMatch)
Get the List of External Stores to which an API is Published
This operation can be used to retrieve a list of external stores which an API is published to by providing the id of the API.
|
okhttp3.Call |
getAllPublishedExternalStoresByAPIAsync(String apiId,
String ifNoneMatch,
ApiCallback<APIExternalStoreListDTO> _callback)
Get the List of External Stores to which an API is Published (asynchronously)
This operation can be used to retrieve a list of external stores which an API is published to by providing the id of the API.
|
okhttp3.Call |
getAllPublishedExternalStoresByAPICall(String apiId,
String ifNoneMatch,
ApiCallback _callback)
Build call for getAllPublishedExternalStoresByAPI
|
ApiResponse<APIExternalStoreListDTO> |
getAllPublishedExternalStoresByAPIWithHttpInfo(String apiId,
String ifNoneMatch)
Get the List of External Stores to which an API is Published
This operation can be used to retrieve a list of external stores which an API is published to by providing the id of the API.
|
ApiClient |
getApiClient() |
APIExternalStoreListDTO |
publishAPIToExternalStores(String apiId,
String externalStoreIds,
String ifMatch)
Publish an API to External Stores
This operation can be used to publish an API to a list of external stores.
|
okhttp3.Call |
publishAPIToExternalStoresAsync(String apiId,
String externalStoreIds,
String ifMatch,
ApiCallback<APIExternalStoreListDTO> _callback)
Publish an API to External Stores (asynchronously)
This operation can be used to publish an API to a list of external stores.
|
okhttp3.Call |
publishAPIToExternalStoresCall(String apiId,
String externalStoreIds,
String ifMatch,
ApiCallback _callback)
Build call for publishAPIToExternalStores
|
ApiResponse<APIExternalStoreListDTO> |
publishAPIToExternalStoresWithHttpInfo(String apiId,
String externalStoreIds,
String ifMatch)
Publish an API to External Stores
This operation can be used to publish an API to a list of external stores.
|
void |
setApiClient(ApiClient apiClient) |
public ExternalStoresApi()
public ExternalStoresApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call getAllExternalStoresCall(ApiCallback _callback) throws ApiException
_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic ExternalStoreDTO getAllExternalStores() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<ExternalStoreDTO> getAllExternalStoresWithHttpInfo() throws ApiException
ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAllExternalStoresAsync(ApiCallback<ExternalStoreDTO> _callback) throws ApiException
_callback - The callback to be executed when the API call finishesApiException - If fail to process the API call, e.g. serializing the request body objectpublic okhttp3.Call getAllPublishedExternalStoresByAPICall(String apiId, String ifNoneMatch, ApiCallback _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 - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIExternalStoreListDTO getAllPublishedExternalStoresByAPI(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<APIExternalStoreListDTO> getAllPublishedExternalStoresByAPIWithHttpInfo(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 okhttp3.Call getAllPublishedExternalStoresByAPIAsync(String apiId, String ifNoneMatch, ApiCallback<APIExternalStoreListDTO> _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 okhttp3.Call publishAPIToExternalStoresCall(String apiId, String externalStoreIds, String ifMatch, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (required)ifMatch - Validator for conditional requests; based on ETag. (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIExternalStoreListDTO publishAPIToExternalStores(String apiId, String externalStoreIds, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (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<APIExternalStoreListDTO> publishAPIToExternalStoresWithHttpInfo(String apiId, String externalStoreIds, String ifMatch) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (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 publishAPIToExternalStoresAsync(String apiId, String externalStoreIds, String ifMatch, ApiCallback<APIExternalStoreListDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)externalStoreIds - External Store Ids of stores which the API needs to be published or updated. (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.