1
0
Fork 0
mirror of https://git.sr.ht/~ashkeel/strimertul-website synced 2024-10-31 21:33:09 +00:00
strimertul-website/content/api/_index.md
Ash Keel 828e2a89c0
All checks were successful
continuous-integration/drone/push Build is passing
move releases to website
2023-11-12 01:49:01 +01:00

1.2 KiB

menu title weight
main API reference 100

You can interact with any part of strimertül through its API. In fact the main UI of strimertül is just a single page application that accesses the service through the API itself (with a couple shortcuts to bypass authentication), this means almost anything you can access through the UI you can access through the API!

Kilovolt

The strimertül's API is a Kilovolt server, a pub/sub key-value store accessible via websocket. Check this page for a list of officially supported kilovolt clients (or submit your own). You should be able to easily build a client yourself by just creating a websocket connection and using the Kilovolt protocol.

Available keys/RPC/events

To check what keys you can access on strimertül, click on the menu entry with your strimertül version (or the closest one to it). Most keys will be stored as JSON objects, so use the reference as a schema for those objects. Modifying the schema might make strimertül not work correctly (or at all).