You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lib/managers/search.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -78,6 +78,8 @@ Search.prototype = {
78
78
* @param {SearchMetadataFilter[]} [options.mdfilters] - Searches for objects with a specific metadata object association. Searches with the this parameter do not require a query string
79
79
* @param {int} [options.limit=30] - The number of search results to return, max 200
80
80
* @param {int} [options.offset=0] - The search result at which to start the response, must be a multiple of limit
81
+
* @param {string} [options.sort] - The field on which the results should be sorted, e.g. "modified_at"
82
+
* @param {string} [options.direction] - The sort direction: "ASC" for ascending and "DESC" for descending
81
83
* @param {APIRequest~Callback} [callback] - passed the new comment data if it was posted successfully
82
84
* @returns {Promise<Object>} A promise resolving to the collection of search results
0 commit comments