EXPLICIT, authenticated, audited rollback of a plugin to a PRIOR version (1.5.0). Validates the target artifact (structure + trust) with the anti-downgrade floor lowered to EXACTLY the target's own version; a lower or untrusted artifact still fails (a rollback authenticates the OPERATOR, never the bytes). Persists the version pin to the overlay (survives restart) and hot-swaps via the same rebuild-and-swap path as plugins/reload
Changed onpost/api/v1/admin/plugins/rollback
Request
- The document declares no server URL.
- Auth: one of:
- API key in header x-admin-token
- HTTP bearer
Headers
If-Matchstring
Optimistic concurrency: the resource's ETag from a prior read (or the ETag returned by the previous mutation). Stale = 409 version_conflict (re-read and retry), nothing changes; absent or * = unconditional.
Request body
Response
{plugin, version, config_version, plugins}: rolled back and hot-swapped
Changes
- info
endpoint added
- info