devices
runner nix smoke / nix label and flake smoke (push) Canceled after 0s

This commit is contained in:
2026-10-15 01:05:01 +00:00
parent 60d2e5d80f
commit 06925e9af8
10 changed files with 495 additions and 44 deletions
+11 -3
View File
@@ -4,9 +4,9 @@ Small PostgreSQL-backed HTTP service for one-off tasks and daily, weekly, or
monthly routine tasks. The server generates future task occurrences and can
send due reminders through the Telegram Bot API.
The server stores an obligatory public title and an optional client-encrypted
payload. It never receives an age identity and Telegram always uses the public
title.
The server stores an obligatory public title, an optional client-encrypted
payload, and the public age recipients of registered devices. It never receives
an age identity and Telegram always uses the public title.
## Configuration
@@ -68,6 +68,10 @@ POST /v1/tasks/{id}/reschedule
DELETE /v1/tasks/{id} (archived tasks only)
GET /v1/routines
POST /v1/routines
GET /v1/encryption/devices
GET /v1/encryption/recipients
POST /v1/encryption/devices
POST /v1/encryption/devices/{id}/revoke
```
Weekly days use ISO numbers: Monday is `1`, Sunday is `7`.
@@ -75,3 +79,7 @@ Weekly days use ISO numbers: Monday is `1`, Sunday is `7`.
When private data is present, `encrypted_payload`, `encryption_version`, and
`content_id` must all be set. `encrypted_payload` is an ASCII-armored age file
containing the client's versioned JSON document.
Only active device recipients are returned for encryption. Revocation affects
new payloads; it cannot make ciphertext that a device already received
unreadable.