Returns the details for an import.
Signature:
Disqus#imports.details(options[, cb])
Usage:
// Node-style
disqus.imports.details({
forum: '',
group: '',
api_secret: 'asdfghkj', // can be set globally
access_token: '12345678' // can be set globally
}, function (err, result) {...})
// Promise-style
disqus.imports.details({
forum: '',
group: ''
})
.then(function (result) {...})
.catch(function (err) {...})
.error(function (err) {...});
Returns a list of all imports.
Signature:
Disqus#imports.list(options[, cb])
Usage:
// Node-style
disqus.imports.list({
forum: 'forumId',
// defaults shown
cursor: null
}, function (err, result) {...})
// Promise-style
disqus.imports.list({
forum: '',
api_secret: 'asdfghkj', // can be set globally
access_token: '12345678', // can be set globally
// defaults shown
cursor: null
})
.then(function (result) {...})
.catch(function (err) {...})
.error(function (err) {...});
Up one level
Imports API
See the disqus-node Imports CLI.
See the Imports API on Disqus.com.