Uses of Class
org.wso2.am.integration.clients.governance.ApiException
Packages that use ApiException
Package
Description
-
Uses of ApiException in org.wso2.am.integration.clients.governance
Methods in org.wso2.am.integration.clients.governance with parameters of type ApiExceptionModifier and TypeMethodDescriptionvoidThis is called when the API call fails.Methods in org.wso2.am.integration.clients.governance that throw ApiExceptionModifier and TypeMethodDescriptionokhttp3.CallApiClient.buildCall(String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build HTTP call with the given options.okhttp3.RequestApiClient.buildRequest(String path, String method, List<Pair> queryParams, List<Pair> collectionQueryParams, Object body, Map<String, String> headerParams, Map<String, String> cookieParams, Map<String, Object> formParams, String[] authNames, ApiCallback callback) Build an HTTP request with the given options.okhttp3.RequestBodyApiClient.buildRequestBodyMultipart(Map<String, Object> formParams) Build a multipart (file uploading) request body with the given form parameters, which could contain text fields and file fields.<T> TApiClient.deserialize(okhttp3.Response response, Type returnType) Deserialize response body to Java object, according to the return type and the Content-Type response header.ApiClient.downloadFileFromResponse(okhttp3.Response response) Download file from the given response.<T> ApiResponse<T> ApiClient.execute(okhttp3.Call call) <T> ApiResponse<T> Execute HTTP call and deserialize the HTTP response body into the given return type.<T> TApiClient.handleResponse(okhttp3.Response response, Type returnType) Handle the given response, return the deserialized object when the response is successful.okhttp3.RequestBodySerialize the given Java object into request body according to the object's class and the request Content-Type. -
Uses of ApiException in org.wso2.am.integration.clients.governance.api
Methods in org.wso2.am.integration.clients.governance.api that throw ApiExceptionModifier and TypeMethodDescriptionGovernancePoliciesApi.createGovernancePolicy(APIMGovernancePolicyDTO apIMGovernancePolicyDTO) Creates a new governance policy.okhttp3.CallGovernancePoliciesApi.createGovernancePolicyAsync(APIMGovernancePolicyDTO apIMGovernancePolicyDTO, ApiCallback<APIMGovernancePolicyDTO> _callback) Creates a new governance policy.okhttp3.CallGovernancePoliciesApi.createGovernancePolicyCall(APIMGovernancePolicyDTO apIMGovernancePolicyDTO, ApiCallback _callback) Build call for createGovernancePolicyGovernancePoliciesApi.createGovernancePolicyWithHttpInfo(APIMGovernancePolicyDTO apIMGovernancePolicyDTO) Creates a new governance policy.RulesetsApi.createRuleset(String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider) Create a new ruleset.okhttp3.CallRulesetsApi.createRulesetAsync(String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider, ApiCallback<RulesetInfoDTO> _callback) Create a new ruleset.okhttp3.CallRulesetsApi.createRulesetCall(String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider, ApiCallback _callback) Build call for createRulesetRulesetsApi.createRulesetWithHttpInfo(String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider) Create a new ruleset.voidGovernancePoliciesApi.deleteGovernancePolicy(String policyId) Delete a specific governance policy Deletes an existing governance policy identified by the policyId.okhttp3.CallGovernancePoliciesApi.deleteGovernancePolicyAsync(String policyId, ApiCallback<Void> _callback) Delete a specific governance policy (asynchronously) Deletes an existing governance policy identified by the policyId.okhttp3.CallGovernancePoliciesApi.deleteGovernancePolicyCall(String policyId, ApiCallback _callback) Build call for deleteGovernancePolicyGovernancePoliciesApi.deleteGovernancePolicyWithHttpInfo(String policyId) Delete a specific governance policy Deletes an existing governance policy identified by the policyId.voidRulesetsApi.deleteRuleset(String rulesetId) Deletes a specific ruleset.okhttp3.CallRulesetsApi.deleteRulesetAsync(String rulesetId, ApiCallback<Void> _callback) Deletes a specific ruleset.okhttp3.CallRulesetsApi.deleteRulesetCall(String rulesetId, ApiCallback _callback) Build call for deleteRulesetRulesetsApi.deleteRulesetWithHttpInfo(String rulesetId) Deletes a specific ruleset.ArtifactComplianceApi.getComplianceByAPIId(String apiId) Retrieve compliance details for a specific API Retrieve compliance details associated with a specific API using its unique UUID.okhttp3.CallArtifactComplianceApi.getComplianceByAPIIdAsync(String apiId, ApiCallback<ArtifactComplianceDetailsDTO> _callback) Retrieve compliance details for a specific API (asynchronously) Retrieve compliance details associated with a specific API using its unique UUID.okhttp3.CallArtifactComplianceApi.getComplianceByAPIIdCall(String apiId, ApiCallback _callback) Build call for getComplianceByAPIIdArtifactComplianceApi.getComplianceByAPIIdWithHttpInfo(String apiId) Retrieve compliance details for a specific API Retrieve compliance details associated with a specific API using its unique UUID.ArtifactComplianceApi.getComplianceStatusListOfAPIs(Integer limit, Integer offset) Retrieves compliance of all API artifacts Retrieves compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallArtifactComplianceApi.getComplianceStatusListOfAPIsAsync(Integer limit, Integer offset, ApiCallback<ArtifactComplianceListDTO> _callback) Retrieves compliance of all API artifacts (asynchronously) Retrieves compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallArtifactComplianceApi.getComplianceStatusListOfAPIsCall(Integer limit, Integer offset, ApiCallback _callback) Build call for getComplianceStatusListOfAPIsArtifactComplianceApi.getComplianceStatusListOfAPIsWithHttpInfo(Integer limit, Integer offset) Retrieves compliance of all API artifacts Retrieves compliance of all API artifacts within the organization visible to logged-in user.ArtifactComplianceApi.getComplianceSummaryForAPIs()Retrieves the summary of compliance of all API artifacts Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallArtifactComplianceApi.getComplianceSummaryForAPIsAsync(ApiCallback<ArtifactComplianceSummaryDTO> _callback) Retrieves the summary of compliance of all API artifacts (asynchronously) Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.okhttp3.CallArtifactComplianceApi.getComplianceSummaryForAPIsCall(ApiCallback _callback) Build call for getComplianceSummaryForAPIsArtifactComplianceApi.getComplianceSummaryForAPIsWithHttpInfo()Retrieves the summary of compliance of all API artifacts Retrieves the summary of compliance of all API artifacts within the organization visible to logged-in user.GovernancePoliciesApi.getGovernancePolicies(Integer limit, Integer offset, String query) Retrieves a list of all governance policies.okhttp3.CallGovernancePoliciesApi.getGovernancePoliciesAsync(Integer limit, Integer offset, String query, ApiCallback<APIMGovernancePolicyListDTO> _callback) Retrieves a list of all governance policies.okhttp3.CallGovernancePoliciesApi.getGovernancePoliciesCall(Integer limit, Integer offset, String query, ApiCallback _callback) Build call for getGovernancePoliciesGovernancePoliciesApi.getGovernancePoliciesWithHttpInfo(Integer limit, Integer offset, String query) Retrieves a list of all governance policies.GovernancePoliciesApi.getGovernancePolicyById(String policyId) Get a specific governance policy Retrieves details of a specific governance policy identified by the policyId.okhttp3.CallGovernancePoliciesApi.getGovernancePolicyByIdAsync(String policyId, ApiCallback<APIMGovernancePolicyDTO> _callback) Get a specific governance policy (asynchronously) Retrieves details of a specific governance policy identified by the policyId.okhttp3.CallGovernancePoliciesApi.getGovernancePolicyByIdCall(String policyId, ApiCallback _callback) Build call for getGovernancePolicyByIdGovernancePoliciesApi.getGovernancePolicyByIdWithHttpInfo(String policyId) Get a specific governance policy Retrieves details of a specific governance policy identified by the policyId.PolicyAdherenceApi.getPolicyAdherenceByPolicyId(String policyId) Retrieve adherence details for a specific policy Retrieve adherence details associated with a specific governance policy within the organization using its unique ID.okhttp3.CallPolicyAdherenceApi.getPolicyAdherenceByPolicyIdAsync(String policyId, ApiCallback<PolicyAdherenceDetailsDTO> _callback) Retrieve adherence details for a specific policy (asynchronously) Retrieve adherence details associated with a specific governance policy within the organization using its unique ID.okhttp3.CallPolicyAdherenceApi.getPolicyAdherenceByPolicyIdCall(String policyId, ApiCallback _callback) Build call for getPolicyAdherenceByPolicyIdPolicyAdherenceApi.getPolicyAdherenceByPolicyIdWithHttpInfo(String policyId) Retrieve adherence details for a specific policy Retrieve adherence details associated with a specific governance policy within the organization using its unique ID.PolicyAdherenceApi.getPolicyAdherenceForAllPolicies(Integer limit, Integer offset) Retrieve adherence status for all policies Retrieve adherence status of all governance policies within the organization.okhttp3.CallPolicyAdherenceApi.getPolicyAdherenceForAllPoliciesAsync(Integer limit, Integer offset, ApiCallback<PolicyAdherenceListDTO> _callback) Retrieve adherence status for all policies (asynchronously) Retrieve adherence status of all governance policies within the organization.okhttp3.CallPolicyAdherenceApi.getPolicyAdherenceForAllPoliciesCall(Integer limit, Integer offset, ApiCallback _callback) Build call for getPolicyAdherenceForAllPoliciesPolicyAdherenceApi.getPolicyAdherenceForAllPoliciesWithHttpInfo(Integer limit, Integer offset) Retrieve adherence status for all policies Retrieve adherence status of all governance policies within the organization.PolicyAdherenceApi.getPolicyAdherenceSummary()Retrieves the summary of adherence for all policies Retrieves the summary of adherence for all governance policies within the organization.okhttp3.CallPolicyAdherenceApi.getPolicyAdherenceSummaryAsync(ApiCallback<PolicyAdherenceSummaryDTO> _callback) Retrieves the summary of adherence for all policies (asynchronously) Retrieves the summary of adherence for all governance policies within the organization.okhttp3.CallPolicyAdherenceApi.getPolicyAdherenceSummaryCall(ApiCallback _callback) Build call for getPolicyAdherenceSummaryPolicyAdherenceApi.getPolicyAdherenceSummaryWithHttpInfo()Retrieves the summary of adherence for all policies Retrieves the summary of adherence for all governance policies within the organization.RulesetsApi.getRulesetById(String rulesetId) Retrieves details of a specific ruleset.okhttp3.CallRulesetsApi.getRulesetByIdAsync(String rulesetId, ApiCallback<RulesetInfoDTO> _callback) Retrieves details of a specific ruleset.okhttp3.CallRulesetsApi.getRulesetByIdCall(String rulesetId, ApiCallback _callback) Build call for getRulesetByIdRulesetsApi.getRulesetByIdWithHttpInfo(String rulesetId) Retrieves details of a specific ruleset.RulesetsApi.getRulesetContent(String rulesetId) Retrieves the content of a specific ruleset.okhttp3.CallRulesetsApi.getRulesetContentAsync(String rulesetId, ApiCallback<String> _callback) Retrieves the content of a specific ruleset.okhttp3.CallRulesetsApi.getRulesetContentCall(String rulesetId, ApiCallback _callback) Build call for getRulesetContentRulesetsApi.getRulesetContentWithHttpInfo(String rulesetId) Retrieves the content of a specific ruleset.RulesetsApi.getRulesets(Integer limit, Integer offset, String query) Retrieves a list of rulesets.okhttp3.CallRulesetsApi.getRulesetsAsync(Integer limit, Integer offset, String query, ApiCallback<RulesetListDTO> _callback) Retrieves a list of rulesets.okhttp3.CallRulesetsApi.getRulesetsCall(Integer limit, Integer offset, String query, ApiCallback _callback) Build call for getRulesetsRulesetsApi.getRulesetsWithHttpInfo(Integer limit, Integer offset, String query) Retrieves a list of rulesets.RulesetsApi.getRulesetUsage(String rulesetId) Retrieves the policy usage of a specific ruleset.okhttp3.CallRulesetsApi.getRulesetUsageAsync(String rulesetId, ApiCallback<List<String>> _callback) Retrieves the policy usage of a specific ruleset.okhttp3.CallRulesetsApi.getRulesetUsageCall(String rulesetId, ApiCallback _callback) Build call for getRulesetUsageRulesetsApi.getRulesetUsageWithHttpInfo(String rulesetId) Retrieves the policy usage of a specific ruleset.ArtifactComplianceApi.getRulesetValidationResultsByAPIId(String apiId, String rulesetId) Retrieve ruleset validation results for a specific API Retrieve ruleset validation results associated with a specific API using its unique UUID.okhttp3.CallArtifactComplianceApi.getRulesetValidationResultsByAPIIdAsync(String apiId, String rulesetId, ApiCallback<RulesetValidationResultDTO> _callback) Retrieve ruleset validation results for a specific API (asynchronously) Retrieve ruleset validation results associated with a specific API using its unique UUID.okhttp3.CallArtifactComplianceApi.getRulesetValidationResultsByAPIIdCall(String apiId, String rulesetId, ApiCallback _callback) Build call for getRulesetValidationResultsByAPIIdArtifactComplianceApi.getRulesetValidationResultsByAPIIdWithHttpInfo(String apiId, String rulesetId) Retrieve ruleset validation results for a specific API Retrieve ruleset validation results associated with a specific API using its unique UUID.GovernancePoliciesApi.updateGovernancePolicyById(String policyId, APIMGovernancePolicyDTO apIMGovernancePolicyDTO) Update a specific governance policy Updates the details of an existing governance policy identified by the policyId.okhttp3.CallGovernancePoliciesApi.updateGovernancePolicyByIdAsync(String policyId, APIMGovernancePolicyDTO apIMGovernancePolicyDTO, ApiCallback<APIMGovernancePolicyDTO> _callback) Update a specific governance policy (asynchronously) Updates the details of an existing governance policy identified by the policyId.okhttp3.CallGovernancePoliciesApi.updateGovernancePolicyByIdCall(String policyId, APIMGovernancePolicyDTO apIMGovernancePolicyDTO, ApiCallback _callback) Build call for updateGovernancePolicyByIdGovernancePoliciesApi.updateGovernancePolicyByIdWithHttpInfo(String policyId, APIMGovernancePolicyDTO apIMGovernancePolicyDTO) Update a specific governance policy Updates the details of an existing governance policy identified by the policyId.RulesetsApi.updateRulesetById(String rulesetId, String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider) Updates a specific ruleset.okhttp3.CallRulesetsApi.updateRulesetByIdAsync(String rulesetId, String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider, ApiCallback<RulesetInfoDTO> _callback) Updates a specific ruleset.okhttp3.CallRulesetsApi.updateRulesetByIdCall(String rulesetId, String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider, ApiCallback _callback) Build call for updateRulesetByIdRulesetsApi.updateRulesetByIdWithHttpInfo(String rulesetId, String name, File rulesetContent, String ruleType, String artifactType, String description, String ruleCategory, String documentationLink, String provider) Updates a specific ruleset.