pinakes-server: add notes API endpoints for backlinks

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I6345960fca2afb4e080939b5fd73ea346a6a6964
This commit is contained in:
raf 2026-02-09 13:14:31 +03:00
commit 2c69691060
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
2 changed files with 19 additions and 11 deletions

View file

@ -233,10 +233,7 @@ pub fn create_router_with_tls(
get(routes::shares::get_notifications),
)
// Markdown notes/links (read)
.route(
"/media/{id}/backlinks",
get(routes::notes::get_backlinks),
)
.route("/media/{id}/backlinks", get(routes::notes::get_backlinks))
.route(
"/media/{id}/outgoing-links",
get(routes::notes::get_outgoing_links),