[MNT-22641] Upload versioning improvements (#7300)

* support "versioningEnabled" for uploads

* documentation updates

* remove app config and extend the api docs
This commit is contained in:
Denys Vuika
2021-10-14 15:06:01 +01:00
committed by GitHub
parent a3dc441703
commit 941028999e
4 changed files with 189 additions and 66 deletions

View File

@@ -89,7 +89,7 @@ node module.
}
```
From vesion 3.8.0 It's possible filter also for the folder whilst uploading a whole folder.
From version `3.8.0` it is also possible to filter out the folders:
**app.config.json**
@@ -110,4 +110,11 @@ From vesion 3.8.0 It's possible filter also for the folder whilst uploading a w
```
In this way all the files present in the .git folder won't be uploaded.
Please note that the filtering options available for the folders is the same as the one for the files.
> Please note that the filtering options available for the folders is the same as the one for the files.
### Toggling Versioning Support
It is also possible to provide the `versioningEnabled` value as part of the `FileUploadOptions` when using upload service from the code.
> Note: When creating a new node using multipart/form-data by default versioning is enabled and set to MAJOR Version.
> Since Alfresco 6.2.3 versioningEnabled flag was introduced offering better control over the new node Versioning.