Skip to content

Commit

Permalink
API doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
pvgennip committed Nov 13, 2020
1 parent f9217ed commit f5227d3
Show file tree
Hide file tree
Showing 5 changed files with 325 additions and 325 deletions.
6 changes: 3 additions & 3 deletions app/Http/Controllers/Api/ResearchDataController.php
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ private function checkAuthorization(Request $request, $id=null)
}

/**
api/researches GET
api/researchdata GET
List all available Researches
@authenticated
*/
Expand All @@ -56,7 +56,7 @@ public function index(Request $request)
}

/**
api/researches/{id} GET
api/researchdata/{id} GET
List one Research by id with list of consent_users
@authenticated
@queryParam id integer required The research ID to request data from.
Expand All @@ -79,7 +79,7 @@ public function show(Request $request, $id)
}

/**
api/researches/{id}/user/{user_id}/{item} GET
api/researchdata/{id}/user/{user_id}/{item} GET
List all user 'item' data within the consent=1 periods of a specific user within a Research.
@authenticated
@queryParam id integer required The research ID to request data from.
Expand Down
2 changes: 1 addition & 1 deletion public/docs/collection.json

Large diffs are not rendered by default.

Loading

0 comments on commit f5227d3

Please sign in to comment.