JBoss.orgCommunity Documentation
| Service name | Service URL | Location | Description |
|---|---|---|---|
| ManageDocumentService | {portalname}/{restcontextname}/managedocument/ |
Maven groupId: ArtifactId: | The service which is used to perform some actions on a folder or a file, such as creating, deleting a folder/file, or uploading a file. |
APIs usage:
| Name | Service URL endpoint | Parameters | Values | Description |
|---|---|---|---|---|
| getDrives | {portalname}/{restcontextname}/managedocument/getDrives/ |
| string
| Get all drives by type (General, Group or Personal drive). |
| getFoldersAndFiles | {portalname}/{restcontextname}/managedocument/getFoldersAndFiles/ |
|
| Get all folders and files which the current user can view. |
| createFolder | {portalname}/{restcontextname}/managedocument/createFolder/ |
|
| Create a new folder and return its information. |
| deleteFolderOrFile | {portalname}/{restcontextname}/managedocument/deleteFolderOrFile/ |
|
| Delete a folder or a file. |
| upload | {portalname}/{restcontextname}/managedocument//uploadFile/upload/ |
|
| Upload a file to the server. |
| control | {portalname}/{restcontextname}/managedocument//uploadFile/control/ |
|
| Return the information about the upload status of a file (upload percentage, file name, and more). |