Uploaded image for project: 'File Manager Application'
  1. File Manager Application
  2. FILEMAN-26

Implement the drive web service

    XMLWordPrintable

Details

    • New Feature
    • Resolution: Fixed
    • Major
    • 2.0-milestone-1
    • 1.1.6
    • None

    Description

      Drives are XWiki documents that have an object of type DriveClass. The URL to access a drive will look like this:

      /xwiki/bin/get/drive/
      

      This is also the URL that will expose the web service, which is going to be implemented in DriveSheet. As you can see a drive is an XWiki space where the File Manager looks for files and folders. The following operations should be possible on a drive:

      • create folder
        /xwiki/bin/get/drive/?action=newFolder&name=NewFolder
        
      • get
        /xwiki/bin/get/drive/
        

        Returns general information about the drive, including links to the following additional data.

      • get all files
        /xwiki/bin/get/drive/?data=allFiles
        

        Returns all the files found on this drive, supporting pagination, sorting and filtering

      • get child folders
        /xwiki/bin/get/drive/?data=childFolders
        

        Returns the folders found on the root of the drive.

      • get orphan folders
        /xwiki/bin/get/drive/?data=orphanFolders
        

        Returns the folders that don't have a parent.

      • get orphan files
        /xwiki/bin/get/drive/?data=orphanFiles
        

        Returns the files that don't have a parent folder.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: