isamplesorg / isamples_inabox

Provides functionality intermediate to a collection and central
0 stars 1 forks source link

Add mechanism to download subsets of sample records. #356

Closed datadavev closed 3 months ago

datadavev commented 4 months ago

Users should be able to retrieve the subset of sample records identified by a query. This is similar to the reliquary implementation, but for full records.

The workflow may be something like:

  1. User identifies a subset of records through the search interface
  2. User initiates download of the records, specifying query and download format
  3. App creates a temporary space for the results, starts the retrieval, and returns an id to the user that may be used to subsequently download
  4. When complete, the results may be retrieved by the user by specifying the previously returned id
  5. If the download is not performed within some time period (a day?) the results are deleted
  6. Results are deleted after download (may be difficult to determine when download is done, so perhaps just leave and remove on the same schedule as 5. above).
  7. The download action is a significant action that should be recorded in metrics.

Considerations:

dannymandel commented 3 months ago

This has been completed in https://github.com/isamplesorg/isamples_inabox/pull/355