-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Mesh network management API #98
Conversation
[ch28309] |
Nice work @sergeuz. Good to see you in JavaScript land! I noticed a few |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added info on how to do pagination
src/Particle.js
Outdated
* @return {Promise<Object>} | ||
*/ | ||
listMeshNetworks({ auth, context }) { | ||
// TODO: Pagination |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pagination is supported with ?page=1&per_page=1
src/Particle.js
Outdated
* @return {Promise<Object>} | ||
*/ | ||
listMeshNetworkDevices({ networkId, auth, context }) { | ||
// TODO: Pagination and filtering |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Filtering and pagination is supported through ?page=2&per_page=1&role=node
Go ahead and merge when you are ready |
This PR implements a set of API functions for mesh network management.