Skip to content

Commit 330fa03

Browse files
change method signature and added documentation
1 parent 27b7c16 commit 330fa03

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

services/document-conversion/v1-experimental.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,6 +122,7 @@ DocumentConversion.prototype.getBatch = function(params, callback) {
122122

123123
/**
124124
* Updates an existing batch
125+
* @param {String} batch_id the batch identifier
125126
*
126127
*/
127128
DocumentConversion.prototype.updateBatch = function(params, callback) {
@@ -150,6 +151,7 @@ DocumentConversion.prototype.updateBatch = function(params, callback) {
150151
/**
151152
* Gets a list of existing documents in the batch
152153
*
154+
* @param {String} batch_id the batch identifier
153155
*/
154156
DocumentConversion.prototype.getBatchDocuments = function(params, callback) {
155157

@@ -182,7 +184,6 @@ function fixupContentType(params) {
182184
}
183185
}
184186

185-
186187
/**
187188
* One-off convert an attached document OR convert a previously uploaded document by ID
188189
*
@@ -231,7 +232,7 @@ DocumentConversion.prototype.convert = function(params, callback) {
231232
*
232233
* @param {ReadableStream} params.file The document file to convert.
233234
*/
234-
DocumentConversion.prototype.upload = function(params, callback) {
235+
DocumentConversion.prototype.uploadDocument = function(params, callback) {
235236
params = params || {};
236237

237238
if (!params.file) {

0 commit comments

Comments
 (0)