Skip to content

Commit

Permalink
Update API docs queryparams fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pvgennip committed Nov 13, 2020
1 parent f5227d3 commit faabe7f
Show file tree
Hide file tree
Showing 5 changed files with 323 additions and 323 deletions.
4 changes: 2 additions & 2 deletions app/Http/Controllers/Api/InspectionsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function lists(Request $request)
api/inspections/hive/{hive_id} GET
List all inspections linked to Hive id. The 'inspections' object contains a descending date ordered list of general inspection data. The 'items_by_date' object contains a list of (rows of) inspection items that can be placed (in columns) under the inspections by created_at date (table format). NB: Use 'Accept-Language' Header (default nl_NL) to provide localized category names (anc, name) in items_by_date.
@authenticated
@queryParam hive_id integer required The hive to request inspections from.
@queryParam hive_id required The hive to request inspections from.
@response {
"inspections": [
{
Expand Down Expand Up @@ -203,7 +203,7 @@ public function hive(Request $request, $hive_id)
api/inspections/{id} GET
Show the 'inspection' object. The object reflects only the general inspection data.
@authenticated
@queryParam id integer required The id of the inspection.
@queryParam id required The id of the inspection.
**/
public function show(Request $request, $id)
{
Expand Down
2 changes: 1 addition & 1 deletion public/docs/collection.json

Large diffs are not rendered by default.

Loading

0 comments on commit faabe7f

Please sign in to comment.