scitran / core

RESTful API
https://scitran.github.io
MIT License
18 stars 18 forks source link

Formalize "adhoc" analyses #1058

Closed nagem closed 6 years ago

nagem commented 6 years ago

Current Functionality

The API allows users create an analysis by uploading files, marking them as inputs and outputs. The POST body includes all information about the files and analysis the user wishes to set and the action is started and completed in one request.

The default and expected analysis type is currently job-based analyses. The user specifies information about the analysis and the job to be created. The inputs on the job are considered inputs to the analysis and the results of the job are uploaded as outputs on the analysis.

Proposed Functionality

The existing "adhoc" analysis endpoint will be replaced with new endpoints:

Clients (for example SDKs and CLIs) would support a workflow allowing users to pull the inputs referenced into a local workspace, process and analyze these files, and push the outputs to core after an arbitrary amount of time. This would require a way to retrieve the input files for the analysis after the initializing endpoint has been used.

Things to consider