Uploaded image for project: 'Clowder'
  1. Clowder
  2. CATS-980

Endpoint /api/datasets/:id/listFiles?count=true should return valid JSON

XMLWordPrintableJSON

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • None
    • API
    • None

      Currently just returns the count as a number. Would be better if it returned something like `

      {"count":8}

      `.

      Surprisingly enough the jquery call seems ok with it. See previewer code in PR:

      https://opensource.ncsa.illinois.edu/bitbucket/projects/CATS/repos/clowder/pull-requests/1337/diff#app/api/Datasets.scala

              Unassigned Unassigned
              lmarini Luigi Marini
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated: