public class ApiRevisionsApi extends Object
| Constructor and Description |
|---|
ApiRevisionsApi() |
ApiRevisionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
APIRevisionDTO |
createAPIRevision(String apiId,
APIRevisionDTO apIRevisionDTO)
Create a new API revision
Create a new API revision
|
okhttp3.Call |
createAPIRevisionAsync(String apiId,
APIRevisionDTO apIRevisionDTO,
ApiCallback<APIRevisionDTO> _callback)
Create a new API revision (asynchronously)
Create a new API revision
|
okhttp3.Call |
createAPIRevisionCall(String apiId,
APIRevisionDTO apIRevisionDTO,
ApiCallback _callback)
Build call for createAPIRevision
|
ApiResponse<APIRevisionDTO> |
createAPIRevisionWithHttpInfo(String apiId,
APIRevisionDTO apIRevisionDTO)
Create a new API revision
Create a new API revision
|
APIRevisionListDTO |
deleteAPIRevision(String apiId,
String revisionId)
Delete a revision of an API
Delete a revision of an API
|
okhttp3.Call |
deleteAPIRevisionAsync(String apiId,
String revisionId,
ApiCallback<APIRevisionListDTO> _callback)
Delete a revision of an API (asynchronously)
Delete a revision of an API
|
okhttp3.Call |
deleteAPIRevisionCall(String apiId,
String revisionId,
ApiCallback _callback)
Build call for deleteAPIRevision
|
ApiResponse<APIRevisionListDTO> |
deleteAPIRevisionWithHttpInfo(String apiId,
String revisionId)
Delete a revision of an API
Delete a revision of an API
|
void |
deployAPIRevision(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Deploy a revision
Deploy a revision
|
okhttp3.Call |
deployAPIRevisionAsync(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback<Void> _callback)
Deploy a revision (asynchronously)
Deploy a revision
|
okhttp3.Call |
deployAPIRevisionCall(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for deployAPIRevision
|
ApiResponse<Void> |
deployAPIRevisionWithHttpInfo(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Deploy a revision
Deploy a revision
|
ApiClient |
getApiClient() |
APIRevisionDTO |
getAPIRevision(String apiId,
String revisionId)
Retrieve a revision of an API
Retrieve a revision of an API
|
okhttp3.Call |
getAPIRevisionAsync(String apiId,
String revisionId,
ApiCallback<APIRevisionDTO> _callback)
Retrieve a revision of an API (asynchronously)
Retrieve a revision of an API
|
okhttp3.Call |
getAPIRevisionCall(String apiId,
String revisionId,
ApiCallback _callback)
Build call for getAPIRevision
|
APIRevisionDeploymentListDTO |
getAPIRevisionDeployments(String apiId)
List available deployed revision deployment details of an API
List available deployed revision deployment details of an API
|
okhttp3.Call |
getAPIRevisionDeploymentsAsync(String apiId,
ApiCallback<APIRevisionDeploymentListDTO> _callback)
List available deployed revision deployment details of an API (asynchronously)
List available deployed revision deployment details of an API
|
okhttp3.Call |
getAPIRevisionDeploymentsCall(String apiId,
ApiCallback _callback)
Build call for getAPIRevisionDeployments
|
ApiResponse<APIRevisionDeploymentListDTO> |
getAPIRevisionDeploymentsWithHttpInfo(String apiId)
List available deployed revision deployment details of an API
List available deployed revision deployment details of an API
|
APIRevisionListDTO |
getAPIRevisions(String apiId,
String query)
List available revisions of an API
List available revisions of an API
|
okhttp3.Call |
getAPIRevisionsAsync(String apiId,
String query,
ApiCallback<APIRevisionListDTO> _callback)
List available revisions of an API (asynchronously)
List available revisions of an API
|
okhttp3.Call |
getAPIRevisionsCall(String apiId,
String query,
ApiCallback _callback)
Build call for getAPIRevisions
|
ApiResponse<APIRevisionListDTO> |
getAPIRevisionsWithHttpInfo(String apiId,
String query)
List available revisions of an API
List available revisions of an API
|
ApiResponse<APIRevisionDTO> |
getAPIRevisionWithHttpInfo(String apiId,
String revisionId)
Retrieve a revision of an API
Retrieve a revision of an API
|
APIDTO |
restoreAPIRevision(String apiId,
String revisionId)
Restore a revision
Restore a revision to the working copy of the API
|
okhttp3.Call |
restoreAPIRevisionAsync(String apiId,
String revisionId,
ApiCallback<APIDTO> _callback)
Restore a revision (asynchronously)
Restore a revision to the working copy of the API
|
okhttp3.Call |
restoreAPIRevisionCall(String apiId,
String revisionId,
ApiCallback _callback)
Build call for restoreAPIRevision
|
ApiResponse<APIDTO> |
restoreAPIRevisionWithHttpInfo(String apiId,
String revisionId)
Restore a revision
Restore a revision to the working copy of the API
|
void |
setApiClient(ApiClient apiClient) |
void |
undeployAPIRevision(String apiId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Un-Deploy a revision
Un-Deploy a revision
|
okhttp3.Call |
undeployAPIRevisionAsync(String apiId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback<Void> _callback)
Un-Deploy a revision (asynchronously)
Un-Deploy a revision
|
okhttp3.Call |
undeployAPIRevisionCall(String apiId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for undeployAPIRevision
|
ApiResponse<Void> |
undeployAPIRevisionWithHttpInfo(String apiId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Un-Deploy a revision
Un-Deploy a revision
|
public ApiRevisionsApi()
public ApiRevisionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createAPIRevisionCall(String apiId, APIRevisionDTO apIRevisionDTO, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIRevisionDTO - API object that needs to be added (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDTO createAPIRevision(String apiId, APIRevisionDTO apIRevisionDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIRevisionDTO - API object that needs to be added (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionDTO> createAPIRevisionWithHttpInfo(String apiId, APIRevisionDTO apIRevisionDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIRevisionDTO - API object that needs to be added (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call createAPIRevisionAsync(String apiId, APIRevisionDTO apIRevisionDTO, ApiCallback<APIRevisionDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)apIRevisionDTO - API object that needs to be added (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 deleteAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionListDTO deleteAPIRevision(String apiId, String revisionId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionListDTO> deleteAPIRevisionWithHttpInfo(String apiId, String revisionId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deleteAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIRevisionListDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an 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 okhttp3.Call deployAPIRevisionCall(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)apIRevisionDeploymentDTO - Deployment object that needs to be added (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void deployAPIRevision(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)apIRevisionDeploymentDTO - Deployment object that needs to be added (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> deployAPIRevisionWithHttpInfo(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)apIRevisionDeploymentDTO - Deployment object that needs to be added (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call deployAPIRevisionAsync(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)apIRevisionDeploymentDTO - Deployment object that needs to be added (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 getAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDTO getAPIRevision(String apiId, String revisionId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionDTO> getAPIRevisionWithHttpInfo(String apiId, String revisionId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIRevisionDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an 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 okhttp3.Call getAPIRevisionDeploymentsCall(String apiId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDeploymentListDTO getAPIRevisionDeployments(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<APIRevisionDeploymentListDTO> getAPIRevisionDeploymentsWithHttpInfo(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 okhttp3.Call getAPIRevisionDeploymentsAsync(String apiId, ApiCallback<APIRevisionDeploymentListDTO> _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 okhttp3.Call getAPIRevisionsCall(String apiId, String query, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)query - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionListDTO getAPIRevisions(String apiId, String query) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)query - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionListDTO> getAPIRevisionsWithHttpInfo(String apiId, String query) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)query - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIRevisionsAsync(String apiId, String query, ApiCallback<APIRevisionListDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)query - (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 restoreAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIDTO restoreAPIRevision(String apiId, String revisionId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIDTO> restoreAPIRevisionWithHttpInfo(String apiId, String revisionId) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call restoreAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (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 undeployAPIRevisionCall(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)revisionNumber - Revision Number of an API (optional)allEnvironments - (optional, default to false)apIRevisionDeploymentDTO - Deployment object that needs to be added (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic void undeployAPIRevision(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)revisionNumber - Revision Number of an API (optional)allEnvironments - (optional, default to false)apIRevisionDeploymentDTO - Deployment object that needs to be added (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<Void> undeployAPIRevisionWithHttpInfo(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)revisionNumber - Revision Number of an API (optional)allEnvironments - (optional, default to false)apIRevisionDeploymentDTO - Deployment object that needs to be added (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call undeployAPIRevisionAsync(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)revisionId - Revision ID of an API (optional)revisionNumber - Revision Number of an API (optional)allEnvironments - (optional, default to false)apIRevisionDeploymentDTO - Deployment object that needs to be added (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.