From 32a2834bf350ed25e7827f49a3d97029a6a647a3 Mon Sep 17 00:00:00 2001 From: Elias Soares Date: Sat, 11 Apr 2026 14:25:49 -0300 Subject: [PATCH] fix(etapi): correct calendar year/month endpoint descriptions and year pattern; docs: add trilium-fastmcp integration --- apps/server/etapi.openapi.yaml | 8 ++++---- docs/User Guide/User Guide/AI.md | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/apps/server/etapi.openapi.yaml b/apps/server/etapi.openapi.yaml index 8b8a65f2b3..882c069941 100644 --- a/apps/server/etapi.openapi.yaml +++ b/apps/server/etapi.openapi.yaml @@ -870,7 +870,7 @@ paths: $ref: "#/components/schemas/Error" /calendar/months/{month}: get: - description: returns a week note for a given date. Gets created if doesn't exist. + description: returns a month note for a given month. Gets created if doesn't exist. operationId: getMonthNote parameters: - name: month @@ -895,7 +895,7 @@ paths: $ref: "#/components/schemas/Error" /calendar/years/{year}: get: - description: returns a week note for a given date. Gets created if doesn't exist. + description: returns a year note for a given year. Gets created if doesn't exist. operationId: getYearNote parameters: - name: year @@ -903,8 +903,8 @@ paths: required: true schema: type: string - pattern: "[0-9]{4}-[0-9]{2}" - example: 2022-02 + pattern: "[0-9]{4}" + example: "2022" responses: "200": description: year note diff --git a/docs/User Guide/User Guide/AI.md b/docs/User Guide/User Guide/AI.md index 4ca2d07abd..8c848f1163 100644 --- a/docs/User Guide/User Guide/AI.md +++ b/docs/User Guide/User Guide/AI.md @@ -13,6 +13,7 @@ As such, there are third-party solutions that integrate an MCP server that can b * [tan-yong-sheng/triliumnext-mcp](https://github.com/tan-yong-sheng/triliumnext-mcp) * [perfectra1n/triliumnext-mcp](https://github.com/perfectra1n/triliumnext-mcp) +* [eliassoares/trilium-fastmcp](https://github.com/eliassoares/trilium-fastmcp) > [!IMPORTANT] > These solutions are third-party and thus not endorsed or supported directly by the Trilium Notes team. Please address questions and issues on their corresponding repository instead. \ No newline at end of file