Class UnifiedSearchApi


  • public class UnifiedSearchApi
    extends Object
    • Constructor Detail

      • UnifiedSearchApi

        public UnifiedSearchApi()
      • UnifiedSearchApi

        public UnifiedSearchApi​(ApiClient apiClient)
    • Method Detail

      • getApiClient

        public ApiClient getApiClient()
      • setApiClient

        public void setApiClient​(ApiClient apiClient)
      • searchGetCall

        public okhttp3.Call searchGetCall​(Integer limit,
                                          Integer offset,
                                          String xWSO2Tenant,
                                          String query,
                                          String ifNoneMatch,
                                          ApiCallback _callback)
                                   throws ApiException
        Build call for searchGet
        Parameters:
        limit - Maximum size of resource array to return. (optional, default to 25)
        offset - Starting point within the complete list of items qualified. (optional, default to 0)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        query - **Search**. You can search by using providing the search term in the query parameters. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)
        _callback - Callback for upload/download progress
        Returns:
        Call to execute
        Throws:
        ApiException - If fail to serialize the request body object
      • searchGet

        public SearchResultListDTO searchGet​(Integer limit,
                                             Integer offset,
                                             String xWSO2Tenant,
                                             String query,
                                             String ifNoneMatch)
                                      throws ApiException
        Retrieve/Search APIs and API Documents by Content This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
        Parameters:
        limit - Maximum size of resource array to return. (optional, default to 25)
        offset - Starting point within the complete list of items qualified. (optional, default to 0)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        query - **Search**. You can search by using providing the search term in the query parameters. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)
        Returns:
        SearchResultListDTO
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • searchGetWithHttpInfo

        public ApiResponse<SearchResultListDTO> searchGetWithHttpInfo​(Integer limit,
                                                                      Integer offset,
                                                                      String xWSO2Tenant,
                                                                      String query,
                                                                      String ifNoneMatch)
                                                               throws ApiException
        Retrieve/Search APIs and API Documents by Content This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
        Parameters:
        limit - Maximum size of resource array to return. (optional, default to 25)
        offset - Starting point within the complete list of items qualified. (optional, default to 0)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        query - **Search**. You can search by using providing the search term in the query parameters. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (optional)
        Returns:
        ApiResponse<SearchResultListDTO>
        Throws:
        ApiException - If fail to call the API, e.g. server error or cannot deserialize the response body
      • searchGetAsync

        public okhttp3.Call searchGetAsync​(Integer limit,
                                           Integer offset,
                                           String xWSO2Tenant,
                                           String query,
                                           String ifNoneMatch,
                                           ApiCallback<SearchResultListDTO> _callback)
                                    throws ApiException
        Retrieve/Search APIs and API Documents by Content (asynchronously) This operation provides you a list of available APIs and API Documents qualifying the given keyword match.
        Parameters:
        limit - Maximum size of resource array to return. (optional, default to 25)
        offset - Starting point within the complete list of items qualified. (optional, default to 0)
        xWSO2Tenant - For cross-tenant invocations, this is used to specify the tenant domain, where the resource need to be retrieved from. (optional)
        query - **Search**. You can search by using providing the search term in the query parameters. (optional)
        ifNoneMatch - Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resourec. (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