Call this method to set the sort order for search results. Set the parameter sortKey to the field on which sort is to be done. If the parameter ascending is set to true, the results are displayed in the ascending order. Otherwise, if the parameter ascending is set to false, the results are displayed in the descending order.
assign) int count;
Maximum items to include in a paginated response, for search requests. Required if start is specified.
assign) int page;
Starting point for partial responses, for search requests. Default is 1.
copy) NSString *query;
Contains the text to be searched and supports a number of query fields that allow clients to restrict the search to particular parts of a file’s or folder’s metadata. The query parameter is based on Lucene search query syntax which takes the following format: ￼￼￼￼query=field:value AND field:value AND field:value. Required. Search can be done on the following fields:
file(Set to true to search for files only and to false to search for folders only)