Add API doc description for chart endpoints

This commit is contained in:
Constantin Graf
2025-07-31 13:43:00 +02:00
parent 14f559c4c2
commit 78d2ea1a25

View File

@@ -14,6 +14,8 @@ use Illuminate\Http\JsonResponse;
class ChartController extends Controller class ChartController extends Controller
{ {
/** /**
* Get chart data for the weekly project overview.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId weeklyProjectOverview * @operationId weeklyProjectOverview
@@ -31,6 +33,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for the latest tasks.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId latestTasks * @operationId latestTasks
@@ -48,6 +52,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for the last seven days.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId lastSevenDays * @operationId lastSevenDays
@@ -65,6 +71,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for the latest team activity.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId latestTeamActivity * @operationId latestTeamActivity
@@ -81,6 +89,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for daily tracked hours.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId dailyTrackedHours * @operationId dailyTrackedHours
@@ -98,6 +108,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for total weekly time.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId totalWeeklyTime * @operationId totalWeeklyTime
@@ -115,6 +127,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for total weekly billable time.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId totalWeeklyBillableTime * @operationId totalWeeklyBillableTime
@@ -132,6 +146,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for total weekly billable amount.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId totalWeeklyBillableAmount * @operationId totalWeeklyBillableAmount
@@ -154,6 +170,8 @@ class ChartController extends Controller
} }
/** /**
* Get chart data for weekly history.
*
* @throws AuthorizationException * @throws AuthorizationException
* *
* @operationId weeklyHistory * @operationId weeklyHistory