In der Referenz stöbern
Alle Ressourcen
Verlauf (Rückgängig / Wiederholen)
3 Endpunkte · Die Endpunktbeschreibungen sind auf Englisch.
Change history, newest first: every recorded change with its performer; filter by member, family, kind, time window, group or explicit ids
GET
/households/{householdId}/historyread:history
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \ -X GET https://api.vokse.ai/households/current/historyAntwort200 · Success
Redo an undone change: reverts its active reversal so the change is in force again (409 HISTORY_NOT_UNDONE when it is not undone, HISTORY_STALE when the data moved on)
POST
/households/{householdId}/history/{eventId}/redowrite:history
Parameter
| Name | Ort | Erforderlich |
|---|---|---|
| eventId | path | Erforderlich |
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \ -H "Idempotency-Key: $(uuidgen)" \ -X POST https://api.vokse.ai/households/current/history/{eventId}/redoAntwort200 · Success
Undo a recorded change: applies its exact inverse, writes the reversal to the history and marks the change undone (409 HISTORY_STALE when the data moved on, HISTORY_ALREADY_UNDONE when another client got there first)
POST
/households/{householdId}/history/{eventId}/undowrite:history
Parameter
| Name | Ort | Erforderlich |
|---|---|---|
| eventId | path | Erforderlich |
Beispielanfrage
bash
curl -H "Authorization: Bearer vokse_sk_…" \ -H "Idempotency-Key: $(uuidgen)" \ -X POST https://api.vokse.ai/households/current/history/{eventId}/undoAntwort200 · Success