Table Of Contents
URL: https://fleep.io/api/search
Search for content in fleep
Input:
keywords text -- query - space-separated keyword
conversation_id uuid = null -- limit search to one conversation
need_suggestions bool = false -- request suggestion list
search_types text[] = null -- Do only search in specific areas
topic - topic search only
chat - search in message content
file - search in file names
pin - search in pins
task - search in tasks
subject - search in email subjects
ignore_conversation_ids list -- client side matches
no need to search duplicate matches
Output:
matches list -- Match list, ordered by weight
-- See poll for record definitions
headers list -- List of ChatHeader
suggestions list -- list of strings. contains full 'keywords'
-- where last word is suggested.
ChatHeader:
mk_rec_type text = 'conv'
conversation_id uuid
topic text
hide_message_nr bigint
mk_alert_level text
is_deleted bool
join_message_nr bigint
last_message_nr bigint
URL: https://fleep.io/api/search/suggest
Suggest words.
Input:
keywords text -- query: space-separated keywords
conversation_id uuid = null -- limit search to one conversation
Output:
suggestions list -- List of strings - suggestions are given
-- for last word of 'keywords'.