From 3ff4a78e9e06e03d1f39d9dc1ee48ae6087fe8bb Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 19 Jan 2022 20:38:37 +0100 Subject: [PATCH] Created ETAPI (markdown) --- ETAPI.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 ETAPI.md diff --git a/ETAPI.md b/ETAPI.md new file mode 100644 index 0000000..bd9060b --- /dev/null +++ b/ETAPI.md @@ -0,0 +1,7 @@ +ETAPI is Trilium's public/external REST API. + +The documentation is in OpenAPI format available [here](https://github.com/zadam/trilium/blob/master/src/etapi/etapi.openapi.yaml). + +## Authentication + +All operations have to be authenticated using a token. You can get this token either from Options -> ETAPI or programatically using the `/auth/login` REST call (see the [spec](https://github.com/zadam/trilium/blob/master/src/etapi/etapi.openapi.yaml)). \ No newline at end of file