clowder-framework / clowder

A data management system that allows users to share, annotate, organize and analyze large collections of datasets. It provides support for extensible metadata annotation using JSON-LD and a distribute analytics event bus for automatic curation of uploaded data.
https://clowderframework.org/
University of Illinois/NCSA Open Source License
37 stars 17 forks source link

add thumbnail id of each file in the /api/datasets/{id}/files endpoint response #268

Open longshuicy opened 3 years ago

longshuicy commented 3 years ago

Is your feature request related to a problem? Please describe. the response of GET /api/datasets/{id}/files is missing the thumbnail id; which making it cumbersome to render files with thumbnail. The frontend has to make multiple trips to query /api/file/{file_id}/metadata to get thumbnails

Describe the solution you'd like implement thumbnail id field in the return json

Describe alternatives you've considered NA

Additional context NA