Updated ETAPI (markdown)

zadam 2022-01-19 20:39:02 +01:00
parent 3ff4a78e9e
commit 870a4019c7

@ -1,7 +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).
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)).
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)).