23bfd2e2e213da57e7789ab6ee18200aae9ee23c
Obsidian Local REST API — Backlinks Extension
This is an extension for the Obsidian Local REST API plugin. It adds a new endpoint to retrieve backlinks for a specific note.
Features
- GET
/extensions/backlinks/{filepath}: Returns all notes that link to the specified file.
Installation
- Install the Obsidian Local REST API plugin.
- Download the
main.jsandmanifest.jsonfrom the/distfolder of this repository. - Create a folder named
obsidian-local-rest-api-backlinksin your vault's.obsidian/plugins/directory. - Place
main.jsandmanifest.jsoninto that folder. - Restart Obsidian or reload plugins.
- Enable the plugin in Settings > Community Plugins.
Usage Example
curl -k -H "Authorization: Bearer YOUR_API_KEY" \
"https://127.0.0.1:PORT/extensions/backlinks/MyNote.md"
Development
npm install
npm run build
Description
Languages
TypeScript
100%