Brightsign Network Web API Reference Manual v.3.8 Manual de usuario Pagina 35

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 138
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 34
Parameters
[string] uploadToken: The token of the upload that was initialized by the StartFileUpload() or
StartWebPageUpload() method. A descriptive error is returned if the string value is empty or not specified.
[string] sessionToken: The token of the upload session initialized by the StartWebPageUpload() method.
This token should only be provided if the client is uploading a set of webpage assets.
[int] partNumber: The number of the part, starting from 0.
[base64Binary] data: The binary data of the file chunk.
[long] offset: The offset of the current file chunk. The first chunk has an offset of 0. A descriptive error is
returned if the offset value is not positive.
ContentUploadStatus CompleteFileUpload(string uploadToken, string sessionToken, string
filename, long filesize, int chunksCount, enum ContentType, dateTime fileLastModifiedDate,
string virtualPath, base64Binary fileThumb, string sha1Hash)
Description
Returns the Content ID of the uploaded file if file upload is successful. Otherwise, it returns a descriptive error. If a
specified parameter is different between the StartFileUpload() and CompleteFileUpload() calls on a file, the
specification in the CompleteFileUpload() call will overwrite the original StartFileUpload() specification.
Required Permissions
Content: Upload Content
Parameters
[string] uploadToken: The token of the upload that was initialized by the StartFileUpload() method. A
descriptive error is returned if the string value is empty or not specified.
[string] sessionToken: The token of the upload session initialized by the StartWebPageUpload() method.
This token should only be provided if the client is uploading a set of webpage assets.
[string] filename: The name of the uploaded file. A descriptive error will be returned if any of the following
conditions occur:
Vista de pagina 34
1 2 ... 30 31 32 33 34 35 36 37 38 39 40 ... 137 138

Comentarios a estos manuales

Sin comentarios