From b701e2357f8be9a1803a514819583609d8e8069f Mon Sep 17 00:00:00 2001 From: Nate River <6752679+Nriver@users.noreply.github.com> Date: Tue, 21 Oct 2025 10:59:16 +0800 Subject: [PATCH] update link for etapi.openapi.yaml --- ETAPI.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ETAPI.md b/ETAPI.md index 9a2e809..18f62cb 100644 --- a/ETAPI.md +++ b/ETAPI.md @@ -1,12 +1,12 @@ ETAPI is Trilium's public/external REST API. It is available since Trilium v0.50. -The documentation is in OpenAPI format, available [here](https://github.com/zadam/trilium/blob/master/src/etapi/etapi.openapi.yaml). +The documentation is in OpenAPI format, available [here](https://github.com/TriliumNext/Trilium/blob/main/apps/server/src/assets/etapi.openapi.yaml). [trilium-py](https://github.com/Nriver/trilium-py) is a third-party Python implementation for ETAPI client, you can use Python to communicate with Trilium. ## Authentication -All operations have to be authenticated using a token. You can get this token either from Options -> ETAPI or programmatically using the `/auth/login` REST call (see the [spec](https://github.com/zadam/trilium/blob/master/src/etapi/etapi.openapi.yaml)): +All operations have to be authenticated using a token. You can get this token either from Options -> ETAPI or programmatically using the `/auth/login` REST call (see the [spec](https://github.com/TriliumNext/Trilium/blob/main/apps/server/src/assets/etapi.openapi.yaml)): ``` GET https://myserver.com/etapi/app-info