Skip to content

Commit

Permalink
Introduce a new endpoint 'find-terms'.
Browse files Browse the repository at this point in the history
  • Loading branch information
csavelief committed Dec 22, 2023
1 parent c8c6fb2 commit d8baa8b
Show file tree
Hide file tree
Showing 7 changed files with 40 additions and 4 deletions.
12 changes: 12 additions & 0 deletions dist/cjs/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/cjs/main.js.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions dist/esm/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/esm/main.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/main.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main.min.js.map

Large diffs are not rendered by default.

12 changes: 12 additions & 0 deletions src/platform.js
Original file line number Diff line number Diff line change
Expand Up @@ -262,6 +262,18 @@ platform.HttpClient = function () {
});
}

/**
* Call the `find-terms` platform endpoint.
*
* @param params the request payload.
* @return {Promise<Object>} the platform response.
*/
this.findTerms = function (params) {
return this.fetch({
jsonrpc: '2.0', id: Date.now(), method: 'find-terms', params: params
});
}

/**
* Sink a single event.
*
Expand Down

0 comments on commit d8baa8b

Please sign in to comment.