Skip to content

Expose programmatic API access#4546

Draft
abdnh wants to merge 15 commits intoankitects:mainfrom
abdnh:api
Draft

Expose programmatic API access#4546
abdnh wants to merge 15 commits intoankitects:mainfrom
abdnh:api

Conversation

@abdnh
Copy link
Collaborator

@abdnh abdnh commented Feb 7, 2026

Closes #2520

Overview

This is an API generated from Protobuf services. It runs on port 8766 by default (customizable from Preferences).

image

(Added to the Editing tab for the lack of a better place.)

Both JSON and Protobuf requests/responses are supported. Clients can request a certain a type using the Accept header (default is JSON).

TODO

  • Access control
  • Configuration
  • Logging
  • Handle shutdown properly
  • Support Protobuf requests/responses
  • Documentation
  • Allow frontend/add-ons to extend the API somehow?
  • Generated Python API in pylib?
  • OpenAPI spec generation?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Consider exposing programmatic API ala AnkiConnect in rslib

1 participant