![]() |
Urlaubsplan
|
Klassen | |
| class | AdminSettings |
| class | DashboardController |
| class | DepartmentController |
| class | HolidayApiController |
| class | UrlaubController |
| class | UrlaubDepartmentController |
| class | UrlaubYearController |
| class | UserManagement |
Funktionen | |
| path new OA Property(property:"data", type:"object", properties:[new OA\Property(property:"user_id", type:"integer", example:1), new OA\Property(property:"first_name", type:"string", example:"John"), new OA\Property(property:"last_name", type:"string", example:"Doe"), new OA\Property(property:"email", type:"string", example:"john.doe@example.com"), new OA\Property(property:"role", type:"string", example:"Admin"), new OA\Property(property:"department", type:"string", example:"IT")])])) new OA Response(response:404, description:"User profile not found", content:new OA\JsonContent(properties:[new OA\Property(property:"status", type:"string", example:"error"), new OA\Property(property:"message", type:"string", example:"Benutzerprofil nicht gefunden.")]))])] public getProfile( $userID new OA | Property (property:"last_name", type:"string", example:"Doe") |
Variablen | |
| title | __pad0__ |
| title | version |
| $format = 'json' | |
| path | __pad1__ |
| HTTP-spezifischer Kontext. | |
| path | tags |
| path | summary |
| path | parameters |
| path | in |
| path | required |
| path | description |
| path | schema |
| path | example |
| path | responses |
| path | content |
| path | type |
| path new OA Property(property:"data", type:"object", properties:[new OA\Property(property:"user_id", type:"integer", example:1), new OA\Property(property:"first_name", type:"string", example:"John"), new OA\Property(property:"last_name", type:"string", example:"Doe"), new OA\Property(property:"email", type:"string", example:"john.doe@example.com"), new OA\Property(property:"role", type:"string", example:"Admin"), new OA\Property(property:"department", type:"string", example:"IT")])])) new OA Response(response:404, description:"User profile not found", content:new OA\JsonContent(properties:[new OA\Property(property:"status", type:"string", example:"error"), new OA\Property(property:"message", type:"string", example:"Benutzerprofil nicht gefunden.")]))])] public function getProfile($userID) | path |
| HTTP-spezifischer Kontext. | |
| path new OA Property(property:"data", type:"object", properties:[new OA\Property(property:"user_id", type:"integer", example:1), new OA\Property(property:"first_name", type:"string", example:"John"), new OA\Property(property:"last_name", type:"string", example:"Doe"), new OA\Property(property:"email", type:"string", example:"john.doe@example.com"), new OA\Property(property:"role", type:"string", example:"Admin"), new OA\Property(property:"department", type:"string", example:"IT")])])) new OA Response(response:404, description:"User profile not found", content:new OA\JsonContent(properties:[new OA\Property(property:"status", type:"string", example:"error"), new OA\Property(property:"message", type:"string", example:"Benutzerprofil nicht gefunden.")]))])] public function getProfile($userID | requestBody |
|
protected |
|
protected |
| title App::Controllers::Api::__pad0__ |
AccountSettings Controller
Controller für das Verwalten von Benutzereinstellungen und -profilen.
|
protected |
HTTP-spezifischer Kontext.
Benutzerprofil abrufen
Diese Methode gibt das Benutzerprofil basierend auf der Benutzer-ID zurück.
| int | $userID | ID des Benutzers |
API-Endpunkt {get} /api/account-settings/:userID Benutzerprofil abrufen
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
HTTP-spezifischer Kontext.
Benutzerprofil aktualisieren
Diese Methode aktualisiert das Benutzerprofil basierend auf der Benutzer-ID und den übergebenen Daten.
| int | $userID | ID des Benutzers |
API-Endpunkt {put} /api/account-settings/:userID Benutzerprofil aktualisieren
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
| title App::Controllers::Api::version |