HTTP API: server, credential and the list of chats #12

Merged
clawbot merged 7 commits from issue-4-api-chats into next 2026-09-29 04:55:50 +02:00
Showing only changes of commit b56d8714a7 - Show all commits
+7 -5
View File
@@ -273,11 +273,13 @@ container.
## Operating it
**Backup.** Everything durable is the SimpleX database on the volume:
`simplex_chat.db` and `simplex_agent.db`. Stop the container before
copying them, since a copy taken from under the running client can be
inconsistent. The database holds the bot's keys, so a copy lets its
holder answer as the bot; keep it as private as the running instance.
**Backup.** Everything durable is on the volume: the SimpleX database,
`simplex_chat.db` and `simplex_agent.db`, and the API credential,
`api-token`. Stop the container before copying the database, since a
copy taken from under the running client can be inconsistent. The
database holds the bot's keys, so a copy lets its holder answer as the
bot, and the credential lets its holder use the API; keep both as
private as the running instance.
**Upgrade.** Rebuild the image and recreate the container with the same
volume. The chat client migrates its database on start. A newer