Deprecation of Analysis Inputs Filename APIs
Change
The Below APIs are deprecated, and scheduled to be removed with Flywheel version 22.0.0 (January 2026)
SDK Function | API Route |
---|---|
download_input_from_analysis() get_analysis_input_download_url() get_analysis_input_zip_info() | GET /api/analyses/{cid}/inputs/{filename} |
get_analysis_file_info() | GET /api/analyses/{container_id}/inputs/{filename}/info |
download_{ctype}_input_from_analysis() get_{ctype}_analysis_input_download_url() get_{ctype}_analysis_input_zip_info() | GET /api/{ctype}/{cid}/analyses/{analysis_id}/inputs/{filename} |
get_{ctype}_analysis_file_info() | GET /api/{ctype}/{cid}/analyses/{analysis_id}/inputs/{filename}/info |
get_analysis_file_info() | GET /api/{ctype}/{cid}/inputs/{filename}/info |
Reason For Change
- Current behavior is undefined when an analysis has multiple inputs with the same name.
- Identifying an analysis input file by the combination of the analysis id plus the file name is ambiguous. This is due to analyses supporting multiple input files referencing multiple different files with the same name.
Recommended Action
Flywheel recommends users use other API routes where file identification is not ambiguous, such as those that reference files by their ID or by their parent container + filename.