|
|
I know this might seem a bit counter to the goal but is there any plans (or chance) of allowing (JSON?) API access to the comments. My main motivation is to be able to call the api per page and also have easier control over the presentation of the UI (dark/light mode for example).
For read only operations we have a cache-able endpoint which returns all threads and comments in a single JSON endpoint.
Look at your Namespace setting for more details.
No endpoints are currently planned for API crud interactions but I understand the desire and benefit and will think about the possibility.
I'm looking to build a toggle button for dark mode.
A full JSON REST API is now live. You can list threads, read threads
with replies, create threads, reply, edit, and authenticate -- all via
JSON endpoints at /api/v1/.
There's also a Python client you can grab with one command (no pip install, stdlib only):
curl -s https://my.remarkbox.com/api/v1/clients/python -o remarkbox_client.py
Quick example:
from remarkbox_client import RemarkboxClient
client = RemarkboxClient("https://my.remarkbox.com")
threads = client.list_threads("meta.remarkbox.com")
Authentication uses the same passwordless email OTP as the web UI.
Each namespace has an "Allow API Access" toggle in settings, and rate
limiting is configurable per deploy. Full docs are in
docs/api.md in the repository.
Full details: https://git.unturf.com/engineering/remarkbox/remarkbox/-/blob/main/docs/tickets/12.md
Source: https://meta.remarkbox.com/6db01560-7186-11eb-92d6-040140774501/api-only-access-to-crud-comments
Snapshot: 2026-04-30T14:07:22Z
Generator: Remarkbox 763cacb