Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix results from /print/files #1

Open
2 tasks
onmax opened this issue Dec 11, 2018 · 0 comments
Open
2 tasks

Fix results from /print/files #1

onmax opened this issue Dec 11, 2018 · 0 comments

Comments

@onmax
Copy link
Member

onmax commented Dec 11, 2018

Currently the API's answer is:

[
  {
      id: number,
      name: string,
      files: Array with info of the files,
      folders: [{
         id: number,
         name: string,
         root: boolen,
         folder: number
       ]
   }
]

The API's answer should be:

[
  {
      id: number,
      name: string,
      files: Array with info of the files,
      folders: [{
         id: number,
         name: string,
         files: Array with info of the files,
         folders: [
             id: number,
             name: string,
             files: Array with info of the files,
             folders: ...  // more folders
       ]
   },
   {
      // Same structure as above but with "shared-with-me" files
   }
]

To do:

  • Fix problem with folders array,
  • Add "shared-with-me" structure
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant