src/modules/qbContent.js
function (id, callback) {
        /**
         * Callback for QB.content.getInfo(id, callback)
         * @callback getFileInfoByIdCallback
         * @param {object} error - The error object
         * @param {object} response - The file object (blob-object-access)
         */
        this.service.ajax({url: Utils.getUrl(config.urls.blobs, id)}, function (err, res) {
            if (err) {
                callback (err, null);
            } else {
                callback (null, res);
            }
        });
    }
function (id, callback) {
        /**
         * Callback for QB.content.getInfo(id, callback)
         * @callback getFileInfoByIdCallback
         * @param {object} error - The error object
         * @param {object} response - The file object (blob-object-access)
         */
        this.service.ajax({url: Utils.getUrl(config.urls.blobs, id)}, function (err, res) {
            if (err) {
                callback (err, null);
            } else {
                callback (null, res);
            }
        });
    }
function ( id , callback ) { /**
         * Callback for QB.content.getInfo(id, callback)
         * @callback getFileInfoByIdCallback
         * @param {object} error - The error object
         * @param {object} response - The file object (blob-object-access)
         */ this . service . ajax ( { url : Utils . getUrl ( config . urls . blobs , id ) } , function ( err , res ) { if ( err ) { callback ( err , null ) ; } else { callback ( null , res ) ; } } ) ; }
Retrieve file object by id (@link https://docsdev.quickblox.com/rest_api/Content_API.html#Retrieve_file read more})
@memberof QB.content
@param {number} id - The id of file to declare as uploaded
@param {getFileInfoByIdCallback} callback - The getFileInfoByIdCallback function return file's object.
Retrieve file object by id (