quickblox 2.15.1 → 2.15.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -14,7 +14,7 @@ function DialogProxy(service) {
14
14
  **/
15
15
  DialogProxy.prototype = {
16
16
  /**
17
- * Retrieve list of dialogs. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Retrieve_list_of_dialogs More info.}
17
+ * Retrieve list of dialogs({@link https://docs.quickblox.com/docs/js-chat-dialogs#retrieve-list-of-dialogs read more}).
18
18
  * @memberof QB.chat.dialog
19
19
  * @param {Object} params - Some filters to get only chat dialogs you need.
20
20
  * @param {listDialogCallback} callback - The callback function.
@@ -22,8 +22,8 @@ DialogProxy.prototype = {
22
22
  list: function(params, callback) {
23
23
  /**
24
24
  * Callback for QB.chat.dialog.list().
25
- * @param {Object} error - The error object
26
- * @param {Object} resDialogs - the dialog list
25
+ * @param {Object} error - The error object.
26
+ * @param {Object} resDialogs - the dialog list.
27
27
  * @callback listDialogCallback
28
28
  * */
29
29
 
@@ -39,7 +39,7 @@ DialogProxy.prototype = {
39
39
  },
40
40
 
41
41
  /**
42
- * Create new dialog. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Create_new_dialog More info.}
42
+ * Create new dialog({@link https://docs.quickblox.com/docs/js-chat-dialogs#create-dialog read more}).
43
43
  * @memberof QB.chat.dialog
44
44
  * @param {Object} params - Object of parameters.
45
45
  * @param {createDialogCallback} callback - The callback function.
@@ -47,8 +47,8 @@ DialogProxy.prototype = {
47
47
  create: function(params, callback) {
48
48
  /**
49
49
  * Callback for QB.chat.dialog.create().
50
- * @param {Object} error - The error object
51
- * @param {Object} createdDialog - the dialog object
50
+ * @param {Object} error - The error object.
51
+ * @param {Object} createdDialog - the dialog object.
52
52
  * @callback createDialogCallback
53
53
  * */
54
54
 
@@ -64,7 +64,7 @@ DialogProxy.prototype = {
64
64
  },
65
65
 
66
66
  /**
67
- * Update group dialog. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Update_group_dialog More info.}
67
+ * Update group dialog({@link https://docs.quickblox.com/docs/js-chat-dialogs#update-dialog read more}).
68
68
  * @memberof QB.chat.dialog
69
69
  * @param {String} id - The dialog ID.
70
70
  * @param {Object} params - Object of parameters.
@@ -73,8 +73,8 @@ DialogProxy.prototype = {
73
73
  update: function(id, params, callback) {
74
74
  /**
75
75
  * Callback for QB.chat.dialog.update()
76
- * @param {Object} error - The error object
77
- * @param {Object} res - the dialog object
76
+ * @param {Object} error - The error object.
77
+ * @param {Object} res - the dialog object.
78
78
  * @callback updateDialogCallback
79
79
  * */
80
80
 
@@ -88,7 +88,7 @@ DialogProxy.prototype = {
88
88
  },
89
89
 
90
90
  /**
91
- * Delete a dialog or dialogs. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Delete_dialog More info.}
91
+ * Delete a dialog or dialogs({@link https://docs.quickblox.com/docs/js-chat-dialogs#delete-dialog read more}).
92
92
  * @memberof QB.chat.dialog
93
93
  * @param {Array} id - The dialog IDs array.
94
94
  * @param {Object | function} params_or_callback - Object of parameters or callback function.
@@ -96,8 +96,8 @@ DialogProxy.prototype = {
96
96
  * */
97
97
  delete: function(id, params_or_callback, callback) {
98
98
  /**
99
- * Callback for QB.chat.dialog.delete()
100
- * @param {Object} error - The error object
99
+ * Callback for QB.chat.dialog.delete().
100
+ * @param {Object} error - The error object.
101
101
  * @callback deleteDialogCallback
102
102
  * */
103
103
 
@@ -14,15 +14,15 @@ function MessageProxy(service) {
14
14
  **/
15
15
  MessageProxy.prototype = {
16
16
  /**
17
- * get a chat history. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#List_chat_messages More info.}
17
+ * Get a chat history({@link https://docs.quickblox.com/docs/js-chat-messaging#retrieve-chat-history read more}).
18
18
  * @memberof QB.chat.message
19
19
  * @param {Object} params - Object of parameters.
20
20
  * @param {listMessageCallback} callback - The callback function.
21
21
  * */
22
22
  list: function(params, callback) {
23
23
  /**
24
- * Callback for QB.chat.message.list()
25
- * @param {Object} error - The error object
24
+ * Callback for QB.chat.message.list().
25
+ * @param {Object} error - The error object.
26
26
  * @param {Object} messages - The messages object.
27
27
  * @callback listMessageCallback
28
28
  * */
@@ -34,15 +34,15 @@ MessageProxy.prototype = {
34
34
  },
35
35
 
36
36
  /**
37
- * Create message. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Put_chat_messages_to_history More info.}
37
+ * Create message.
38
38
  * @memberof QB.chat.message
39
39
  * @param {Object} params - Object of parameters.
40
40
  * @param {createMessageCallback} callback - The callback function.
41
41
  * */
42
42
  create: function(params, callback) {
43
43
  /**
44
- * Callback for QB.chat.message.create()
45
- * @param {Object} error - The error object
44
+ * Callback for QB.chat.message.create().
45
+ * @param {Object} error - The error object.
46
46
  * @param {Object} messages - The message object.
47
47
  * @callback createMessageCallback
48
48
  * */
@@ -55,19 +55,19 @@ MessageProxy.prototype = {
55
55
  },
56
56
 
57
57
  /**
58
- * Update message. {@link https://docsdev.quickblox.com/rest_api/Chat_API.html#Update_message More info.}
58
+ * Update message({@link https://docs.quickblox.com/docs/js-chat-messaging#update-message read more}).
59
59
  * @memberof QB.chat.message
60
60
  * @param {String} id - The message id.
61
- * @param {Object} params - Object of parameters
62
- * @param {Number} [params.read] - Mark message as read (read=1)
63
- * @param {Number} [params.delivered] - Mark message as delivered (delivered=1)
64
- * @param {String} [params.message] - The message's text
65
- * @param {updateMessageCallback} callback - The callback function
61
+ * @param {Object} params - Object of parameters.
62
+ * @param {Number} [params.read] - Mark message as read (read=1).
63
+ * @param {Number} [params.delivered] - Mark message as delivered (delivered=1).
64
+ * @param {String} [params.message] - The message's text.
65
+ * @param {updateMessageCallback} callback - The callback function.
66
66
  * */
67
67
  update: function(id, params, callback) {
68
68
  /**
69
- * Callback for QB.chat.message.update()
70
- * @param {Object} error - The error object
69
+ * Callback for QB.chat.message.update().
70
+ * @param {Object} error - The error object.
71
71
  * @param {Object} response - Empty body.
72
72
  * @callback updateMessageCallback
73
73
  * */
@@ -83,7 +83,7 @@ MessageProxy.prototype = {
83
83
  },
84
84
 
85
85
  /**
86
- * Delete message. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Delete_chat_messages More info.}
86
+ * Delete message({@link https://docs.quickblox.com/docs/js-chat-messaging#delete-message read more}).
87
87
  * @memberof QB.chat.message
88
88
  * @param {String} id - The message id.
89
89
  * @param {Object} params - Object of parameters.
@@ -91,7 +91,7 @@ MessageProxy.prototype = {
91
91
  * */
92
92
  delete: function(id, params_or_callback, callback) {
93
93
  /**
94
- * Callback for QB.chat.message.delete()
94
+ * Callback for QB.chat.message.delete().
95
95
  * @param {Object} error - The error object.
96
96
  * @param {String} res - Empty string.
97
97
  * @callback deleteMessageCallback
@@ -113,14 +113,14 @@ MessageProxy.prototype = {
113
113
  },
114
114
 
115
115
  /**
116
- * Get unread messages counter for one or group of dialogs. {@link https://quickblox.com/developers/Web_XMPP_Chat_Sample#Unread_messages_count More info.}
116
+ * Get unread messages counter for one or group of dialogs({@link https://docs.quickblox.com/docs/js-chat-dialogs#get-number-of-unread-messages read more}).
117
117
  * @memberof QB.chat.message
118
118
  * @param {Object} params - Object of parameters.
119
119
  * @param {unreadCountMessageCallback} callback - The callback function.
120
120
  * */
121
121
  unreadCount: function(params, callback) {
122
122
  /**
123
- * Callback for QB.chat.message.unreadCount()
123
+ * Callback for QB.chat.message.unreadCount().
124
124
  * @param {Object} error - The error object.
125
125
  * @param {Object} res - The requested dialogs Object.
126
126
  * @callback unreadCountMessageCallback
@@ -16,7 +16,7 @@ AddressBook.prototype = {
16
16
  * The method is used to create, update and delete contacts in address book.<br />
17
17
  * If contact doesn't exist in address book then it will be created. If contacts exists then it will be updated.
18
18
  * If pass 'destroy: 1' then the contact will be removed.<br />
19
- * {@link https://quickblox.com/developers/AddressBook Found more here}. <br />
19
+ * {@link https://docs.quickblox.com/docs/js-address-book#upload-address-book Found more here}. <br />
20
20
  * The method accepts 2 or 3 parameters.
21
21
  * @memberof QB.addressbook
22
22
  * @param {Object[]} list - A list of contacts to create / update / delete.
@@ -25,7 +25,7 @@ AddressBook.prototype = {
25
25
  * If not - it means a user has one global address book across all his devices.
26
26
  * @param {number} [options.force] - Defines force rewrite mode.
27
27
  * If set 1 then all previous contacts for device context will be replaced by new ones.
28
- * @param {Function} callback - The savedAddressBookCallback function
28
+ * @param {Function} callback - The savedAddressBookCallback function.
29
29
  *
30
30
  * @example
31
31
  * var people = [{
@@ -103,7 +103,7 @@ AddressBook.prototype = {
103
103
  },
104
104
 
105
105
  /**
106
- * Retrive all contacts from address book.
106
+ * Retrive all contacts from address book({@link https://docs.quickblox.com/docs/js-address-book#retrieve-address-book read more}).
107
107
  * The method accepts 1 or 2 parameters.
108
108
  * @memberof QB.addressbook
109
109
  * @param {string|function} udidOrCallback - You could pass udid of address book or
@@ -166,7 +166,7 @@ AddressBook.prototype = {
166
166
  },
167
167
 
168
168
  /**
169
- * Retrieve QuickBlox users that have phone numbers from your address book.
169
+ * Retrieve QuickBlox users that have phone numbers from your address book({@link https://docs.quickblox.com/docs/js-address-book#retrieve-registered-users read more}).
170
170
  * The methods accepts 1 or 2 parameters.
171
171
  * @memberof QB.addressbook
172
172
  * @param {boolean|function} udidOrCallback - You can pass isCompact parameter or callback object. If isCompact is passed then only user's id and phone fields will be returned from server. Otherwise - all standard user's fields will be returned.
@@ -28,19 +28,19 @@ function ContentProxy(service) {
28
28
 
29
29
  ContentProxy.prototype = {
30
30
  /**
31
- * Get a list of files for current user ({@link https://docsdev.quickblox.com/rest_api/Content_API.html#Retrieve_files read more})
31
+ * Get a list of files for current user({@link https://docs.quickblox.com/docs/js-content#retrieve-files read more}).
32
32
  * @memberof QB.content
33
- * @param {object} params - Object of parameters
34
- * @param {number} [params.page=1] - Used to paginate the results when more than one page of files retrieved
35
- * @param {number} [params.per_page=10] - The maximum number of files to return per page, if not specified then the default is 10
36
- * @param {listOfFilesCallback} callback - The listOfFilesCallback function
33
+ * @param {object} params - Object of parameters.
34
+ * @param {number} [params.page=1] - Used to paginate the results when more than one page of files retrieved.
35
+ * @param {number} [params.per_page=10] - The maximum number of files to return per page, if not specified then the default is 10.
36
+ * @param {listOfFilesCallback} callback - The listOfFilesCallback function.
37
37
  */
38
38
  list: function(params, callback) {
39
39
  /**
40
- * Callback for QB.content.list(params, callback)
40
+ * Callback for QB.content.list(params, callback).
41
41
  * @callback listOfFilesCallback
42
- * @param {object} error - The error object
43
- * @param {object} response - Object with Array of files
42
+ * @param {object} error - The error object.
43
+ * @param {object} response - Object with Array of files.
44
44
  */
45
45
  if (typeof params === 'function' && typeof callback === 'undefined') {
46
46
  callback = params;
@@ -57,21 +57,21 @@ ContentProxy.prototype = {
57
57
  },
58
58
 
59
59
  /**
60
- * Create new file object ({@link https://docsdev.quickblox.com/rest_api/Content_API.html#Create_file read more})
60
+ * Create new file object.
61
61
  * @private
62
62
  * @memberof QB.content
63
- * @param {object} params - Object of parameters
64
- * @param {string} params.content_type - The file's mime ({@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types content type})
65
- * @param {string} params.name - The file's name
66
- * @param {boolean} [params.public=false] - The file's visibility. public means it will be possible to access this file without QuickBlox session token provided. Default is 'false'
67
- * @param {createFileCallback} callback - The createFileCallback function
63
+ * @param {object} params - Object of parameters.
64
+ * @param {string} params.content_type - The file's mime({@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types content type}).
65
+ * @param {string} params.name - The file's name.
66
+ * @param {boolean} [params.public=false] - The file's visibility. public means it will be possible to access this file without QuickBlox session token provided. Default is 'false'.
67
+ * @param {createFileCallback} callback - The createFileCallback function.
68
68
  */
69
69
  create: function(params, callback) {
70
70
  /**
71
- * Callback for QB.content.create(params, callback)
71
+ * Callback for QB.content.create(params, callback).
72
72
  * @callback createFileCallback
73
- * @param {object} error - The error object
74
- * @param {object} response - The file object (blob-object-access)
73
+ * @param {object} error - The error object.
74
+ * @param {object} response - The file object (blob-object-access).
75
75
  */
76
76
  this.service.ajax({
77
77
  type: 'POST',
@@ -87,17 +87,17 @@ ContentProxy.prototype = {
87
87
  },
88
88
 
89
89
  /**
90
- * Delete file by id ({@link https://docsdev.quickblox.com/rest_api/Content_API.html#Delete_file read more})
90
+ * Delete file by id({@link https://docs.quickblox.com/docs/js-content#delete-file read more}).
91
91
  * @memberof QB.content
92
- * @param {Number} id - blob_id
92
+ * @param {Number} id - blob_id.
93
93
  * @param {deleteFileCallback} callback - The deleteFileCallback function.
94
94
  */
95
95
  delete: function(id, callback) {
96
96
  /**
97
- * Callback for QB.content.delete(id, callback)
97
+ * Callback for QB.content.delete(id, callback).
98
98
  * @callback deleteFileCallback
99
- * @param {object} error - The error object
100
- * @param {object} response - Boolean
99
+ * @param {object} error - The error object.
100
+ * @param {object} response - Boolean.
101
101
  */
102
102
  this.service.ajax({url: Utils.getUrl(config.urls.blobs, id), type: 'DELETE', dataType: 'text'}, function(err, result) {
103
103
  if (err) {
@@ -109,22 +109,22 @@ ContentProxy.prototype = {
109
109
  },
110
110
 
111
111
  /**
112
- * Create file > upload file > mark file as uploaded > return result.
112
+ * Create file > upload file > mark file as uploaded > return result({@link https://docs.quickblox.com/docs/js-content#upload-file read more}).
113
113
  * @memberof QB.content
114
- * @param {object} params - Object of parameters
115
- * @param {object} params.file - File object
116
- * @param {string} params.name - The file's name
117
- * @param {string} params.type - The file's mime ({@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types content type})
118
- * @param {number} params.size - Size of file, in bytes
119
- * @param {boolean} [params.public=false] - The file's visibility. public means it will be possible to access this file without QuickBlox session token provided. Default is 'false'
120
- * @param {createAndUploadFileCallback} callback - The createAndUploadFileCallback function
114
+ * @param {object} params - Object of parameters.
115
+ * @param {object} params.file - File object.
116
+ * @param {string} params.name - The file's name.
117
+ * @param {string} params.type - The file's mime ({@link https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/MIME_types/Complete_list_of_MIME_types content type}).
118
+ * @param {number} params.size - Size of file, in bytes.
119
+ * @param {boolean} [params.public=false] - The file's visibility. public means it will be possible to access this file without QuickBlox session token provided. Default is 'false'.
120
+ * @param {createAndUploadFileCallback} callback - The createAndUploadFileCallback function.
121
121
  */
122
122
  createAndUpload: function(params, callback) {
123
123
  /**
124
124
  * Callback for QB.content.createAndUpload(params, callback).
125
125
  * @callback createAndUploadFileCallback
126
- * @param {object} error - The error object
127
- * @param {object} response - The file object (blob-object-access)
126
+ * @param {object} error - The error object.
127
+ * @param {object} response - The file object (blob-object-access).
128
128
  */
129
129
  var _this = this,
130
130
  createParams= {},
@@ -197,20 +197,20 @@ ContentProxy.prototype = {
197
197
  },
198
198
 
199
199
  /**
200
- * Upload a file to cloud storage ({@link https://docsdev.quickblox.com/rest_api/Content_API.html#Upload_file read more})
200
+ * Upload a file to cloud storage.
201
201
  * @private
202
202
  * @memberof QB.content
203
- * @param {Object} params - Object of parameters (see into source code of QB.content.createAndUpload(params, callback) to know how to prepare the params object)
204
- * @param {string} params.url - location url
205
- * @param {object} params.data - formed data with file
206
- * @param {uploadFileCallback} callback - The uploadFileCallback function
203
+ * @param {Object} params - Object of parameters (see into source code of QB.content.createAndUpload(params, callback) to know how to prepare the params object).
204
+ * @param {string} params.url - File url.
205
+ * @param {object} params.data - Formed data with file.
206
+ * @param {uploadFileCallback} callback - The uploadFileCallback function.
207
207
  */
208
208
  upload: function(params, callback) {
209
209
  /**
210
- * Callback for QB.content.upload(params, callback)
210
+ * Callback for QB.content.upload(params, callback).
211
211
  * @callback uploadFileCallback
212
- * @param {object} error - The error object
213
- * @param {object} response - The empty object
212
+ * @param {object} error - The error object.
213
+ * @param {object} response - The empty object.
214
214
  */
215
215
  var uploadParams = {
216
216
  type: 'POST',
@@ -230,20 +230,20 @@ ContentProxy.prototype = {
230
230
  },
231
231
 
232
232
  /**
233
- * Declare file uploaded. The file's 'status' field will be set to 'complete' ({@link https://docsdev.quickblox.com/rest_api/Content_API.html#Declare_file_uploaded read more})
233
+ * Declare file uploaded. The file's 'status' field will be set to 'complete'.
234
234
  * @private
235
235
  * @memberof QB.content
236
- * @param {object} params - Object of parameters
237
- * @param {number} params.blob_id - The id of file to declare as uploaded
238
- * @param {number} params.size - Size of file, in bytes
239
- * @param {markUploadedFileCallback} callback - The markUploadedFileCallback function
236
+ * @param {object} params - Object of parameters.
237
+ * @param {number} params.blob_id - The id of file to declare as uploaded.
238
+ * @param {number} params.size - Size of file, in bytes.
239
+ * @param {markUploadedFileCallback} callback - The markUploadedFileCallback function.
240
240
  */
241
241
  markUploaded: function (params, callback) {
242
242
  /**
243
- * Callback for QB.content.markUploaded(params, callback)
243
+ * Callback for QB.content.markUploaded(params, callback).
244
244
  * @callback markUploadedFileCallback
245
- * @param {object} error - The error object
246
- * @param {object} response - The empty body
245
+ * @param {object} error - The error object.
246
+ * @param {object} response - The empty body.
247
247
  */
248
248
  this.service.ajax({
249
249
  url: Utils.getUrl(config.urls.blobs, params.id + '/complete'),
@@ -262,17 +262,17 @@ ContentProxy.prototype = {
262
262
  },
263
263
 
264
264
  /**
265
- * Retrieve file object by id (@link https://docsdev.quickblox.com/rest_api/Content_API.html#Retrieve_file read more})
265
+ * Retrieve file object info by id({@link https://docs.quickblox.com/docs/js-content#get-file-info read more}).
266
266
  * @memberof QB.content
267
- * @param {number} id - The id of file to declare as uploaded
267
+ * @param {number} id - File object id.
268
268
  * @param {getFileInfoByIdCallback} callback - The getFileInfoByIdCallback function return file's object.
269
269
  */
270
270
  getInfo: function (id, callback) {
271
271
  /**
272
- * Callback for QB.content.getInfo(id, callback)
272
+ * Callback for QB.content.getInfo(id, callback).
273
273
  * @callback getFileInfoByIdCallback
274
- * @param {object} error - The error object
275
- * @param {object} response - The file object (blob-object-access)
274
+ * @param {object} error - The error object.
275
+ * @param {object} response - The file object (blob-object-access).
276
276
  */
277
277
  this.service.ajax({url: Utils.getUrl(config.urls.blobs, id)}, function (err, res) {
278
278
  if (err) {
@@ -284,17 +284,17 @@ ContentProxy.prototype = {
284
284
  },
285
285
 
286
286
  /**
287
- * Download file by UID. If the file is public then it's possible to download it without a session token (@link https://docsdev.quickblox.com/rest_api/Content_API.html#Download_file read more})
287
+ * Download file by UID. If the file is public then it's possible to download it without a session token({@link https://docs.quickblox.com/docs/js-content#download-file-by-uid read more}).
288
288
  * @memberof QB.content
289
- * @param {String} uid - The uid of file to declare as uploaded
290
- * @param {downloadFileByUIDCallback} callback - The downloadFileByUIDCallback function
289
+ * @param {String} uid - File object uid.
290
+ * @param {downloadFileByUIDCallback} callback - The downloadFileByUIDCallback function.
291
291
  */
292
292
  getFile: function (uid, callback) {
293
293
  /**
294
- * Callback for QB.content.getFile(uid, callback)
294
+ * Callback for QB.content.getFile(uid, callback).
295
295
  * @callback downloadFileByUIDCallback
296
- * @param {object} error - The error object
297
- * @param {object} response - The file object
296
+ * @param {object} error - The error object.
297
+ * @param {object} response - The file object.
298
298
  */
299
299
  this.service.ajax({url: Utils.getUrl(config.urls.blobs, uid)}, function (err, res) {
300
300
  if (err) {
@@ -306,19 +306,19 @@ ContentProxy.prototype = {
306
306
  },
307
307
 
308
308
  /**
309
- * Edit a file by ID ({@link https://docsdev.quickblox.com/rest_api/Content_API.html#Download_file read more})
309
+ * Edit a file by ID({@link https://docs.quickblox.com/docs/js-content#update-file read more}).
310
310
  * @memberof QB.content
311
- * @param {object} params - Object of parameters
312
- * @param {number} params.id - The id of file to declare as uploaded
313
- * @param {string} [params.name] - New file name
314
- * @param {updateFileCallback} callback - The updateFileCallback function
311
+ * @param {object} params - Object of parameters.
312
+ * @param {number} params.id - File object id.
313
+ * @param {string} [params.name] - New file name.
314
+ * @param {updateFileCallback} callback - The updateFileCallback function.
315
315
  */
316
316
  update: function (params, callback) {
317
317
  /**
318
- * Callback for QB.content.update(uid, callback)
318
+ * Callback for QB.content.update(uid, callback).
319
319
  * @callback updateFileCallback
320
- * @param {object} error - The error object
321
- * @param {object} response - The file object (blob-object-access)
320
+ * @param {object} error - The error object.
321
+ * @param {object} response - The file object (blob-object-access).
322
322
  */
323
323
  var data = {};
324
324
 
@@ -338,18 +338,18 @@ ContentProxy.prototype = {
338
338
  },
339
339
 
340
340
  /**
341
- * Get private URL for file download by file_uid (blob_uid).
341
+ * Get private URL for file download by file_uid (blob_uid) ({@link https://docs.quickblox.com/docs/js-content#get-private-url read more}).
342
342
  * @memberof QB.content
343
- * @param {String} fileUID - The uid of file to declare as uploaded
343
+ * @param {String} fileUID - File object id.
344
344
  */
345
345
  privateUrl: function (fileUID) {
346
346
  return "https://" + config.endpoints.api + "/blobs/" + fileUID + "?token=" + this.service.getSession().token;
347
347
  },
348
348
 
349
349
  /**
350
- * Get public URL for file download by file_uid (blob_uid).
350
+ * Get public URL for file download by file_uid (blob_uid) ({@link https://docs.quickblox.com/docs/js-content#get-public-url read more}).
351
351
  * @memberof QB.content
352
- * @param {String} fileUID - The uid of file to declare as uploaded
352
+ * @param {String} fileUID - File object id.
353
353
  */
354
354
  publicUrl: function (fileUID) {
355
355
  return "https://" + config.endpoints.api + "/blobs/" + fileUID;