Close the last gaps in the API documentation

The image endpoint, the spec itself and the scheduled publishing run were
missing from the spec and the admin page.
This commit is contained in:
Matthias G
2026-08-01 18:27:04 +02:00
parent 997f94912e
commit 03d514b3c4
3 changed files with 63 additions and 0 deletions
+13
View File
@@ -210,6 +210,19 @@ curl -s -X DELETE -H "Authorization: Bearer $TOKEN" \
Liefert eine Variante aus. Die Pfade stehen am Medium unter `variants`, je Eintrag mit `width`, `format` und `path`.
## Zeitsteuerung
### POST /api/v1/publish-due
Veröffentlicht alle Beiträge, deren Termin erreicht ist. Der Aufruf gehört einer Zeitsteuerung, nicht einem Zugang, und verlangt `CRON_SECRET` als Bearer-Token.
```bash
curl -s -X POST -H "Authorization: Bearer $CRON_SECRET" \
http://localhost:4700/api/v1/publish-due
```
Antwort: `{ "published": [...], "meta": { "total": 0 } }`.
## Werkzeuge
| Adresse | Inhalt |