1.2 KiB
1.2 KiB
PostData Object
typeString - One of the following:rawData- The data is available as aBuffer, in therawDatafield.file- The object represents a file. ThefilePath,offset,lengthandmodificationTimefields will be used to describe the file.blob- The object represents aBlob. TheblobUUIDfield will be used to describe theBlob.
bytesString (optional) - The raw bytes of the post data in aBuffer. Required for therawDatatype.filePathString (optional) - The path of the file being uploaded. Required for thefiletype.blobUUIDString (optional) - TheUUIDof theBlobbeing uploaded. Required for theblobtype.offsetInteger (optional) - The offset from the beginning of the file being uploaded, in bytes. Only valid forfiletypes.lengthInteger (optional) - The length of the file being uploaded, in bytes. If set to-1, the whole file will be uploaded. Only valid forfiletypes.modificationTimeDouble (optional) - The modification time of the file represented by a double, which is the number of seconds since theUNIX Epoch(Jan 1, 1970). Only valid forfiletypes.