postFile

Contents



Elements

Parameter Description Required
Body part 1: cTime The file creation time.

Value of type: dateTime

Default: Current time
false
Body part 1: hidden Which OS the file is hidden on. Possible values mac, linux, windows or none.

Value of type: string

Default: none
false
Body part 1: mimeType The Media Type of the file. Use application/x.wd.dir for directories.

Value of type: string

Default: Automatically detected or `application/octet-stream`
false
Body part 1: mimeTypes List of mimeTypes for all the contents if multiple contents are provided in Body part 2. If the first element is an empty string, it will be autodetected.

Value of type: array of strings

Default: Empty array
false
Body part 1: mTime The file modification time.

Value of type: dateTime

Default: Current time
false
Body part 1: name The name of the file.

Value of type: string

Default: Automatically generated
false
Body part 1: parentID The parent ID or the alias root.

Value of type: string

Default: root
false
Body part 2 The file contents. If there is a "multipart/related" content, each part will be stored as separate content. Parts should match mimeTypes array length.

Default: Zero bytes
false
Body part 3 The preview source contents (only JPEG accepted). Will be used to generate image previews.

Default: Zero bytes
false

Have question about this section?