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 API Revision
Create a new API revision
|
okhttp3.Call |
createAPIRevisionAsync(String apiId,
APIRevisionDTO apIRevisionDTO,
ApiCallback<APIRevisionDTO> _callback)
Create 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 API Revision
Create a new API revision
|
APIRevisionListDTO |
deleteAPIRevision(String apiId,
String revisionId)
Delete Revision
Delete a revision of an API
|
okhttp3.Call |
deleteAPIRevisionAsync(String apiId,
String revisionId,
ApiCallback<APIRevisionListDTO> _callback)
Delete Revision (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 Revision
Delete a revision of an API
|
List<APIRevisionDeploymentDTO> |
deployAPIRevision(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Deploy Revision
Deploy a revision
|
okhttp3.Call |
deployAPIRevisionAsync(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback<List<APIRevisionDeploymentDTO>> _callback)
Deploy Revision (asynchronously)
Deploy a revision
|
okhttp3.Call |
deployAPIRevisionCall(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for deployAPIRevision
|
ApiResponse<List<APIRevisionDeploymentDTO>> |
deployAPIRevisionWithHttpInfo(String apiId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Deploy Revision
Deploy a revision
|
ApiClient |
getApiClient() |
APIRevisionDTO |
getAPIRevision(String apiId,
String revisionId)
Retrieve Revision
Retrieve a revision of an API
|
okhttp3.Call |
getAPIRevisionAsync(String apiId,
String revisionId,
ApiCallback<APIRevisionDTO> _callback)
Retrieve Revision (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 Deployments
List available deployed revision deployment details of an API
|
okhttp3.Call |
getAPIRevisionDeploymentsAsync(String apiId,
ApiCallback<APIRevisionDeploymentListDTO> _callback)
List Deployments (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 Deployments
List available deployed revision deployment details of an API
|
APIRevisionListDTO |
getAPIRevisions(String apiId,
String query)
List Revisions
List available revisions of an API
|
okhttp3.Call |
getAPIRevisionsAsync(String apiId,
String query,
ApiCallback<APIRevisionListDTO> _callback)
List Revisions (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 Revisions
List available revisions of an API
|
ApiResponse<APIRevisionDTO> |
getAPIRevisionWithHttpInfo(String apiId,
String revisionId)
Retrieve Revision
Retrieve a revision of an API
|
APIDTO |
restoreAPIRevision(String apiId,
String revisionId)
Restore API Revision
Restore a revision to the current API of the API
|
okhttp3.Call |
restoreAPIRevisionAsync(String apiId,
String revisionId,
ApiCallback<APIDTO> _callback)
Restore API Revision (asynchronously)
Restore a revision to the current API of the API
|
okhttp3.Call |
restoreAPIRevisionCall(String apiId,
String revisionId,
ApiCallback _callback)
Build call for restoreAPIRevision
|
ApiResponse<APIDTO> |
restoreAPIRevisionWithHttpInfo(String apiId,
String revisionId)
Restore API Revision
Restore a revision to the current API of the API
|
void |
setApiClient(ApiClient apiClient) |
void |
undeployAPIRevision(String apiId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
UnDeploy Revision
UnDeploy a revision
|
okhttp3.Call |
undeployAPIRevisionAsync(String apiId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback<Void> _callback)
UnDeploy Revision (asynchronously)
UnDeploy 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)
UnDeploy Revision
UnDeploy a revision
|
APIRevisionDeploymentDTO |
updateAPIDeployment(String apiId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO)
Update Deployment
Update deployment devportal visibility
|
okhttp3.Call |
updateAPIDeploymentAsync(String apiId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO,
ApiCallback<APIRevisionDeploymentDTO> _callback)
Update Deployment (asynchronously)
Update deployment devportal visibility
|
okhttp3.Call |
updateAPIDeploymentCall(String apiId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for updateAPIDeployment
|
ApiResponse<APIRevisionDeploymentDTO> |
updateAPIDeploymentWithHttpInfo(String apiId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO)
Update Deployment
Update deployment devportal visibility
|
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 List<APIRevisionDeploymentDTO> 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<List<APIRevisionDeploymentDTO>> 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<List<APIRevisionDeploymentDTO>> _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 objectpublic okhttp3.Call updateAPIDeploymentCall(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)deploymentId - Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO - Deployment object that needs to be updated (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDeploymentDTO updateAPIDeployment(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)deploymentId - Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO - Deployment object that needs to be updated (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionDeploymentDTO> updateAPIDeploymentWithHttpInfo(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)deploymentId - Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO - Deployment object that needs to be updated (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call updateAPIDeploymentAsync(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback<APIRevisionDeploymentDTO> _callback) throws ApiException
apiId - **API ID** consisting of the **UUID** of the API. (required)deploymentId - Base64 URL encoded value of the name of an environment (required)apIRevisionDeploymentDTO - Deployment object that needs to be updated (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.