Calling IO3D.services
results in:
Uncaught (in promise) TypeError: Cannot read property 'call' of undefined
version: https://3d.io 1.0.0-beta.22 (@master #274adf0 2017/08/02 10:16)
What i tried:
IO3D.services.call('Model.search', {
arguments: {
organizationResourceId: <my_organisationResourceId>,
folderResourceName: '<my_folder_name>',
},
}).then(console.log)
So is the services-api not available yet?
to call APIs directly use:
IO3D.utils.services.call( )
sample on jsfiddle: https://jsfiddle.net/0f6n8wp0/
services.call function in the library: https://github.com/archilogic-com/3dio-js/blob/master/src/utils.js#L24