Class ExternalStoresApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.ExternalStoresApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve External Stores List to Publish an API Retrieve external stores list configured to publish an APIokhttp3.CallgetAllExternalStoresAsync(ApiCallback<ExternalStoreDTO> _callback) Retrieve External Stores List to Publish an API (asynchronously) Retrieve external stores list configured to publish an APIokhttp3.CallgetAllExternalStoresCall(ApiCallback _callback) Build call for getAllExternalStoresRetrieve External Stores List to Publish an API Retrieve external stores list configured to publish an APIgetAllPublishedExternalStoresByAPI(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.CallgetAllPublishedExternalStoresByAPIAsync(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.CallgetAllPublishedExternalStoresByAPICall(String apiId, String ifNoneMatch, ApiCallback _callback) Build call for getAllPublishedExternalStoresByAPIgetAllPublishedExternalStoresByAPIWithHttpInfo(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.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.CallpublishAPIToExternalStoresAsync(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.CallpublishAPIToExternalStoresCall(String apiId, String externalStoreIds, String ifMatch, ApiCallback _callback) Build call for publishAPIToExternalStorespublishAPIToExternalStoresWithHttpInfo(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.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
ExternalStoresApi
public ExternalStoresApi() -
ExternalStoresApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
getAllExternalStoresCall
Build call for getAllExternalStores- Parameters:
_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAllExternalStores
Retrieve External Stores List to Publish an API Retrieve external stores list configured to publish an API- Returns:
- ExternalStoreDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllExternalStoresWithHttpInfo
Retrieve External Stores List to Publish an API Retrieve external stores list configured to publish an API- Returns:
- ApiResponse<ExternalStoreDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllExternalStoresAsync
public okhttp3.Call getAllExternalStoresAsync(ApiCallback<ExternalStoreDTO> _callback) throws ApiException Retrieve External Stores List to Publish an API (asynchronously) Retrieve external stores list configured to publish an API- Parameters:
_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAllPublishedExternalStoresByAPICall
public okhttp3.Call getAllPublishedExternalStoresByAPICall(String apiId, String ifNoneMatch, ApiCallback _callback) throws ApiException Build call for getAllPublishedExternalStoresByAPI- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAllPublishedExternalStoresByAPI
public APIExternalStoreListDTO getAllPublishedExternalStoresByAPI(String apiId, String ifNoneMatch) throws ApiException 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.- Parameters:
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)- Returns:
- APIExternalStoreListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllPublishedExternalStoresByAPIWithHttpInfo
public ApiResponse<APIExternalStoreListDTO> getAllPublishedExternalStoresByAPIWithHttpInfo(String apiId, String ifNoneMatch) throws ApiException 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.- Parameters:
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)- Returns:
- ApiResponse<APIExternalStoreListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAllPublishedExternalStoresByAPIAsync
public okhttp3.Call getAllPublishedExternalStoresByAPIAsync(String apiId, String ifNoneMatch, ApiCallback<APIExternalStoreListDTO> _callback) throws ApiException 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.- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
publishAPIToExternalStoresCall
public okhttp3.Call publishAPIToExternalStoresCall(String apiId, String externalStoreIds, String ifMatch, ApiCallback _callback) throws ApiException Build call for publishAPIToExternalStores- Parameters:
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. (optional)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
publishAPIToExternalStores
public APIExternalStoreListDTO publishAPIToExternalStores(String apiId, String externalStoreIds, String ifMatch) throws ApiException Publish an API to External Stores This operation can be used to publish an API to a list of external stores.- Parameters:
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. (optional)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- APIExternalStoreListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
publishAPIToExternalStoresWithHttpInfo
public ApiResponse<APIExternalStoreListDTO> publishAPIToExternalStoresWithHttpInfo(String apiId, String externalStoreIds, String ifMatch) throws ApiException Publish an API to External Stores This operation can be used to publish an API to a list of external stores.- Parameters:
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. (optional)ifMatch- Validator for conditional requests; based on ETag. (optional)- Returns:
- ApiResponse<APIExternalStoreListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
publishAPIToExternalStoresAsync
public okhttp3.Call publishAPIToExternalStoresAsync(String apiId, String externalStoreIds, String ifMatch, ApiCallback<APIExternalStoreListDTO> _callback) throws ApiException Publish an API to External Stores (asynchronously) This operation can be used to publish an API to a list of external stores.- Parameters:
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. (optional)ifMatch- Validator for conditional requests; based on ETag. (optional)_callback- The callback to be executed when the API call finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-