NewFile
A complex data type that describes a file.
Elements
Name
String. The name of the file.
VersionName
String. Optional. The version name of the file.
ReplaceExisting
Boolean. Optional. Deprecated. Use
Versioning instead of ReplaceExisting. Specifies whether to overwrite the latest existing version when uploading a file. If the existing file has any dependencies, BIRT iHub does not overwrite the file and creates a new version, regardless of the ReplaceExisting setting.
Versioning
VersioningOption. Optional. Specifies what to do with the latest existing version when uploading a file. Valid values are:

CreateNewVersion
Always creates a new version. This is the default value.

ReplaceLatestIfNoDependents
Replaces the latest existing version if it does not have any dependent files. If the existing version has any dependants, BIRT iHub creates a new version instead of replacing the existing version.

ReplaceLatestDropDependency
Replaces the latest existing version if it does not have any dependent files. If the existing version has any dependants, BIRT iHub drops the dependency.

ReplaceLatestMigrateDependency
Replaces the latest existing version if it does not have any dependent files. If the existing version has any dependants, BIRT iHub moves the dependency to the new version.
MaxVersions
Long. Optional. The maximum number of versions to keep in the Encyclopedia volume.
Description
String. Optional. The description of the file.
ArchiveRule
ArchiveRule. Optional. The autoarchive rules for the file.
ACL
ArrayOfPermission. Optional. The access rights to the file.
AccessType
FileAccess. Optional. The file’s access type. Valid values are:

Private
Only the owner of the file and an administrator can access the file.

Shared
All users and user groups specified in the access control list (ACL) for the file can access the file.