Search Folder

Both of the methods displayed search in a specified folder and, if selected, the children folders. The top method returns all objects that match. The bottom method attempts to return only one value but if the search is not specific enough it will return an error stating there was more than one item found.

Search Async

Example in C#

// Returns: IEnumerable<BaseInfo>
var baseInfo = await client.SearchAsync(FolderInfo folder, String query, Int32 page, Int32 pageSize, Boolean includeChildFolders, Boolean spanScope, String forTags)

Example in CURL

#General Search
curl -X GET \ https:// keepapi.feenicshosting.com/api/f/ Instance.key?q=YOUR_QUERY &page=0&pageSize=1000&includeChildFolders=False&spanScope=False \ -H 'Authorization: Bearer TOKEN_GOES_HERE'

Search One Async

Example in C#

// Returns: T
var item = await client.SearchOneAsync<T>(FolderInfo folder, String query, Boolean includeChildFolders, Boolean spanScope)

Example in CURL

#Search One
curl -X GET \ https:// keepapi.feenicshosting.com/api/f/ Instance.key?q=YOUR_QUERY&includeChildFolders=True&spanScope=False \ -H 'Authorization: Bearer TOKEN_GOES_HERE'