File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -44,7 +44,7 @@ def sample_by_id_api(sample_id):
4444 return jsonify (result )
4545
4646
47- @app .route ('/api/samples/ ' )
47+ @app .route ('/api/samples' )
4848@token_required
4949def get_samples_api ():
5050 sample_name = request .args .get ('sample_name' ) or ''
@@ -63,7 +63,7 @@ def get_samples_api():
6363 return jsonify (samples_list )
6464
6565
66- @app .route ('/api/sample/<sample_name>/run/<run_id>/ ' )
66+ @app .route ('/api/sample/<sample_name>/run/<run_id>' )
6767@token_required
6868def get_summary_by_sample_name_and_run_id_api (sample_name , run_id ):
6969 samples = get_samples_by_like_sample_name_or_like_run_id (sample_name , run_id )
@@ -73,14 +73,14 @@ def get_summary_by_sample_name_and_run_id_api(sample_name, run_id):
7373 return jsonify (samples_list )
7474
7575
76- @app .route ('/api/samples/name/<sample_name>/ ' )
76+ @app .route ('/api/samples/name/<sample_name>' )
7777@token_required
7878def get_sample_by_sample_name_api (sample_name ):
7979 sample = get_sample_by_sample_name (sample_name )
8080 return jsonify (model_to_dict (sample ))
8181
8282
83- @app .route ('/api/sample/run/<run_id>/ ' )
83+ @app .route ('/api/sample/run/<run_id>' )
8484@token_required
8585def get_summary_by_run_id_api (run_id ):
8686 samples = get_sample_by_like_run_id (run_id )
You can’t perform that action at this time.
0 commit comments