mirror of
https://github.com/solidtime-io/solidtime.git
synced 2026-08-17 20:52:14 +01:00
Add API doc description for chart endpoints
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user