use of org.wso2.carbon.apimgt.internal.service.dto.UnDeployedAPIRevisionDTO in project carbon-apimgt by wso2.
the class ApisApiServiceImpl method unDeployedAPIRevision.
@Override
public Response unDeployedAPIRevision(UnDeployedAPIRevisionDTO unDeployedAPIRevisionDTO, MessageContext messageContext) throws APIManagementException {
APIProvider apiProvider = RestApiCommonUtil.getLoggedInUserProvider();
apiProvider.removeUnDeployedAPIRevision(unDeployedAPIRevisionDTO.getApiUUID(), unDeployedAPIRevisionDTO.getRevisionUUID(), unDeployedAPIRevisionDTO.getEnvironment());
return Response.ok().build();
}
Aggregations