Skip to content

Instantly share code, notes, and snippets.

@zengfenfei
Created May 22, 2017 07:45
Show Gist options
  • Save zengfenfei/6e94afe97fb6b1aa370d8254f37624fe to your computer and use it in GitHub Desktop.
Save zengfenfei/6e94afe97fb6b1aa370d8254f37624fe to your computer and use it in GitHub Desktop.
// Builds the url: '/account/theAccountId/extension', and make a GET request to it
rc.account("theAccountId").extension().list().then(function (extensions) {
console.log("The list of extension info", extensions.records);
}).catch(function (e) {
console.error("Get extension list error", e);
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment