Fleet

Restore from snapshot

Changed on

Restores a specific stack on a specific node from the snapshot. Optionally redeploys after restore. Requires admin role.

post/api/fleet/snapshots/{id}/restore

Request

  • Base URL
    https://localhost:1852
  • URL
    https://localhost:1852/api/fleet/snapshots/{id}/restore
  • Auth
    HTTP bearer

Path parameters

idinteger required

Numeric resource ID.

Request body

nodeIdinteger required

Target node ID to restore to.

stackNamestring required

Stack to restore.

redeployboolean

Whether to redeploy the stack after restoring files.

Response

Stack restored.

messagestring required

Changes

    • info

      added the non-success response with the status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status

    • info

      removed the ADMIRAL_REQUIRED enum value from the response property for the response status