nih-cfde / dashboard-api

Other
0 stars 0 forks source link

dcc/<dccName> endpoint should return total and toplevel project counts. #17

Closed jonathancrabtree closed 3 years ago

jonathancrabtree commented 3 years ago

Modify project_count to return the total number of projects under a DCC (not including the row for the DCC itself) and add toplevel_project_count to return the count of the immediate subprojects of the DCC row (i.e., the value currently returned in project_count.) Related to https://github.com/nih-cfde/cfde-deriva/issues/155