feat: založení základní stránky příjem/výdej + import a statistiky
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
get:
|
||||
operationId: getDayOverview
|
||||
summary: Vrátí kompletní přehled dne — jídlo, pohyb a energetickou bilanci.
|
||||
parameters:
|
||||
- in: query
|
||||
name: date
|
||||
required: false
|
||||
schema:
|
||||
type: string
|
||||
format: date
|
||||
description: Datum ve formátu YYYY-MM-DD. Výchozí je dnešek.
|
||||
responses:
|
||||
"200":
|
||||
description: Přehled dne
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../../schemas/_index.yml#/DayOverview"
|
||||
"400":
|
||||
description: Neplatné datum
|
||||
"401":
|
||||
description: Neautentizovaný uživatel
|
||||
Reference in New Issue
Block a user