External Trilium API
For more information, please visit https://github.com/zadam/trilium
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package:
org.openapitools.codegen.languages.RustClientCodegen
Put the package under your project folder in a directory named openapi
and add the following to Cargo.toml
under [dependencies]
:
openapi = { path = "./openapi" }
All URIs are relative to http://localhost:37740/etapi
Class | Method | HTTP request | Description |
---|---|---|---|
DefaultApi | create_note | POST /create-note | |
DefaultApi | delete_attribute_by_id | DELETE /attributes/{attributeId} | |
DefaultApi | delete_branch_by_id | DELETE /branches/{branchId} | |
DefaultApi | delete_note_by_id | DELETE /notes/{noteId} | |
DefaultApi | get_app_info | GET /app-info | |
DefaultApi | get_attribute_by_id | GET /attributes/{attributeId} | |
DefaultApi | get_branch_by_id | GET /branches/{branchId} | |
DefaultApi | get_day_note | GET /calendar/days/{date} | |
DefaultApi | get_inbox_note | GET /inbox/{date} | |
DefaultApi | get_month_note | GET /calendar/months/{month} | |
DefaultApi | get_note_by_id | GET /notes/{noteId} | |
DefaultApi | get_week_note | GET /calendar/weeks/{date} | |
DefaultApi | get_year_note | GET /calendar/years/{year} | |
DefaultApi | login | POST /auth/login | |
DefaultApi | logout | POST /auth/logout | |
DefaultApi | patch_attribute_by_id | PATCH /attributes/{attributeId} | |
DefaultApi | patch_branch_by_id | PATCH /branches/{branchId} | |
DefaultApi | patch_note_by_id | PATCH /notes/{noteId} | |
DefaultApi | post_attribute | POST /attributes/{attributeId} | |
DefaultApi | post_branch | POST /branches/{branchId} | |
DefaultApi | post_refresh_note_ordering | POST /refresh-note-ordering/{parentNoteId} | |
DefaultApi | search_notes | GET /notes |
To get access to the crate's generated documentation, use:
cargo doc --open