public class ExternalStoresApi extends Object
| Constructor and Description |
|---|
ExternalStoresApi() |
ExternalStoresApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
ExternalStoreDTO |
getAllExternalStores()
Retrieve external store list to publish an API
Retrieve external stores list configured to publish an API
|
com.squareup.okhttp.Call |
getAllExternalStoresAsync(ApiCallback<ExternalStoreDTO> callback)
Retrieve external store list to publish an API (asynchronously)
Retrieve external stores list configured to publish an API
|
com.squareup.okhttp.Call |
getAllExternalStoresCall(ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllExternalStores
|
ApiResponse<ExternalStoreDTO> |
getAllExternalStoresWithHttpInfo()
Retrieve external store 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 which an API is published to
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.
|
com.squareup.okhttp.Call |
getAllPublishedExternalStoresByAPIAsync(String apiId,
String ifNoneMatch,
ApiCallback<APIExternalStoreListDTO> callback)
Get the list of external stores which an API is published to (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.
|
com.squareup.okhttp.Call |
getAllPublishedExternalStoresByAPICall(String apiId,
String ifNoneMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for getAllPublishedExternalStoresByAPI
|
ApiResponse<APIExternalStoreListDTO> |
getAllPublishedExternalStoresByAPIWithHttpInfo(String apiId,
String ifNoneMatch)
Get the list of external stores which an API is published to
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.
|
com.squareup.okhttp.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.
|
com.squareup.okhttp.Call |
publishAPIToExternalStoresCall(String apiId,
String externalStoreIds,
String ifMatch,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
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 com.squareup.okhttp.Call getAllExternalStoresCall(ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) throws ApiException
progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - 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 com.squareup.okhttp.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 com.squareup.okhttp.Call getAllPublishedExternalStoresByAPICall(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 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 com.squareup.okhttp.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 com.squareup.okhttp.Call publishAPIToExternalStoresCall(String apiId, String externalStoreIds, String ifMatch, ProgressResponseBody.ProgressListener progressListener, ProgressRequestBody.ProgressRequestListener progressRequestListener) 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)progressListener - Progress listenerprogressRequestListener - Progress request listenerApiException - 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 com.squareup.okhttp.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 © 2020 WSO2 Inc. All rights reserved.