We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ee70e0e + f6aa5d2 commit 53acc9fCopy full SHA for 53acc9f
lib/Services/cayenne.js
@@ -161,6 +161,18 @@ class Cayenne extends Request {
161
return this.send('GET', path, { query });
162
}
163
164
+ /**
165
+ * Gets all attribute groups and attributes for a user and app
166
+ * @param {string} applicationId
167
+ * @param {string} userId The user id of the user that owns the parent device
168
+ * @param {Object} query
169
+ */
170
+ getAllAttributeGroups(applicationId, userId, query) {
171
+ const path = `/things/groups`;
172
+ query = this.setTenant(applicationId, userId);
173
+ return this.send('GET', path, { query });
174
+ }
175
+
176
/**
177
* Delete all groups and attributes for a user
178
* @param {string} applicationId
0 commit comments