Optional
contentOptional
mayIs it OK to create a new version of this course? If this is set to false and the course already exists, the upload will fail. If true and the course already exists then a new version will be created. No effect if the course doesn't already exist. Default value : false
Optional
postbackAn optional parameter that specifies a URL to send a postback to when the course has finished uploading.
Optional
scopeThe auth scope to use for the given method invocation
Optional
uploadedWhile this option is available in the official API, it's currently unsupported on this client and setting it will have no effect. The client automatically determines the content type of the file by inspecting the file name suffix (zip, pdf, mp3 or mp4) and then setting the option internally. It will throw an error if the file is not one of these types. In future, if required, this automatic 'check and set' might be removed, allowing users of the client to handle it manually instead, and thus enabling this property for use.
Optional
waitShould the function wait for the upload to finish and then return? Use with caution with larger uploads. When waiting for the result, the response returned will include the ImportJobResult, otherwise a separate call is necessary to retrieve this result once the upload is complete.
Generated using TypeDoc
Serialized 'mediaFileMetadata' schema