cms-api-client
v2020.10.26
Published
Cisco Meeting Server API client library
Downloads
2
Readme
cms-api-client
This is a JavaScript client for the Cisco Meeting Server API (currently built against v2.2 of the CMS API).
Functions
Currently this library can create a Space, list Spaces with pagination, and list all Spaces.
Usage
const CmsClient = require('cms-api-client')
let client = new CmsClient({
url: 'https://cms.mydomain.com:445/api/v1',
username: 'api',
password: 'pa$$w0rd'
})
client.spaces.create({
name: 'Jane Smith',
email: '[email protected]',
uri: 'jsmith',
secondaryUri: '5551112222',
callId: '5551112222',
passcode: '123456'
})
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
})
client.spaces.listAll()
.then(response => {
console.log(response)
})
.catch(error => {
console.log(error)
})