Migrace klienta na OpenAPI
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
All checks were successful
ci/woodpecker/push/workflow Pipeline was successful
This commit is contained in:
23
types/paths/stats/stats.yml
Normal file
23
types/paths/stats/stats.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
get:
|
||||
operationId: getStats
|
||||
summary: Vrátí statistiky způsobu stravování pro předaný rozsah dat.
|
||||
parameters:
|
||||
- in: query
|
||||
name: startDate
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: Počáteční datum pro načtení statistik
|
||||
- in: query
|
||||
name: endDate
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
description: Koncové datum pro načtení statistik
|
||||
responses:
|
||||
"200":
|
||||
description: Statistiky způsobu stravování. Každý prvek v poli představuje statistiky pro jeden den z předaného rozsahu dat.
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: "../../schemas/_index.yml#/WeeklyStats"
|
||||
Reference in New Issue
Block a user