Class ApiRevisionsApi
- java.lang.Object
-
- org.wso2.am.integration.clients.publisher.api.v1.ApiRevisionsApi
-
public class ApiRevisionsApi extends Object
-
-
Constructor Summary
Constructors Constructor Description ApiRevisionsApi()ApiRevisionsApi(ApiClient apiClient)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description APIRevisionDTOcreateAPIRevision(String apiId, APIRevisionDTO apIRevisionDTO)Create API Revision Create a new API revisionokhttp3.CallcreateAPIRevisionAsync(String apiId, APIRevisionDTO apIRevisionDTO, ApiCallback<APIRevisionDTO> _callback)Create API Revision (asynchronously) Create a new API revisionokhttp3.CallcreateAPIRevisionCall(String apiId, APIRevisionDTO apIRevisionDTO, ApiCallback _callback)Build call for createAPIRevisionApiResponse<APIRevisionDTO>createAPIRevisionWithHttpInfo(String apiId, APIRevisionDTO apIRevisionDTO)Create API Revision Create a new API revisionAPIRevisionListDTOdeleteAPIRevision(String apiId, String revisionId)Delete Revision Delete a revision of an APIokhttp3.CalldeleteAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIRevisionListDTO> _callback)Delete Revision (asynchronously) Delete a revision of an APIokhttp3.CalldeleteAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback)Build call for deleteAPIRevisionApiResponse<APIRevisionListDTO>deleteAPIRevisionWithHttpInfo(String apiId, String revisionId)Delete Revision Delete a revision of an APIList<APIRevisionDeploymentDTO>deployAPIRevision(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)Deploy Revision Deploy a revisionokhttp3.CalldeployAPIRevisionAsync(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<List<APIRevisionDeploymentDTO>> _callback)Deploy Revision (asynchronously) Deploy a revisionokhttp3.CalldeployAPIRevisionCall(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback)Build call for deployAPIRevisionApiResponse<List<APIRevisionDeploymentDTO>>deployAPIRevisionWithHttpInfo(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)Deploy Revision Deploy a revisionApiClientgetApiClient()APIRevisionDTOgetAPIRevision(String apiId, String revisionId)Retrieve Revision Retrieve a revision of an APIokhttp3.CallgetAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIRevisionDTO> _callback)Retrieve Revision (asynchronously) Retrieve a revision of an APIokhttp3.CallgetAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback)Build call for getAPIRevisionAPIRevisionDeploymentListDTOgetAPIRevisionDeployments(String apiId)List Deployments List available deployed revision deployment details of an APIokhttp3.CallgetAPIRevisionDeploymentsAsync(String apiId, ApiCallback<APIRevisionDeploymentListDTO> _callback)List Deployments (asynchronously) List available deployed revision deployment details of an APIokhttp3.CallgetAPIRevisionDeploymentsCall(String apiId, ApiCallback _callback)Build call for getAPIRevisionDeploymentsApiResponse<APIRevisionDeploymentListDTO>getAPIRevisionDeploymentsWithHttpInfo(String apiId)List Deployments List available deployed revision deployment details of an APIAPIRevisionListDTOgetAPIRevisions(String apiId, String query)List Revisions List available revisions of an APIokhttp3.CallgetAPIRevisionsAsync(String apiId, String query, ApiCallback<APIRevisionListDTO> _callback)List Revisions (asynchronously) List available revisions of an APIokhttp3.CallgetAPIRevisionsCall(String apiId, String query, ApiCallback _callback)Build call for getAPIRevisionsApiResponse<APIRevisionListDTO>getAPIRevisionsWithHttpInfo(String apiId, String query)List Revisions List available revisions of an APIApiResponse<APIRevisionDTO>getAPIRevisionWithHttpInfo(String apiId, String revisionId)Retrieve Revision Retrieve a revision of an APIAPIDTOrestoreAPIRevision(String apiId, String revisionId)Restore API Revision Restore a revision to the current API of the APIokhttp3.CallrestoreAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIDTO> _callback)Restore API Revision (asynchronously) Restore a revision to the current API of the APIokhttp3.CallrestoreAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback)Build call for restoreAPIRevisionApiResponse<APIDTO>restoreAPIRevisionWithHttpInfo(String apiId, String revisionId)Restore API Revision Restore a revision to the current API of the APIvoidsetApiClient(ApiClient apiClient)voidundeployAPIRevision(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)UnDeploy Revision UnDeploy a revisionokhttp3.CallundeployAPIRevisionAsync(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback)UnDeploy Revision (asynchronously) UnDeploy a revisionokhttp3.CallundeployAPIRevisionCall(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback)Build call for undeployAPIRevisionApiResponse<Void>undeployAPIRevisionWithHttpInfo(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO)UnDeploy Revision UnDeploy a revisionAPIRevisionDeploymentDTOupdateAPIDeployment(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO)Update Deployment Update deployment devportal visibilityokhttp3.CallupdateAPIDeploymentAsync(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback<APIRevisionDeploymentDTO> _callback)Update Deployment (asynchronously) Update deployment devportal visibilityokhttp3.CallupdateAPIDeploymentCall(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback _callback)Build call for updateAPIDeploymentApiResponse<APIRevisionDeploymentDTO>updateAPIDeploymentWithHttpInfo(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO)Update Deployment Update deployment devportal visibility
-
-
-
Constructor Detail
-
ApiRevisionsApi
public ApiRevisionsApi()
-
ApiRevisionsApi
public ApiRevisionsApi(ApiClient apiClient)
-
-
Method Detail
-
getApiClient
public ApiClient getApiClient()
-
setApiClient
public void setApiClient(ApiClient apiClient)
-
createAPIRevisionCall
public okhttp3.Call createAPIRevisionCall(String apiId, APIRevisionDTO apIRevisionDTO, ApiCallback _callback) throws ApiException
Build call for createAPIRevision- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
createAPIRevision
public APIRevisionDTO createAPIRevision(String apiId, APIRevisionDTO apIRevisionDTO) throws ApiException
Create API Revision Create a new API revision- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)apIRevisionDTO- API object that needs to be added (optional)- Returns:
- APIRevisionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createAPIRevisionWithHttpInfo
public ApiResponse<APIRevisionDTO> createAPIRevisionWithHttpInfo(String apiId, APIRevisionDTO apIRevisionDTO) throws ApiException
Create API Revision Create a new API revision- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)apIRevisionDTO- API object that needs to be added (optional)- Returns:
- ApiResponse<APIRevisionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
createAPIRevisionAsync
public okhttp3.Call createAPIRevisionAsync(String apiId, APIRevisionDTO apIRevisionDTO, ApiCallback<APIRevisionDTO> _callback) throws ApiException
Create API Revision (asynchronously) Create a new API revision- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deleteAPIRevisionCall
public okhttp3.Call deleteAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback) throws ApiException
Build call for deleteAPIRevision- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deleteAPIRevision
public APIRevisionListDTO deleteAPIRevision(String apiId, String revisionId) throws ApiException
Delete Revision Delete a revision of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (required)- Returns:
- APIRevisionListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteAPIRevisionWithHttpInfo
public ApiResponse<APIRevisionListDTO> deleteAPIRevisionWithHttpInfo(String apiId, String revisionId) throws ApiException
Delete Revision Delete a revision of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (required)- Returns:
- ApiResponse<APIRevisionListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deleteAPIRevisionAsync
public okhttp3.Call deleteAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIRevisionListDTO> _callback) throws ApiException
Delete Revision (asynchronously) Delete a revision of an API- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
deployAPIRevisionCall
public okhttp3.Call deployAPIRevisionCall(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
Build call for deployAPIRevision- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
deployAPIRevision
public List<APIRevisionDeploymentDTO> deployAPIRevision(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
Deploy Revision Deploy a revision- Parameters:
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)- Returns:
- List<APIRevisionDeploymentDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deployAPIRevisionWithHttpInfo
public ApiResponse<List<APIRevisionDeploymentDTO>> deployAPIRevisionWithHttpInfo(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
Deploy Revision Deploy a revision- Parameters:
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)- Returns:
- ApiResponse<List<APIRevisionDeploymentDTO>>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
deployAPIRevisionAsync
public okhttp3.Call deployAPIRevisionAsync(String apiId, String revisionId, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<List<APIRevisionDeploymentDTO>> _callback) throws ApiException
Deploy Revision (asynchronously) Deploy a revision- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIRevisionCall
public okhttp3.Call getAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback) throws ApiException
Build call for getAPIRevision- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIRevision
public APIRevisionDTO getAPIRevision(String apiId, String revisionId) throws ApiException
Retrieve Revision Retrieve a revision of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (required)- Returns:
- APIRevisionDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevisionWithHttpInfo
public ApiResponse<APIRevisionDTO> getAPIRevisionWithHttpInfo(String apiId, String revisionId) throws ApiException
Retrieve Revision Retrieve a revision of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (required)- Returns:
- ApiResponse<APIRevisionDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevisionAsync
public okhttp3.Call getAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIRevisionDTO> _callback) throws ApiException
Retrieve Revision (asynchronously) Retrieve a revision of an API- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
getAPIRevisionDeploymentsCall
public okhttp3.Call getAPIRevisionDeploymentsCall(String apiId, ApiCallback _callback) throws ApiException
Build call for getAPIRevisionDeployments- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIRevisionDeployments
public APIRevisionDeploymentListDTO getAPIRevisionDeployments(String apiId) throws ApiException
List Deployments List available deployed revision deployment details of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- APIRevisionDeploymentListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevisionDeploymentsWithHttpInfo
public ApiResponse<APIRevisionDeploymentListDTO> getAPIRevisionDeploymentsWithHttpInfo(String apiId) throws ApiException
List Deployments List available deployed revision deployment details of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)- Returns:
- ApiResponse<APIRevisionDeploymentListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevisionDeploymentsAsync
public okhttp3.Call getAPIRevisionDeploymentsAsync(String apiId, ApiCallback<APIRevisionDeploymentListDTO> _callback) throws ApiException
List Deployments (asynchronously) List available deployed revision deployment details of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)_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
-
getAPIRevisionsCall
public okhttp3.Call getAPIRevisionsCall(String apiId, String query, ApiCallback _callback) throws ApiException
Build call for getAPIRevisions- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)query- (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
getAPIRevisions
public APIRevisionListDTO getAPIRevisions(String apiId, String query) throws ApiException
List Revisions List available revisions of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)query- (optional)- Returns:
- APIRevisionListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevisionsWithHttpInfo
public ApiResponse<APIRevisionListDTO> getAPIRevisionsWithHttpInfo(String apiId, String query) throws ApiException
List Revisions List available revisions of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)query- (optional)- Returns:
- ApiResponse<APIRevisionListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
getAPIRevisionsAsync
public okhttp3.Call getAPIRevisionsAsync(String apiId, String query, ApiCallback<APIRevisionListDTO> _callback) throws ApiException
List Revisions (asynchronously) List available revisions of an API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)query- (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
-
restoreAPIRevisionCall
public okhttp3.Call restoreAPIRevisionCall(String apiId, String revisionId, ApiCallback _callback) throws ApiException
Build call for restoreAPIRevision- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
restoreAPIRevision
public APIDTO restoreAPIRevision(String apiId, String revisionId) throws ApiException
Restore API Revision Restore a revision to the current API of the API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (optional)- Returns:
- APIDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
restoreAPIRevisionWithHttpInfo
public ApiResponse<APIDTO> restoreAPIRevisionWithHttpInfo(String apiId, String revisionId) throws ApiException
Restore API Revision Restore a revision to the current API of the API- Parameters:
apiId- **API ID** consisting of the **UUID** of the API. (required)revisionId- Revision ID of an API (optional)- Returns:
- ApiResponse<APIDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
restoreAPIRevisionAsync
public okhttp3.Call restoreAPIRevisionAsync(String apiId, String revisionId, ApiCallback<APIDTO> _callback) throws ApiException
Restore API Revision (asynchronously) Restore a revision to the current API of the API- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
undeployAPIRevisionCall
public okhttp3.Call undeployAPIRevisionCall(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
Build call for undeployAPIRevision- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
undeployAPIRevision
public void undeployAPIRevision(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
UnDeploy Revision UnDeploy a revision- Parameters:
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)- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
undeployAPIRevisionWithHttpInfo
public ApiResponse<Void> undeployAPIRevisionWithHttpInfo(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO) throws ApiException
UnDeploy Revision UnDeploy a revision- Parameters:
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)- Returns:
- ApiResponse<Void>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
undeployAPIRevisionAsync
public okhttp3.Call undeployAPIRevisionAsync(String apiId, String revisionId, String revisionNumber, Boolean allEnvironments, List<APIRevisionDeploymentDTO> apIRevisionDeploymentDTO, ApiCallback<Void> _callback) throws ApiException
UnDeploy Revision (asynchronously) UnDeploy a revision- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
updateAPIDeploymentCall
public okhttp3.Call updateAPIDeploymentCall(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback _callback) throws ApiException
Build call for updateAPIDeployment- Parameters:
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 progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
updateAPIDeployment
public APIRevisionDeploymentDTO updateAPIDeployment(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException
Update Deployment Update deployment devportal visibility- Parameters:
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)- Returns:
- APIRevisionDeploymentDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIDeploymentWithHttpInfo
public ApiResponse<APIRevisionDeploymentDTO> updateAPIDeploymentWithHttpInfo(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO) throws ApiException
Update Deployment Update deployment devportal visibility- Parameters:
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)- Returns:
- ApiResponse<APIRevisionDeploymentDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
updateAPIDeploymentAsync
public okhttp3.Call updateAPIDeploymentAsync(String apiId, String deploymentId, APIRevisionDeploymentDTO apIRevisionDeploymentDTO, ApiCallback<APIRevisionDeploymentDTO> _callback) throws ApiException
Update Deployment (asynchronously) Update deployment devportal visibility- Parameters:
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 finishes- Returns:
- The request call
- Throws:
ApiException- If fail to process the API call, e.g. serializing the request body object
-
-