mirror of
https://github.com/zadam/trilium.git
synced 2026-05-06 09:36:37 +02:00
improv: applying Gemini's suggestions
This commit is contained in:
@@ -870,7 +870,8 @@ paths:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/calendar/months/{month}:
|
||||
get:
|
||||
description: returns a month note for a given month. Gets created if doesn't exist.
|
||||
summary: Get a month note
|
||||
description: Returns a month note for a given month (format YYYY-MM, e.g., 2022-02). The note is created if it doesn't exist.
|
||||
operationId: getMonthNote
|
||||
parameters:
|
||||
- name: month
|
||||
@@ -895,7 +896,8 @@ paths:
|
||||
$ref: "#/components/schemas/Error"
|
||||
/calendar/years/{year}:
|
||||
get:
|
||||
description: returns a year note for a given year. Gets created if doesn't exist.
|
||||
summary: Get a year note
|
||||
description: Returns a year note for a given year (format YYYY, e.g., 2022). The note is created if it doesn't exist.
|
||||
operationId: getYearNote
|
||||
parameters:
|
||||
- name: year
|
||||
@@ -903,7 +905,7 @@ paths:
|
||||
required: true
|
||||
schema:
|
||||
type: string
|
||||
pattern: "[0-9]{4}"
|
||||
pattern: "^[0-9]{4}$"
|
||||
example: "2022"
|
||||
responses:
|
||||
"200":
|
||||
|
||||
Reference in New Issue
Block a user