humhub: comment-list/comment-create (POST /comment via Content-ID/Perma-URL)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
jhsandClaude Fable 5 committed 2026-09-01 07:28:01 +02:00
1 parent 2a02dac74e
commit 4a20da2ed2
3 files changed
+66 -2

No files matched your search

+11
View File
@@ -80,6 +80,17 @@ und nicht Komfort — ohne Begrenzung antwortet die Instanz ab ~25 Umfragen
ebenfalls mit 500. Ein fehlgeschlagener POST legt nichts an; vor einem zweiten
Versuch trotzdem mit `poll-list` prüfen.
### Kommentare
```bash
./humhub.py comment-list <content-id|perma-url> # Kommentare eines Inhalts
./humhub.py comment-create <content-id|perma-url> [datei|-] # Kommentar schreiben
```
Beide nehmen wie `fetch` eine **Content-ID** oder Perma-URL (nicht die Post-/
Wiki-Seiten-ID) und lösen das Zielobjekt selbst auf — funktioniert für Posts
und Wiki-Seiten.
Inhalte (Markdown) aus Datei oder `-` (stdin) übergeben — nicht als langes
Shell-Argument (Sonderzeichen). `container_id` akzeptiert eine numerische
Container-ID, einen **Space-Slug** oder eine **Space-URL** (`resolve_container`