public class ApiProductRevisionsApi extends Object
| Constructor and Description |
|---|
ApiProductRevisionsApi() |
ApiProductRevisionsApi(ApiClient apiClient) |
| Modifier and Type | Method and Description |
|---|---|
APIRevisionDTO |
createAPIProductRevision(String apiProductId,
APIRevisionDTO apIRevisionDTO)
Create a new API Product revision
Create a new API Product revision
|
okhttp3.Call |
createAPIProductRevisionAsync(String apiProductId,
APIRevisionDTO apIRevisionDTO,
ApiCallback<APIRevisionDTO> _callback)
Create a new API Product revision (asynchronously)
Create a new API Product revision
|
okhttp3.Call |
createAPIProductRevisionCall(String apiProductId,
APIRevisionDTO apIRevisionDTO,
ApiCallback _callback)
Build call for createAPIProductRevision
|
ApiResponse<APIRevisionDTO> |
createAPIProductRevisionWithHttpInfo(String apiProductId,
APIRevisionDTO apIRevisionDTO)
Create a new API Product revision
Create a new API Product revision
|
APIRevisionListDTO |
deleteAPIProductRevision(String apiProductId,
String revisionId)
Delete Revision
Delete a revision of an API Product
|
okhttp3.Call |
deleteAPIProductRevisionAsync(String apiProductId,
String revisionId,
ApiCallback<APIRevisionListDTO> _callback)
Delete Revision (asynchronously)
Delete a revision of an API Product
|
okhttp3.Call |
deleteAPIProductRevisionCall(String apiProductId,
String revisionId,
ApiCallback _callback)
Build call for deleteAPIProductRevision
|
ApiResponse<APIRevisionListDTO> |
deleteAPIProductRevisionWithHttpInfo(String apiProductId,
String revisionId)
Delete Revision
Delete a revision of an API Product
|
void |
deployAPIProductRevision(String apiProductId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Deploy Revision
Deploy an API Product Revision
|
okhttp3.Call |
deployAPIProductRevisionAsync(String apiProductId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback<Void> _callback)
Deploy Revision (asynchronously)
Deploy an API Product Revision
|
okhttp3.Call |
deployAPIProductRevisionCall(String apiProductId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for deployAPIProductRevision
|
ApiResponse<Void> |
deployAPIProductRevisionWithHttpInfo(String apiProductId,
String revisionId,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
Deploy Revision
Deploy an API Product Revision
|
ApiClient |
getApiClient() |
APIRevisionDTO |
getAPIProductRevision(String apiProductId,
String revisionId)
Retrieve Revision
Retrieve a revision of an API Product
|
okhttp3.Call |
getAPIProductRevisionAsync(String apiProductId,
String revisionId,
ApiCallback<APIRevisionDTO> _callback)
Retrieve Revision (asynchronously)
Retrieve a revision of an API Product
|
okhttp3.Call |
getAPIProductRevisionCall(String apiProductId,
String revisionId,
ApiCallback _callback)
Build call for getAPIProductRevision
|
APIRevisionDeploymentListDTO |
getAPIProductRevisionDeployments(String apiProductId)
List Deployments
List available deployed revision deployment details of an API Product
|
okhttp3.Call |
getAPIProductRevisionDeploymentsAsync(String apiProductId,
ApiCallback<APIRevisionDeploymentListDTO> _callback)
List Deployments (asynchronously)
List available deployed revision deployment details of an API Product
|
okhttp3.Call |
getAPIProductRevisionDeploymentsCall(String apiProductId,
ApiCallback _callback)
Build call for getAPIProductRevisionDeployments
|
ApiResponse<APIRevisionDeploymentListDTO> |
getAPIProductRevisionDeploymentsWithHttpInfo(String apiProductId)
List Deployments
List available deployed revision deployment details of an API Product
|
APIRevisionListDTO |
getAPIProductRevisions(String apiProductId,
String query)
List Revisions
List available revisions of an API Product
|
okhttp3.Call |
getAPIProductRevisionsAsync(String apiProductId,
String query,
ApiCallback<APIRevisionListDTO> _callback)
List Revisions (asynchronously)
List available revisions of an API Product
|
okhttp3.Call |
getAPIProductRevisionsCall(String apiProductId,
String query,
ApiCallback _callback)
Build call for getAPIProductRevisions
|
ApiResponse<APIRevisionListDTO> |
getAPIProductRevisionsWithHttpInfo(String apiProductId,
String query)
List Revisions
List available revisions of an API Product
|
ApiResponse<APIRevisionDTO> |
getAPIProductRevisionWithHttpInfo(String apiProductId,
String revisionId)
Retrieve Revision
Retrieve a revision of an API Product
|
APIProductDTO |
restoreAPIProductRevision(String apiProductId,
String revisionId)
Restore Revision
Restore a revision to the Current API of the API Product
|
okhttp3.Call |
restoreAPIProductRevisionAsync(String apiProductId,
String revisionId,
ApiCallback<APIProductDTO> _callback)
Restore Revision (asynchronously)
Restore a revision to the Current API of the API Product
|
okhttp3.Call |
restoreAPIProductRevisionCall(String apiProductId,
String revisionId,
ApiCallback _callback)
Build call for restoreAPIProductRevision
|
ApiResponse<APIProductDTO> |
restoreAPIProductRevisionWithHttpInfo(String apiProductId,
String revisionId)
Restore Revision
Restore a revision to the Current API of the API Product
|
void |
setApiClient(ApiClient apiClient) |
void |
undeployAPIProductRevision(String apiProductId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
UnDeploy Revision
UnDeploy an API Product Revision
|
okhttp3.Call |
undeployAPIProductRevisionAsync(String apiProductId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback<Void> _callback)
UnDeploy Revision (asynchronously)
UnDeploy an API Product Revision
|
okhttp3.Call |
undeployAPIProductRevisionCall(String apiProductId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for undeployAPIProductRevision
|
ApiResponse<Void> |
undeployAPIProductRevisionWithHttpInfo(String apiProductId,
String revisionId,
String revisionNumber,
Boolean allEnvironments,
List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)
UnDeploy Revision
UnDeploy an API Product Revision
|
APIRevisionDeploymentDTO |
updateAPIProductDeployment(String apiProductId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO)
Update Deployment
Update deployment devportal visibility
|
okhttp3.Call |
updateAPIProductDeploymentAsync(String apiProductId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO,
ApiCallback<APIRevisionDeploymentDTO> _callback)
Update Deployment (asynchronously)
Update deployment devportal visibility
|
okhttp3.Call |
updateAPIProductDeploymentCall(String apiProductId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO,
ApiCallback _callback)
Build call for updateAPIProductDeployment
|
ApiResponse<APIRevisionDeploymentDTO> |
updateAPIProductDeploymentWithHttpInfo(String apiProductId,
String deploymentId,
APIRevisionDeploymentDTO apIRevisionDeploymentDTO)
Update Deployment
Update deployment devportal visibility
|
public ApiProductRevisionsApi()
public ApiProductRevisionsApi(ApiClient apiClient)
public ApiClient getApiClient()
public void setApiClient(ApiClient apiClient)
public okhttp3.Call createAPIProductRevisionCall(String apiProductId, APIRevisionDTO apIRevisionDTO, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO - API Product object that needs to be added (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDTO createAPIProductRevision(String apiProductId, APIRevisionDTO apIRevisionDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO - API Product 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> createAPIProductRevisionWithHttpInfo(String apiProductId, APIRevisionDTO apIRevisionDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO - API Product 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 createAPIProductRevisionAsync(String apiProductId, APIRevisionDTO apIRevisionDTO, ApiCallback<APIRevisionDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)apIRevisionDTO - API Product 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 deleteAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId - Revision ID of an API (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionListDTO deleteAPIProductRevision(String apiProductId, String revisionId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> deleteAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 deleteAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIRevisionListDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 deployAPIProductRevisionCall(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 deployAPIProductRevision(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> deployAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 deployAPIProductRevisionAsync(String apiProductId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 getAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId - Revision ID of an API (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDTO getAPIProductRevision(String apiProductId, String revisionId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> getAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 getAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIRevisionDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 getAPIProductRevisionDeploymentsCall(String apiProductId, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionDeploymentListDTO getAPIProductRevisionDeployments(String apiProductId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionDeploymentListDTO> getAPIProductRevisionDeploymentsWithHttpInfo(String apiProductId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIProductRevisionDeploymentsAsync(String apiProductId, ApiCallback<APIRevisionDeploymentListDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 getAPIProductRevisionsCall(String apiProductId, String query, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query - (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIRevisionListDTO getAPIProductRevisions(String apiProductId, String query) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic ApiResponse<APIRevisionListDTO> getAPIProductRevisionsWithHttpInfo(String apiProductId, String query) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)query - (optional)ApiException - If fail to call the API, e.g. server error or cannot deserialize the response bodypublic okhttp3.Call getAPIProductRevisionsAsync(String apiProductId, String query, ApiCallback<APIRevisionListDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 restoreAPIProductRevisionCall(String apiProductId, String revisionId, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (required)revisionId - Revision ID of an API (optional)_callback - Callback for upload/download progressApiException - If fail to serialize the request body objectpublic APIProductDTO restoreAPIProductRevision(String apiProductId, String revisionId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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<APIProductDTO> restoreAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 restoreAPIProductRevisionAsync(String apiProductId, String revisionId, ApiCallback<APIProductDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 undeployAPIProductRevisionCall(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 undeployAPIProductRevision(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> undeployAPIProductRevisionWithHttpInfo(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 undeployAPIProductRevisionAsync(String apiProductId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 updateAPIProductDeploymentCall(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 updateAPIProductDeployment(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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> updateAPIProductDeploymentWithHttpInfo(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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 updateAPIProductDeploymentAsync(String apiProductId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback<APIRevisionDeploymentDTO> _callback) throws ApiException
apiProductId - **API Product ID** consisting of the **UUID** of the API Product. Using the **UUID** in the API call is recommended. (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.