Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
docs(api): correct two stale search entries in the internal spec
Elian Doran57f6c0207eed
diff --git a/apps/server/internal.openapi.yaml b/apps/server/internal.openapi.yamlindex cf06b36c08..92a186789b 100644--- a/apps/server/internal.openapi.yaml+++ b/apps/server/internal.openapi.yaml@@ -1998,9 +1998,27 @@ paths:content:application/json:schema:- type: array- items:- $ref: '#/components/schemas/Note'+ type: object+ properties:+ count:+ type: integer+ description: Distinct notes matching, counted before the twenty-result cap.+ results:+ type: array+ description: At most twenty, name-and-value matches ahead of name-only ones.+ items:+ type: object+ properties:+ notePathArray:+ type: array+ description: Note IDs from the root down to the matched note.+ items:+ type: string+ score:+ type: number+ description: Search relevance, higher is better.+ required: [notePathArray, score]+ required: [count, results]/api/search-templates:get:@@ -2053,22 +2071,6 @@ paths:path:type: string- /api/autocomplete/notesCount:- get:- tags: [Search]- summary: Get total notes count- operationId: getNotesCount- responses:- '200':- description: Notes count- content:- application/json:- schema:- type: object- properties:- count:- type: integer-/api/similar-notes/{noteId}:get:tags: [Search]