Closed hkethi002 closed 6 years ago
Merging #1017 into master will increase coverage by
0.06%
. The diff coverage is94.87%
.
@@ Coverage Diff @@
## master #1017 +/- ##
=========================================
+ Coverage 90.64% 90.7% +0.06%
=========================================
Files 50 50
Lines 6763 6813 +50
=========================================
+ Hits 6130 6180 +50
Misses 633 633
Awaiting final review by @nagem
LGTM, this came together really nicely - thanks @hkethi002 !
Fixes #1024
Returns all analyses given a group/project/session/acquisition
3 types of calls
/{cont_name}/{cid}/analyses
/Project/{ProjectId}/analyses
will return any analyses that have that project as a parent/{cont_name}/{cid}/{sub_cont_name}/analyses
projects/{ProjectId}/acquisitions/analyses
will return any analyses that have an acquisition that is under that project as a parent/{cont_name}/{cid}/all/analyses
projects/{ProjectId}/all/analyses
will return any analyses that have any session or acquisition or the project itself as a parentMust have permission to the top level container and (only applies when making calls at the group level) will only return analyses for which the user has permission to its parent
Review Checklist
Tests were added to cover all code changes
Documentation was added / updated
Code and tests follow standards in CONTRIBUTING.md