Class SearchAPI


  • public class SearchAPI
    extends BaseAPI
    This API makes it possible to search across Podio.
    • Constructor Detail

    • Method Detail

      • searchInApp

        public SearchInAppResponse searchInApp​(int appId,
                                               String query,
                                               Boolean counts,
                                               Boolean highlights,
                                               Integer limit,
                                               Integer offset,
                                               ReferenceTypeSearchInApp refType,
                                               String searchFields)
        Searches in all items, files, and tasks in the application. The objects will be returned sorted descending by the time the object had any update.
        Parameters:
        appId - The id of the app to be searched in
        query - The text to search for
        limit - The number of results to return; up to 20 results are returned in one call.
        offset - The rank of the first search result to return (default=0)
        refType - The type of objects to search for
        counts - True if the total counts should be returned
        highlights - True if the highlights for each result should be returned, false otherwise.
        searchFields - The list of fields to search in. Can f.ex. be used to limit the search to the "title" field.
        Returns:
        All items