Skip to content

Commit 057c0b0

Browse files
authored
Merge pull request #41 from myDevicesIoT/feat/searchIntegrations
feat: search integrations
2 parents f643360 + d05a1c8 commit 057c0b0

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

lib/Services/cayenne.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -814,6 +814,18 @@ class Cayenne extends Request {
814814
return this.send('GET', path, { query });
815815
}
816816

817+
/**
818+
* Searches all integrations
819+
* @param {Object} query
820+
* @param {Number} [query.limit]
821+
* @param {Number} [query.page]
822+
* @param {string} [query.query]
823+
*/
824+
searchIntegrations(query) {
825+
const path = `/integrations/search`;
826+
return this.send('GET', path, { query });
827+
}
828+
817829
/**
818830
* Gets an integration by id
819831
* @param {string} integrationId

0 commit comments

Comments
 (0)