{ "opencollection": "1.0.0", "info": { "name": "Baserow API spec Admin Snapshots API", "version": "2.2.2" }, "items": [ { "info": { "name": "Snapshots", "type": "folder" }, "items": [ { "info": { "name": "delete_snapshot", "type": "http" }, "http": { "method": "DELETE", "url": "{{baseUrl}}/api/snapshots/:snapshot_id/", "params": [ { "name": "snapshot_id", "value": "", "type": "path", "description": "Id of the snapshot to delete." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Deletes a snapshot. Deleting a snapshot doesn't affect the application that the snapshot is made from and doesn't affect any applications that were created by restoring it. Snapshot deletion is permanent and can't be undone." }, { "info": { "name": "restore_snapshot", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/snapshots/:snapshot_id/restore/", "params": [ { "name": "snapshot_id", "value": "", "type": "path", "description": "Id of the snapshot to restore." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Restores a snapshot. When an application snapshot is restored, a new application will be created in the same workspace that the original application was placed in with the name of the snapshot and data that were in the original application at the time the snapshot was taken. The original application that the snapshot was taken from is unaffected. Snapshots can be restored multiple times and a number suffix is added to the new application name in the case of a collision." }, { "info": { "name": "list_snapshots", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/api/snapshots/application/:application_id/", "params": [ { "name": "application_id", "value": "", "type": "path", "description": "Application ID for which to list snapshots." } ], "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Lists snapshots that were created for a given application." }, { "info": { "name": "create_snapshot", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/api/snapshots/application/:application_id/", "params": [ { "name": "application_id", "value": "", "type": "path", "description": "Application ID for which to list snapshots." } ], "body": { "type": "json", "data": "{}" }, "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "docs": "Creates a new application snapshot. Snapshots represent a state of an application at a specific point in time and can be restored later, making it easy to create backups of entire applications." } ] } ], "bundled": true }