Skip to content

Commit 9106c92

Browse files
Merge pull request #126 from mitflow/dev
Added search parameter
2 parents bed02c8 + b27346e commit 9106c92

File tree

8 files changed

+299
-277
lines changed

8 files changed

+299
-277
lines changed

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -222,6 +222,17 @@ client
222222
})
223223
````
224224

225+
### $search
226+
Pass a search string to `.search()` for searching message and person collections.
227+
````js
228+
client
229+
.api("/users")
230+
.search("Irene McGowen")
231+
.get((err, res) => {
232+
console.log(res)
233+
})
234+
````
235+
225236
## Other API methods
226237

227238
### .version()

lib/graph-js-sdk-core.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/graph-js-sdk-web.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/GraphRequest.d.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ export declare class GraphRequest {
2525
select(properties: string | string[]): GraphRequest;
2626
expand(properties: string | string[]): GraphRequest;
2727
orderby(properties: string | string[]): GraphRequest;
28+
search(searchStr: string): GraphRequest;
2829
filter(filterStr: string): GraphRequest;
2930
top(n: number): GraphRequest;
3031
skip(n: number): GraphRequest;

lib/src/GraphRequest.js

Lines changed: 4 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

lib/src/GraphRequest.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)