Class UnifiedSearchApi
java.lang.Object
org.wso2.am.integration.clients.publisher.api.v1.UnifiedSearchApi
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRetrieve/Search APIs and API Documents by Content This operation provides you a list of available APIs and API Documents qualifying the given keyword match.okhttp3.CallsearchAsync(Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback<SearchResultListDTO> _callback) 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.okhttp3.CallsearchCall(Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback _callback) Build call for searchsearchWithHttpInfo(Integer limit, Integer offset, String query, String ifNoneMatch) 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.voidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
UnifiedSearchApi
public UnifiedSearchApi() -
UnifiedSearchApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
searchCall
public okhttp3.Call searchCall(Integer limit, Integer offset, String query, String ifNoneMatch, ApiCallback _callback) throws ApiException Build call for search- 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)query- **Search**. You can search by proving a keyword. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)_callback- Callback for upload/download progress- Returns:
- Call to execute
- Throws:
ApiException- If fail to serialize the request body object
-
search
public SearchResultListDTO search(Integer limit, Integer offset, 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)query- **Search**. You can search by proving a keyword. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- SearchResultListDTO
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
searchWithHttpInfo
public ApiResponse<SearchResultListDTO> searchWithHttpInfo(Integer limit, Integer offset, 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)query- **Search**. You can search by proving a keyword. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (optional)- Returns:
- ApiResponse<SearchResultListDTO>
- Throws:
ApiException- If fail to call the API, e.g. server error or cannot deserialize the response body
-
searchAsync
public okhttp3.Call searchAsync(Integer limit, Integer offset, 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)query- **Search**. You can search by proving a keyword. (optional)ifNoneMatch- Validator for conditional requests; based on the ETag of the formerly retrieved variant of the resource. (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
-