{ "opencollection": "1.0.0", "info": { "name": "HashiCorp Consul HTTP ACL Snapshot API", "version": "1.18.0" }, "request": { "auth": { "type": "apikey", "key": "X-Consul-Token", "value": "{{X-Consul-Token}}", "placement": "header" } }, "items": [ { "info": { "name": "Snapshot", "type": "folder" }, "items": [ { "info": { "name": "Generate a snapshot", "type": "http" }, "http": { "method": "GET", "url": "http://localhost:8500/v1/snapshot", "params": [ { "name": "dc", "value": "", "type": "query", "description": "Datacenter to query (defaults to agent's datacenter)" } ] }, "docs": "Generates and returns an atomic, point-in-time snapshot of the Consul state." }, { "info": { "name": "Restore a snapshot", "type": "http" }, "http": { "method": "PUT", "url": "http://localhost:8500/v1/snapshot", "params": [ { "name": "dc", "value": "", "type": "query", "description": "Datacenter to query (defaults to agent's datacenter)" } ] }, "docs": "Restores a point-in-time snapshot of the Consul state." } ] } ], "bundled": true }