feat/hosting-platform-upgrade #1
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/hosting-platform-upgrade"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
FireAPI was assumed to expose backup listing only, and the code said so in a comment. Probing the API shows otherwise: a route that exists answers authorization_failed for a foreign VM, a route that does not answers endpoint_not_found. By that test create, restore and delete all exist and only rename is genuinely missing. GET /vm/{id}/backup/list authorization_failed -> exists POST /vm/{id}/backup/create authorization_failed -> exists POST /vm/{id}/backup/restore authorization_failed -> exists DELETE /vm/{id}/backup/delete authorization_failed -> exists * /vm/{id}/backup/rename endpoint_not_found -> absent So customers can now create, restore and delete their own snapshots instead of being told to contact support. Renaming is not offered: storing a label in our own database would name the backup in Hosti and nowhere in the customer's 24fire account, which is worse than not having the button. The backup id travels in the request body — no path variant resolves. Notes on the implementation: - A 'view' share may list backups but not create, restore or delete them. Restoring destroys everything written since the snapshot, so it is not a read operation by any reading of the word. - Restore and delete are confirmed inline, showing the snapshot's own timestamp and naming what is lost, rather than through window.confirm. - Slot limits are only pre-checked when the plan reports a slot count; otherwise FireAPI's own refusal is surfaced verbatim. - Descriptions are accepted at creation time, the only point at which the API allows one. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>